Function rs2_loopback_enable

Function Documentation

void rs2_loopback_enable(const rs2_device *device, const char *from_file, rs2_error **error)

Enter the given device into loopback operation mode that uses the given file as input for raw data

Parameters:
  • device[in] Device to enter into loopback operation mode

  • from_file[in] Path to bag file with raw data for loopback

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