[Live-devel] Regarding multicast

Ross Finlayson finlayson at live555.com
Tue Apr 22 08:35:16 PDT 2025



> On Apr 22, 2025, at 8:06 AM, Manikandan Valaguru <manikandan.v at e-consystems.com> wrote:
> 
> I can confirm that the startStream function is being invoked correctly.
> However, I'm noticing that it gets called every time, which raises a concern.
> My current understanding is that this method should only be invoked once per client session, and not repeatedly.
> Could you please confirm whether this behavior is expected?

“startStream()” is called every time the RTSP server handles a RTSP “PLAY” request from a client.

However, in the case of a “PassiveServerMediaSubsession” (for a multicast stream), “startStream()” doesn’t actually create or start the underlying (multicast) stream source.  That’s assumed to be already be happening.

You should not be trying to diagnose the inner workings of our libraries.  Instead, if you have a problem while using them, just tell us what problem you are seeing.

And, once again, you should begin by looking at the “test*Streamer” demo applications (in the “testProgs” directory).  These applications stream via multicast, and include a (sometimes optional) RTSP server that uses a “PassiveServerMediaSubsession” to provide RTSP access to the stream.


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




More information about the live-devel mailing list