Check for async web offer overrides in camera capabilities (#129519)

This commit is contained in:
Steven B. 2024-10-31 17:57:40 +00:00 committed by GitHub
parent 0f535e979f
commit f44b7e202a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -867,6 +867,8 @@ class Camera(Entity, cached_properties=CACHED_PROPERTIES_WITH_ATTR_):
if (
type(self).async_handle_web_rtc_offer
!= Camera.async_handle_web_rtc_offer
or type(self).async_handle_async_webrtc_offer
!= Camera.async_handle_async_webrtc_offer
):
# The camera has a native WebRTC implementation
frontend_stream_types.add(StreamType.WEB_RTC)