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.55k stars 183 forks source link

Stream to camera. The problem is that the broadcast has stopped. #669

Closed TokarevSergey closed 8 months ago

TokarevSergey commented 8 months ago

Good evening. After adding Hikvision camera to go2rtc

go2rtc: streams: DoorBell:

And creating media_player in /homeassistant/configuration.yaml

media_player:

Получается такая картина:

image

If you play audio using this button, the player will look like the image below.

image

And if the sound is supplied through automation: alias: Внимание обнаружена опасная активность PlayerDoorBellCh2 sequence:

image

The player is constantly working. How can I force it to turn off?

Thank you

xraywinedrinker commented 8 months ago

Set up an automation to stop the camera from playing.

TokarevSergey commented 8 months ago

Thank you. I figured it out here. The player works when the camera is turned on. When is streaming broadcast?