<div dir="ltr"><div class="gmail_quote"><div dir="ltr">Hi Ross,<div> I use liveMedia library which version is 2014.01.21 to do streaming via RTP over RTSP.</div><div>I found that modification in <span style="white-space:pre-wrap">OnDemandServerMediaSubsession::getStreamParameters() let </span></div>
<div><div>streaming via RTP over RTSP not work.</div><div><br></div><div> After I traced, I found clientRTPPortNum is 0 after parseTransportHeader() is called in RTSPClientSession::handleCmd_SETUP (line 1588 in RTSPServer.cpp). This will let <span style="white-space:pre-wrap">getStreamParameters() do things wrong. I modified line 166 </span><span style="white-space:pre-wrap">in </span><span style="white-space:pre-wrap">OnDemandServerMediaSubsession.cpp:</span></div>
<div><font color="#000000"><span style="white-space:pre-wrap"><br></span></font></div><div><font color="#000000"><span style="white-space:pre-wrap">if (clientRTPPort.num() != 0) -> if ((clientRTPPort.num() != 0) || (rtpChannelId != 0xFF))</span></font><br>
</div><div><font color="#000000"><span style="white-space:pre-wrap"><br></span></font></div><div><font color="#000000"><span style="white-space:pre-wrap">and it seems work. I don't know if I do it the right way.</span></font></div>
<div><br></div><div>P.S. I use vlc 2.0.8 and configure it to RTP over RTSP(TCP). It can let this problem happen.</div><div><br></div><div>Many thanks,</div><div><br></div><div>KC Chao</div></div></div></div>-- <br>走遍眾世誰為痴<br>
笑看百態追楚狂<br>我心自有極樂國<br>風雲星月皆文章
</div>