[Live-devel] trying to set up multicast session using Live
and Mplayer
Ross Finlayson
finlayson at live.com
Wed May 11 05:55:40 PDT 2005
> I am trying to start a multicast session.Multicast session starts
>from the Server but the client side which uses Mplayer with Live
>support shows only unicast session. How can the client end start a
>multicast session?
It's the server that decides whether or not to stream via multicast. (The
SDP description returned by the server - in response to a "DESCRIBE" -
differs depending on whether the stream is multicast or unicast.)
If you want your server to stream either multicast or unicast, then you can
do this using two different stream names, and add two different
"ServerMediaSession" objects to the server. (Thus, the multicast stream
will have a different URL from the unicast stream.) For multicast, add a
"PassiveServerMediaSubsession" to the "ServerMediaSession"; for unicast,
add an appropriate "OnDemandServerMediaSubsession" subclass. See the
testProgs for details.
Ross Finlayson
LIVE.COM
<http://www.live.com/>
More information about the live-devel
mailing list