def get_ptz_velocity_async(self, ptz_desc, **kwargs): """Async version of get_ptz_velocity()""" request = ptz_pb2.GetPtzVelocityRequest(ptz=ptz_desc) return self.call_async(self._stub.GetPtzVelocity, request, self._get_ptz_velocity_from_response, self._ptz_error_from_response, **kwargs)
def get_ptz_velocity(self, ptz_desc, **kwargs): """Velocity of the specified ptz""" request = ptz_pb2.GetPtzVelocityRequest(ptz=ptz_desc) return self.call(self._stub.GetPtzVelocity, request, self._get_ptz_velocity_from_response, self._ptz_error_from_response, **kwargs)