Audio/video stream recording forums

Attention Visitor:
You may have to register or log in before you can post:
  • Click the register link to sign up.
  • Registered members please fill in the form below and click the "Log in" button.
To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Audio/video stream recording forums > Broadcasting streaming media > Streaming servers
Register FAQ Members List Calendar Mark Forums Read

Reply Post New Thread
 
Thread Tools Display Modes
  #1  
Old 12-03-2008, 01:17 AM
venu venu is offline
Junior Member
 
Join Date: Nov 2008
Posts: 3
venu is on a distinguished road
Default

Facing problems during WMP RTSP Streaming


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 bytesESCRIBE 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_DESCRI PTION_SERVER_BRANDING_INFO,31,12,WMServer/9.5,51,WMS_CONTENT_DESCRIPTION_PLAYLIST_ENTRY_STAR T_OFFSET,3,4,3100,47,WMS_CONTENT_DESCRIPTION_PLAYL IST_ENTRY_DURATION,3,5,14960,58,WMS_CONTENT_DESCRI PTION_COPIED_METADATA_FROM_PLAYLIST_FILE,3,1,1,42, WMS_CONTENT_DESCRIPTION_PLAYLIST_ENTRY_URL,31,27,C odec25.asf%0D%0A
a=pgmpu:data:application/vnd.ms.wms-hdr.asfv1;base64,MCaydY5mzxGm2QCqAGLObHkBAAAAAAAAB AAAAAECodyrjEepzxGO5ADADCBTZWgAAAAAAAAAAAAAAAAAAAA AAAAAAAAAACsOAAAAAAAAAIA+1d6xnQEBAAAAAAAAANAO3gEAA AAAEAkFAAAAAAAcDAAAAAAAAAIAAACADAAAgAwAAAAAAQC1A79 fLqnPEY7jAMAMIFNlLgAAAAAAAAAR0tOruqnPEY7mAMAMIFNlB gAAAAAAkQfct7epzxGO5gDADCBTZYEAAAAAAAAAwO8ZvE1bzxG o/QCAX1xEKwBX+yBVW88RqP0AgF9cRCsAAAAAAAAAADMAAAAAAAA AAQAAAAAAAAUAANACAAACKAAoAAAAAAUAANACAAABABgAbXA0d gAwKgAAAAAAAAAAAAAAAAAAAAAAQFLRhh0x0BGjpACgyQNI9kQ AAAAAAAAAQVLRhh0x0BGjpACgyQNI9gEAAAABAAYAbQBwAGUAZ wA0AAAAAAAEAG1wNHY2JrJ1jmbPEabZAKoAYs5ssgwAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAABAQ==
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=6e5c2f2f;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,com.microsoft.wm.fastcach e,com.microsoft.wm.packetpairssrc,com.microsoft.wm .startupprofile
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=PL AY

Sending response:RTSP/1.0 200 OK
Blocksize:1452
Transport: RTP/AVP/UDP;unicast;server_port=6972;client_port=1848;ssrc =6e5c2f2f;mode=PLAY
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,com.microsoft.wm.fastcach e,com.microsoft.wm.packetpairssrc,com.microsoft.wm .startupprofile
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,143 28,14328;Time=0,0,0,0,0;StartTime=3100;LastTime=80 00;MaxDiffTime=0;MaxDiffSndTime=0;ByteRate=8763,87 63,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
Reply With Quote
  #2  
Old 12-03-2008, 01:27 AM
venu venu is offline
Junior Member
 
Join Date: Nov 2008
Posts: 3
venu is on a distinguished road
Default

WMP not receiving streams


WMP mentions a particular port number during SETUP to where the data has to be streamed during RTSP Session establishment. But when we stream RTP data to that particular port no WMP does not receive those streams as is shown in the statistics.

If there is something wrong in the data we send does WMP discard the data? We aint getting any error messages regarding the data that is being streamed.

Why is WMP showing "packets received" as 0 though data is sent to that port itself.

Please help
Reply With Quote
Reply Post New Thread
Tags: , , , ,



Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -6. The time now is 12:57 AM.


Powered by All-streaming-media.com; 2006-2011
vB forum hacked with Zoints add-ons