#ring-MQTT - live stream

1 messages · Page 1 of 1 (latest)

placid prairie
#

Hello, I have integrated a Ring wired doorbell thanks to the ring-MQTT add-on. I have created a Picture Glance card that shows the live stream from my Ring camera. This is the code:

camera_view: live
fit_mode: cover
type: picture-glance
title: Kitchen
image: https://demo.home-assistant.io/stub_config/kitchen.png
entities: []
camera_image: camera.03cabcc9_ring_mqtt

Whenever I am not watching this card, is the live stream stopped or does it continue to run in the background?

placid prairie
#

I guess there is not an active live stream in the background when I change to a different dashboard or I close the HA app based on the logs:

#

2025-08-03T15:50:22.576Z ring-rtsp [Patio Timbre] Sending command to activate live stream ON-DEMAND
2025-08-03T15:50:22.596Z ring-rtsp [go2rtc] DBG [rtsp] new consumer stream=649a63d7a41c_live
2025-08-03T15:50:22.622Z ring-mqtt [Patio Timbre] Received set live stream state ON-DEMAND rtsp://127.0.0.1:8554/c0a7e95ec1d40239e1e0ad50f047b6a5
2025-08-03T15:50:22.622Z ring-mqtt [Patio Timbre] ring/d1baaaf1-b62b-4ac4-9dd4-77ea0b13dc72/camera/649a63d7a41c/stream/state ON
2025-08-03T15:50:22.623Z ring-attr [Patio Timbre] ring/d1baaaf1-b62b-4ac4-9dd4-77ea0b13dc72/camera/649a63d7a41c/stream/attributes {"status":"activating"}
2025-08-03T15:50:22.626Z ring-mqtt [Patio Timbre] Acquiring a live stream WebRTC signaling session ticket
2025-08-03T15:50:22.709Z ring-rtsp [Patio Timbre] State indicates live stream is activating
2025-08-03T15:50:23.023Z ring-mqtt [Patio Timbre] Live stream WebRTC signaling session ticket acquired, starting live stream worker
2025-08-03T15:50:23.029Z ring-wrtc [Patio Timbre] Live stream WebRTC worker received start command
2025-08-03T15:50:23.041Z ring-wrtc [Patio Timbre] Live stream transcoding process is starting
2025-08-03T15:50:23.306Z ring-wrtc [Patio Timbre] Websocket signaling for WebRTC session connected successfully
2025-08-03T15:50:23.694Z ring-wrtc [Patio Timbre] Live stream transcoding process has started
2025-08-03T15:50:23.845Z ring-attr [Patio Timbre] ring/d1baaaf1-b62b-4ac4-9dd4-77ea0b13dc72/camera/649a63d7a41c/stream/attributes {"status":"active"}
2025-08-03T15:50:23.849Z ring-wrtc [Patio Timbre] Live stream WebRTC session is connected
2025-08-03T15:50:23.906Z ring-rtsp [Patio Timbre] State indicates live stream is active
2025-08-03T15:50:26.676Z ring-rtsp [go2rtc] DBG [exec] run rtsp launch=4.14575571s
2025-08-03T15:50:26.684Z ring-rtsp [go2rtc] DBG [streams] start producer url=exec:/app/ring-mqtt/scripts/start-stream.sh 649a63d7a41c live ring/d1baaaf1-b62b-4ac4-9dd4-77ea0b13dc72/camera/649a63d7a41c {output}#killsignal=15

#

2025-08-03T15:50:47.063Z ring-rtsp [go2rtc] DBG [rtsp] handle error=EOF
2025-08-03T15:50:47.063Z ring-rtsp [go2rtc] DBG [rtsp] disconnect stream=649a63d7a41c_live
2025-08-03T15:51:27.888Z ring-rtsp [go2rtc] DBG [rtsp] handle error="read tcp 172.30.33.8:8554->172.30.32.1:42832: read: connection reset by peer"
2025-08-03T15:51:27.888Z ring-rtsp [go2rtc] DBG [streams] stop producer url=exec:/app/ring-mqtt/scripts/start-stream.sh 649a63d7a41c live ring/d1baaaf1-b62b-4ac4-9dd4-77ea0b13dc72/camera/649a63d7a41c {output}#killsignal=15
2025-08-03T15:51:27.965Z ring-rtsp [Patio Timbre] Deactivating live stream due to signal from RTSP server (no more active clients or publisher ended stream)
2025-08-03T15:51:27.990Z ring-mqtt [Patio Timbre] Received set live stream state OFF
2025-08-03T15:51:28.004Z ring-wrtc [Patio Timbre] Live stream WebRTC session has disconnected