.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
Gaurav Pal
Post New Web Links

Live audio-video streaming in an asp.net website

Posted By:      Posted Date: September 27, 2010    Points: 0   Category :ASP.Net

My project is to create a website that facilitates giving live lectures on intranet. Hence, the bandwidth is not an issue here.

Also, I have implemented some basic code of live streaming using windows media encoder SDK in a C# console application. I was able to view the streaming on another LAN PC in VLC player.

Now, how do I implement my code in the asp.net website? What I want is that in order to start the streaming (i.e., start the live lecture), the facutly just clicks on a button in a webpage. This will stream his movements to the students (via a server). Also, this will enable the facutly to view himself on the webpage.

Is this even possible? I mean it would be like : both the student and the faculty will access the same website. The interface to both of them will be different - one will start the stream and the other (student) will receive the stream.

Or will I have to create a different application to start the streaming? So it would be like the facutly will start that applicaiton to start the streaming and the students will access the stream throught the player embedded in the website.

Another question is : what player should I use to receive the stream (on the student side)? Windows Media Player (I heard that it has problems with firefox)? Or the ubiqutous flash plugin will succeed in capturing the media encoder stream?

View Complete Post

More Related Resource Links

Live audio-video streaming in an asp.net website using windows media encoder


The project is to provide the facility of providing live lectures in an intranet. So the bandwidth is not an issue. Also it means that I cannot use any internet streaming server like ustream (the project being limited to intranet).

I created a C# console application and successfully created a live stream using windows media encoder sdk. I was also able to capture the stream on another LAN PC in VLC player.

I want to know if I can implement this in my asp.net website. It should be something like this : The faculty visits the site and clicks on a start button on a webpage. This will start the live stream of the faculty. It will be received by the students on different computers by accessing the same website. Also, the faculty should be able to view himself on the webpage (just like in the windows media encoder predefined UI).

Is this possible to implement in the website? I mean both the facutly and the student will implement the same website. Also, the stream has to pass via a streaming server.

Or do I need to create a different application to start streaming and the students will view the stream from the website?

Also, which player do I embed to view the stream? Windows media player (I heard that it has issues with firefox) or the ever-available flash player? Will the flash player be able to capture the media encoder stream?

Please share a

WPF: displaying streaming\live video from the byte array


Hi All,


I am getting the video in chunks of bytes. When i get all the bytes, then i write them to a file and give a a source to media element and that works fine.

But what i want is that I don't have to wait for all the bytes and i can start showing the video as soon as i receive the first chunk of bytes and then the video should continue as i get the secong chunk of bytes and so on. So the video should keep on streaming and appear as live.

Can someone help me out here?




IIS Smooth Streaming: Enhancing Silverlight Video Experiences with Contextual Data


Adaptive streaming addresses the problem of smooth content delivery and decoding. We walk you through the basics of IIS Smooth Streaming and demonstrate how you can manipulate audio, video and caption data in your own Silverlight projects.

Jit Ghosh

MSDN Magazine March 2010

DirectShow: Core Media Technology in Windows XP Empowers You to Create Custom Audio/Video Processing


DirectShow is an API that enables Windows applications to control a wide variety of audio/video input devices including (but not limited to) DV camcorders, Web cams, DVD drives, and TV tuner cards. It provides out-of-the-box support for a variety of formats, from WAV and AVI to Windows Media. DirectShow is also extensible, enabling third parties to support their own specialized devices, formats, or processing components. This article introduces the basic concepts behind DirectShow and gives a step-by-step tutorial showing how to create your own video effect filter.

Michael Blome and Mike Wasson

MSDN Magazine July 2002

Live website slow - very urgent


Hi All, 

Finally i came to know because of firebug that  ScriptResource.axd's (multiple) are making my files slow on first click

How do i merge them into 1 ??



1. ScriptResource.axd is making my page slow in first click.

On second click onwards its fine as i have added handler from http://madskristensen.net/post/Compress-WebResourceaxd-in-ASPNET.aspx   It helps performance but from second click onwards.I am testing it with FireBug.

2. I have also seen and treid http://www.codeproject.com/KB/aspnet/AspNetOptimizer.aspx  but not able to make out how to implement in my application.

3. I also tried http://madskristensen.net/post/Optimize-WebResourceaxd-and-ScriptResourceaxd.aspx but it has error, I tried making chnage as per the discussion in url but it is sill giving error.

