little in work progress report with my rtsp adventures... any further clues or tips very welcome.
i know this thread is developing a bit off topic but here it comes anyway...
so found the user-agent conf in mplayer.conf on the xbox. doesnt make a difference if i change it to a realplayer agent. (i know this breaks some shoutcast functionality, but nevertheless) well it works even less. bbc doesent start at all (as normally it would play 1.5 min.)
did some tests on my laptop by sniffing the traffic through port 80. and when the bbc stream is played through the real player it does send all kinds of data and even works with cockies. if i enter the dot ram http address through the gmplayer on windows it also sends a user agent and other info but does not start playing.
BUT... if i just start the rtsp:// streamn through the command line mplayer on windows it doesnt send anything through port 80 and plays the live stream just fine. so i thought i just comment out all the user-agent settings in the mplayer.conf file on the xbmc. but that didnt work either. actually works as badly as when the user-agent was configured as realplayer.
i wish i knew an easy way to sniff and log the http communication on the xbos to see what it actually sends.
a couple of questions in my mind at the moment.
* does the xbmc mplayer send some sort of HTTP to the streaming server even iif the user-agent setting is commented out. as it does seem that the bbc server feeds the stream happily if it doesent get any data from the client.
* does nobody else experience problems with the bbc live radio and other real media streams except me?
here is what realplayer sends when the bbc the dot ram is started directly from there:
+++GET 217+++
GET /radio4/realplayer/media/fmg2.ram HTTP/1.1
Accept: */*
User-Agent: RMA/1.0 (compatible; RealMedia)
Icy-MetaData: 1
Bandwidth: 786432
ClientID: WinNT_5.1_6.0.12.1483_RealPlayer_BBC02D_en-US_686
Cookie:
BBC-UID=0406e10a9bb2b5ca24d544839020808109980ce7a03020e33b3a10bb12f7e82b0Mozilla%2f4%2e0%20%28compatible%3b%20MSIE%206%2e0%3b%20Windows%20NT%205%2e1%3b%20SV1%29;
BBCDetectPlugin=real%3A1; BBCNewsAudcWght=-99; BBCNewsAudience=Domestic
GUID: 00000000-0000-0000-0000-000000000000
Language: en-US, en, *
RegionData: 0
SupportsMaximumASMBandwidth: 1
Host:
http://www.bbc.co.uk
Accept-Language: en-US, en, *
Accept-Encoding: gzip, deflate
Connection: keep-alive