简体   繁体   English

C#如何通过iPAD或iPhone上的网页(Safari)访问网络摄像头和麦克风

[英]c# how to get access to web camera and microphone via a web page (Safari) on iPAD or iPhone

I am working on a project which is a ASP.NET MVC project. 我正在一个ASP.NET MVC项目中。 Now I need to implement the functionality which can get access to a web camera and microphone via Safari on iPAD and/or iPhone. 现在,我需要实现可以通过iPAD和/或iPhone上的Safari访问网络摄像头和麦克风的功能。 And I do not want to use Flash in this project. 而且我不想在该项目中使用Flash。

After searching for hours, I found some post which said SilverLight 5 can nicely run on iPAD ( Click here to see the post ) 经过几个小时的搜索,我发现一些帖子说SilverLight 5可以很好地在iPAD上运行( 单击此处以查看帖子

But after I tried SilverLight, it is actually not supported on the iOS. 但是,在尝试了SilverLight之后,iOS上实际上不支持它。

So it seems that Apple have taken any forms of Plug-ins out of its iOS systen. 因此,苹果似乎已经从其iOS系统中删除了任何形式的插件。 My questions are: 我的问题是:

  1. What is the thing that Apple supports on the iPAD or iPhone (iOS) platforms? 苹果在iPAD或iPhone(iOS)平台上支持什么功能?

  2. How did you get access to the web camera via Safari on the iPAD/iPhone? 您如何通过iPAD / iPhone上的Safari访问网络摄像头?

Unfortunately this isn't going to happen. 不幸的是,这不会发生。 As far as I'm aware there is no way to access the camera via the browser on an iPad. 据我所知,无法通过iPad上的浏览器访问相机。

The only way to do this would be to create a native app which accesses the camera and hands off any pictures to a webview. 做到这一点的唯一方法是创建一个本机应用程序,该应用程序可以访问相机并将任何图片传递到Web视图。

Sorry 抱歉

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM