[Live-devel] Unable to stream RTSP using Live555 proxy server

Kiran P. Thakkar kiran.thakkar at gmail.com
Thu Jul 5 22:58:23 PDT 2012


Dear Ross,

Thanks for your response. I have dump debug info which you have suggested.
Please find log below.

************************ LOG
INFO-START******************************************************************************************************************************
*LIVE555 Proxy Server*
*        (LIVE555 Streaming Media library version 2012.06.26)*
*
*
*Opening connection to 10.17.10.56, port 554...*
*RTSP stream, proxying the stream "rtsp://
10.17.10.56/ch0_unicast_firststream"*
*        Play this stream using the URL "rtsp://10.17.1.111:8554/proxyStream
"*
*
*
*(We use port 80 for optional RTSP-over-HTTP tunneling.)*
*...remote connection opened*
*Sending request: DESCRIBE rtsp://10.17.10.56/ch0_unicast_firststreamRTSP/1.0
*
*CSeq: 2*
*User-Agent: ProxyRTSPClient (LIVE555 Streaming Media v2012.06.26)*
*Accept: application/sdp*
*
*
*
*
*Received 716 new bytes of response data.*
*Received a complete DESCRIBE response:*
*RTSP/1.0 200 OK*
*CSeq: 2*
*Date: Fri, Jul 06 2012 11:05:59 GMT*
*Content-Base: rtsp://10.17.10.56/ch0_unicast_firststream/*
*Content-Type: application/sdp*
*Content-Length: 540*
*
*
*v=0*
*o=- 1341318888742256 1 IN IP4 10.17.10.56*
*s=Session of first stream*
*i=First Codec Stream*
*t=0 0*
*a=tool:LIVE555 Streaming Media v2007.08.03*
*a=type:broadcast*
*a=control:**
*a=range:npt=0-*
*a=x-qt-text-nam:Session of first stream*
*a=x-qt-text-inf:First Codec Stream*
*m=video 0 RTP/AVP 96*
*c=IN IP4 0.0.0.0*
*a=rtpmap:96 MP4V-ES/90000*
*a=fmtp:96
profile-level-id=5;config=000001B005000001B509000001000000012000847A98*
*28A02240A31F*
*a=control:track1*
*m=metadata 0 RTP/AVP 97*
*c=IN IP4 0.0.0.0*
*a=rtpmap:97 METADATA/64000*
*a=control:track2*
*
*
*ProxyServerMediaSession["rtsp://10.17.10.56/ch0_unicast_firststream/"]
added new*
* "ProxyServerMediaSubsession" for RTP/video/MP4V-ES track*
*ProxyServerMediaSession["rtsp://10.17.10.56/ch0_unicast_firststream/"]
added new*
* "ProxyServerMediaSubsession" for RTP/metadata/METADATA track*
*Sending request: OPTIONS rtsp://10.17.10.56/ch0_unicast_firststream/RTSP/1.0
*
*CSeq: 3*
*User-Agent: ProxyRTSPClient (LIVE555 Streaming Media v2012.06.26)*
*
*
*
*
*Received 122 new bytes of response data.*
*Received a complete OPTIONS response:*
*RTSP/1.0 200 OK*
*CSeq: 3*
*Date: Fri, Jul 06 2012 11:06:33 GMT*
*Public: OPTIONS, DESCRIBE, SETUP, TEARDOWN, PLAY, PAUSE*
*
*
*
*
*accept()ed connection from 10.17.1.111*
*Liveness indication from client at 10.17.1.111*
*Liveness indication from client at 10.17.1.111*
*RTSPClientSession[02060068]::handleRequestBytes() read 161 new
bytes:DESCRIBE rt*
*sp://10.17.1.111:8554/proxyStream RTSP/1.0*
*CSeq: 2*
*User-Agent: testRTSPClient.exe (LIVE555 Streaming Media v2012.05.11)*
*Accept: application/sdp*
*
*
*
*
*parseRTSPRequestString() succeeded, returning cmdName "DESCRIBE",
urlPreSuffix "*
*", urlSuffix "proxyStream", CSeq "2", Content-Length 0, with 0 bytes
following t*
*he message.*
*ProxyServerMediaSubsession["MP4V-ES"]::createNewStreamSource(session id 0)*
*        Initiated: ProxyServerMediaSubsession["MP4V-ES"]*
*ProxyServerMediaSubsession["MP4V-ES"]::createNewRTPSink()*
*ProxyServerMediaSubsession["MP4V-ES"]::closeStreamSource()*
*ProxyServerMediaSubsession["METADATA"]::createNewStreamSource(session id 0)
*
*        Initiated: ProxyServerMediaSubsession["METADATA"]*
*sending response: RTSP/1.0 404 File Not Found, Or In Incorrect Format*
*CSeq: 2*
*Date: Fri, Jul 06 2012 05:38:16 GMT*
*
*
*Liveness indication from client at 10.17.1.111*
*RTSPClientSession[02060068]::handleRequestBytes() read 0 new bytes (of
10000); t*
*erminating connection!*
*Sending request: OPTIONS rtsp://10.17.10.56/ch0_unicast_firststream/RTSP/1.0
*
*CSeq: 4*
*User-Agent: ProxyRTSPClient (LIVE555 Streaming Media v2012.06.26)*
*
*
*
*
*Received 122 new bytes of response data.*
*Received a complete OPTIONS response:*
*RTSP/1.0 200 OK*
*CSeq: 4*
*Date: Fri, Jul 06 2012 11:07:10 GMT*
*Public: OPTIONS, DESCRIBE, SETUP, TEARDOWN, PLAY, PAUSE*
*
*
*
*
*Opening connection to 10.17.10.56, port 554...*
*...remote connection opened*
*Sending request: OPTIONS rtsp://10.17.10.56/ch0_unicast_firststream/RTSP/1.0
*
*CSeq: 5*
*User-Agent: ProxyRTSPClient (LIVE555 Streaming Media v2012.06.26)*
*
*
*
*
*Received 122 new bytes of response data.*
*Received a complete OPTIONS response:*
*RTSP/1.0 200 OK*
*CSeq: 5*
*Date: Fri, Jul 06 2012 11:08:09 GMT*
*Public: OPTIONS, DESCRIBE, SETUP, TEARDOWN, PLAY, PAUSE*

