[Live-devel] build rtsp server supports TCP and Multicast from 264encoder at the same time
Victor Wei
zhwei409 at gmail.com
Mon Aug 20 08:43:07 PDT 2012
Dear experts,
I have read some of the FAQs and mail list.
Thank you for your effort.
Now the live555 server can stream out from encoder with unicast
udp/tcp or multicast respectively.
But my problem is that how to build rtsp server supports TCP and
Mulitcast at the same.
I refer to the mail list above, create two stream name, but it seems
to be difficulty when the source is encoder, not the file.
Thank you in advanced.
---------------------------------------------------------------------------------------
> When TCP/UDP mode, the subsession needs to inherit from
>class OnDemandServerMediaSubsession.
> When multicast mode, it needs to inherit from
>PassiveServerMediaSubsession.
> How can I make a path support both mode in the same time??
It is the server - not the client - that decides whether a stream is
sent via unicast or multicast. Therefore it makes no sense to use
the same stream (path) name for both kinds of streaming. Instead,
the only way that a client can request unicast or multicast streaming
is to use a different stream name for each, and have the server use
the stream name to determine which type of streaming is desired.
This is what we support.
--
---------------------------------------------------------------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20120820/5afafd04/attachment.html>
More information about the live-devel
mailing list