Hello.
I try to use livemedia ( live.2021.08.24.tar.gz ) in Android NDK. Usually, I save all instances in JAVA(use reinterpret_cast<jlong>). TaskScheduler and UsageEnvironment are constructed in UI thread. doEventLoop is called in a new thread. When I use RTSPServer to proxy RTSP stream from VLC( at computer ), it may be encounter fatal signal 11 (memeory error) at handleCmd_PLAY or handleCmd_TEARDOWN ( RTSPServer.cpp ). I found that the parameter "ServerMediaSubsession* subsession" is NULL, and "fStreamStates[i].subsession" is not NULL. The pointer "fStreamStates[i].subsession" was destructed before handleCmd_PLAY or handleCmd_TEARDOWN was called. I call live555ProxyServer's "main" function in native, and it works well. I don't know if it is the right way to use live555. Does anyone have suggestions? Looking forward to your reply. Thank you! PS: Forgive my bad English~ Yun Lin
_______________________________________________ live-devel mailing list live-devel@lists.live555.com http://lists.live555.com/mailman/listinfo/live-devel