如何在asp.net中检测网络摄像头 [英] how to detect webcam in asp.net

查看:119
本文介绍了如何在asp.net中检测网络摄像头的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好


我做了一个网络摄像头项目,它将支持查看实时网络摄像头图像。我正在使用ENTER USB 2.0。本地工作正常..当我将其上传到网络服务器并使用客户端浏览器进行测试时...它不能正常工作..因为找不到设备而出现错误..是否有任何服务器设置来检测网络摄像头?..


如何在asp.net中检测任何类型的网络摄像头??或者是否有用于在客户端浏览器上检测网络摄像头的activeX插件..

对我来说非常重要..请与我分享..如果您有任何想法吗?


提前感谢..




问候


Balu Munugoti

Hi to all

I have done one webcam project which will supports view live webcam images.I am using "ENTER USB 2.0" locally its working fine..when i upload it to the webserver and test with client browser..Its not working..its getting errors as "No devices Found"..is there any server settings to detect the webcams?..

How can we detect any type of webcams in asp.net..?Or is there any activeX plug-ins for detecting the webcam on client browsers..

Its very important to me..please share with me..if you have any ideas?

thanks in advance..



Regards

Balu Munugoti

推荐答案

你想访问摄像头吗?客户端或服务器上?

如果在客户端上,您将需要一个activeX对象(或其他一些对象; flash,java等)来访问摄像头。

对于服务器,您只需要一种方法将摄像机图像转换为图片
Do you want to access cameras on the client or on the server?
If on the client, you will need an activeX object (or some other object; flash, java, whatever) to access the cameras.
For the server you just need a way to convert the camera images to a picture


非常感谢您的回复..

实际上我的项目是无在线的ons..profesor可以在网站上使用附加的livewebcam设备教授音乐课程。学生可以从网站上看到这个livewebcam视频,他们可以学习课程。

i开发了捕获视频流和显示在网页上(图像将每毫秒更改)..它在本地工作正常..但当我上传到服务器..没有检测到网络摄像头设备..

看到这个链接:http://76.76.101.10/Broadcast.aspx

我不确定如何远程检测设备..

如果您有任何想法请与我分享。 。

再次感谢你的回复


提前谢谢
thank you so much for your reply..
actually my project is onlinelessons..profesor can teach music classes from any where using attached livewebcam device in the website..where students can see this livewebcam video from the site and they can learn the classes..
i have developed capturing video stream and display in the webpage(images will change every millisecond)..its working fine locally..but when i upload it to the server..its not detecting the webcam device..
see this link : http://76.76.101.10/Broadcast.aspx
I am not sure how to detect the device remotly..
if you have any idea please share with me..
again i am very thankful for your reply

thanks in advance



非常感谢您的回复..

实际上我的项目是onlinelessons..profesor可以在网站上使用附带的livewebcam设备教授音乐课程..学生可以看到这个来自网站的livewebcam视频,他们可以学习课程..

i开发了捕获视频流并在网页上显示(图像将每毫秒更改一次)..它在本地运行良好..但是当我上传到服务器..不检测网络摄像头设备..

看到这个链接:http://76.76.101.10/Broadcast.aspx

我不知道如何远程检测设备..

如果您有任何想法请与我分享..

再次我非常感谢您的回复


提前感谢
thank you so much for your reply..
actually my project is onlinelessons..profesor can teach music classes from any where using attached livewebcam device in the website..where students can see this livewebcam video from the site and they can learn the classes..
i have developed capturing video stream and display in the webpage(images will change every millisecond)..its working fine locally..but when i upload it to the server..its not detecting the webcam device..
see this link : http://76.76.101.10/Broadcast.aspx
I am not sure how to detect the device remotly..
if you have any idea please share with me..
again i am very thankful for your reply

thanks in advance



如果不使用ActiveX,您将无法通过网页执行此操作。开发ActiveX并不是一个好主意,因为它们被认为是不安全的,它们也会限制用户使用IE浏览器。


您是否考虑开发使用Web服务的桌面应用程序让教授使用?


让桌面应用程序调用Web服务上传视频并让asp.net应用程序调用相同的Web服务以在Web上显示视频页面....


您甚至可以使用教授随身携带的USB记忆棒运行此应用程序...然后您就知道学生将无法滥用此服务因为它只发给了教授......


只是一个想法。

You aren''t going to be able to do this through Web Pages without using an ActiveX. It''s not a very good idea to develop ActiveXs because they are considered unsafe and they also limit your users to IE.

Have you considered developing a desktop application that consumes a web service for the professor to use instead?

Have the desktop application call the web service to upload the video and have the asp.net application call the same web service to display the video in the web pages....

You could even run this application off of a USB stick that the prof would carry with them...then you know that students wont be able to abuse this service because it''s only distributed to the professors...

Just a thought.


这篇关于如何在asp.net中检测网络摄像头的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