librealsense icon indicating copy to clipboard operation
librealsense copied to clipboard

rs2::sensor should have functinallity to get the profiles of currently opened streams

Open sogartar opened this issue 8 years ago • 2 comments

There is the function rs2::sensor::get_stream_profiles(), that returns the supported profiles that a sensor can provide. There should be a function that returns the stream profiles of currently opened streams.

sogartar avatar Dec 14 '17 09:12 sogartar

That makes sense. There are several small enhancements to the API we are planning to add before D400 launch next month, we will add this to the list

dorodnic avatar Dec 14 '17 18:12 dorodnic

[Realsense Customer Engineering Team Comment] @sogartar By UVC protocol, the camera is the slave and the host is the master. The current camera stream profile is configured by host app. The host app should know what exactly is streaming. So there is no need a function to return the current profile.