不知要貼在哪裡,不過因為跟VIVO勉強扯得上關係,就貼在這裡好了

....
鵝最近試著拿VLC當VOD server,用VLC當client時client-server間的溝通大致如下....
client:
OPTIONS rtsp://192.168.1.179/test1 RTSP/1.0
CSeq: 1
User-Agent: VLC media player (LIVE555 Streaming Media v2005.11.10)
server:
RTSP/1.0 200 Ok
Cseq: 1
Server: VLC Server
Public: DESCRIBE, SETUP, TEARDOWN, PLAY, PAUSE
Content-Length: 0
client:
DESCRIBE rtsp://192.168.1.179/test1 RTSP/1.0
CSeq: 2
Accept: application/sdp
User-Agent: VLC media player (LIVE555 Streaming Media v2005.11.10)
server:
RTSP/1.0 200 OK
Content-type: application/sdp
Server: VLC Server
Content-Length: 311
Cseq: 2
Cache-Control: no-cache
v=0
o=- 1167710005492105 3 IN IP4 192.168.1.179
t=0 0
a=tool:vlc 0.8.5
c=IN IP4 0.0.0.0
a=range:npt=0-4304.195
m=video 0 RTP/AVP 32
a=rtpmap:32 MPV/90000
a=control:rtsp://192.168.1.179:554/test1/trackID=0
m=audio 0 RTP/AVP 14
a=rtpmap:14 MPA/90000
a=control:rtsp://192.168.1.179:554/test1/trackID=1
client:
SETUP rtsp://192.168.1.179:554/test1/trackID=0 RTSP/1.0
CSeq: 3
Transport: RTP/AVP;unicast;client_port=32780-32781
User-Agent: VLC media player (LIVE555 Streaming Media v2005.11.10)
server:
RTSP/1.0 200 OK
Transport: RTP/AVP/UDP;client_port=32780-32781
Server: VLC Server
Content-Length: 0
Cseq: 3
Cache-Control: no-cache
Session: 922799102
client:
SETUP rtsp://192.168.1.179:554/test1/trackID=1 RTSP/1.0
CSeq: 4
Transport: RTP/AVP;unicast;client_port=32782-32783
Session: 922799102
User-Agent: VLC media player (LIVE555 Streaming Media v2005.11.10)
server:
RTSP/1.0 200 OK
Transport: RTP/AVP/UDP;client_port=32782-32783
Server: VLC Server
Content-Length: 0
Cseq: 4
Cache-Control: no-cache
Session: 922799102
client:
PLAY rtsp://192.168.1.179/test1 RTSP/1.0
CSeq: 5
Session: 922799102
Range: npt=0.000-
User-Agent: VLC media player (LIVE555 Streaming Media v2005.11.10)
server:
RTSP/1.0 200 OK
Server: VLC Server
Content-Length: 0
Cseq: 5
Cache-Control: no-cache
Session: 922799102;timeout=5
client:
TEARDOWN rtsp://192.168.1.179/test1 RTSP/1.0
CSeq: 6
Session: 922799102
User-Agent: VLC media player (LIVE555 Streaming Media v2005.11.10)
server:
RTSP/1.0 200 OK
Server: VLC Server
Content-Length: 0
Cseq: 6
Cache-Control: no-cache
Session: 922799102;timeout=5
看來大致沒啥問題,但client換成Windows Media Player時就不work了

....
client:
DESCRIBE rtsp://192.168.1.179/test1 RTSP/1.0
User-Agent: WMPlayer/9.0.0.2980 guid/3300AD50-2C39-46C0-AE0A-893474423475
Accept: application/sdp
Accept-Charset: UTF-8, *;q=0.1
X-Accept-Authentication: NTLM, Digest, Basic
Accept-Language: zh-TW, *;q=0.1
CSeq: 1
Supported: com.microsoft.wm.srvppair,com.microsoft.wm.sswitch,com.microsoft.wm.eosmsg,com.microsoft.wm.predstrm
server:
RTSP/1.0 200 OK
Content-type: application/sdp
Server: VLC Server
Content-Length: 311
Cseq: 1
Cache-Control: no-cache
v=0
o=- 1167710005492105 3 IN IP4 192.168.1.179
t=0 0
a=tool:vlc 0.8.5
c=IN IP4 0.0.0.0
a=range:npt=0-4304.195
m=video 0 RTP/AVP 32
a=rtpmap:32 MPV/90000
a=control:rtsp://192.168.1.179:554/test1/trackID=0
m=audio 0 RTP/AVP 14
a=rtpmap:14 MPA/90000
a=control:rtsp://192.168.1.179:554/test1/trackID=1
如此重複數次後,Media Player便出現server端不支援的訊息

....
看來是M$ Media Player對server端的實作有特殊的"癖好"

....請問一下有沒有網友知道除了M$自家的Windows Media service以外,還有能"伺候"Media Player的VOD server嗎

....