Silverlight 是否支持网络摄像头或麦克风?
Flash
具有网络摄像头
和麦克风
支持实时视频和音频传输,并且在Flash 中使用它们非常简单。只需几行 ActionScript 代码即可调用相机对象。Camera.get
- 返回默认或指定的相机对象,如果相机不可用,则返回 null。Camera.setMode
- 设置相机拍摄模式的各个方面,包括高度、宽度和每秒帧数。Camera.setMotionLevel
- 指定调用需要多少运动Camera.onActivity(true)
以及在调用 Camera.onActivity(false)
之前应该经过多长时间没有运动。
我想知道Silverlight支持网络摄像头还是麦克风?如果是,那么就像 Flash 一样简单
Flash
has webcam
and microphone
support for live video and audio transmission, and using them is really easy in Flash. It takes only a few lines of ActionScript code to invoke the camera object.Camera.get
- Returns a default or specified camera object, or null if the camera is not available.Camera.setMode
- Sets aspects of the camera capture mode, including height, width and frames per second.Camera.setMotionLevel
- Specifies how much motion is required to invokeCamera.onActivity(true)
and how much time should elapse without motion before Camera.onActivity(false)
is invoked.
I want to know that is Silverlight support webcam or microphone? If yes then as easily as Flash
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
是的,是的。
http://www.silverlight.net/learn/quickstarts/webcams/
http://www.silverlight.net/learn/ video/silverlight-4-videos/access-web-camera-microphone/
Silverlight 对麦克风和摄像头的支持非常简单。
Yes and yes.
http://www.silverlight.net/learn/quickstarts/webcams/
http://www.silverlight.net/learn/videos/silverlight-4-videos/access-web-camera-microphone/
Silverlight is very straight-forward in support for mics and cams.
是的,Silverlight 支持网络摄像头和麦克风。有一系列很好的演示,展示了两种硬件的智能使用。您可以检查 此演讲来自 ScottGu 的 PDC keynode,该项目展示了如何从网络摄像头获取图片并根据扫描的条形码从 Amazon 获取数据。该教程位于此处。
Yes, Silverlight supports Webcam and Microphone. There were a log of good demos that showed use of both hardware intelligently. You can check this talk from ScottGu's PDC keynode that is a project that shows how to get a picture from your webcam and get the data from Amazon based on the scanned barcode. The tutorial is available here.