PDA

View Full Version : Internet Streaming



Matthew Hodgskiss
2005-05-29, 09:40
I was wondering how to go about configuring internet
streaming with the slim server. In the documentation
it says that the http address is

http://localhost:9000/stream.mp3

However i'm not sure what to use for localhost. My ISP
IP address is 81.100.21.105, however my slim server
runs on a PC on my network with IP 192.168.0.3 How do
I combine these two IP addresses into localhost? Do I
have to use port forwarding or Dyanmic DNS or
something like that on my router?

Thanks in advance for your help



__________________________________
Yahoo! Mail Mobile
Take Yahoo! Mail with you! Check email on your mobile phone.
http://mobile.yahoo.com/learn/mail

pfarrell
2005-05-29, 09:42
On Sun, 2005-05-29 at 09:40 -0700, Matthew Hodgskiss wrote:

> http://localhost:9000/stream.mp3
>
> However i'm not sure what to use for localhost. My ISP
> IP address is 81.100.21.105, however my slim server
> runs on a PC on my network with IP 192.168.0.3

use http://192.168.0.3:9000/stream.mp3

The documentation uses "localhost" to mean
whatever host your slimserver is running on.

--
Pat
http://www.pfarrell.com/music/slimserver/slimsoftware.html

Mike Scott
2005-05-29, 13:15
On Sun, 2005-05-29 at 11:42, Pat Farrell wrote:
> On Sun, 2005-05-29 at 09:40 -0700, Matthew Hodgskiss wrote:
>
> > http://localhost:9000/stream.mp3
> >
> > However i'm not sure what to use for localhost. My ISP
> > IP address is 81.100.21.105, however my slim server
> > runs on a PC on my network with IP 192.168.0.3
>
> use http://192.168.0.3:9000/stream.mp3
>
> The documentation uses "localhost" to mean
> whatever host your slimserver is running on.

Except that 192.168.0.3 is a private non-routable IP address.
If you want the slimserver to be seen outside of your private network,
you will have to to the following things.

1. Read security FAQs telling you why this is a really bad idea
2. Hope your ISP will allow this traffic
3. Configure your router to forward port 90, then your slimserver will
appear as http://81.100.21.105:9000/stream.mp3
4. Read again why this is not a good idea

Seriously, you may be opening up your computer to hacks by exposing this
port to the wild. Also, if your IP has not assigned a static IP
address, then whenever they decide to change it, your server will use
the new address.
--
- Mike Scott
- mscott (AT) pyewacket (DOT) org

Mike Scott
2005-05-29, 13:16
On Sun, 2005-05-29 at 15:15, Mike Scott wrote:
> 3. Configure your router to forward port 90, then your slimserver will

Fat-finger alert, that should have read port "9000".
--
- Mike Scott
- mscott (AT) pyewacket (DOT) org

deef
2005-05-30, 01:39
where are these located?

Jim
2005-05-30, 08:44
Mike Scott wrote:
> On Sun, 2005-05-29 at 11:42, Pat Farrell wrote:
>
>>On Sun, 2005-05-29 at 09:40 -0700, Matthew Hodgskiss wrote:
>>
>>
>>>http://localhost:9000/stream.mp3
>>>
>>>However i'm not sure what to use for localhost. My ISP
>>>IP address is 81.100.21.105, however my slim server
>>>runs on a PC on my network with IP 192.168.0.3
>>
>>use http://192.168.0.3:9000/stream.mp3
>>
>>The documentation uses "localhost" to mean
>>whatever host your slimserver is running on.
>
> Except that 192.168.0.3 is a private non-routable IP address.
> If you want the slimserver to be seen outside of your private network,
> you will have to to the following things.

Except that he might want to stream from one LAN box to another, in
which case 192.168.0.3 is appropriate.

> 1. Read security FAQs telling you why this is a really bad idea
> 2. Hope your ISP will allow this traffic
> 3. Configure your router to forward port 90, then your slimserver will
> appear as http://81.100.21.105:9000/stream.mp3
> 4. Read again why this is not a good idea

Or, "do what I do" for internet streaming...

Use Softsqueeze through an OpenVPN (openvpn.net) tunnel. OpenVPN is a
free, cross platform software package that will allow you to connect to
your internal network in a way that's far safer than exposing the
network on the whole, and much easier to set up than an IPSec VPN. It's
reasonably well documented with good examples.

One thing to consider if you're streaming over the internet is
bandwidth. My cable modem is rated at 384k up, and I want to stream
music without interfering with my wife's home-office work. Since
Slimserver can resample streams for a particular player, I resample down
to 128k. Yeah, there's a bit of a loss, but the headphones I use at work
don't miss the quality.

Josef Shvejk
2005-05-30, 19:56
> Since Slimserver can resample streams for a particular player,
> I resample down to 128k

Please let me know how to setup up resumpling
I was looking for the same functionality and could not figure it out.
Thanks!

mherger
2005-05-30, 22:40
>> Since Slimserver can resample streams for a particular player,
>> I resample down to 128k
>
> Please let me know how to setup up resumpling
> I was looking for the same functionality and could not figure it out.

Go to the player's settings, Audio page. There's an option to limit the
bitrate.


--

Michael

-----------------------------------------------------------
Help translate SlimServer by using the
StringEditor Plugin (http://www.herger.net/slim/)

ChrisB
2005-05-31, 01:49
>From a couple of posts:

>> Except that 192.168.0.3 is a private non-routable IP address.
>> If you want the slimserver to be seen outside of your private
network,
>> you will have to to the following things.
>
>Except that he might want to stream from one LAN box to another, in
>which case 192.168.0.3 is appropriate.

Not really 'Internet' streaming, then, is it?

>> Please let me know how to setup up resampling I was looking for the
>> same functionality and could not figure it out.
>
> Go to the player's settings, Audio page. There's an option to limit
the
> bitrate.

You'll also need Lame installing - this isn't distributed with the
Slimserver package (for Win32, at least), but a simple Google will put
you on the right track. Lame is the utility that does the transcoding
for the bitrate limiting.