mpromonet / webrtc-streamer

WebRTC streamer for V4L2 capture devices, RTSP sources and Screen Capture
https://webrtcstreamer.agreeabletree-365b9a90.canadacentral.azurecontainerapps.io/?layout=2x2
The Unlicense
2.91k stars 595 forks source link

Open multiple video streams #531

Open hoveylee opened 1 year ago

hoveylee commented 1 year ago

Describe the bug After I try to use the webpage to open multiple video streams, the vlc connection to rtsp will report an error. If the webrtc-streamer service is exited, I can connect using the vlc connection again.

Screenshots image

mpromonet commented 1 year ago

Hi,

Did you try to connect 2 VLC to your rtsp stream ?

Best Regards, Michel.

hoveylee commented 1 year ago

image

Using VLC2 still fails to open,Is there a limit to the number of connections, and will it be automatically released if it exceeds?

hoveylee commented 1 year ago

Reading the stream with c++ opencv also fails

hoveylee commented 1 year ago

using the web connection service to read the stream is normal

mpromonet commented 1 year ago

It seems your rtsp source accept only one client.

hoveylee commented 1 year ago

But I use VLC to connect two data sources at the same time without any problem

mpromonet commented 1 year ago

You may look to RTSP exchanges

hoveylee commented 1 year ago

I'm sorry I didn't quite understand what you meant