diff --git a/pyhap/camera.py b/pyhap/camera.py index 1c49774d..5a6fca81 100644 --- a/pyhap/camera.py +++ b/pyhap/camera.py @@ -425,7 +425,7 @@ def __init__(self, options, *args, **kwargs): self.add_preload_service('Microphone') management = self.add_preload_service('CameraRTPStreamManagement') management.configure_char('StreamingStatus', - getter_callback=self._get_streaimg_status) + getter_callback=self._get_streaming_status) management.configure_char('SupportedRTPConfiguration', value=self.get_supported_rtp_config( options.get('srtp', False))) @@ -484,7 +484,7 @@ async def _start_stream(self, objs, reconfigure): # pylint: disable=unused-argu if video_rtp_param: video_rtp_param_objs = tlv.decode(video_rtp_param) # TODO: Optionals, handle the case where they are missing - opts['v_ssrc'] = 1 or struct.unpack('