Radio Stream Playlist

Radio Live Streaming

 

HTML5 MP3 Player with Playlist

Windows Playlist: playlist.asx

<asx version = "3.0">
    <Title>Radio Title</Title>
    <Author>https://www.svnlabs.com</Author>
    <Copyright>SVN Labs</Copyright>
    <PARAM name="HTMLView" value="https://www.svnlabs.com" />
    <MoreInfo href="https://www.svnlabs.com" />
    <entry>
        <ref href="http://stream-ip:port/stream" />
        <Title>Radio Title</Title> 
        <Author>https://www.svnlabs.com</Author>
    </entry>
</asx>

 

Quicktime Playlist: playlist.qtl

<?xmlversion="1.0"?>
<?quicktime type="application/x-quicktime-media-link"?>
<embed src="icy://stream-ip:port/stream" autoplay="true" />

 

Winamp Playlist: playlist.pls


numberofentries=1
File1=http://stream-ip:port/stream
Title1=Radio Title
Length1=-1
version=2

 

Realmedia Playlist: playlist.ram

http://stream-ip:port/stream

Play Favorite Radio FM Stream in HTML5

HTML5 <audio> the element enable native audio playback within the browser. It supports all browsers i.e. Firefox, Chrome, Safari, IE and Opera.

HTML5 Player support Radio FM MP3 Streams from Icecast, Shoutcast, Wowza, Amazon S3 and other CDNs.. customize your radio playlist now.

Install Wowza Examples

Wowza Media Server 3 have 2 option to install
* Developer Edition (up to 10 Connections) license and all free premium AddOns.
* Paid

Wowza Server Install
# yum install sun-java6-jre sun-java6-plugin
# wget http://www.wowza.com/downloads/WowzaMediaServer-3-0-4/WowzaMediaServer-3.0.4.rpm.bin
# chmod +x WowzaMediaServer-3.0.4.rpm.bin
# ./WowzaMediaServer-3.0.4.rpm.bin

Wowza Location
/usr/local/WowzaMediaServer-3.0.4

Enter License
# cd /usr/local/WowzaMediaServer-3.0.4/bin
# chmod +x startup.sh
# ./startup.sh

Install SimpleVideoStreaming

# cd /usr/local/WowzaMediaServer-3.0.4/examples/SimpleVideoStreaming
# chmod +x install.sh
# ./install.sh

Install TextChat
# cd /usr/local/WowzaMediaServer-3.0.4/examples/TextChat
# chmod +x install.sh
# ./install.sh

Install the Wowza Examples
# cd /usr/local/WowzaMediaServer-3.0.4/examples
# chmod +x installall.sh
# ./installall.sh

Wowza Server Commands
# service WowzaMediaServer status
# service WowzaMediaServer start
# service WowzaMediaServer restart
# service WowzaMediaServer stop

Upload Client to Web Server

Uninstall Wowza
# rpm –e WowzaMediaServer-3.0.4

How to check RTMP source stream is live or not?

RTMP Source Check RTMP Source RTMP Live Stream

Dear Friends,
You can check RTMP Source is live or not using socket programming, but that will not give you exact output. Today I have tried Linux utility “rtmpdump” to test & check RTMP Source it produced quite interesting results on command line….

# rtmpdump -v -r rtmp://giraldatvlivefs.fplive.net/giraldatvlive-live/stream001 -o /tmp/rtmp-checker.log

RTMP Output
<?php

/* 
 * 
 * RTMPChecker - by S V N L A B S () (www.svnlabs.com/blogs)
 * You can use and modify this code as long as the above reference to me still exists 😉
 * 
 */

if(isset($_REQUEST['stream']) && $_REQUEST['stream']!="")
{

  exec("/usr/bin/rtmpdump -V  -v -r '".$_REQUEST['stream']."' -o /tmp/rtmp-checker.log 2>&1", $pp);
  echo implode("<br>", $pp);

}


?>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Check RTMP is live or not?</title>
</head>
<body>

<form name="rtmp" action="<?php echo $_SERVER['PHP_SELF']; ?>" method="post">
<input type="text" name="stream" value="rtmp://164.100.49.14:80/live/dd2" /><br />
<input type="submit" name="check" value="check" />
</form>

</body>
</html>

Output may be…

Night is longer than day for those who dream & Day is longer than nights for those who MAKE their DREAMS come true…