[Live-devel] Unicast and Multicast from a single source server?

Dan Franke dgf3208 at gmail.com
Thu Jul 19 17:12:53 PDT 2007


Hello All,

I want to make a server that will stream from a single source to multiple
unicast clients and at least one multicast address.  To further complicate
matters I believe it will need to support ASM (I haven't been able to
convince Quicktime to supports SSM).

Before I go too far down the wrong path I thought I'd pose the problem to
the mailing list for any suggestions.

I see three options:

1. Use two different server sessions one for unicast (OnDemand based
subsession) and a separate session for multicast (Passive based subsession)
then feed them from a single FramedSource.  This has complications in the
design of the FramedSource and it duplicates the RTP framing and buffering.

2. Start with the OnDemandRTSPServer example.  I'd subclass the RTSPServer
and ServerMediaSession so that I can parse the URL to distinguish between
the unicast and multicast stream requests, then use this information to
format up the DESCRIBE responses correctly.  Then (what appears to the the
most difficult part) the OnDemandServerMediaSubsession class would need to
be subclassed to handle the fact we would need two different server RTCP
addresses (the ASM requirement).

3. Construct a RTP relay from a unicast address to a multicast address.  I'm
not sure how RTSP plays into this solution.  It probably doesn't matter
since Quicktime doesn't appear to use RTSP for multicast anyway.

I prefer solution 2 but I'm concerned that the two RTCP server addresses
might complicate things too much.

Any suggestions other alternatives or comments?

              Thanks,

                  Dan Franke
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.live555.com/pipermail/live-devel/attachments/20070719/c1c139b2/attachment.html 


More information about the live-devel mailing list