Hi there, I am relatively new in the field of server administration, so please do bear with me if my question has an answer which seems blatantly obvious. I recently installed the latest Icecast onto my machine and read the documentation in order to find out how to configure the server. Both the information in the docs, and even the example config file, seemed reasonablly self-explanatory. After successfully configuring and starting the server I decided to see if I could get something to stream. I started up my streamer and was able to successfully connect. Then I decided to see whether I could connect to the stream as a listener. Here's where the problems started. My media player refused point blank to connect to the stream. I then tried accessing the stream directly from the url and found to my surprise that the stream was working. Since my browser has stream playback support, it started playing straight away. Once I was pretty sure that I could connect, albeit in a nonstandard way, to my stream and server interface on localhost, I then decided to see if my stream was being broadcast to the world. Unfortunately that failed in all areas. Despite having forwarded my ports through my router, tried all sorts of combinations, with many more references to the documentation and server/streamer restarts, I could not access it through my domain address whatsoever. I then attempted to reconfigure the server hostname to my domain and the streamer to point to my domain, but that failed. The streamer wouldn't even connect. At this point I’m out of ideas and am beginning to feel, if I may use this expression, crushed by the ice! So, I'm wondering: 1. Playback: I initially thought this was to do with extensions, but since I was encoding in mp3, I didn't think an extension was needed. Could there be any other reason as to why my browser is playing but my media player isn't? 2. Mountpoints: I noticed that when configuring, mountpoints were only either used for Shoutcast compatibility or for more advanced control. Does the server simply create the mountpoint specified in the stream settings? 3. Format: Again, I noticed that the server has no way to specify what format it needs to use. Is that also defined by the stream somehow? 4. Outside world: Is this something to do with bound addresses and the like? I can't imagine it somehow, because I think all those are to do with your hosts file and again, the documentation said this was an advanced topic. If not then what else, if anything, am I missing? 5. 32 v. 64 bit: I am running a 64-bit system but could only find a 32-bit Icecast. Does this matter? System configuration looks like this: OS: Windows 7 64-bit (SP1 Build 7601) Browser: Mozilla Firefox 47.0.1 Icecast: 2.4.3 Streamer: SAM 3.8.3 alongside Station Playlist Studio 5.11 Media player: Winamp 5.7.3323 Any help appreciated. Thanks. Damien. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.xiph.org/pipermail/icecast/attachments/20160722/3c60700e/attachment.html>
On 22 Jul 2016, at 20:39, Damien Sykes-Lindley wrote:> Hi there,Hello!> […] > I then tried accessing the stream directly from the url and found to > my surprise that the stream was working. Since my browser has stream > playback support, it started playing straight away.If your browser is able to play the stream, Icecast works and if it does not with a different player, that's likely a player issue or you used the wrong URL.> Once I was pretty sure that I could connect, albeit in a nonstandard > way, to my stream and server interface on localhost, I then decided to > see if my stream was being broadcast to the world. Unfortunately that > failed in all areas. Despite having forwarded my ports through my > router, tried all sorts of combinations, with many more references to > the documentation and server/streamer restarts, I could not access it > through my domain address whatsoever.Make sure you are not explicitly binding Icecast to 127.0.0.1 as then, it would not be possible to access it by other means than using localhost. If it was working before in your browser using the local address, than it's likely that it's not a problem with Icecast or how it is configured.> […] > So, I'm wondering: > 1. Playback: I initially thought this was to do with extensions, but > since I was encoding in mp3, I didn't think an extension was needed. > Could there be any other reason as to why my browser is playing but my > media player isn't?See above.> 2. Mountpoints: I noticed that when configuring, mountpoints were only > either used for Shoutcast compatibility or for more advanced control. > Does the server simply create the mountpoint specified in the stream > settings?Yes, if you do not require special configuration for a specific mountpoint, you can just use the source password with your source client and Icecast will implicitly "create" the mountpoint set in your source client.> 3. Format: Again, I noticed that the server has no way to specify what > format it needs to use. Is that also defined by the stream somehow?The server does not do any transcoding, it knows the format based on the content-type, so there is no need to set it. All the encoding is done by your source client.> 4. Outside world: Is this something to do with bound addresses and the > like? I can't imagine it somehow, because I think all those are to do > with your hosts file and again, the documentation said this was an > advanced topic. If not then what else, if anything, am I missing?No idea, never had such problems, maybe someone else is able to provide more information about this.> 5. 32 v. 64 bit: I am running a 64-bit system but could only find a > 32-bit Icecast. Does this matter?There is no 64 bit version of Icecast, that's not problem. You can just use the 32-bit Icecast on a 64 bit system.> > System configuration looks like this: > OS: Windows 7 64-bit (SP1 Build 7601) > Browser: Mozilla Firefox 47.0.1 > Icecast: 2.4.3 > Streamer: SAM 3.8.3 alongside Station Playlist Studio 5.11 > Media player: Winamp 5.7.3323You might want to try some other player, like the VLC media player and tell us if it works with that, as it should.> Any help appreciated. > Thanks. > Damien.
Hi Marvin, Thanks for the clarifications. I didn't enter any address in the <listen-socket> section, just a port. The example came with the 127.0.0.1 commented out, so I removed it altogether. The only other thing I can think of is the hostname in the main <icecast> section, but that is set to my domain address, not to localhost or any IP address, local or otherwise. Cheers.