<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 14 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";
        mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
pre
        {mso-style-priority:99;
        mso-style-link:"Pr\00E9format\00E9 HTML Car";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Arial","sans-serif";
        color:windowtext;}
span.PrformatHTMLCar
        {mso-style-name:"Pr\00E9format\00E9 HTML Car";
        mso-style-priority:99;
        mso-style-link:"Pr\00E9format\00E9 HTML";
        font-family:"Courier New";
        mso-fareast-language:FR;}
span.comment
        {mso-style-name:comment;}
span.keyword
        {mso-style-name:keyword;}
span.keywordtype
        {mso-style-name:keywordtype;}
span.charliteral
        {mso-style-name:charliteral;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri","sans-serif";
        mso-fareast-language:EN-US;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 70.85pt 70.85pt 70.85pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=FR link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span style='font-family:"Arial","sans-serif"'>            Hi Ross,<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Arial","sans-serif"'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-family:"Arial","sans-serif"'>Thanks again for your support.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-family:"Arial","sans-serif"'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-family:"Arial","sans-serif"'>We didn’t understood deeply what brings the RTCP sender report flooding, but we has such a behavior using multicast stream that share the same multicast port.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-family:"Arial","sans-serif"'>Wireshark analysis show that an RTCP sender report is forwarded between 2 RTSP servers without ends.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-family:"Arial","sans-serif"'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-family:"Arial","sans-serif"'>We tried to understand the comment in RTCP.cpp that decide to resend a packet when SSM flag is set and packet comes from another host.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-family:"Arial","sans-serif"'>It could be again a consequence of the multicast problem in linux using ASM.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-family:"Arial","sans-serif"'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-family:"Arial","sans-serif"'>However we notice that RTCPInstance constructor has an argument to say to use SSM, but the RTCPInstance have a reference to the GroupSock that know if it was created for SSM.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-family:"Arial","sans-serif"'>Setting this flag according to how groupsock was created seems to solve the problem.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-family:"Arial","sans-serif"'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-family:"Arial","sans-serif"'>For instance in testH264VideoStreamer.cpp seems to make a confusion.<o:p></o:p></span></p><pre><span lang=EN-US>00057   </span><a href="http://www.live555.com/liveMedia/doxygen/html/classGroupsock.html"><span lang=EN-US>Groupsock</span></a><span lang=EN-US> rtpGroupsock(*</span><a href="http://www.live555.com/liveMedia/doxygen/html/MPEG2TransportStreamIndexer_8cpp.html#dfa09dd3866fd8ba8ab69586f9437d19"><span lang=EN-US>env</span></a><span lang=EN-US>, destinationAddress, rtpPort, ttl);<o:p></o:p></span></pre><pre><a name=l00058></a><span lang=EN-US>00058   rtpGroupsock.</span><a href="http://www.live555.com/liveMedia/doxygen/html/classGroupsock.html#f1d8b7124167e2a5fc12ba3a0039346a"><span lang=EN-US>multicastSendOnly</span></a><span lang=EN-US>(); <span class=comment>// we're a SSM source</span><o:p></o:p></span></pre><pre><a name=l00059></a><span lang=EN-US>00059   </span><a href="http://www.live555.com/liveMedia/doxygen/html/classGroupsock.html"><span lang=EN-US>Groupsock</span></a><span lang=EN-US> rtcpGroupsock(*</span><a href="http://www.live555.com/liveMedia/doxygen/html/MPEG2TransportStreamIndexer_8cpp.html#dfa09dd3866fd8ba8ab69586f9437d19"><span lang=EN-US>env</span></a><span lang=EN-US>, destinationAddress, rtcpPort, ttl);<o:p></o:p></span></pre><pre><a name=l00060></a><span lang=EN-US>00060   rtcpGroupsock.</span><a href="http://www.live555.com/liveMedia/doxygen/html/classGroupsock.html#f1d8b7124167e2a5fc12ba3a0039346a"><span lang=EN-US>multicastSendOnly</span></a><span lang=EN-US>(); <span class=comment>// we're a SSM source</span><o:p></o:p></span></pre><pre><a name=l00061></a><span lang=EN-US>00061 <o:p></o:p></span></pre><pre><a name=l00062></a><span lang=EN-US>00062   <span class=comment>// Create a 'H264 Video RTP' sink from the RTP 'groupsock':</span><o:p></o:p></span></pre><pre><a name=l00063></a><span lang=EN-US>00063   </span><a href="http://www.live555.com/liveMedia/doxygen/html/classOutPacketBuffer.html#27f745b288df55bbfb39a7564fe40596"><span lang=EN-US>OutPacketBuffer::maxSize</span></a><span lang=EN-US> = 100000;<o:p></o:p></span></pre><pre><a name=l00064></a><span lang=EN-US>00064   </span><a href="http://www.live555.com/liveMedia/doxygen/html/testDVVideoStreamer_8cpp.html#d0d95ae4c5a49da3e034e3bb23adea20"><span lang=EN-US>videoSink</span></a><span lang=EN-US> = </span><a href="http://www.live555.com/liveMedia/doxygen/html/classH264VideoRTPSink.html#25c497ea6eccc5de3a22677acbcee140"><span lang=EN-US>H264VideoRTPSink::createNew</span></a><span lang=EN-US>(*</span><a href="http://www.live555.com/liveMedia/doxygen/html/MPEG2TransportStreamIndexer_8cpp.html#dfa09dd3866fd8ba8ab69586f9437d19"><span lang=EN-US>env</span></a><span lang=EN-US>, &rtpGroupsock, 96);<o:p></o:p></span></pre><pre><a name=l00065></a><span lang=EN-US>00065 <o:p></o:p></span></pre><pre><a name=l00066></a><span lang=EN-US>00066   <span class=comment>// Create (and start) a 'RTCP instance' for this RTP sink:</span><o:p></o:p></span></pre><pre><a name=l00067></a><span lang=EN-US>00067   <span class=keyword>const</span> <span class=keywordtype>unsigned</span> estimatedSessionBandwidth = 500; <span class=comment>// in kbps; for RTCP b/w share</span><o:p></o:p></span></pre><pre><a name=l00068></a><span lang=EN-US>00068   <span class=keyword>const</span> <span class=keywordtype>unsigned</span> maxCNAMElen = 100;<o:p></o:p></span></pre><pre><a name=l00069></a><span lang=EN-US>00069   <span class=keywordtype>unsigned</span> <span class=keywordtype>char</span> CNAME[maxCNAMElen+1];<o:p></o:p></span></pre><pre><a name=l00070></a><span lang=EN-US>00070   gethostname((<span class=keywordtype>char</span>*)CNAME, maxCNAMElen);<o:p></o:p></span></pre><pre><a name=l00071></a><span lang=EN-US>00071   CNAME[maxCNAMElen] = <span class=charliteral>'\0'</span>; <span class=comment>// just in case</span><o:p></o:p></span></pre><pre><a name=l00072></a><span lang=EN-US>00072   </span><a href="http://www.live555.com/liveMedia/doxygen/html/classRTCPInstance.html"><span lang=EN-US>RTCPInstance</span></a><span lang=EN-US>* rtcp<o:p></o:p></span></pre><pre><a name=l00073></a><span lang=EN-US>00073   = </span><a href="http://www.live555.com/liveMedia/doxygen/html/classRTCPInstance.html#baf83bbbca227116e81dac5a9bf0ce3c"><span lang=EN-US>RTCPInstance::createNew</span></a><span lang=EN-US>(*</span><a href="http://www.live555.com/liveMedia/doxygen/html/MPEG2TransportStreamIndexer_8cpp.html#dfa09dd3866fd8ba8ab69586f9437d19"><span lang=EN-US>env</span></a><span lang=EN-US>, &rtcpGroupsock,<o:p></o:p></span></pre><pre><a name=l00074></a><span lang=EN-US>00074                             estimatedSessionBandwidth, CNAME,<o:p></o:p></span></pre><pre><a name=l00075></a><span lang=EN-US>00075                             </span><a href="http://www.live555.com/liveMedia/doxygen/html/testDVVideoStreamer_8cpp.html#d0d95ae4c5a49da3e034e3bb23adea20"><span lang=EN-US>videoSink</span></a><span lang=EN-US>, </span><a href="http://www.live555.com/liveMedia/doxygen/html/UsageEnvironment_8hh.html#070d2ce7b6bb7e5c05602aa8c308d0c4"><span lang=EN-US>NULL</span></a> <span class=comment><span lang=EN-US>/* we're a server */</span></span><span lang=EN-US>,<o:p></o:p></span></pre><pre><a name=l00076></a><span lang=EN-US>00076                             </span><a href="http://www.live555.com/liveMedia/doxygen/html/Boolean_8hh.html#4ef9178d6bd8f7ce58133fa8c3805842"><span lang=EN-US>True</span></a> <span class=comment><span lang=EN-US>/* we're a SSM source */</span></span><span lang=EN-US>);<o:p></o:p></span></pre><p class=MsoNormal><span lang=EN-US style='font-family:"Arial","sans-serif"'>The RTCPIntance is create with SSM flag set but it use the ASM GroupSock, isn’t it ?<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-family:"Arial","sans-serif"'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-family:"Arial","sans-serif"'>Don’t you think it could be more robust to remove the SSM argument in RTCPInstance constructor and get it from RTCPgs->isSSM() ? <o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-family:"Arial","sans-serif"'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-family:"Arial","sans-serif"'>Thanks & Regards,<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-family:"Arial","sans-serif"'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-family:"Arial","sans-serif"'>            Michel.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-family:"Arial","sans-serif"'><o:p> </o:p></span></p><div><div><p class=MsoNormal><span style='mso-fareast-language:FR'>[@@ THALES GROUP INTERNAL @@]<o:p></o:p></span></p></div></div><p class=MsoNormal><o:p> </o:p></p></div></body></html>