mrlt8 / docker-wyze-bridge

WebRTC/RTSP/RTMP/LL-HLS bridge for Wyze cams in a docker container
GNU Affero General Public License v3.0
2.48k stars 151 forks source link

WebRTC stream is significantly faster and less lossy than RTSP #881

Open elijah286 opened 1 year ago

elijah286 commented 1 year ago

The generic camera devices are all created using the RTSP URL, but this is proving to be extremely unreliable and slow; meantime, the webRTC stream is crazy fast.

Beyond just the practicality of viewing and using the video stream, I am feeding the RTSP streams into frigate, which is problematic for object detection.

I've confirmed the laggy performance of the RTSP stream using VLC. Why would it be slower than just webRTC? Is there something I can do to make RTSP as fast and snappy as WebRTC?

mrlt8 commented 1 year ago

I believe you'll need to go into the advanced settings for VLC to minimize the buffer for RTSP.

maxfield-allison commented 1 year ago

I'm about to start converting from wyze mini hacks to wyze bridge and feeding them into frigate the same way you're talking about. I believe we can make this happen with ffmpeg flags or commands. I'll let you know what I manage to get working and welcome any info you've gotten so far.

yorb commented 4 months ago

Any update on this effort? I too am noticing super unreliable RTSP streams and looking for a way to get WebRTC to work in the HA dashboard.