[Live-devel] Technical inquiry

Ross Finlayson finlayson at live555.com
Tue Jun 25 17:52:41 PDT 2024


Your problem is that you are mixing code that tries to stream via multicast with code that tries to stream via unicast.  You need to decide whether your RTSP server serves a multicast stream (one stream that can be received by potentially multiple receivers on an IP-multicast-enabled network), or multiple unicast streams (one IP unicast stream for each receiving client).

If you want to stream via IP multicast, then you should use the “testH264VideoStreamer” demo application as a model.  This uses a “PassiveServerMediaSubsession” object to implement a RTSP server for the multicast stream.

If you want to stream via IP unicast, then you should use “testOnDemandRTSPServer” demo application as a model.  This uses (subclasses of) “OnDemandServerMediaSubsession” to implement a RTSP server for unicast streams.

Both of these demo applications can be found in the “testProgs” directory; see http://live555.com/liveMedia/#testProgs


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




More information about the live-devel mailing list