[Live-devel] Regarding multicast

Manikandan Valaguru manikandan.v at e-consystems.com
Tue Apr 22 07:06:42 PDT 2025


Hi,
Thanks for your reply

void PassiveServerMediaSubsession::startStream(
    unsigned clientSessionId,
    void* /*streamToken*/,
    TaskFunc* rtcpRRHandler,
    void* rtcpRRHandlerClientData,
    unsigned short& rtpSeqNum,
    unsigned& rtpTimestamp,
    ServerRequestAlternativeByteHandler* /*serverRequestAlternativeByteHandler*/,
    void* /*serverRequestAlternativeByteHandlerClientData*/) {

    // Implementation here
}

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?
Is it possible that I'm missing something regarding how sessions are managed, or is there a scenario where multiple invocations per client are valid?
Regards,
Manikandan
________________________________
From: live-devel <live-devel-bounces at us.live555.com> on behalf of Ross Finlayson <finlayson at live555.com>
Sent: Wednesday, April 16, 2025 4:30 PM
To: LIVE555 Streaming Media - development & use <live-devel at us.live555.com>
Subject: Re: [Live-devel] Regarding multicast

[You don't often get email from finlayson at live555.com. Learn why this is important at https://aka.ms/LearnAboutSenderIdentification ]

> On Apr 16, 2025, at 4:40 AM, Manikandan Valaguru <manikandan.v at e-consystems.com> wrote:
>
> Hi,
> I'm working on implementing multicast streaming using the Live555 RTSP server (v4l2rtspserver)

What is “v4l2rtspserver”?  We have no software with that name.  We support only the (latest version of the) software that’s described at
        http://live555.com/liveMedia/
and downloaded from our own web server.

Note that, to stream via multicast, your “RTSPServer” must *not* use a “OnDemandServerMediaSubsession” subclass; that is used only to stream via unicast.  Instead, you should use a “PassiveServerMediaSubsession”.

There are several examples of this in the “testProgs” directory.  Note the demo applications named “test*Streamer”.  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/


_______________________________________________
live-devel mailing list
live-devel at lists.live555.com
http://lists.live555.com/mailman/listinfo/live-devel
This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Taking any action in reliance on the contents of this information is strictly prohibited. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. WARNING: Although the company has taken reasonable precautions to ensure no viruses are present in this email, e-con cannot accept responsibility for any loss or damage arising from the use of this email or attachment.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20250422/cd52a40a/attachment.htm>


More information about the live-devel mailing list