[Live-devel] Concurrent OnDemandServerMediaSubsession to stream MPEG

Ross Finlayson finlayson at live555.com
Mon Oct 27 15:19:35 PDT 2014


> I tried your suggestion today and result  is the same. I can only stream data to one session at the time.
>  
> Could it be some pre-processor definition that I am missing?
>  
> Also some times when I try to play to streams at the same time I get following exception:
> “RTCPInstance:: RTCPInstance error: totSessionBW parameter should not be zero!”

This suggests that, somehow, “fEstimatedKbps” is getting set to zero.  You might try running a debugger (such as “gdb”) to test whether that member variable ever gets overwritten.  You might have a ‘memory smash’ (e.g., buffer overflow bug) somewhere in your code that’s causing this to happen.

Also, you should make sure that you never have more than one thread calling LIVE555 library code (except for the thread that calls “triggerEvent()” - the only LIVE555 function that you may call from a separate thread).


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/20141027/9d3acd79/attachment.html>


More information about the live-devel mailing list