[Live-devel] Regarding multicast

Manikandan Valaguru manikandan.v at e-consystems.com
Wed Apr 16 03:40:56 PDT 2025


Hi,
I'm working on implementing multicast streaming using the Live555 RTSP server (v4l2rtspserver). My current understanding is that when a client sends a SETUP request for a multicast stream, the server should not initiate a new session each time. Instead, it should reuse the existing multicast session.
However, in my setup, the server appears to create multiple sessions for the same multicast stream, which is unexpected. Below is an excerpt from the server log:
________________________________
🧾 Server Command:
/tmp/v4l2rtspserver /dev/video3 -fHEVC -W1920 -H1080 -P5005 -F60 -M232.22.5.67 -mroutecam_m


Log
[NOTICE] Version: 0.3.11-23-gde3c395-dirty live555 version: 2025.01.17
[NOTICE] Create V4L2 Source... /dev/video3
[NOTICE] RTP  address 232.22.5.67:20000
[NOTICE] RTCP address 232.22.5.67:20001
[NOTICE] RTP format: video/H265
[NOTICE] Play this stream using the URL "rtsp://192.168.1.10:5005/routecam_m"

handleCmd_SETUP: SETUP rtsp://192.168.1.10:5005/routecam_m/track1 RTSP/1.0
Transport: RTP/AVP;multicast
...

handleCmd_SETUP: SETUP rtsp://192.168.1.10:5005/routecam_m/track1 RTSP/1.0
Transport: RTP/AVP;multicast
...

My Question
Why is the server initiating a new session for each SETUP, even though the transport is multicast? Shouldn’t Live555 be reusing the same multicast subsession for all clients?
Any guidance or configuration pointers would be greatly appreciated.


Regards,
Manikandan

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/20250416/8da17029/attachment.htm>


More information about the live-devel mailing list