[Live-devel] RTP over RTSP: client sending RR "early"

Ralf Globisch rglobisch at csir.co.za
Thu Aug 30 15:27:05 PDT 2012


> Out of curiosity, what VLC iPhone 'app' are you using?  'GoodPlayer'?  Or 
> your own custom iOS app?

Actually, it's an Android application based on the Android port of VLC.

> OK, beforehand you didn't say that this (the server seeing an incoming 
> RTCP-over-TCP '$' 'packet' and responding "Method not allowed") was causing 
> whole connections to fail.  I'm curious about why that is happening.  Is this 
> because the "Method not allowed" response is being seen as a response to the 
> "PLAY" command (because it's being sent back before the "PLAY" response)?  

Yes, exactly, a colleague actually found the issue when he ran a network trace:

FYI:

OPTIONS rtsp://mss-build.dhcp/shebeen.mm1 RTSP/1.0
CSeq: 2
User-Agent: ./openRTSP (LIVE555 Streaming Media v2012.08.12)

RTSP/1.0 200 OK
CSeq: 2
Date: Wed, Aug 22 2012 15:05:55 GMT
Public: OPTIONS, DESCRIBE, SETUP, TEARDOWN, PLAY, PAUSE, GET_PARAMETER, SET_PARAMETER

DESCRIBE rtsp://mss-build.dhcp/shebeen.mm1 RTSP/1.0
CSeq: 3
User-Agent: ./openRTSP (LIVE555 Streaming Media v2012.08.12)
Accept: application/sdp

RTSP/1.0 200 OK
CSeq: 3
Date: Wed, Aug 22 2012 15:05:57 GMT
Content-Base: rtsp://xxx.xxx.xxx.xxx/shebeen.mm1/
Content-Type: application/sdp
Content-Length: 552

v=0
o=- 1345634589003910 1 IN IP4 xxx.xxx.xxx.xxx
s=Session streamed by "MSS"
i=shebeen.mm1
t=0 0
a=tool:LIVE555 Streaming Media v2011.10.09
a=type:broadcast
a=control:*
a=source-filter: incl IN IP4 * xxx.xxx.xxx.xxx
a=rtcp-unicast: reflection
a=range:npt=0-
a=x-qt-text-nam:Session streamed by "MSS"
a=x-qt-text-inf:shebeen.mm1
m=video 0 RTP/AVP 96
c=IN IP4 0.0.0.0
b=AS:24000
a=rtpmap:96 H263-1998/90000
a=control:track1
m=audio 0 RTP/AVP 97
c=IN IP4 0.0.0.0
b=AS:128
a=rtpmap:97 AMR/8000
a=fmtp:97 octet-align=1
a=control:track2
SETUP rtsp://xxx.xxx.xxx.xxx/shebeen.mm1/track1 RTSP/1.0
CSeq: 4
User-Agent: ./openRTSP (LIVE555 Streaming Media v2012.08.12)
Transport: RTP/AVP/TCP;unicast;interleaved=0-1

RTSP/1.0 200 OK
CSeq: 4
Date: Wed, Aug 22 2012 15:05:59 GMT
Transport: RTP/AVP/TCP;unicast;destination=146.64.19.76;source=xxx.xxx.xxx.xxx;interleaved=0-1
Session: 078333B5

SETUP rtsp://xxx.xxx.xxx.xxx/shebeen.mm1/track2 RTSP/1.0
CSeq: 5
User-Agent: ./openRTSP (LIVE555 Streaming Media v2012.08.12)
Transport: RTP/AVP/TCP;unicast;interleaved=2-3
Session: 078333B5

RTSP/1.0 200 OK
CSeq: 5
Date: Wed, Aug 22 2012 15:06:01 GMT
Transport: RTP/AVP/TCP;unicast;destination=146.64.19.76;source=xxx.xxx.xxx.xxx;interleaved=2-3
Session: 078333B5

$.....................ljjoubert.PLAY rtsp://xxx.xxx.xxx.xxx/shebeen.mm1/ RTSP/1.0
CSeq: 6
User-Agent: ./openRTSP (LIVE555 Streaming Media v2012.08.12)
Session: 078333B5
Range: npt=0.000-

RTSP/1.0 405 Method Not Allowed
CSeq: 6
Date: Wed, Aug 22 2012 15:06:05 GMT
Allow: OPTIONS, DESCRIBE, SETUP, TEARDOWN, PLAY, PAUSE, GET_PARAMETER, SET_PARAMETER

TEARDOWN rtsp://xxx.xxx.xxx.xxx/shebeen.mm1/ RTSP/1.0
CSeq: 7
User-Agent: ./openRTSP (LIVE555 Streaming Media v2012.08.12)
Session: 078333B5

RTSP/1.0 200 OK
CSeq: 7
Date: Wed, Aug 22 2012 15:06:07 GMT

$.....................ljjoubert.$.......k..A....k..A..ljjoubert.$...................$.......k..A....k..A




-- 
This message is subject to the CSIR's copyright terms and conditions, e-mail legal notice, and implemented Open Document Format (ODF) standard. 
The full disclaimer details can be found at http://www.csir.co.za/disclaimer.html.

This message has been scanned for viruses and dangerous content by MailScanner, 
and is believed to be clean.

Please consider the environment before printing this email.




More information about the live-devel mailing list