homeassistant/components/nest/camera_sdm.py
def frontend_stream_type(self) -> StreamType | None:
        """Return the type of stream supported by this camera."""
        if CameraLiveStreamTrait.NAME not in self._device.traits:
            return None
        trait = self._device.traits[CameraLiveStreamTrait.NAME]
        if StreamingProtocol.WEB_RTC in trait.supported_protocols:
            return StreamType.WEB_RTC
        return super().frontend_stream_type
Return the type of stream supported by this camera.
Return the type of stream supported by this camera.
Return the type of stream supported by this camera .
def frontend_stream_type(self) -> StreamType | None:
        if CameraLiveStreamTrait.NAME not in self._device.traits:
            return None
        trait = self._device.traits[CameraLiveStreamTrait.NAME]
        if StreamingProtocol.WEB_RTC in trait.supported_protocols:
            return StreamType.WEB_RTC
        return super().frontend_stream_type
def frontend_stream_type ( self ) -> StreamType | None : if CameraLiveStreamTrait . NAME not in self . _device . traits : return None trait = self . _device . traits [ CameraLiveStreamTrait . NAME ] if StreamingProtocol . WEB_RTC in trait . supported_protocols : return StreamType . WEB_RTC return super ( ) . frontend_stream_type
Return the type of stream supported by this camera.
Return the type of stream supported by this camera .
"""Return the type of stream supported by this camera."""
self