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