[Live-devel] Multiple unicasts clients for one Framed Source

Rawling, Stuart SRawling at pelco.com
Fri Jun 27 23:46:21 PDT 2008


I have been trying to my rtsp implementation to allow multiple output
streams from one source.

I have a custom FramedSource object which takes input from a external
device, and am using the OnDemanServerMediaSubsession object (a slight
derivation of it).  I am seting the fReuseFirstSource bit to be True, but
when I connect a second stream, the first stream hangs and the second string
never receives video.

Eventually the library starts displaying TCP traffic information ( I turned
on debug to see what was going on).

The behaviour I expected was that both streams would be being sent via
unicast, and the new destination would just be added to the RTPSink¹s
groupsock.  This is what I had understood by reading through the FAQ.

But now after the problems I have had, and by reading through more of this
list (for example: 
<http://www.mail-archive.com/live-devel@lists.live555.com/msg00434.html> ) ,
I am wondering if I need to change my FrameSource implementation to not set
the fReuseFirstSource bit, and instead to duplicate the frame data as it
comes in, and present the frame data to each FramedSource object that
requires it.

I would appreciate any guidance that you may offer.

Stuart
 

- ------------------------------------------------------------------------------
Confidentiality Notice: The information contained in this transmission is legally privileged and confidential, intended only for the use of the individual(s) or entities named above. This email and any files transmitted with it are the property of Pelco. If the reader of this message is not the intended recipient, or an employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any review, disclosure, copying, distribution, retention, or any action taken or omitted to be taken in reliance on it is prohibited and may be unlawful. If you receive this communication in error, please notify us immediately by telephone call to +1-559-292-1981 or forward the e-mail to administrator at pelco.com and then permanently delete the e-mail and destroy all soft and hard copies of the message and any attachments. Thank you for your cooperation. 
- ------------------------------------------------------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20080627/e9a63b7a/attachment.html>


More information about the live-devel mailing list