Threads Again
"Mahmoud Hammoud" <[email protected]>
| Newsgroups | gmane.comp.multimedia.helix.devel,gmane.spam.detected |
|---|---|
| Message-ID | <[email protected]> |
Dear Greg, All, When I try to define a new member ín RTSPClientProtocol of type HXThread* (to create a thread from within the class and perform some background operations...), I get the following error when I stream the file from the server: Report(3, -2147221308, "Unable to play request. Internal stream error. rtsp://127.0.0.1:1554/hulk.mp4", 0, "(NULL)", "HXR_SERVER_ALERT") Why is this happening, although the thread is being successfully created (I'm calling HXThread::MakeThread, and then m_pMyThread->CreateThread(MyThreadRoutine, (void *)this))? I'm getting this error even if I dont actually create the thread, that is, only by defining the member as part of the RTSPClientProtocol class. Did I miss something here? Creating threads as part of threngin.cpp doesnt cause any problems, but then I have to find a communication pathway between the thread created over there and the RTSPClientProtocol class, hence my current situation. Thanks, Mahmoud _______________________________________________ Helix-client-dev mailing list [email protected] http://lists.helixcommunity.org/mailman/listinfo/helix-client-dev