FAQ

HTML5 (5)

MP3 Radio Stream URL?

Note: Make sure you have valid MP3 Radio Stream

Shoutcast V1 (http://shoutcast-server-ip:port/)
Shoutcast V2 (http://shoutcast-server-ip:port/streamname)
Icecast (http://icecast-server-ip:port/streamname)

Enable Flash Player Addon for Internet Explorer

Internet Explorer > Tools > Manage Add-ins > Toolbars and Extensions > Shockwave Flash Object or Flash Player > Enable > Done 🙂

Allow

addons

More Help: https://helpx.adobe.com/flash-player/kb/install-flash-player-windows.html

Find valid Radio Stream URL from Icecast or Shoutcast (pls m3u xspf)

Radio Forge Player support all Radio Streaming URLs, find valid Radio Streaming URL from Icecast / Shoutcast servers

Note: Make sure you have valid MP3 Radio Stream

Shoutcast V1 (http://shoutcast-server-ip:port/)
Shoutcast V2 (http://shoutcast-server-ip:port/streamname)
Icecast (http://icecast-server-ip:port/streamname)

Shoutcast V1

Go to URL http://shoutcast-server-ip:port/ then click on “Listen“, download .pls file http://shoutcast-server-ip:port/listen.pls, open it in any text editor to get Shoutcast V1 Streaming URL

shoutcast-v1

listen.pls


NumberOfEntries=1
File1=http://shoutcast-server-ip:port/

Shoutcast V2

Go to URL http://shoutcast-server-ip:port/ then click on “Listen” from Available Streams, say you clicked “Stream #1” download .pls file http://shoutcast-server-ip:port/listen.pls?sid=1, open it in any text editor to get Shoutcast V2 Streaming URL

shoutcast-v2

listen.pls


NumberOfEntries=1
File1=http://shoutcast-server-ip:port/stream/1/
Title1=Radio Title :: www.domain.com :: 24 Live
Length1=-1
Version=2

Icecast

Go to URL http://shoutcast-server-ip:port/ then click on “M3U or XSPF“, download .m3u or .xspf file http://shoutcast-server-ip:port/stream.m3u or http://shoutcast-server-ip:port/stream.xspf, open it in any text editor to get Icecast Streaming URL for RadioForge Players

icecast

stream.m3u

http://shoutcast-server-ip:port/stream

stream.xspf

<?xml version="1.0" encoding="UTF-8"?>
<playlist xmlns="http://xspf.org/ns/0/" version="1">
<title/>
<creator/>
<trackList>
<track>
<location>http://shoutcast-server-ip:port/stream</location>
<title></title>
<annotation>Stream Title: Radio Station
Stream Description: Radio Programs
Content Type:audio/mpeg
Bitrate: 128
Current Listeners: 1
Peak Listeners: 6
Stream Genre: Radio Community Station</annotation>
<info>www.domain.com</info>
</track>
</trackList>
</playlist>

 

Shoutcast.com

Go to URL https://www.shoutcast.com/, download any file .pls .m3u .xspf, open in text editor then find Radio Streaming URL

pls-m3u-xspf

Icecast (8)

Remove buffering

You can set preload in PAID Plugin files

– wp-content/plugins/shoutcast-icecast-html5-radio-player/html5/html5shoutcast.php
– wp-content/plugins/shoutcast-icecast-html5-radio-player/html5/html5icecast.php

By default it set to preload: “auto”,
To Remove buffering set to preload: “none”,

preload
String : (Default: “metadata”) : Valid values are “none”, “metadata” and “auto”, which matches the HTML5 draft standard. Use “auto” to preload the file.

how I can center player on a page?

Please use iframe based code

i.e. <iframe src=”http://html5radios.svnlabs.com/v1/shoutcast.html?id=1380996176height=”227width=”367frameborder=”0marginwidth=”0marginheight=”0scrolling=”no“></iframe>

<DIV align=”center” style=”margin:0 auto”> ….. PLAYER CODE …… </DIV>

Android very slow buffering for Shoutcast / Icecast

If you are using HTML5 Radio Player i.e. jplayer or HTML5 audio tag to player Radio Icecast / Shoutcast Live Stream on Android Mobiles and it takes much time (20-25 seconds) to load in player.

OMG if most users think Radio Player is not working at all on mobile browser.

You can try Radio Stream with low bitrate like 64kbps or 56kbps

Also you need to play with your Radio Shoutcast / Icecast configuration settings…

<burst-on-connect>1</burst-on-connect>
<queue-size>1048576</queue-size>
<burst-size>943718</burst-size>
<mp3-metadata-interval>4096</mp3-metadata-interval>

Normally Radio Stream with bitrate 128kbps takes 4-5s on WiFi and 7-8s on 3G Internet.

Config File: http://icecast.org/docs/icecast-2.4.0/config-file.html

Find valid Radio Stream URL from Icecast or Shoutcast (pls m3u xspf)

Radio Forge Player support all Radio Streaming URLs, find valid Radio Streaming URL from Icecast / Shoutcast servers

Note: Make sure you have valid MP3 Radio Stream

Shoutcast V1 (http://shoutcast-server-ip:port/)
Shoutcast V2 (http://shoutcast-server-ip:port/streamname)
Icecast (http://icecast-server-ip:port/streamname)

Shoutcast V1

Go to URL http://shoutcast-server-ip:port/ then click on “Listen“, download .pls file http://shoutcast-server-ip:port/listen.pls, open it in any text editor to get Shoutcast V1 Streaming URL

shoutcast-v1

listen.pls


NumberOfEntries=1
File1=http://shoutcast-server-ip:port/

Shoutcast V2

Go to URL http://shoutcast-server-ip:port/ then click on “Listen” from Available Streams, say you clicked “Stream #1” download .pls file http://shoutcast-server-ip:port/listen.pls?sid=1, open it in any text editor to get Shoutcast V2 Streaming URL

shoutcast-v2

listen.pls


NumberOfEntries=1
File1=http://shoutcast-server-ip:port/stream/1/
Title1=Radio Title :: www.domain.com :: 24 Live
Length1=-1
Version=2

Icecast

Go to URL http://shoutcast-server-ip:port/ then click on “M3U or XSPF“, download .m3u or .xspf file http://shoutcast-server-ip:port/stream.m3u or http://shoutcast-server-ip:port/stream.xspf, open it in any text editor to get Icecast Streaming URL for RadioForge Players

icecast

stream.m3u

http://shoutcast-server-ip:port/stream

stream.xspf

<?xml version="1.0" encoding="UTF-8"?>
<playlist xmlns="http://xspf.org/ns/0/" version="1">
<title/>
<creator/>
<trackList>
<track>
<location>http://shoutcast-server-ip:port/stream</location>
<title></title>
<annotation>Stream Title: Radio Station
Stream Description: Radio Programs
Content Type:audio/mpeg
Bitrate: 128
Current Listeners: 1
Peak Listeners: 6
Stream Genre: Radio Community Station</annotation>
<info>www.domain.com</info>
</track>
</trackList>
</playlist>

 

Shoutcast.com

Go to URL https://www.shoutcast.com/, download any file .pls .m3u .xspf, open in text editor then find Radio Streaming URL

pls-m3u-xspf

SHOUTcast vs Icecast?

Features Shoutcast v1 Shoutcast v2 Icecast v2
Auto Switch AutoDJ or Live Stream No Yes Yes
AutoDJ Audio Codecs MP3 MP3, AAC+ MP3, OGG, AAC+, AAC+v2
Live Streaming Audio Codecs MP3, AAC+, AAC+v2 MP3, AAC+, AAC+v2 MP3, OGG, AAC+, AAC+v2
Multiple Steaming Channels (Mount Points)
on one Server
No Yes Yes
Advanced Server Admin Control Panel No Yes Yes
Song Played History Yes Yes No
Radio Stream URL http://shoutcast-server-ip:port/ http://shoutcast-server-ip:port/streamname http://icecast-server-ip:port/streamname

Shoutcast (8)

Remove buffering

You can set preload in PAID Plugin files

– wp-content/plugins/shoutcast-icecast-html5-radio-player/html5/html5shoutcast.php
– wp-content/plugins/shoutcast-icecast-html5-radio-player/html5/html5icecast.php

By default it set to preload: “auto”,
To Remove buffering set to preload: “none”,

preload
String : (Default: “metadata”) : Valid values are “none”, “metadata” and “auto”, which matches the HTML5 draft standard. Use “auto” to preload the file.

how I can center player on a page?

Please use iframe based code

i.e. <iframe src=”http://html5radios.svnlabs.com/v1/shoutcast.html?id=1380996176height=”227width=”367frameborder=”0marginwidth=”0marginheight=”0scrolling=”no“></iframe>

<DIV align=”center” style=”margin:0 auto”> ….. PLAYER CODE …… </DIV>

Find valid Radio Stream URL from Icecast or Shoutcast (pls m3u xspf)

Radio Forge Player support all Radio Streaming URLs, find valid Radio Streaming URL from Icecast / Shoutcast servers

Note: Make sure you have valid MP3 Radio Stream

Shoutcast V1 (http://shoutcast-server-ip:port/)
Shoutcast V2 (http://shoutcast-server-ip:port/streamname)
Icecast (http://icecast-server-ip:port/streamname)

Shoutcast V1

Go to URL http://shoutcast-server-ip:port/ then click on “Listen“, download .pls file http://shoutcast-server-ip:port/listen.pls, open it in any text editor to get Shoutcast V1 Streaming URL

shoutcast-v1

listen.pls


NumberOfEntries=1
File1=http://shoutcast-server-ip:port/

Shoutcast V2

Go to URL http://shoutcast-server-ip:port/ then click on “Listen” from Available Streams, say you clicked “Stream #1” download .pls file http://shoutcast-server-ip:port/listen.pls?sid=1, open it in any text editor to get Shoutcast V2 Streaming URL

shoutcast-v2

listen.pls


NumberOfEntries=1
File1=http://shoutcast-server-ip:port/stream/1/
Title1=Radio Title :: www.domain.com :: 24 Live
Length1=-1
Version=2

Icecast

Go to URL http://shoutcast-server-ip:port/ then click on “M3U or XSPF“, download .m3u or .xspf file http://shoutcast-server-ip:port/stream.m3u or http://shoutcast-server-ip:port/stream.xspf, open it in any text editor to get Icecast Streaming URL for RadioForge Players

icecast

stream.m3u

http://shoutcast-server-ip:port/stream

stream.xspf

<?xml version="1.0" encoding="UTF-8"?>
<playlist xmlns="http://xspf.org/ns/0/" version="1">
<title/>
<creator/>
<trackList>
<track>
<location>http://shoutcast-server-ip:port/stream</location>
<title></title>
<annotation>Stream Title: Radio Station
Stream Description: Radio Programs
Content Type:audio/mpeg
Bitrate: 128
Current Listeners: 1
Peak Listeners: 6
Stream Genre: Radio Community Station</annotation>
<info>www.domain.com</info>
</track>
</trackList>
</playlist>

 

Shoutcast.com

Go to URL https://www.shoutcast.com/, download any file .pls .m3u .xspf, open in text editor then find Radio Streaming URL

pls-m3u-xspf

Shoutcast streams on non-standard port would no longer play

SHOUTcast Server Version 1.9.8/Linux “audio/mpeg” is not playing in Google Chrome?

Hope you know / aware of latest update of chrome that remove support for ICY data for Shoutcast V1

Shoutcast streams on non-standard port would no longer play

https://bugs.chromium.org/p/chromium/issues/detail?id=669800#c6

http://forums.winamp.com/showthread.php?p=3074439

SO Try to use Shoutcast version #2 Or Icecast version #2

Shoutcast Relay: It may be temp solution for Shoutcast V1. Most of SC V1 server use ICY 200 header … where we need HTTP

https://www.radioforge.com/

Use Shoutcast Radio proxy or Shoutcast Re-streaming for Shoutcast old version

http://www.steamcast.com/?req=dir

SHOUTcast vs Icecast?

Features Shoutcast v1 Shoutcast v2 Icecast v2
Auto Switch AutoDJ or Live Stream No Yes Yes
AutoDJ Audio Codecs MP3 MP3, AAC+ MP3, OGG, AAC+, AAC+v2
Live Streaming Audio Codecs MP3, AAC+, AAC+v2 MP3, AAC+, AAC+v2 MP3, OGG, AAC+, AAC+v2
Multiple Steaming Channels (Mount Points)
on one Server
No Yes Yes
Advanced Server Admin Control Panel No Yes Yes
Song Played History Yes Yes No
Radio Stream URL http://shoutcast-server-ip:port/ http://shoutcast-server-ip:port/streamname http://icecast-server-ip:port/streamname

JavaScript (3)

Auto Reconnect HTML5 Radio Player

<script type="text/javascript">

function autoReconnect()
{

console.log( jQuery('#jquery_jplayer_1').data().jPlayer.status.paused );  //// jquery_jplayer_1  jPlayer element

if(jQuery('#jquery_jplayer_1').data().jPlayer.status.paused )  //&& butclick==false
{

jQuery("#current-track").html("FM Radio Station RadioForge.com.");
jQuery(".jp-play").click();
//jQuery(this).jPlayer("setMedia", stream).jPlayer("play");

}

}


setInterval(function(){autoReconnect();}, 25000);  // every 25 secs

</script>

Remove buffering

You can set preload in PAID Plugin files

– wp-content/plugins/shoutcast-icecast-html5-radio-player/html5/html5shoutcast.php
– wp-content/plugins/shoutcast-icecast-html5-radio-player/html5/html5icecast.php

By default it set to preload: “auto”,
To Remove buffering set to preload: “none”,

preload
String : (Default: “metadata”) : Valid values are “none”, “metadata” and “auto”, which matches the HTML5 draft standard. Use “auto” to preload the file.