[Live-devel] Open rtsp camera and streaming to network

Ross Finlayson finlayson at live555.com
Sun Jan 7 15:13:46 PST 2024



> On Jan 8, 2024, at 10:29 AM, Denis Gottardello <info at denisgottardello.it> wrote:
> 
> 
> Hi, I'm new with live555.
> Is it possible to:
> - open only one connection to a rtsp camera and store to a file (alread done)

Yes, you can do this using our “openRTSP” command-line client application:
	http://live555.com/openRTSP/


> - open a local rtsp server socket where more than one clients can connect to wach the live so:

Yes, but your RTSP server implementation must set the variable "reuseFirstSource" to True.  See
	http://live555.com/liveMedia/faq.html#liveInput-unicast


> one connection to the rtsp camera but more clients can connect to the server to watch the same live?

There will be one (RTSP/TCP) connection to the RTSP server for each client (and also one RTP/UDP stream for each client), but - if you set "reuseFirstSource" to True - your server will read from its input source (i.e., camera) one once, even if there are multiple concurrent clients.


Ross Finlayson
Live Networks, Inc.
http://www.live555.com/




More information about the live-devel mailing list