[Live-devel] Unable to proxy mjpeg with live555ProxyServer

Roman Gaufman hackeron at gmail.com
Fri Mar 29 16:32:12 PDT 2013


The debug output from live555ProxyServer looks like this:

$ live555ProxyServer -V rtsp://192.168.0.221/live2.sdp
LIVE555 Proxy Server
  (LIVE555 Streaming Media library version 2013.03.07)

Opening connection to 192.168.0.221, port 554...
RTSP stream, proxying the stream "rtsp://192.168.0.221/live2.sdp"
  Play this stream using the URL: rtsp://192.168.0.2:10101/proxyStream

(We use port 8000 for optional RTSP-over-HTTP tunneling.)
...remote connection opened
Sending request: DESCRIBE rtsp://192.168.0.221/live2.sdp RTSP/1.0
CSeq: 2
User-Agent: ProxyRTSPClient (LIVE555 Streaming Media v2013.03.07)
Accept: application/sdp


Received 418 new bytes of response data.
Received a complete DESCRIBE response:
RTSP/1.0 200 OK
CSeq: 2
Date: Wed, 21 Jun 1970 7:17:3 GMT
Content-Base: rtsp://192.168.0.221/live2.sdp/
Content-Type: application/sdp
Content-Length: 256

v=0
o=RTSP 1754223 197 IN IP4 0.0.0.0
s=RTSP server
c=IN IP4 0.0.0.0
t=0 0
a=charset:Shift_JIS
a=range:npt=0-
a=control:*
a=etag:1234567890
m=video 0 RTP/AVP 26
a=control:trackID=2
m=audio 0 RTP/AVP 0
a=control:trackID=3
a=rtpmap:0 pcmu/8000

ProxyServerMediaSession["rtsp://192.168.0.221/live2.sdp/"] added new
"ProxyServerMediaSubsession" for RTP/video/JPEG track
ProxyServerMediaSession["rtsp://192.168.0.221/live2.sdp/"] added new
"ProxyServerMediaSubsession" for RTP/audio/PCMU track
ProxyServerMediaSubsession["JPEG"]::createNewStreamSource(session id 0)
  Initiated: ProxyServerMediaSubsession["JPEG"]
ProxyServerMediaSubsession["JPEG"]::createNewRTPSink()
ProxyServerMediaSubsession["JPEG"]::closeStreamSource()
ProxyServerMediaSubsession["PCMU"]::createNewStreamSource(session id 0)
  Initiated: ProxyServerMediaSubsession["PCMU"]
ProxyServerMediaSubsession["PCMU"]::createNewRTPSink()
ProxyServerMediaSubsession["PCMU"]::closeStreamSource()
ProxyServerMediaSubsession["JPEG"]::createNewStreamSource(session id
4244287916)
Sending request: SETUP rtsp://192.168.0.221/live2.sdp/trackID=2 RTSP/1.0
CSeq: 3
User-Agent: ProxyRTSPClient (LIVE555 Streaming Media v2013.03.07)
Transport: RTP/AVP;unicast;client_port=58106-58107


ProxyServerMediaSubsession["JPEG"]::createNewRTPSink()
ProxyServerMediaSubsession["PCMU"]::createNewStreamSource(session id
4244287916)
ProxyServerMediaSubsession["PCMU"]::createNewRTPSink()
Received 168 new bytes of response data.
Received a complete SETUP response:
RTSP/1.0 200 OK
CSeq: 3
Date: Wed, 21 Jun 1970 7:17:8 GMT
Session: 175423604;timeout=80
Transport: RTP/AVP;unicast;client_port=58106-58107;server_port=5556-5557


ProxyRTSPClient["rtsp://192.168.0.221/live2.sdp/"]::continueAfterSETUP():
head codec: JPEG; numSubsessions 2
  queue:  JPEG  PCMU
Sending request: SETUP rtsp://192.168.0.221/live2.sdp/trackID=3 RTSP/1.0
CSeq: 4
User-Agent: ProxyRTSPClient (LIVE555 Streaming Media v2013.03.07)
Transport: RTP/AVP;unicast;client_port=56070-56071
Session: 175423604


Received 168 new bytes of response data.
Received a complete SETUP response:
RTSP/1.0 200 OK
CSeq: 4
Date: Wed, 21 Jun 1970 7:17:8 GMT
Session: 175423604;timeout=80
Transport: RTP/AVP;unicast;client_port=56070-56071;server_port=5558-5559


ProxyRTSPClient["rtsp://192.168.0.221/live2.sdp/"]::continueAfterSETUP():
head codec: PCMU; numSubsessions 2
  queue:  PCMU
Sending request: PLAY rtsp://192.168.0.221/live2.sdp/ RTSP/1.0
CSeq: 5
User-Agent: ProxyRTSPClient (LIVE555 Streaming Media v2013.03.07)
Session: 175423604


Received 262 new bytes of response data.
Received a complete PLAY response:
RTSP/1.0 200 OK
CSeq: 5
Date: Wed, 21 Jun 1970 7:17:8 GMT
Session: 175423604;timeout=80
RTP-Info: url=rtsp://
192.168.0.221/live2.sdp/trackID=2;seq=0;rtptime=0,url=rtsp://192.168.0.221/live2.sdp/trackID=3;seq=0;rtptime=0
Range: npt=0-
RTCP-Interval: 250


Sending request: OPTIONS rtsp://192.168.0.221/live2.sdp/ RTSP/1.0
CSeq: 6
User-Agent: ProxyRTSPClient (LIVE555 Streaming Media v2013.03.07)


Received 144 new bytes of response data.
Received a complete OPTIONS response:
RTSP/1.0 200 OK
CSeq: 6
Date: Wed, 21 Jun 1970 7:17:33 GMT
Public: OPTIONS, DESCRIBE, PLAY, SETUP, GET_PARAMETER, SET_PARAMETER,
TEARDOWN
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20130329/086a0d49/attachment.html>


More information about the live-devel mailing list