3 Replies Latest reply on Jun 14, 2018 10:48 AM by Intel Corporation

    Using rs2_get_video_stream_resolution

    MoA

      I wish to get the image sizes by calling the rs2_get_video_stream_resolution API. I am unclear as to what the 1st parameters passed in should be and how/where I would get this parameters. Any snippet of code to show to use this API is appreciated.

       

      My code looks like this:

       

       

      rs2_get_video_stream_resolution(Rs2StreamProfile,

       

          &Width,

          &Height,

          NULL);

       

      What should I put for "Rs2StreamProfile"?

       

      Thanks,

       

      Mo