ros-drivers / libuvc_ros

http://www.ros.org/wiki/libuvc_ros
81 stars 97 forks source link

uvc_start_streaming vs uvc_stream_start #57

Open kelvinquan opened 5 years ago

kelvinquan commented 5 years ago

Hi,

I have tried searching through the net and also reading the following link: https://ken.tossell.net/libuvc/doc/group__streaming.html

Howevere, I am still unsure of the difference between uvc_start_streaming and uvc_stream_start.

Thanks

Regards Kelvin

7675t commented 5 years ago

Seeing the code, uvc_start_streaming uses uvc_stream_start in itself, so I guess users should usually use uvc_start_streming.

https://github.com/ktossell/libuvc/blob/master/src/stream.c