Home Assistant Unofficial Reference 2024.12.1
homeassistant.components.camera.webrtc.CameraWebRTCLegacyProvider Class Reference
Inheritance diagram for homeassistant.components.camera.webrtc.CameraWebRTCLegacyProvider:
[legend]
Collaboration diagram for homeassistant.components.camera.webrtc.CameraWebRTCLegacyProvider:
[legend]

Public Member Functions

str|None async_handle_web_rtc_offer (self, Camera camera, str offer_sdp)
 
bool async_is_supported (self, str stream_source)
 

Detailed Description

WebRTC provider.

Definition at line 166 of file webrtc.py.

Member Function Documentation

◆ async_handle_web_rtc_offer()

str | None homeassistant.components.camera.webrtc.CameraWebRTCLegacyProvider.async_handle_web_rtc_offer (   self,
Camera  camera,
str   offer_sdp 
)
Handle the WebRTC offer and return an answer.

Reimplemented in homeassistant.components.camera.webrtc._CameraRtspToWebRTCProvider.

Definition at line 172 of file webrtc.py.

◆ async_is_supported()

bool homeassistant.components.camera.webrtc.CameraWebRTCLegacyProvider.async_is_supported (   self,
str  stream_source 
)
Determine if the provider supports the stream source.

Reimplemented in homeassistant.components.camera.webrtc._CameraRtspToWebRTCProvider.

Definition at line 169 of file webrtc.py.


The documentation for this class was generated from the following file: