mpromonet / rtsp2web

RTSP to websocket proxy
https://rtsp2web.agreeabletree-365b9a90.canadacentral.azurecontainerapps.io/
The Unlicense
10 stars 1 forks source link

Stream and multi rtsp in one page #1

Open duy1851999 opened 2 months ago

duy1851999 commented 2 months ago

I display multiple rtsp cameras on the web with the tags convert that you give, it works fine, but when I want to show 3 camera videos to the browser without the switch tags, the video so lags. Is there any way to help display multiple videos in one page more smoothly?

mpromonet commented 2 months ago

Hi @duy1851999

I am not sure to understand what you call "tag convert" and "switch tag", however there is problem to solve with multiple video, if you try the page /all.html or /worker.html there is lag, and lack of browser responsivness. There is several tracks like using webgpu for rendering and drop old frame, maybe some dejittering....

Best Regards, Michel.

duy1851999 commented 2 months ago

Is this repo rtsp2web using webRTC or websocket?

mpromonet commented 2 months ago

Hi @duy1851999

This is a simple websocket that forward encoded packet. The project https://github.com/mpromonet/webrtc-streamer use same configuration file using webrtc

Best Regards, Michel.