|
|
|
|
#1 |
|
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 :( |
|
|
|
|
|
#2 |
|
Junior Member
Join Date: Feb 2014
Posts: 8
|
Title is wrong, i mean i cannot stream audio
|
|
|
|
|
|
#3 |
|
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. |
|
|
|
|
|
#4 |
|
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 |
|
|
|
|
|
#5 |
|
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. |
|
|
|
|
|
#6 | |
|
Forum King
Join Date: Jun 2007
Location: Under the bridge
Posts: 2,290
|
Quote:
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 |
|
|
|
|
|
|
#7 |
|
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. |
|
|
|
|
|
#8 |
|
Forum King
Join Date: Jun 2007
Location: Under the bridge
Posts: 2,290
|
I don't follow. Is something not working?
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 |
|
|
|
|
|
#9 |
|
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. |
|
|
|
|
|
#10 |
|
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 |
|
|
|
|
|
#11 |
|
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? |
|
|
|
|
|
#12 |
|
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. |
|
|
|
|
|
#13 |
|
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. |
|
|
|
|
|
#14 |
|
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). |
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|