When I used the function sleep() in the callback function of onDataAvailable,i got the message "MIGRTPSBITMAP_GETZEROCOUNT:!PRECONDITION"!
I can not understood why i got the error message!
Do not use sleep() or any blocking call in the callback. ever.
What you are seeing is probably a red herring, that is to say the message is unrelated to what you are doing, it is being thrown because what you did is disturbing proper behavior elsewhere.
Do not use sleep() or any blocking call in the callback. ever.
What you are seeing is probably a red herring, that is to say the message is unrelated to what you are doing, it is being thrown because what you did is disturbing proper behavior elsewhere.