[Live-devel] Fwd: RTP over RTSP(tcp) doesn't work in version 2014.01.21

趙國章 kcchao0921 at gmail.com
Fri Jan 24 02:53:06 PST 2014


Hi Ross,
  I use liveMedia library which version is 2014.01.21 to do streaming via
RTP over RTSP.
I found that modification in
OnDemandServerMediaSubsession::getStreamParameters()
let
streaming via RTP over RTSP not work.

  After I traced, I found clientRTPPortNum is 0 after
parseTransportHeader() is called in RTSPClientSession::handleCmd_SETUP
(line 1588 in RTSPServer.cpp). This will let getStreamParameters() do
things wrong. I modified line 166 in OnDemandServerMediaSubsession.cpp:

if (clientRTPPort.num() != 0) -> if ((clientRTPPort.num() != 0) ||
(rtpChannelId != 0xFF))

and it seems work. I don't know if I do it the right way.

P.S. I use vlc 2.0.8 and configure it to RTP over RTSP(TCP). It can let
this problem happen.

Many thanks,

KC Chao
-- 
走遍眾世誰為痴
笑看百態追楚狂
我心自有極樂國
風雲星月皆文章
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20140124/3c081c02/attachment.html>


More information about the live-devel mailing list