Hi,
yes, have use this option “reuseFirstSource”.
The problem is, we have 2 ServerMediaSession's with the same audio stream.
1. high resolution + audio
2. low resolution + audio
the option “reuseFirstSource” is active for both.
All 3 streams, 2 x video and 1 x audio are own FramedSources


________________________________
Von: Lutz Fiebach <l...@fiebach.de>
Gesendet: Mittwoch, 23. Oktober 2024 09:22
An: live-devel@lists.live555.com <live-devel@lists.live555.com>
Betreff: shared audio stream

Hello live555 Team,

In our project we use a single mono stream which we play out with two different 
video streams via RTSP.
If a client connects and disconnects stream 0 and then immediately connects 
stream 1, the RTSP server
recognizes after a short time that stream 0 has been disconnected and 
terminates the video but also the audio stream.

I think this happens because it was the last user of stream 0 and the RTSP 
server is not aware that the audio stream is still being used by another 
channel.

Do we have a way to prevent this ?

Thanks and greetings

LuFi

https://github.com/Lu-Fi/prudynt-t/blob/master/src/RTSP.cpp#L75
https://github.com/Lu-Fi/prudynt-t/blob/master/src/IMPDeviceSource.cpp#L16

https://thingino.com/
https://github.com/themactep/thingino-firmware

_______________________________________________
live-devel mailing list
live-devel@lists.live555.com
http://lists.live555.com/mailman/listinfo/live-devel

Reply via email to