[FFmpeg-devel] [PATCH] RTSP-MS 4/15: blocksize detection

Luca Barbato lu_zero
Fri Jan 9 16:48:50 CET 2009


Ronald S. Bultje wrote:
> OK, my apologies, I should back that up with data. Here's a standard reply:
> 
> [..]
> SETUP rtsp://wm.as34763.net/vruk_vr_hi/stream=1 RTSP/1.0
> Transport: RTP/AVP/TCP;unicast;interleaved=0-1;mode=play
> CSeq: 3
> --
> line='RTSP/1.0 200 OK'
> line='Blocksize: 5996'
> line='Transport: RTP/AVP/TCP;unicast;interleaved=0-1;ssrc=5d394640;mode=PLAY'
> line='Date: Thu, 08 Jan 2009 23:55:32 GMT'
> line='CSeq: 3'
> line='Session: 6937310006730872946;timeout=60'
> line='Server: WMServer/9.1.1.3841'
> line='Supported: com.microsoft.wm.srvppair, com.microsoft.wm.sswitch,
> com.microsoft.wm.eosmsg, com.microsoft.wm.fastcache,
> com.microsoft.wm.packetpairssrc, com.microsoft.wm.startupprofile'
> line='Last-Modified: Sat, 30 Dec 1899 00:00:00 GMT'
> line='Cache-Control: x-wms-stream-type="broadcast", no-cache,
> no-user-cache, private'
> line=''
> [..]
> 
> According to the spec, I can insert the blocksize request in the
> SETUP, so let's see:
> 
> [..]
> SETUP rtsp://wm.as34763.net/vruk_vr_hi/stream=1 RTSP/1.0
> Blocksize: 1500
> Transport: RTP/AVP/TCP;unicast;interleaved=0-1;mode=play
> CSeq: 3
> --
> line='RTSP/1.0 200 OK'
> line='Blocksize: 5996'
> line='Transport: RTP/AVP/TCP;unicast;interleaved=0-1;ssrc=1edc63a0;mode=PLAY'
> line='Date: Thu, 08 Jan 2009 23:59:12 GMT'
> line='CSeq: 3'
> line='Session: 9500638754305992890;timeout=60'
> line='Server: WMServer/9.1.1.3862'
> line='Supported: com.microsoft.wm.srvppair, com.microsoft.wm.sswitch,
> com.microsoft.wm.eosmsg, com.microsoft.wm.fastcache,
> com.microsoft.wm.packetpairssrc, com.microsoft.wm.startupprofile'
> line='Last-Modified: Sat, 30 Dec 1899 00:00:00 GMT'
> line='Cache-Control: x-wms-stream-type="broadcast", no-cache,
> no-user-cache, private'
> line=''
> [..]
> 
> As you can see (and as I expected), it ignored our request...
> 
> And since you approved (I suppose under the assumption that this was
> the case), I'll apply the patch that increases the reading buffer size
> to 10 * RTP_MAX_PACKET_LENGTH.
> 
> Thanks,

Thank you for the patience to grind this detail and to prove how bogus 
is their "streaming solution" yet another time.

lu

-- 

Luca Barbato
Gentoo Council Member
Gentoo/linux Gentoo/PPC
http://dev.gentoo.org/~lu_zero





More information about the ffmpeg-devel mailing list