>>Sending request: SETUP rtsp://wmlive.bbc.co.uk/wms<div style="direction: ltr;">/bbc7/hi_s1/audio RTSP/1.0<br>>>CSeq: 3<br>>>Transport: RTP/AVP;unicast;client_port=33094-33095<br>>>User-Agent: VLC media player (LIVE555 Streaming Media
v2006.03.16)<br>>><br>>><br>>>Received SETUP response: RTSP/1.0 400 Bad Request<br>>>Date: Thu, 13 Sep 2007 07:25:45 GMT<br>>>CSeq: 3<br>>>Server: WMServer/9.1.1.3814<br>>>Supported:
com.microsoft.wm.srvppair, com.microsoft.wm.sswitch,<br>>>com.microsoft.wm.eosmsg, com.microsoft.wm.fastcache,<br>>>com.microsoft.wm.packetpairssrc, com.microsoft.wm.startupprofile<br>><br>>Blame Microsoft for this. Their server ("WMServer") is not a
<br>>standards-compliant RTSP server. You will need to find out - from<br>>Microsoft - why their server is not handling our RTSP "SETUP"<br>>request. (Good luck :-)<br>><br>>In any case, though, even if you could get Microsoft's server to work
<br>>with our RTSP client, VLC would not be able to play this stream,<br>>because we do not handle the (Microsoft-proprietary) "x-asf-pf" and<br>>"x-wms-rtx" RTP payload formats, nor the codecs that these RTP
<br>>payload formats carry. (See<br>><<a onclick="return top.js.OpenExtLink(window,event,this)" href="http://www.live555.com/liveMedia/faq.html#payload-format-not-supported" target="_blank">http://www.live555.com/liveMedia/faq.html#payload-format-not-supported
</a>>)<br>><br>>To summarize: Don't bother trying to play streams from a "WMServer".<br>>Use a non-Microsoft server instead.<br><br>Unfortunately, I don't have the option to just ignore Microsoft servers. Fortunately though, I've solved the problem and it turns out to be quite a simple solution. I've attached the entire RTSP conversation that successfully connects to a WM Server at the BBC.
<br><br>The important part seems to be that the WM server returns a control parameter that looks like:<br>a=control:rtsp://wmlive.bbc.co.uk/wms%5Cbbc7%5Chi_s1/<br>but, in the failed attempts to connect to the WM Server, I was sending the SETUP and PLAY commands to:
<br>rtsp://wmlive.bbc.co.uk/wms/bbc7/hi_s1/<br>because it seems that the live555 client ignores the control parameter returned in the DESCRIBE and continues to use the original URL that I gave it.<br><br>SO, when i send SETUP and PLAY to:
<br>rtsp://wmlive.bbc.co.uk/wms%5Cbbc7%5Chi_s1/<br>I can connect to the BBC and download their stream without a problem (using a SimpleRTPSource). I'm not sure whether the server or client is at fault here, I'll leave that up to you guys to decide.
<br><br>Mark Hingston<br></div>