Old 6th February 2014, 17:13   #1
farreridj
Junior Member
 
Join Date: Feb 2014
Posts: 8
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

Last edited by farreridj; 6th February 2014 at 18:28. Reason: Cannot stream audio :(
farreridj is offline   Reply With Quote
Old 6th February 2014, 19:34   #2
farreridj
Junior Member
 
Join Date: Feb 2014
Posts: 8
Title is wrong, i mean i cannot stream audio
farreridj is offline   Reply With Quote
Old 9th February 2014, 16:04   #3
farreridj
Junior Member
 
Join Date: Feb 2014
Posts: 8
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.
farreridj is offline   Reply With Quote
Old 9th February 2014, 19:21   #4
jaromanda
Forum King
 
Join Date: Jun 2007
Location: Under the bridge
Posts: 2,290
describe the setup and the problem in more detail if you want help. So far you've given next to no information

"If you don't like DNAS, write your own damn system"

So I did
jaromanda is offline   Reply With Quote
Old 10th February 2014, 06:30   #5
farreridj
Junior Member
 
Join Date: Feb 2014
Posts: 8
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.
farreridj is offline   Reply With Quote
Old 10th February 2014, 07:06   #6
jaromanda
Forum King
 
Join Date: Jun 2007
Location: Under the bridge
Posts: 2,290
Quote:
Originally Posted by farreridj View Post
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

"If you don't like DNAS, write your own damn system"

So I did
jaromanda is offline   Reply With Quote
Old 10th February 2014, 08:20   #7
farreridj
Junior Member
 
Join Date: Feb 2014
Posts: 8
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.
farreridj is offline   Reply With Quote
Old 10th February 2014, 09:37   #8
jaromanda
Forum King
 
Join Date: Jun 2007
Location: Under the bridge
Posts: 2,290
Quote:
Originally Posted by farreridj View Post
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 View Post
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

"If you don't like DNAS, write your own damn system"

So I did
jaromanda is offline   Reply With Quote
Old 10th February 2014, 10:23   #9
farreridj
Junior Member
 
Join Date: Feb 2014
Posts: 8
Probably my English sucks and i cannot transmit what is my problem

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.
farreridj is offline   Reply With Quote
Old 10th February 2014, 10:27   #10
jaromanda
Forum King
 
Join Date: Jun 2007
Location: Under the bridge
Posts: 2,290
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

"If you don't like DNAS, write your own damn system"

So I did
jaromanda is offline   Reply With Quote
Old 10th February 2014, 12:53   #11
farreridj
Junior Member
 
Join Date: Feb 2014
Posts: 8
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?
farreridj is offline   Reply With Quote
Old 10th February 2014, 13:01   #12
DrO
 
Join Date: Sep 2003
Posts: 27,873
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.
DrO is offline   Reply With Quote
Old 10th February 2014, 14:36   #13
farreridj
Junior Member
 
Join Date: Feb 2014
Posts: 8
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.
farreridj is offline   Reply With Quote
Old 10th February 2014, 14:55   #14
DrO
 
Join Date: Sep 2003
Posts: 27,873
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).
DrO is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast Forums > Shoutcast > Shoutcast Technical Support

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump