You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/** Adds a new Listener to receive this VideoStream onNewFrame event. See @ref VideoStream::NewFrameListener for more information on implementing an event driven frame reading architecture. An instance of a listener can be added to only one source. @param [in] pListener Pointer to a @ref VideoStream::NewFrameListener object (or a derivative) that will respond to this event. @returns Status code indicating success or failure of the operation.*/
Status addNewFrameListener(NewFrameListener* pListener)
{
if (!isValid())
{
return STATUS_ERROR;
}
return (Status)oniStreamRegisterNewFrameCallback(m_stream, pListener->callback, pListener, &pListener->m_callbackHandle);
}
"An instance of a listener can be added to only one source."
So I'm not sure if this approach would work.
The text was updated successfully, but these errors were encountered:
Hi,
I've been trying to get this working with my kinect2, but it seems that it will crash when a clouddatasource subscribes to more than one stream.
The error is here:
Looking at the OpenNI2 source code:
So I'm not sure if this approach would work.
The text was updated successfully, but these errors were encountered: