topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Thursday March 28, 2024, 5:27 am
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Author Topic: How to easily relay my favourite radiostreams... read for problem details.  (Read 2980 times)

simakuutio

  • Supporting Member
  • Joined in 2008
  • **
  • Posts: 55
    • View Profile
    • Donate to Member
Problem:
Where I'm working, because what I do, I'm allowed to listen radio streams freely all day long (while I'm doing other more important tasks). But there is one major problem in my point of view: I can listen only radiostreams which are using port 80. Many of those stations which I'd like to listen, are streaming to some higher port like 3276 or something similar and that kind of streams are happily blocked by our corporate firewall...

Question:
Does anyone have working setup for icecast or similar for relaying certain stations so I could listen them from relay at port 80?
I have been doing some experimenting with icecast and so far, couldn't find working way to relay, for example one of my favourite station WPRK (stream url: http://38.96.174.27:4564/). I know how to configure icecast for relaying but for some reason, this and several others doesn't want to be relayed..:(

It would be nice to have easy, smooth and proven-to-work template for icecast to relay various radiostreams to port I want.

Hope you understand my problem and can see some nice and easy solution for it.

Here is what I have trying to do so far, with no luck:

Spoiler
Code: Text [Select]
  1. <icecast>
  2.     <limits>
  3.         <clients>1</clients>
  4.         <sources>1</sources>
  5.         <threadpool>5</threadpool>
  6.         <queue-size>524288</queue-size>
  7.         <client-timeout>30</client-timeout>
  8.         <header-timeout>15</header-timeout>
  9.         <source-timeout>10</source-timeout>
  10.         <burst-on-connect>1</burst-on-connect>
  11.         <burst-size>65535</burst-size>
  12.     </limits>
  13.  
  14.     <hostname>myhost.whereirelay.com</hostname>
  15.  
  16.     <listen-socket>
  17.         <port>80</port>
  18.     </listen-socket>
  19.  
  20.     <relay>
  21.         <server>38.96.174.27</server>
  22.         <port>4564</port>
  23.         <mount>/</mount>
  24.         <local-mount>/wprk.mp3</local-mount>
  25.         <on-demand>1</on-demand>
  26.         <relay-shoutcast-metadata>1</relay-shoutcast-metadata>
  27.     </relay>
  28.  
  29.  
  30.     <fileserve>1</fileserve>
  31.  
  32.     <paths>
  33.         <basedir>/usr/share/icecast</basedir>
  34.  
  35.         <logdir>/var/log/icecast2</logdir>
  36.         <webroot>/usr/share/icecast/web</webroot>
  37.         <adminroot>/usr/share/icecast/admin</adminroot>
  38.         <alias source="/" dest="/status.xsl"/>
  39.     </paths>
  40.  
  41.     <logging>
  42.         <accesslog>access.log</accesslog>
  43.         <errorlog>error.log</errorlog>
  44.         <loglevel>3</loglevel>
  45.         <logsize>10000</logsize>
  46.     </logging>
  47.  
  48.     <security>
  49.         <chroot>0</chroot>
  50.     </security>
  51. </icecast>


So, anyone with working solution?

EDIT: Also, if someone have time and interest to implement small utility (for windows) to be able to put those stations there easily to be relayed for certain port... it would be very cool.:)
« Last Edit: August 22, 2010, 01:38 AM by simakuutio »

JavaJones

  • Review 2.0 Designer
  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 2,739
    • View Profile
    • Donate to Member
Not sure if this has been otherwise solved, but I've been able to do exactly this quite easily in the past using Winamp and Shoutcast. Shoutcast is setup to stream on port 80 and you connect the radio client at work *only* to that Shoutcast stream (your stream). Then on your home computer you tune in to whatever radio station you want to (either using VNC or one of the many remote Winamp control systems), and it relays to Shoutcast and streams to you at work. Of course you could use many other audio players in place of Winamp as well, it's just one I know of that works well with Shoutcast and has remote control capabilities. VLC might be even better.

- Oshyan