Function rs2_get_frame_number

Function Documentation

unsigned long long rs2_get_frame_number(const rs2_frame *frame, rs2_error **error)

retrieve frame number from frame handle

Parameters:
  • frame[in] handle returned from a callback

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

Returns:

the frame number