|
| None | __init__ (self, HomeAssistant hass, str url) |
| |
| None | async_close_session (self, str session_id) |
| |
| None | async_handle_async_webrtc_offer (self, Camera camera, str offer_sdp, str session_id, WebRTCSendMessage send_message) |
| |
| bool | async_is_supported (self, str stream_source) |
| |
| None | async_on_webrtc_candidate (self, str session_id, RTCIceCandidateInit candidate) |
| |
| str | domain (self) |
| |
| None | async_handle_async_webrtc_offer (self, Camera camera, str offer_sdp, str session_id, WebRTCSendMessage send_message) |
| |
WebRTC provider.
Definition at line 206 of file __init__.py.
◆ __init__()
| None homeassistant.components.go2rtc.WebRTCProvider.__init__ |
( |
|
self, |
|
|
HomeAssistant |
hass, |
|
|
str |
url |
|
) |
| |
Initialize the WebRTC provider.
Definition at line 209 of file __init__.py.
◆ async_close_session()
| None homeassistant.components.go2rtc.WebRTCProvider.async_close_session |
( |
|
self, |
|
|
str |
session_id |
|
) |
| |
◆ async_handle_async_webrtc_offer()
| None homeassistant.components.go2rtc.WebRTCProvider.async_handle_async_webrtc_offer |
( |
|
self, |
|
|
Camera |
camera, |
|
|
str |
offer_sdp, |
|
|
str |
session_id, |
|
|
WebRTCSendMessage |
send_message |
|
) |
| |
Handle the WebRTC offer and return the answer via the provided callback.
Definition at line 227 of file __init__.py.
◆ async_is_supported()
| bool homeassistant.components.go2rtc.WebRTCProvider.async_is_supported |
( |
|
self, |
|
|
str |
stream_source |
|
) |
| |
◆ async_on_webrtc_candidate()
| None homeassistant.components.go2rtc.WebRTCProvider.async_on_webrtc_candidate |
( |
|
self, |
|
|
str |
session_id, |
|
|
RTCIceCandidateInit
|
candidate |
|
) |
| |
◆ domain()
| str homeassistant.components.go2rtc.WebRTCProvider.domain |
( |
|
self | ) |
|
◆ _hass
| homeassistant.components.go2rtc.WebRTCProvider._hass |
|
private |
◆ _rest_client
| homeassistant.components.go2rtc.WebRTCProvider._rest_client |
|
private |
◆ _session
| homeassistant.components.go2rtc.WebRTCProvider._session |
|
private |
◆ _url
| homeassistant.components.go2rtc.WebRTCProvider._url |
|
private |
The documentation for this class was generated from the following file: