Function rs2_open

Function Documentation

void rs2_open(rs2_sensor *device, const rs2_stream_profile *profile, rs2_error **error)

open subdevice for exclusive access, by committing to a configuration

Parameters:
  • device[in] relevant RealSense device

  • profile[in] stream profile that defines single stream configuration

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