Function rs2_get_stream_profile

Function Documentation

const rs2_stream_profile *rs2_get_stream_profile(const rs2_stream_profile_list *list, int index, rs2_error **error)

Get pointer to specific stream profile

Parameters:
  • list[in] the list of supported profiles returned by rs2_get_supported_profiles

  • index[in] the zero based index of the streaming mode

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