fukawi2 |
12-30-2010 11:45 PM |
squid not allowing streaming radio
I have squid running on my home gateway, but when I try to listen to streaming radio, it doesn't work.
Using mplayer with a proxy shows this:
Code:
/home/fukawi2 $ mplayer http://media.on.net/radio/143.m3u
MPlayer SVN-r32492-4.5.1 (C) 2000-2010 MPlayer Team
159 audio & 349 video codecs
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support. You will not be able to use your remote control.
Playing http://media.on.net/radio/143.m3u.
Resolving proxy.fukawi2.pvt for AF_INET...
Connecting to server proxy.fukawi2.pvt[192.168.31.1]: 3128...
Cache size set to 320 KBytes
Playing http://radio1.internode.on.net:8000/143.
Resolving proxy.fukawi2.pvt for AF_INET...
Connecting to server proxy.fukawi2.pvt[192.168.31.1]: 3128...
Cache size set to 320 KBytes
Cache fill: 0.00% (0 bytes)
Cache not filling!
Cache not filling!
Cache not filling!
Cache not filling!
Cache not filling!
Cache not filling keeps repeating until ^C
squid logs the access as being allowed:
If I unset the proxy and open a firewall hole, it works fine:
Code:
/home/fukawi2 $ http_proxy='' mplayer http://media.on.net/radio/143.m3u
MPlayer SVN-r32492-4.5.1 (C) 2000-2010 MPlayer Team
159 audio & 349 video codecs
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support. You will not be able to use your remote control.
Playing http://media.on.net/radio/143.m3u.
Invalid proxy setting... Trying without proxy.
Resolving media.on.net for AF_INET...
Connecting to server media.on.net[203.26.94.250]: 80...
Cache size set to 320 KBytes
Playing http://radio1.internode.on.net:8000/143.
Invalid proxy setting... Trying without proxy.
Resolving radio1.internode.on.net for AF_INET...
Connecting to server radio1.internode.on.net[192.231.203.146]: 8000...
Name : You are listening to NovaNation
Genre : connect . discover . explore . dance
Website: http://www.novanation.com.au
Public : yes
Bitrate: 48kbit/s
Cache size set to 320 KBytes
Cache fill: 0.00% (0 bytes)
ICY Info: StreamTitle='Duck Sauce - Anyway';StreamUrl='SongID=3826|SongTitle=Anyway|SongArtist=Duck Sauce|CartComplete=False|AlbumArt=407.jpg|SongHook=3826.mp3|Version=|MixedBy=|AdvertiserName=|AdComplete=';
AAC file format detected.
==========================================================================
Opening audio decoder: [faad] AAC (MPEG2/4 Advanced Audio Coding)
versionA not supported
versionA not supported
FAAD: compressed input bitrate missing, assuming 128kbit/s!
AUDIO: 48000 Hz, 2 ch, s16le, 128.0 kbit/8.33% (ratio: 16000->192000)
Selected audio codec: [faad] afm: faad (FAAD AAC (MPEG-2/MPEG-4 Audio))
==========================================================================
[AO OSS] audio_setup: Can't open audio device /dev/dsp: No such file or directory
AO: [alsa] 48000Hz 2ch s16le (2 bytes per sample)
Video: no video
Starting playback...
A: 6.3 (06.2) of 0.0 (unknown) 0.7% 56%
|