Function rs2_playback_get_position

Function Documentation

unsigned long long int rs2_playback_get_position(const rs2_device *device, rs2_error **error)

Gets the current position of the playback in the file in terms of time. Units are expressed in nanoseconds

Parameters:
  • device[in] A playback device

  • error[out] If non-null, receives any error that occurs during this call, otherwise, errors are ignored

Returns:

Current position of the playback in the file in terms of time. Units are expressed in nanoseconds