Page 1 of 1

watching RTSP-Stream (VoD) via Windows Media Player

Posted: 27 Feb 2007 15:49
by an0nym0us
Hello there,

I'm providing Videos as Video on Demand via RTSP. Works great with VLC!

I read the Windows Media Player could play RTSP but I don't see how. Does anybody know if and haow it's gonna work?

Greetings
Timo

Posted: 27 Feb 2007 15:50
by Jean-Baptiste Kempf
Use ASF/MMS

Posted: 15 Mar 2007 22:31
by gef_64
hello anonymous,

Could you describe the syntax :
- of the command line on your server,
- of the vlm conf file, if you are using a conf file ?

Thank you
Gerard

Posted: 06 Apr 2007 18:26
by tipok
M$ RTSP protocol implementation - Ethereal capture

my stream url looks like this: rtsp://my.host.com:554/programs/SN0TToyfQsH2V4Bb/wkl111_150.wmv

WM Player send query with GET (Not DESCRIBE!!!) query:

Code: Select all

GET /programs/SN0TToyfQsH2V4Bb/wkl111_150.wmv HTTP/1.1 Accept: */* User-Agent: NSPlayer/11.0.5721.5145 Host: my.host.com X-Accept-Authentication: Negotiate, NTLM, Digest, Basic Pragma: version11-enabled=1 Pragma: no-cache,rate=1.000,stream-time=0,stream-offset=0:0,packet-num=4294967295,max-duration=0 Pragma: packet-pair-experiment=1 Pragma: pipeline-experiment=1 Supported: com.microsoft.wm.srvppair, com.microsoft.wm.sswitch, com.microsoft.wm.predstrm, com.microsoft.wm.startupprofile Pragma: xClientGUID={3300AD50-2C39-46c0-AE0A-AE6D91C76FAA} Accept-Language: ru-RU, *;q=0.1
Real Server (I have no WM server) answer:

Code: Select all

HTTP/1.0 200 OK Content-Type: application/octet-stream Server: Cougar 4.1.0.3917 Cache-Control: no-cache Pragma: no-cache Pragma: client-id="3" Pragma: features="seekable,stridable"



I think that Real Server can't understand HTTP/1.1 in RTSP protocol, that's why WM player send another query ("rtsp" protocol again):

Code: Select all

GET /programs/SN0TToyfQsH2V4Bb/wkl111_150.wmv HTTP/1.0 Accept: */* User-Agent: NSPlayer/11.0.5721.5145 Host: my.host.com X-Accept-Authentication: Negotiate, NTLM, Digest, Basic Pragma: no-cache,rate=1.000,stream-time=0,stream-offset=4294967295:4294967295,packet-num=4294967295,max-duration=0 Pragma: xPlayStrm=1 Pragma: xClientGUID={3300AD50-2C39-46c0-AE0A-AE6D91C76FAA} Pragma: stream-switch-count=2 Pragma: stream-switch-entry=ffff:1:0 ffff:2:0 Accept-Language: ru, *;q=0.1

After this server answer:

Code: Select all

HTTP/1.0 200 OK Content-Type: application/octet-stream Server: Cougar 4.1.0.3917 Cache-Control: no-cache Pragma: no-cache Pragma: client-id="4" Pragma: features="seekable,stridable" ...data...
And send file to player...
Maybe this info will be helpful to connect WM player to VLC streamer by M$ RTSP protocol (it's something looks like "http over rtsp").