Skip to content

Commit

Permalink
fix: remove hardcoded stream type to use webrtc
Browse files Browse the repository at this point in the history
with previous code, it was forcing homeassistant to use always RTSP, even user had installed and enabled rtsp to web integration and add-on.

this is expected to solve some codec issues.

installing add-on and integration: https://community.home-assistant.io/t/add-on-rtsptoweb-and-rtsptowebrtc/387846
  • Loading branch information
fuatakgun committed Aug 28, 2022
1 parent 8b26c26 commit cabe584
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion custom_components/eufy_security/camera.py
Expand Up @@ -153,7 +153,6 @@ def __init__(
EufySecurityEntity.__init__(self, coordinator, config_entry, device)

self.device.set_streaming_status_callback(self.set_is_streaming)
self._attr_frontend_stream_type = STREAM_TYPE_HLS
self._attr_supported_features = CameraEntityFeature.STREAM
self._attr_name = self.device.name
self._attr_id = f"{DOMAIN}_{self.device.serial_number}_camera"
Expand Down

0 comments on commit cabe584

Please sign in to comment.