How to use IMultiSourceFrameReader::SubscribeMultiSourceFrameArrived RRS feed

  • Question

  • Hi!

    I've started using Kinect SDK v2 with Kinect 2 and I have a issue that my program sometimes eats frames. I have a loop which asks IMultiSourceFrameReader::AcquireLatestFrame every 33 ms but sometimes (~10%) this function returns E_PENDING.

    I think this might be a syncronization issue between my timer and Kinect stream, so I'm thinking about the function IMultiSourceFrameReader::SubscribeMultiSourceFrameArrived may avoid this problem. 

    So my question is simple: How to use IMultiSourceFrameReader::SubscribeMultiSourceFrameArrived and will It solve my problem?

    Thanks in advance!

    Wednesday, July 8, 2015 4:34 AM

All replies

  • Take a look at this sample code here:

    It shows how to listen for kinect events using C++.

    Sr. Enterprise Architect | Trainer | Consultant | MCT | MCSD | MCPD | SharePoint TS | MS Virtual TS |Windows 8 App Store Developer | Linux Gentoo Geek | Raspberry Pi Owner | Micro .Net Developer | Kinect For Windows Device Developer |blog:

    Wednesday, July 8, 2015 9:25 PM