microsoftarchive / KinectCommonBridge

Other
113 stars 43 forks source link

Starting of a stream doesn’t work after stopping #2

Open ArtemAntonets opened 10 years ago

ArtemAntonets commented 10 years ago

After stream has been stopped (exception takes place), Start does not work: KinectStartColorStream(m_hKCBHandle);

mkostin commented 10 years ago

KinectEnable[stream-name]() should always be called before calling KinectStart[stream-name](). This also applies to StartAllStreams() method that should be preceded by Enable...() for each sensor. This requirement is satisfied when switching between color and IR streams (In the TestApp) but is missing when starting the stream.