WebRTC sessions #1151
-
Motivation and backgroundWebRTC streams are typically long lived sessions, and often some camera providers (ring, nest) will allow sessions with some timeout as to not just go forever, and they need to be renewed / send a keepalive poll. The home assistant webrtc interface currently has no notion of a session associated when a webrtc stream when creating it:
As a result:
ProposalTo properly implement WebRTC sessions we need:
Consequences
Alternatives
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Summarizing a discussion from Discord: The proposal in #1165 will handle this by integration the session with the websocket session, assigning an id, and ensuring close will be called reliably. This addresses the needs for handling stream extensions and keepalives within the integration. The integrations will handle any session id mappings themselves. |
Beta Was this translation helpful? Give feedback.
Summarizing a discussion from Discord: The proposal in #1165 will handle this by integration the session with the websocket session, assigning an id, and ensuring close will be called reliably. This addresses the needs for handling stream extensions and keepalives within the integration. The integrations will handle any session id mappings themselves.