I use the SetMetadataCallback fonction to have informations about the net stream I read, it is ok, this fonction works very well.
I use windows lib (CreatePopupMenu fonction) to create a menu, here too, it is good.
But I have a little bug when a menu is opened and the MetaDataCallback procedure is called : the stream freezes. Then, if I close the menu, the stream unfreezes.
I have tested to force go out from the MetaDataCallback procedure if it detect that a menu is opened and to force to close the menu when the MetaDataCallback procedure is called : nothing good is produced : the menu is opened, the callback procedure is called but my code is not executed, the stream freezes.
Well, how is it possible to stop the callback processus without stop to play the stream. It would be so easy to have fonction like Stream_Net_UnSetMetadataCallback, or Stream_Net_SetMetadataCallback(stream, false) with false to stop the callback processus.
To summarize, I would like to stop the callback processus without stop to play the net stream.
Thank you for any idea and reply.
- You must login to post comments