<html><head>                <meta http-equiv="Content-Type" content="text/html; charset=utf-8">           <base target="_blank">  

<style type="text/css">
blockquote { margin-right: 0px; }
</style>
<base target="_blank">


<!-- flashmail style begin -->
<style type="text/css">
blockquote { margin-right: 0px; }
</style>
<base target="_blank">
<!-- flashmail style end -->
</head>   <body data-mail_id="-35" style="cursor: auto;">               <span>                                    </span>           <span style="font-size: 12pt;"><span style="font-size: 12pt;"><span style="font-size: 12pt; font-family: 微软雅黑;">​</span><span style="font-family: 微软雅黑;">​</span></span><span style="font-family: 微软雅黑;">​Hello.</span></span><br>            <stationery>                      <span id="_FlashSignName"></span>         </stationery>     <div><span style="font-size: 12pt; font-family: 微软雅黑;"><br></span></div><div><span style="font-size: 12pt; font-family: 微软雅黑;">I try to use livemedia ( </span><span style="font-family: 微软雅黑;">live.2021.08.24.tar.gz</span><span style="font-size: 12pt; font-family: 微软雅黑;"> ) in Android NDK. Usually, I save all instances in JAVA(use </span><span style="font-family: 微软雅黑;">reinterpret_cast<jlong></span><span style="font-family: 微软雅黑; font-size: 12pt;">).</span></div><div><span style="font-family: 微软雅黑; font-size: 12pt;"><br></span></div><div><span style="font-family: 微软雅黑;">TaskScheduler and UsageEnvironment are constructed in UI thread.</span><br></div><div><span style="font-family: 微软雅黑;">doEventLoop is called</span><span style="font-family: 微软雅黑;"> in a new thread.</span><br></div><div><span style="font-family: 微软雅黑; font-size: 12pt;"><br></span></div><div><span style="font-family: 微软雅黑;">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 ).</span></div><div><span style="font-family: 微软雅黑;">I found that the parameter "ServerMediaSubsession* subsession" is NULL, and "fStreamStates[i].subsession" is not NULL.</span></div><div><span style="font-family: 微软雅黑;">The pointer </span><span style="font-family: 微软雅黑;">"</span><span style="font-family: 微软雅黑;">fStreamStates[i].subsession" was destructed before </span><span style="font-family: 微软雅黑;">handleCmd_PLAY or </span><span style="font-family: 微软雅黑;">handleCmd_TEARDOWN was called.</span><br></div><div><span style="font-family: 微软雅黑;"><br></span></div><div><span style="font-family: 微软雅黑;">I call live555ProxyServer's "main" function in native, and it works well.</span></div><div><span style="font-family: 微软雅黑;"><br></span></div><div><span style="font-family: 微软雅黑;">I don't know if it is the right way to use live555.  Does anyone have suggestions?</span></div><div><span style="font-family: 微软雅黑;"><br></span></div><div><span style="font-family: 微软雅黑;">Looking forward to your reply.</span><br></div><div><span style="font-family: 微软雅黑;"><br></span></div><div><span style="font-family: 微软雅黑;">Thank you!</span></div><div><span style="font-family: 微软雅黑;"><br></span></div><div><span style="font-family: 微软雅黑;">PS: Forgive my bad English~</span><br></div><div><br></div><div><span style="white-space:pre">                                                                </span>Yun Lin</div><div><span style="font-family: 微软雅黑;"><br></span></div><div><span style="font-family: 微软雅黑;"><br></span></div></body></html>