[Live-devel] ProxyServerMediaSession not working correctly for more than one client per stream

Ross Finlayson finlayson at live555.com
Thu May 30 08:15:36 PDT 2013


> We did some investigation with few older versions of live555 source base we have in store. It seems, the issue was not there in version 2013.04.21. It seemed to have first appeared in 2013.04.23. I diff-ed these two versions of source codes. Most of the changes did not appear to be related to the issue we are seeing, but one change in OnDemandServerMediaSubsession.cpp does look like it is contributing to the problem:
>  
> In version 2013.04.23, following lines are added in function “StreamState::endPlaying”:
>  
>   if (fRTCPInstance != NULL) {
>     // Hack: Explicitly send a RTCP "BYE" packet now, because the code below will prevent that from happening later,
>     // when "fRTCPInstance" gets deleted:
>     fRTCPInstance->sendBYE();
>   }
>  
> If we comment out the above lines then we find things working again as expected – that is, closing one client no longer closes the other client(s).

Thanks for the note.  Yes, you're correct - that code had this unwanted side effect.  So I've removed it from the new version (2013.05.30) of the software - released just now.  Please upgrade to this new version.


Ross Finlayson
Live Networks, Inc.
http://www.live555.com/

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20130530/26251b86/attachment.html>


More information about the live-devel mailing list