*******************************LOG INFO
END******************************************************************************************

I have verified Debug info from RTSPServer.cpp is effected It is keep
printing for  other working camera( It prints *Liveness indication from
client at 10.17.1.111..)*

In current log  also once its prints* **Liveness indication from client at
10.17.1.111.*
*
*
and  in testRTSPClient is giving following log which is similar
to previously
*
*
*
**************************LOG*****************************************************
*
*
Opening connection to 10.17.1.111, port 8554...
...remote connection opened
Sending request: DESCRIBE rtsp://10.17.1.111:8554/proxyStream RTSP/1.0
CSeq: 2
User-Agent: testRTSPClient.exe (LIVE555 Streaming Media v2012.05.11)
Accept: application/sdp


Received 101 new bytes of response data.
Received a complete DESCRIBE response:
RTSP/1.0 404 File Not Found, Or In Incorrect Format
CSeq: 2
Date: Fri, Jul 06 2012 05:53:08 GMT


[URL:"rtsp://10.17.1.111:8554/proxyStream"]: Failed to get a SDP
description: 40
4 File Not Found, Or In Incorrect Format
[URL:"rtsp://10.17.1.111:8554/proxyStream"]: Closing the stream.
*
*
***************************LOG************************************************************************************************************
*

Please help

Regards
Kiran



On Thu, Jul 5, 2012 at 9:15 PM, Ross Finlayson <finlayson at live555.com>wrote:

> This is very strange.  I don't understand why the proxy server is
> responding "404 File Not Found..." to requests by the client.
>
> To try to solve this, I suggest doing the following:
> 1/ Edit "liveMedia/RTSPServer.cpp", and add the line
>
> #define DEBUG 1
>
> to the start of the file.
> 2/ Recompile the "liveMedia" library.
> 3/ In the "proxyServer" library, re-make the "live555ProxyServer" binary.
> 4/ Run "live555ProxyServer -V <back-end-rtsp-URL>" once again, and try
> connecting to it from the client.  Send us the debugging output from the
> proxy server.
>
>
> Ross Finlayson
> Live Networks, Inc.
> http://www.live555.com/
>
>
> _______________________________________________
> live-devel mailing list
> live-devel at lists.live555.com
> http://lists.live555.com/mailman/listinfo/live-devel
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20120706/3be77347/attachment-0001.html>


More information about the live-devel mailing list