[vlc-devel] Facing problems during WMP RTSP Streaming
venugopalpaikr
venugopalpaikr at tataelxsi.co.in
Wed Dec 3 06:25:59 CET 2008
Hi everyone,
We are developing an RTSP Server to stream mpeg4 and h264 video data
muxed in asf and receive them on Winows Media Player 11. The muxing is done
by gstreamer's ffmpeg muxer element.
During the session establishment the following RTSP messages are exchanged
between the server and the client:
accept()ed connection from 10.60.3.60
RTSPClientSession[0x208338]::incomingRequestHandler1() read 435
bytes:DESCRIBE rtsp://10.60.4.63/Codec10.asf RTSP/1.0
User-Agent: WMPlayer/11.0.5721.5145
guid/3300AD50-2C39-46C0-AE0A-96E496ED836B
Accept: application/sdp
Accept-Charset: UTF-8, *;q=0.1
X-Accept-Authentication: Negotiate, NTLM, Digest, Basic
Accept-Language: en-US, *;q=0.1
CSeq: 1
Supported: com.microsoft.wm.srvppair, com.microsoft.wm.sswitch,
com.microsoft.wm.eosmsg, com.microsoft.wm.predstrm,
com.microsoft.wm.startupprofile
parseRTSPRequestString() returned cmdName "DESCRIBE", urlPreSuffix "",
urlSuffix "Codec10.asf"
sending response: RTSP/1.0 200 OK
Content-Type: application/sdp
Vary: Accept
X-Playlist-Gen-Id: 160
X-Broadcast-Id: 0
Content-Length: 1473
Date: Mon, Jan 05 1970 15:58:33 GMT
CSeq: 1
Server: WMServer/9.5.6001.18000
Content-Base: rtsp://10.60.4.63/Codec10.asf/
Last-Modified: Sat, 29 Nov 2008 13:26:55 GMT
Cache-Control: x-wms-content-size=1002571, max-age=86399, must-revalidate,
proxy-revalidate
Etag:"1002571"
v=0
o=- 403067676132 1 IN IP4 10.60.4.63
s=Sony RTSP Server
c=IN IP4 0.0.0.0
i=Codec10.asf
b=AS:879
a=maxps:3200
t=0 0
a=control:rtsp://10.60.4.63/Codec10.asf/
a=etag:{2F39F95A-8E34-8833-5AA8-B9AC06FC4E8A}
a=range:npt=now-
a=recvonly
a=pgmpu:data:application/x-wms-contentdesc,8,language,31,0,,44,WMS_CONTENT_D
ESCRIPTION_SERVER_BRANDING_INFO,31,12,WMServer/9.5,51,WMS_CONTENT_DESCRIPTIO
N_PLAYLIST_ENTRY_START_OFFSET,3,4,3100,47,WMS_CONTENT_DESCRIPTION_PLAYLIST_E
NTRY_DURATION,3,5,14960,58,WMS_CONTENT_DESCRIPTION_COPIED_METADATA_FROM_PLAY
LIST_FILE,3,1,1,42,WMS_CONTENT_DESCRIPTION_PLAYLIST_ENTRY_URL,31,27,Codec25.
asf%0D%0A
a=pgmpu:data:application/vnd.ms.wms-hdr.asfv1;base64,MCaydY5mzxGm2QCqAGLObHk
BAAAAAAAABAAAAAECodyrjEepzxGO5ADADCBTZWgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACsOAAA
AAAAAAIA+1d6xnQEBAAAAAAAAANAO3gEAAAAAEAkFAAAAAAAcDAAAAAAAAAIAAACADAAAgAwAAAA
AAQC1A79fLqnPEY7jAMAMIFNlLgAAAAAAAAAR0tOruqnPEY7mAMAMIFNlBgAAAAAAkQfct7epzxG
O5gDADCBTZYEAAAAAAAAAwO8ZvE1bzxGo/QCAX1xEKwBX+yBVW88RqP0AgF9cRCsAAAAAAAAAADM
AAAAAAAAAAQAAAAAAAAUAANACAAACKAAoAAAAAAUAANACAAABABgAbXA0dgAwKgAAAAAAAAAAAAA
AAAAAAAAAQFLRhh0x0BGjpACgyQNI9kQAAAAAAAAAQVLRhh0x0BGjpACgyQNI9gEAAAABAAYAbQB
wAGUAZwA0AAAAAAAEAG1wNHY2JrJ1jmbPEabZAKoAYs5ssgwAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAQAAAAAAAAABAQ==
m=video 0 RTP/AVP 96
b=AS:879
b=RS:0
b=RR:0
a=rtpmap:96 x-asf-pf/1000
a=control:video
a=stream:1
m=application 0 RTP/AVP 96
b=RS:0
b=RR:0
a=rtpmap:96 x-wms-rtx/1000
a=control:rtx
a=stream:65536
RTSPClientSession[0x208338]::incomingRequestHandler1() read 364 bytes:SETUP
rtsp://10.60.4.63/Codec10.asf/rtx RTSP/1.0
User-Agent: WMPlayer/11.0.5721.5145
guid/3300AD50-2C39-46C0-AE0A-96E496ED836B
Accept-Charset: UTF-8, *;q=0.1
X-Accept-Authentication: Negotiate, NTLM, Digest, Basic
Accept-Language: en-US, *;q=0.1
CSeq: 2
X-Playlist-Gen-Id: 160
Transport: RTP/AVP/UDP;unicast;client_port=1890-1891;ssrc=6a777272;mode=PLAY
RTSP/1.0 200 OK
Transport:
RTP/AVP/UDP;unicast;server_port=6970-6971;client_port=1890-1891;ssrc=6e5c2f2
f;mode=PLAY
Date: Mon, Jan 05 1970 16:03:03 GMT
CSeq: 2
Session: 1;timeout=60
Server: WMServer/9.5.6001.18000
Supported:
com.microsoft.wm.srvppair,com.microsoft.wm.sswitch,com.microsoft.wm.eosmsg,c
om.microsoft.wm.fastcache,com.microsoft.wm.packetpairssrc,com.microsoft.wm.s
tartupprofile
Last-Modified: Sat, 29 Nov 2008 13:26:55 GMT
Cache-Control: x-wms-content-size=1002571, max-age=86399, must-revalidate,
proxy-revalidate
Etag: "1002571"
RTSPClientSession[0x208338]::incomingRequestHandler1() read 428
bytes:SET_PARAMETER rtsp://10.60.4.63/Codec10.asf RTSP/1.0
Content-Length: 43
User-Agent: WMPlayer/11.0.5721.5145
guid/3300AD50-2C39-46C0-AE0A-96E496ED836B
Accept-Charset: UTF-8, *;q=0.1
X-Accept-Authentication: Negotiate, NTLM, Digest, Basic
Accept-Language: en-US, *;q=0.1
Session: 1
Content-Type: application/x-rtsp-udp-packetpair;charset=UTF-8
CSeq: 3
X-Playlist-Gen-Id: 160
parseRTSPRequestString() returned cmdName "SET_PARAMETER", urlPreSuffix "",
urlSuffix "Codec10.asf"
sending response: RTSP/1.0 405 Method Not Allowed
CSeq: 3
Date: Mon, Jan 05 1970 15:58:34 GMT
Allow: OPTIONS, DESCRIBE, SETUP, TEARDOWN, PLAY
RTSPClientSession[0x208338]::incomingRequestHandler1() read 373 bytes:SETUP
rtsp://10.60.4.63/Codec10.asf/video RTSP/1.0
User-Agent: WMPlayer/11.0.5721.5145
guid/3300AD50-2C39-46C0-AE0A-96E496ED836B
Accept-Charset: UTF-8, *;q=0.1
X-Accept-Authentication: Negotiate, NTLM, Digest, Basic
Accept-Language: en-US, *;q=0.1
Session: 1
CSeq: 4
X-Playlist-Gen-Id: 160
Transport: RTP/AVP/UDP;unicast;client_port=1848;ssrc=4d499696;mode=PLAY
Sending response:RTSP/1.0 200 OK
Blocksize:1452
Transport:
RTP/AVP/UDP;unicast;server_port=6972;client_port=1848;ssrc=6e5c2f2f;mode=PLA
Y
Date: Mon, Jan 05 1970 15:58:34 GMT
CSeq: 4
Session: 1;timeout=60
Server: WMServer/9.5.6001.18000
Supported:
com.microsoft.wm.srvppair,com.microsoft.wm.sswitch,com.microsoft.wm.eosmsg,c
om.microsoft.wm.fastcache,com.microsoft.wm.packetpairssrc,com.microsoft.wm.s
tartupprofile
Last-Modified: Sat, 29 Nov 2008 13:26:55 GMT
Cache-Control: x-wms-content-size=1002571, max-age=86399, must-revalidate,
proxy-revalidate
Etag: "1002571"
PLAY rtsp://10.60.4.63/Codec10.asf RTSP/1.0
X-Playlist-Seek-Id: 160
User-Agent: WMPlayer/11.0.5721.5145
guid/3300AD50-2C39-46C0-AE0A-B12B4F58DFE5
Accept-Charset: UTF-8, *;q=0.1
X-Accept-Authentication: Negotiate, NTLM, Digest, Basic
Accept-Language: en-US, *;q=0.1
Session: 1
CSeq: 5
Range: npt=0.000-
Bandwidth: 450923
X-Accelerate-Streaming: AccelDuration=8000;AccelBandwidth=383284
RTSP/1.0 200 OK
Date: Mon, Jan 05 1970 16:03:04 GMT
CSeq: 5
Session: 1;timeout=60
Server: WMServer/9.5.6001.18000
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
Range: npt=0.000-
Scale: 1.000
X-Accelerate-Streaming: AccelBandwidth=1975040;AccelDuration=8000
Speed:1.000
X-StartupProfile:
Rate=10,12,15,20,30;MaxBytes=14328,14328,14328,14328,14328;Time=0,0,0,0,0;St
artTime=3100;LastTime=8000;MaxDiffTime=0;MaxDiffSndTime=0;ByteRate=8763,8763
,8763,8763,8763;
RTP-Info: url=rtsp://10.60.4.63/Codec10.asf/video;seq=0;rtptime=0
After these exchanges our Gstreamer pipeline starts streaming RTP data to
the client port number 1848. We are confirming this after capturing the
packets using wireshark .But the WMP isnt' playing back the data. The
statistics in WMP show the "packets received" as 0.
We have tried all the possible means but still in vain. Please send me some
advises so that this issue can be resolved asap.
Thanks in Advance
Venu
The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments contained in it.
More information about the vlc-devel
mailing list