28 February 2009

Windows Media Service

Windows Media Services For Website
Well its been some time since i have updated my blog, i had my own reasons. Any way this is something that i was working on this month.

My main goal was to create a live audio/video broadcast over the internet and show it on my web page.

Well i searched high and low over the internet and the best possible solution that i found was the Windows Media Services!

Yes! Its very simple to setup and not much programing need. All you need is a web server(can even be your own system), the Windows Media Encoder software and a Web page with a media player that plays the audio-video stream.

You can loads of info on setting up the Windows Media Encoder on the internet.
Now the HTML required for setting up the Active X media player control on your web page is as follows:

<object ID="MediaPlayer" WIDTH="320" HEIGHT="270"
CLASSID="CLSID:22D6f312-B0F6-11D0-94AB-0080C74C7E95" STANDBY="Loading
Windows Media Player components..." TYPE="application/x-oleobject"

<param name="autoStart" value="True">
<param name="filename" value="http://myserver.mystream.com:1121">
<param NAME="ShowControls" VALUE="False">
<param NAME="ShowStatusBar" VALUE="False">
<embed TYPE="application/x-mplayer2" SRC="myserver.mystream.com:1121"
NAME="MediaPlayer" WIDTH="320" HEIGHT="270" autostart="1"

Please note that the address:" myserver.mystream.com:1121" is generated by the media encoder software based on the Web Server and the network port(1121) you select for broadcasting!


JEET said...

Hey amit, keep the good work going!!!.

aAmir's said...

hello dear
hopefully u b all right,
i hv a question the same as u posted at the asp forum, tht i the pple outside my network are unable to listen my stream og wm encoder. can u please help me out this.
u can mail me at
thx really a lot