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
-- 
走遍眾世誰為痴
笑看百態追楚狂
我心自有極樂國
風雲星月皆文章
_______________________________________________
live-devel mailing list
live-devel@lists.live555.com
http://lists.live555.com/mailman/listinfo/live-devel

Reply via email to