[Live-devel] Can't connect to BBC Radio WMA streams via rtsp

prn 57r prn57r at gmail.com
Thu Sep 13 01:55:25 PDT 2007


Hi,

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.

I'm having problems when trying to connect to some BBC Radio WMA streams via
rtsp. My current setup is:

Ubuntu 7.04 (Feisty Fawn), VLC media player 0.8.6 Janus.

And my problem is:

running:
vlc mms://wmlive.bbc.co.uk/wms/bbc7/hi_s1
succeeds in connecting to and playing the bbc radio stream.

However when i run:
vlc rtsp://wmlive.bbc.co.uk/wms/bbc7/hi_s1
vlc fails to connect and i get the following result:

------------------------------------------------------------------------------

VLC media player 0.8.6 Janus
Sending request: OPTIONS rtsp://wmlive.bbc.co.uk/wms/bbc7/hi_s1 RTSP/1.0
CSeq: 1
User-Agent: VLC media player (LIVE555 Streaming Media v2006.03.16)


Received OPTIONS response: RTSP/1.0 200 OK
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
Date: Thu, 13 Sep 2007 07:25:44 GMT
CSeq: 1
Server: WMServer/9.1.1.3814


Sending request: DESCRIBE rtsp://wmlive.bbc.co.uk/wms/bbc7/hi_s1 RTSP/1.0
CSeq: 2
Accept: application/sdp
User-Agent: VLC media player (LIVE555 Streaming Media v2006.03.16)


Received DESCRIBE response: RTSP/1.0 200 OK
Content-Type: application/sdp
Vary: Accept
X-Playlist-Gen-Id: 7239577
X-Broadcast-Id: 5581321
Content-Length: 4452
Date: Thu, 13 Sep 2007 07:25:44 GMT
CSeq: 2
Server: WMServer/9.1.1.3814
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
Last-Modified: Sat, 30 Dec 1899 00:00:00 GMT
Cache-Control: x-wms-stream-type="broadcast", no-cache, no-user-cache,
private


Need to read 4452 extra bytes
Read 1049 extra bytes: v=0
o=- 200709050605210616 200709050605210616 IN IP4 127.0.0.1
s=BBC7
c=IN IP4 0.0.0.0
b=AS:49
a=maxps:2261
t=0 0
a=control:rtsp://wmlive.bbc.co.uk/wms%5Cbbc7%5Chi_s1/
a=etag:{4805447C-964F-4983-1A7B-29FF715BA671}
a=range:npt=3.064-3.064
a=type:broadcast
a=recvonly
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

a=pgmpu:data:application/vnd.ms.wms-hdr.asfv1
;base64,MCaydY5mzxGm2QCqAGLObJUJAAAAAAAABwAAAAECMyaydY5mzxGm2QCqAGLObIAAAAAAAAAACgAKAEYAAgACAEIAQgBDADcAAABCAEIAQwA3AAAAqQAgAEIAcgBpAHQAaQBzAGgAIABCAHIAbwBhAGQAYwBh
Read 1048 extra bytes:
AHMAdABpAG4AZwAgAEMAbwByAHAAbwByAGEAdABpAG8AbgAAAAAAAADOdfh7jUbREY2CAGCXy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QyYSbRAAAAAAAAAAABAQ==
m=audio 0 RTP/AVP 96
b=AS:49
b=X-AV:49
b=RS:0
b=RR:0
a=rtpmap:96 x-asf-pf/1000
a=control:audio
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

Sending request: SETUP rtsp://wmlive.bbc.co.uk/wms/bbc7/hi_s1/audio RTSP/1.0
CSeq: 3
Transport: RTP/AVP;unicast;client_port=33094-33095
User-Agent: VLC media player (LIVE555 Streaming Media v2006.03.16)


Received SETUP response: RTSP/1.0 400 Bad Request
Date: Thu, 13 Sep 2007 07:25:45 GMT
CSeq: 3
Server: WMServer/9.1.1.3814
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


[00000291] live555 demuxer error: SETUP of'audio/X-ASF-PF' failed SETUP:
cannot handle response: RTSP/1.0 400 Bad Request
[00000291] live555 demuxer error: Nothing to play for
rtsp://wmlive.bbc.co.uk/wms/bbc7/hi_s1
[00000289] main input error: no suitable access module for
`rtsp://wmlive.bbc.co.uk/wms/bbc7/hi_s1'
[00000280] main playlist: nothing to play

--------------------------------------------------------------------------

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.

Other streams that show the same problem include:

mms://wmlive.bbc.net.uk/wms/radio5/5Live_int_s1
mms://wmlive.bbc.co.uk/wms/1xtra/hi_s1

where simply replacing the "mms://" with "rtsp://" creates a stream that
WMP11 can play, but that vlc can not.

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 meaningful 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.

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.


Thanks heaps,
Mark Hingston.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.live555.com/pipermail/live-devel/attachments/20070913/6fad6299/attachment-0001.html 
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: wmp11-rtsp-to-bbc.txt
Url: http://lists.live555.com/pipermail/live-devel/attachments/20070913/6fad6299/attachment-0001.txt 


More information about the live-devel mailing list