<div dir="ltr">Hello,<div><br></div><div>I have implemented a multicast out component using SimpleRTPSink and RTCPInstance, and a multicast in component using SimpleRTPSource and RTCPInstance. When the multicast in component is receiving from a multicast out component on the same device, I have them share Groupsocks for RTP and RTCP.</div><div><br></div><div>The issue I'm having is when I go to shutdown one component, it seems to stop the other component. The code tracks how many components own the Groupsock, so I know the Groupsock isn't being deleted.</div><div><br></div><div>Say for example I'm shutting down the multicast out component like so:</div><div><br></div><div><font face="monospace, monospace">rtp_sink->stopPlaying();</font></div><div><font face="monospace, monospace">Medium::close(framed_source);</font></div><div><font face="monospace, monospace">Medium::close(rtcp_instance);</font></div><div><font face="monospace, monospace">Medium::close(rtp_sink);</font></div><div><font face="monospace, monospace"><br></font></div><div><font face="arial, helvetica, sans-serif">This will cause the multicast in component to stop working and stop receiving any more streams, Even if I re-instantiate multicast out using the same shared Groupsocks, the multicast out works just fine, but the multicast in continues to be stopped (unless of course I re-instantiate the multicast in). Keep in mind, this is only the case where the multicast in is receiving the multicast out on the same device, and the Groupsocks are shared.</font></div><div><font face="arial, helvetica, sans-serif"><br></font></div><div><font face="arial, helvetica, sans-serif">The only link between components is the shared Groupsocks. I've looked into the Live555 code, but I can't find how this sharing of Groupsocks would cause one component to be stopped when another is shutdown.</font></div><div><font face="arial, helvetica, sans-serif"><br></font></div><div><font face="arial, helvetica, sans-serif">Could you point to how exactly the sharing of Groupsocks would cause this? Even better, do you know a solution, while still being able to share Groupsocks?</font></div><div><font face="arial, helvetica, sans-serif"><br></font></div><div><font face="arial, helvetica, sans-serif">Thanks!</font></div><div><font face="arial, helvetica, sans-serif"><br></font></div><div><font face="arial, helvetica, sans-serif">Alexander Anderson</font>
</div></div>
<br>
<i style="color:rgb(34,34,34);background-color:rgb(255,255,255);font-family:arial"><font size="1"><span style="font-family:Arial,sans-serif;color:rgb(51,51,51)">EMAIL CONFIDENTIALITY STATEMENT: This email, including any attachments hereto, may contain confidential and/or proprietary information of Videon Central, Inc., and/or may include information controlled for export purposes under the U.S. International Traffic in Arms Regulations (ITAR) and is intended for the recipient only. </span><span style="font-family:'Times New Roman',serif">No export, sale, transfer, release or other disposition of this information is permitted without prior authorization.</span><span style="font-family:Arial,sans-serif;color:rgb(51,51,51)"> If you are not the intended recipient please 1) do not disclose, copy, distribute or use this message or its contents to any other person or entity. 2) advise the sender by return e-mail, and 3) delete all copies, including attachments, from your computer. Your cooperation is greatly appreciated.</span></font></i>