开发者

does Silverlight support webcam or microphone?

开发者 https://www.devze.com 2023-03-05 19:56 出处:网络
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.

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 invoke

Camera.onActivity(true) and how much time should elapse without motion before Camera.onActivity(false) is invoked.

I want to know that is Silve开发者_开发问答rlight support webcam or microphone? If yes then as easily as Flash


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.


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.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号