Function rs2_open_multiple

Function Documentation

void rs2_open_multiple(rs2_sensor *device, const rs2_stream_profile **profiles, int count, rs2_error **error)

open subdevice for exclusive access, by committing to composite configuration, specifying one or more stream profiles this method should be used for interdependent streams, such as depth and infrared, that have to be configured together

Parameters:
  • device[in] relevant RealSense device

  • profiles[in] list of stream profiles discovered by get_stream_profiles

  • count[in] number of simultaneous stream profiles to configure

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