473,698 Members | 2,515 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Webcam Streaming

How can I stream the video input from a webcam in a ASP.NET webpage. It's
done by using the "form.handl e" in windows.forms. But ASP.NET does not have
that option. Any help would be appreciated.
Mar 26 '06 #1
2 5579
Windows forms and webforms behave differently. Web forms are not
contonuously connected to the web server, they request somethign and its
sent, then they request something else. So, you probably have to stream
your image to a file, and let the web server worry about streaming it using
a streaming server like that found in some windows versions, or create a
series of images that the client browser refreshes on, overwriting the image
each few seconds.
--
Regards

John Timney
Microsoft MVP

"duzinga" <du*****@discus sions.microsoft .com> wrote in message
news:1E******** *************** ***********@mic rosoft.com...
How can I stream the video input from a webcam in a ASP.NET webpage. It's
done by using the "form.handl e" in windows.forms. But ASP.NET does not
have
that option. Any help would be appreciated.

Mar 27 '06 #2
I have tried using
wiaVideo.TakePi cture(out jpgFile);
Image1.ImageUrl = jpgFile;

however it does not show up anything. Using this on a windows form
application worked just fine though. What do you think is the problem? Also I
need to have minimum 15fps do you think that's possible?

Thank you

"John Timney ( MVP )" wrote:
Windows forms and webforms behave differently. Web forms are not
contonuously connected to the web server, they request somethign and its
sent, then they request something else. So, you probably have to stream
your image to a file, and let the web server worry about streaming it using
a streaming server like that found in some windows versions, or create a
series of images that the client browser refreshes on, overwriting the image
each few seconds.
--
Regards

John Timney
Microsoft MVP

"duzinga" <du*****@discus sions.microsoft .com> wrote in message
news:1E******** *************** ***********@mic rosoft.com...
How can I stream the video input from a webcam in a ASP.NET webpage. It's
done by using the "form.handl e" in windows.forms. But ASP.NET does not
have
that option. Any help would be appreciated.


Mar 28 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
3939
by: Kelowna | last post by:
Yes... Its a server os... i kno! i hav xp yea but tis system is for screwing with.. Im sure theres alot of ppl here tat kno tis stuff inside-out! im doing this for educational purposes so dont give me that "Its intended for server" stuff... thanks! :-) Now that is out of the way lets get to it: I have Windows 2003 Server Enterprise and a Logitech Quickcam Web. I plugged it in and it loaded all the drivers automatically, yet I do not...
0
2231
by: Elp | last post by:
Hi, We have developped an client application in C#. Among other things, this application should display in 4 different windows (or 4 different panels in the same window), 4 webcam streams (web streaming) from different webcams. We would like to set up a Webcam server on which we would connect several webcams (at least 12) and stream the output of each webcam on the web. That way, our client application could choose which webcam streams...
3
3290
by: Jay Douglas | last post by:
Hello all, Please provide any advice on a venture that is pretty foreign to me: I'm going to have a webcam at a remote location that is capturing live images of a construction site. This webcam is going to need to stream directly to the clients web site sitting on a webserver with basically unlimited bandwidth. I saw that there are several wireless web cameras provided by D-Link and Linksys that provide a view through a web based...
2
10264
by: Islamegy® | last post by:
Hiiiiiii I'm working on a client server application which work like messnger.. I was able to capture the camera with no problem but now i want my my program to listen to incoming connection and start sending.. I'm using UPDClient (I think TCP is not the right protocol to send video stream) and i send it via NetworkStream but no luck.. I'm new in network and socket programming but i was able to send text and images but no luck with...
1
1917
by: Ray Schumacher | last post by:
The class seems to work pretty well - very basic and fast, it just serves images from the specified port and camera device (USB cam). I added an ImageServer class and some code to __main__ class ImageServer(RequestHandler): def __init__(self, conn, addr, server): asynchat.async_chat.__init__(self,conn) self.client_address = addr self.connection = conn self.server = server
3
2756
by: DillonCzerny | last post by:
Hello Many times I see a lot of people post webcam videos on google video or youtube. I wonder how do they record it from those people’s webcam? I have a fake webcam and I want to record some webcams so that I can play them on my fake webcam. Does any one know about any good webcam recorder software? Thank you for your help. Newbie
0
1116
by: Bubbs | last post by:
Hi, I want to create an application in C#, that streams a webcam across the internet and a user can view his stream live on his login page of my website. Also I want to have the ability to record and save from the webcam. Any tips of how to proceed? Lastly is it possible to stream multiple webcams on the same computer for the same user? Thanks.
13
7197
by: Berco Beute | last post by:
I've been trying to access my webcam using Python, but I failed miserably. The camera works fine under Ubuntu (using camora and skype), but I am unable to get WebCamSpy or libfg to access my webcam. First I tried webcamspy (http://webcamspy.sourceforge.net/). That requires pySerial and pyParallel, and optionally pyI2C. Runing WebCamSpy results in: Exception exceptions.AttributeError: "Parallel instance has no attribute '_fd'" in...
0
2221
by: yogiam | last post by:
I have a server listening for connections. Client connects and both start streaming webcam images. This works fine as long as there is only one client connected(running as a Thread). When another client connects, the new thread starts streaming as well. The camera is accessed in a mutual exclusive way by locking which fails some times and I get AccessViolationException. Below is the code executing in the thread. The scenario is like this :...
0
8674
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9157
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
8893
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
7721
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5860
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4366
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4615
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3045
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
1999
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.