Hi,<br><br>I'm in the process of creating an RTSP client and have run into problems with connecting to the BBC's radio stations. Like vlc, I am using the livemedia libraries to provide rtsp support and have done a fair amount of work getting my client to receive mms streams via RTSP. Both vlc and my RTSP client can connect to most mms urls if you change the "mms://" to "rtsp://", but have problems downloading particular BBC radio stations in this way. So I was wondering if anyone can shed any light on the problems that I'm having.
<br><br>I'm having problems when trying to connect to some BBC Radio WMA streams via rtsp. My current setup is:<br><br>Ubuntu 7.04 (Feisty Fawn), VLC media player 0.8.6 Janus.<br><br>And my problem is:<br><br>running:
<br>vlc mms://wmlive.bbc.co.uk/wms/bbc7/hi_s1<br>succeeds in connecting to and playing the bbc radio stream.<br><br>However when i run:<br>vlc rtsp://wmlive.bbc.co.uk/wms/bbc7/hi_s1<br>vlc fails to connect and i get the following result:
<br><br>------------------------------------------------------------------------------<br><br>VLC media player 0.8.6 Janus<br>Sending request: OPTIONS rtsp://wmlive.bbc.co.uk/wms/bbc7/hi_s1 RTSP/1.0<br>CSeq: 1<br>User-Agent: VLC media player (LIVE555 Streaming Media 
v2006.03.16)<br><br><br>Received OPTIONS response: RTSP/1.0 200 OK<br>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
<br>Date: Thu, 13 Sep 2007 07:25:44 GMT<br>CSeq: 1<br>Server: WMServer/9.1.1.3814<br><br><br>Sending request: DESCRIBE rtsp://wmlive.bbc.co.uk/wms/bbc7/hi_s1 RTSP/1.0<br>CSeq: 2<br>Accept: application/sdp<br>User-Agent: VLC media player (LIVE555 Streaming Media 
v2006.03.16)<br><br><br>Received DESCRIBE response: RTSP/1.0 200 OK<br>Content-Type: application/sdp<br>Vary: Accept<br>X-Playlist-Gen-Id: 7239577<br>X-Broadcast-Id: 5581321<br>Content-Length: 4452<br>Date: Thu, 13 Sep 2007 07:25:44 GMT
<br>CSeq: 2<br>Server: WMServer/9.1.1.3814<br>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
<br>Last-Modified: Sat, 30 Dec 1899 00:00:00 GMT<br>Cache-Control: x-wms-stream-type="broadcast", no-cache, no-user-cache, private<br><br><br>Need to read 4452 extra bytes<br>Read 1049 extra bytes: v=0<br>o=- 200709050605210616 200709050605210616 IN IP4 
<a href="http://127.0.0.1">127.0.0.1</a><br>s=BBC7<br>c=IN IP4 <a href="http://0.0.0.0">0.0.0.0</a><br>b=AS:49<br>a=maxps:2261<br>t=0 0<br>a=control:rtsp://wmlive.bbc.co.uk/wms%5Cbbc7%5Chi_s1/<br>a=etag:{4805447C-964F-4983-1A7B-29FF715BA671}
<br>a=range:npt=3.064-3.064<br>a=type:broadcast<br>a=recvonly<br>a=pgmpu:data:application/x-wms-contentdesc,8,language,31,0,,42,WMS_CONTENT_DESCRIPTION_PLAYLIST_ENTRY_URL,31,1,/,58,WMS_CONTENT_DESCRIPTION_COPIED_METADATA_FROM_PLAYLIST_FILE,3,1,1,47,WMS_CONTENT_DESCRIPTION_PLAYLIST_ENTRY_DURATION,3,1,0,51,WMS_CONTENT_DESCRIPTION_PLAYLIST_ENTRY_START_OFFSET,3,4,3064,5,title,31,4,BBC7,6,author,31,4,BBC7,9,copyright,31,35,%C2%A9%20British%20Broadcasting%20Corporation,35,WMS_CONTENT_DESCRIPTION_DESCRIPTION,31,0,,30,WMS_CONTENT_DESCRIPTION_RATING,31,0,,44,WMS_CONTENT_DESCRIPTION_SERVER_BRANDING_INFO,31,12,WMServer/9.0%0D%0A
<br>a=pgmpu:data:application/vnd.ms.wms-hdr.asfv1;base64,MCaydY5mzxGm2QCqAGLObJUJAAAAAAAABwAAAAECMyaydY5mzxGm2QCqAGLObIAAAAAAAAAACgAKAEYAAgACAEIAQgBDADcAAABCAEIAQwA3AAAAqQAgAEIAcgBpAHQAaQBzAGgAIABC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ABlAHIAZQBvACAAMQAtAHAAYQBzAHMAIABDAEIAUgAAAAIAYQE2JrJ1jmbPEabZAKoAYs5sMgAAAAAA
<br>Read 259 extra bytes: AABHQjg0WRZCQqysqkQyYSbRAAAAAAAAAAABAQ==<br>m=audio 0 RTP/AVP 96<br>b=AS:49<br>b=X-AV:49<br>b=RS:0<br>b=RR:0<br>a=rtpmap:96 x-asf-pf/1000<br>a=control:audio<br>a=stream:1<br>m=application 0 RTP/AVP 96
<br>b=RS:0<br>b=RR:0<br>a=rtpmap:96 x-wms-rtx/1000<br>a=control:rtx<br>a=stream:65536<br><br>Sending request: SETUP rtsp://wmlive.bbc.co.uk/wms/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, com.microsoft.wm.eosmsg, com.microsoft.wm.fastcache, com.microsoft.wm.packetpairssrc, com.microsoft.wm.startupprofile<br><br><br>[00000291] live555 demuxer error: SETUP of'audio/X-ASF-PF' failed SETUP: cannot handle response: RTSP/1.0 400 Bad Request
<br>[00000291] live555 demuxer error: Nothing to play for rtsp://wmlive.bbc.co.uk/wms/bbc7/hi_s1<br>[00000289] main input error: no suitable access module for `rtsp://wmlive.bbc.co.uk/wms/bbc7/hi_s1'<br>[00000280] main playlist: nothing to play
<br><br>--------------------------------------------------------------------------<br><br>I get the same result when i try to play rtsp://wmlive.bbc.co.uk/wms/bbc7/hi_s1 with vlc 0.8.6c running on Windows XP.<br><br>Other streams that show the same problem include:
<br><br>mms://wmlive.bbc.net.uk/wms/radio5/5Live_int_s1<br>mms://wmlive.bbc.co.uk/wms/1xtra/hi_s1<br><br>where simply replacing the "mms://" with "rtsp://" creates a stream that WMP11 can play, but that vlc can not.
<br><br>What is especially confusing for me is the fact that Windows Media Player 11, running on Windows XP successfully connects, using a very similar pattern of RTSP commands (the messages sent during this exchange are in the attached file). I have tried altering my own RTSP client (which runs on Linux) so that it uses an identical sequence of commands to WMP11, but this still results in 400 errors - I can successfully issue the OPTIONS and DESCRIBE requests and get meainingful responses, yet every time i try to issue a GET_PARAMETER or SETUP request after this, I receive a response of RTSP/1.0 400 Bad Request.
<br><br>My own rtsp client is not able to download mms streams, as I haven't and don't plan to implement mms as it's a deprecated protocol. If anyone could shed any light on this problem, or let me know a place where i might get some answers, then please let me know. (I'm already planning to ask this question to the livemedia developers as well :)
<br><br><br>Thanks heaps,<br>Mark.<br>