4. I have also made scriptmanager as release mode

Please help its urgent


stream live video into asp.net web page

 I need to stream a live video into a website I created in  visual web dvelpoer.  I thought I could  drag in a video control much in the same way as you would a image control but don't seem to have a video control. Any suggestions or ideas would be appreciated. Cheers 

Audio and Video in Silverlight pages

Silverlight This overview introduces the multimedia features of Silverlight and describes how to integrate sound and video into your Silverlight pages.

This topic contains the following sections.

MediaElement Object
MediaElement Properties
Controlling Media Playback Interactively
Video Player Sample
Timeline Markers (Synchronization Points)
Server-Side Playlists
Server Logs
Digital Rights Management (DRM)
Miscellaneous Tips and Workarounds When Working with Audio and Video
Related Topics


How to use ASP.Net C# to integrate with video streaming?

Hi,          Can anyone tell me how to use ASP.Net C# to display video streaming on the ASP.Net Web? Another thing is the video can only run for one time. Do I need to use any plugin to develop it? How to use C# code to control the video? Please provide the details. Thanks Wesley 

Steps for having Live Chat option on the website ?

I am working on a website and i would like to have an option on the website for 'Live Chat" so that customers/visitors can talk to the website ownser or any sales Rep.I've been searching an online chat software , but they charge a lot on monthly/yearly bases, so i guess it's better to create your ownBut before doing that what are the things/problems that i might face according to you to accomplish this feature ?Do i need separate chat server ? and i need features like " auto-message like " An operator will be with you shortly" how to accomplish these things ?Do i need any database support to for using this feature ?Please guide me in a right direction...

How to stream live video through Bitmap Frames


I am new to WPF and VIdeo rendering. I want to stream LIVE video based on Bitmap frames i wil get from the source.


Let me know how can i do this. Any relevenet articles on this???

Any good website to learn by video?




I want to learn ASP.NET 4 and C# from scratch to intermediate at least. I want to follow videos. Do you know any good website even if it is paid, I have found this http://www.learndevnow.com but I am not sure about it, anyone tried it?



implementing roles on live website


I have an live website and I need to enable roles and add it to a folder.  What's the best way to go about it?  Do I add code to web.config?  Do I add code to individual pages?  Do I use the membership provider service with V W D and recopy the website?  Please  help.

online live audio stream with asp.net


Salam To All,

i am searching about how to make online live audio stream, (like radio),

how to make this with asp.net ?


SpeechRecognitionEngine.SetInputToAudioStream streaming realtime audio

In .NET 3.5, System.Speech.Recognition SpeechRecognitionEngine.SetInputToAudioStream Method doesn't seem to support real-time input.
I read a comment in MSDN "You may be led to believe that this allows you to stream audio to the engine in real-time, given that the other, similar methods look like they're used for pre-recorded streams, but this actually only supports a pre-recorded stream as well. The internal wrapper for the stream does not implement the ISpAudio interface required by SAPI to do real-time streaming, so this method cannot do real-time streaming."
I am developing a windows application and I want to provide real-time input stream from the network. How could I accomplish this? Could someone help me with a work-around?
Thank you. 

How to create an asp.net vb live text feed similar to what is on the BBC website?



I need to know how to create an asp.net vb live text feed similar to what is on the BBC website, I've implemented this to a fashion but I don't think it's the correct way, new items get saved to a database and the webpage refreshes every 1 second.

Thanks in advance.

How to display live stock data in my website


Hi everyone,


I want to display live bombay stock exchange data in my website just like this website


Can any one suggest on how to do it...


Any help is greatly appreciated..


Video streaming through Sharepoint 2010 MediaWebPart object?



I have used a MediaWebPart object in a SharePoint site to play videos (exist in a Video Library). The MediaWebPart object is placed through this piece of code:

//Get relevant parameters from the Data Form Web Part.
var mediaTitleValue = (document.getElementsByName('TitleFieldValue'))[0].innerText;
var mediaUrlValue = (document.getElementsByName('UrlFieldValue'))[0].innerText;
var previewImageUrlValue = (document.getElementsByName('PreviewImageUrlFieldValue'))[0].innerText;

//Create the media player.
document.getElementById('MediaPlayerHost'), //The <div> tag into which to insert the Silverlight object.
'MediaPlayerHost', // The ID attribute to assign to the "Object" element that will be inserted on the page and used to access the media player later.
'600px', // The w
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend