Winamp & Shoutcast Forums

Winamp & Shoutcast Forums (http://forums.winamp.com/index.php)
-   Shoutcast Technical Support (http://forums.winamp.com/forumdisplay.php?f=86)
-   -   I can stream audio (http://forums.winamp.com/showthread.php?t=375105)

farreridj 6th February 2014 17:13

Cannot stream audio :(
 
Hi!

My name is Miguel and i'm trying to install my own instance of Shoutcast Server.

I used a public free server (listen2myradio.com) and i created a webpage with an html5 player, worked well until one week ago, seems they block all the traffic and only their player and my IP are allowed to listen the radio.

At this moment, i cannot stream with my own server, ports are opened, the service seems up but cannot make it work in my webpage.

Can someone help me?

Help really apreciated, Miguel

farreridj 6th February 2014 19:34

Title is wrong, i mean i cannot stream audio :(

farreridj 9th February 2014 16:04

Hi, can anyone help?

I think the DNAS server is up and the port is opened, but i dont know why i cannot connect to the server to listen the broadcast.

I'm becoming mad :(

Thank you for any tip.

jaromanda 9th February 2014 19:21

describe the setup and the problem in more detail if you want help. So far you've given next to no information

farreridj 10th February 2014 06:30

Well, you're right.

I'm trying to broadcast audio using DSP plugin + Shoutcast.

My configuration is pretty standard, port 8000, always public server, max clients 32, etc...

I opened the ports 8000 and 8001 at my router, also i checked them at canyouseeme.org, ports are opened.

I can listen the broadcast successfully at localhost (using "listen.pls" example) but cannot listen anything with my public IP.

I had my radio working using an external shoutcast server (listen2myradio), but now isn't working because i do not use their player, seems now they restrict the connections to my machine and their player.

Thank you for any help, Miguel.

jaromanda 10th February 2014 07:06

Quote:

Originally Posted by farreridj (Post 2985678)
I can listen the broadcast successfully at localhost (using "listen.pls" example) but cannot listen anything with my public IP.

this is NORMAL

you can not listen on the PUBLIC IP within a PRIVATE lan

in short, nothing is wrong unless others, external to your lan, can not listen to the stream

farreridj 10th February 2014 08:20

Thank you so much for your help, i really appreciate it.

So, what step i missed to stream audio with my own server? I just want to configure an html5 player to stream audio to my listeners (like listen2myradio and other Shoutcast providers).

Thank you again.

jaromanda 10th February 2014 09:37

Quote:

Originally Posted by farreridj (Post 2985696)
So, what step i missed to stream audio with my own server?

I don't follow. Is something not working?

Quote:

Originally Posted by farreridj (Post 2985696)
I just want to configure an html5 player to stream audio to my listeners

Stream MP3, not AAC+ and you have a better chance of using a browser to do a media players job

farreridj 10th February 2014 10:23

Probably my English sucks and i cannot transmit what is my problem :D

I just want to broadcast audio from my server and have a web page for my listeners.

At this webpage, i included the html5 player (using audio tag) with this configuration:
<audio controls>
<source src="http://my_public_ip:8000/;stream.mp3" type="audio/mpeg">
</audio>

Can i do this? What configuration i missed to have the stream available?

Of course...if i use localhost instead of public ip works perfectly (Obviosly...internal lan).

Sorry for the confusion and thank you a lot for the help.

jaromanda 10th February 2014 10:27

looks like it should work - I understand at least in the previous version of firefox, it didn't work if the bitrate was below 64k - but then mp3 is unlistenable below about 128 :D

farreridj 10th February 2014 12:53

That's why i created the thread, should work but doesn't work xD

No one is able to connect through the html5 player or the "listen.pls" file.

Do you need more information?

DrO 10th February 2014 13:01

you need to provide what versions of _everything_ you are using including the OS you're using as well as what you've attempted to configure and if things are set as 'public' or 'private' as a starting point (as like jaromanda has mentioned a few times now, you're not providing any real information for anyone to attempt to help you - other than "it doesn't work" which is very vague).

additionally try using http://whatismyipaddress.com/ to get an external IP to replace in your links to see if that will work for you (in place of 'localhost' or any '192.168.x.x' number).

you also need to just be using the direct url of the DNAS and not any playlist links or anything funky like that to avoid issues with some of the browsers and their handling.

and finally, confirm _what_ browser(s) you've been trying to test this on as not all provide the same HTML5 audio support (though that seems to have gotten better with MP3 support within the last few months).

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

the more information you can provide then the better there is a chance your issue can be determined and resolved.

farreridj 10th February 2014 14:36

Hi DrO, thank you for the reply.

I'm using

DNAS Version: Win64 / v2.2.1.109 (Nov 29 2013)

OS: Windows 8 64 bits

This is my sc_serv.conf file:

adminpassword=XXXXXXXX
password=XXXXXXXX
publicserver=always
requirestreamconfigs=1
streamadminpassword_1=XXXXXXXX
streamid_1=1
streampassword_1=XXXXXXXX
streamauthhash_1=XXXXXXXXXXXXXXXXXXXX

To test the stream i'm trying the latest version of Google Chrome, as i mentioned before i cannot make it work with my public IP.

AFAIK, i'm using the direct url of the DNAS.

Thank you again for your response, if you need more information let me know.

DrO 10th February 2014 14:55

and what about the source software? the stream type? is why i asked for _everything_ you are using (even if it's not needed, it helps to better understand how you've setup things and what is being used incase of known issues with older / newer versions of thnigs).


and as you're on Windows, have you allowed it access through the Windows firewall? as i see you've opened them in the router already but you'd need to double-check the Windows firewall (which usually on the first run will generate a Windows prompt to allow it for private / public networks.

so the direct url should be http://<your_public_ip>:8000/?icy=http and nothing else (that forces it to be HTML5 compatible).


so the main thing is getting the public IP to work for the DNAS i.e. everything is allowed through correctly as needed (as opening the port on the router is just half of things as most OS need to also be configured to allow things in their own firewall).


All times are GMT. The time now is 14:48.

Copyright © 1999 - 2010 Nullsoft. All Rights Reserved.