AlexxIT / WebRTC

Home Assistant custom component for real-time viewing of almost any camera stream using WebRTC and other technologies.
https://github.com/AlexxIT/Blog
MIT License
1.51k stars 178 forks source link

Why is it realtime on the lovelace card but not when casting a RTSP stream using dash cast #304

Closed atv2016 closed 2 years ago

atv2016 commented 2 years ago

If i use a camera entity or a direct RTSP url there is a lag of 15 seconds or so. If i use the webrtc card instead it's near realtime.

timmeh87 commented 2 years ago

Webrtc is designed for video calls so they fixed the 15 second delay thing that many other protocols have. The actual delay depends on the encoding and also how close to the next I-frame you join the stream

AlexxIT commented 2 years ago

Maybe you casting not webrtc card with dashcast