(self, camera)
return self.request.post(f'https://{self.BASE_URL}/hmsweb/users/devices/stopRecord', {'xcloudId':camera.get('xCloudId'),'parentId':camera.get('parentId'),'deviceId':camera.get('deviceId'),'olsonTimeZone':camera.get('properties', {}).get('olsonTimeZone')}, headers={"xcloudId":camera.get('xCloudId')})
This function causes the camera to stop recording.
        You can get the timezone from GetDevices().
This function causes the camera to stop recording.
        You can get the timezone from GetDevices().
This function causes the camera to stop recording . You can get the timezone from GetDevices () .
def StopRecording(self, camera):
        """
        This function causes the camera to stop recording.
        You can get the timezone from GetDevices().
        """
        return self.request.post(f'https://{self.BASE_URL}/hmsweb/users/devices/stopRecord', {'xcloudId':camera.get('xCloudId'),'parentId':camera.get('parentId'),'deviceId':camera.get('deviceId'),'olsonTimeZone':camera.get('properties', {}).get('olsonTimeZone')}, headers={"xcloudId":camera.get('xCloudId')})
def StopRecording ( self , camera ) : return self . request . post ( f'https://{self.BASE_URL}/hmsweb/users/devices/stopRecord' , { 'xcloudId' : camera . get ( 'xCloudId' ) , 'parentId' : camera . get ( 'parentId' ) , 'deviceId' : camera . get ( 'deviceId' ) , 'olsonTimeZone' : camera . get ( 'properties' , { } ) . get ( 'olsonTimeZone' ) } , headers = { "xcloudId" : camera . get ( 'xCloudId' ) } )