Click here to Skip to main content
15,850,299 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
please help me to get an live web streaming out put for a HTML file (straight to) web browser !!! please help me with this and i have no idea how to do this !! thank you !!!

Google is your friend: Be nice and visit him often. He can answer questions a lot more quickly than posting them here...

A very quick search using your subject as the search term gave nearly 10 million hits:
Google: Live web streaming c#[^]

In future, please try to do at least basic research yourself, and not waste your time or ours.
Share this answer
There is nothing inherently built into any concept of streaming.
When a producer produces content, a subscriber consumes the content
without having to wait until all the data is transfered.

What .NET /C# gives you is the ability to transfer data to and from.

I am not sure why you want to tranfer video from one camera to other
camera. Cameras produce video, don't consume as far as I know.

In your case,

a) Capture the frames from the camera at the rate you want.
b) Open a socket or TCPClient communication to a server
c) Begin transfering the content
d) Hopefully you can do the same from the other side
e) You might want to show the video that is received. I don't know
how you would do that but you could possibly figure that out

To add to the points above, you can use the System.Net namespace to send and receive data from managed code. That said, I assume you want to stream this content over the internet? Currently, the System.Net namespace does not have much QoS (Quality of Service) support other than TOS marking in the IP header. We are strongly considering exposing QoS functionality in a future release. For more details on the unmanaged QoS APIs please see:

QWave Download , MSDN Blogs - on Net Namespace
Share this answer
enhzflep 17-Jun-12 13:55pm    
"I am not sure why you want to tranfer video from one camera to other
camera. Cameras produce video, don't consume as far as I know."

Don't know what gave you that idea - The original post hasn't been edited, yet it makes no mention of transferring from "one camera to other camera" :puzzled:

Also, the OP appears to want to BE that server. I.e OP captures video, end-user consumes that video by connecting to a URL on the _capturing_ server.

However you do make some good points. :thumbsup:
[no name] 17-Jun-12 14:09pm    
Thanks for bringing this to my knowledge ... I assumed if they want a video conferencing sort of application :) sorry for my inattention

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900