Function rs2_get_active_streams

Function Documentation

rs2_stream_profile_list *rs2_get_active_streams(rs2_sensor *sensor, rs2_error **error)

check how subdevice is streaming

Parameters:
  • sensor[in] input RealSense subdevice

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

Returns:

list of stream profiles that given subdevice is currently streaming, should be released by rs2_delete_profiles_list