Home Assistant custom component for real-time viewing of almost any camera stream using WebRTC and other technologies.
MIT License
Bot releases are visible (Hide)
Published by AlexxIT over 3 years ago
Published by AlexxIT over 3 years ago
Fix work in backgroud #62 @idoaflalo
Published by AlexxIT over 3 years ago
muted
card config option (control default stream sound)ice_servers
card config option (for users with private IP-address and own VPS server)Published by AlexxIT over 3 years ago
Published by AlexxIT over 3 years ago
Starting with version 2 the component supports two protocols automatically and simultaneously. WebRTC in some cases may not work with remote access, then the video will play using MSE. As soon as WebRTC is able to connect - video will play through it, MSE will be stopped.
Read the technology comparison in the readme.
You can disable WebRTC for some cameras and leave only MSE.
Published by AlexxIT over 3 years ago
Published by AlexxIT over 3 years ago
Published by AlexxIT over 3 years ago
entity
instead of url
0-0
type: 'custom:webrtc-camera'
entity: camera.generic_stream # change to your camera entity_id
title: My super camera
ui: true # custom video controls, default false
PS. If you have previously configured UDP ports - it is recommended to set their range 0-0
and disable port forwarding on the router. Ports should be changed only if you are experiencing problems with the connection.
Published by AlexxIT over 3 years ago
Published by AlexxIT over 3 years ago
Support external access for private IP-address and without port forwarding in some cases @Anonym-tsk
/api/webrtc/stream
for DIYPublished by AlexxIT over 3 years ago
type: 'custom:webrtc-camera'
url: 'rtsp://rtsp:[email protected]:554/av_stream/ch0'
firefox: true # enable Firefox support, but breaks support some mobile phones, disabled by default
Published by AlexxIT over 3 years ago
Published by AlexxIT over 3 years ago
Published by AlexxIT over 3 years ago
type: 'custom:webrtc-camera'
url: 'rtsp://rtsp:[email protected]:554/av_stream/ch0'
audio: false # disable audio for stream, enabled by default
PS: You may need to clear your browser cache to update
Published by AlexxIT over 3 years ago
Published by AlexxIT over 3 years ago
First version