[Live-devel] New support for unicast RTSP/RTP streaming from a
single input source
Ross Finlayson
finlayson at live.com
Mon Sep 20 13:54:01 PDT 2004
FYI, starting with the latest (2004.09.20) release of the "LIVE.COM
Streaming Media" code, it is now possible for a RTSP/RTP server to stream
to multiple clients from a single input source, rather than creating a new
input source for each client.
This functionality is illustrated by the code for the
"testOnDemandRTSPServer" test program. By default, it plays each file from
the beginning for each new client. However, if you set the Boolean
variable "reuseFirstSource" to True, each file being streamed will be
opened for the first client only. Subsequent clients (accessing the same
file) will use a copy of the existing stream.
This functionality will be most useful for streaming from live input
sources, because it ensures that only one copy of the input source will be
open at any given time. (E.g., you can demonstrate this using "stdin" as
the input file name.)
Ross Finlayson
LIVE.COM
<http://www.live.com/>
More information about the live-devel
mailing list