This section contains information on how to capture photos and videos from a capture device, such as a webcam, and how to render audio streams in a Windows Store app built for Windows using JavaScript.
For samples that use media capture in a Windows Store app using JavaScript, see the Media capture sample and the other samples listed in the Samples section in the Related topics below.
If you’d like to try working with media capture and other key Windows 8 features, download the hands-on labs for Windows 8. These labs provide a modular, step-by-step introduction to creating a sample Windows Store app in the programming language of your choice (JavaScript and HTML or C# and XAML).
In this section
| Topic | Description |
|---|---|
|
Quickstart: Capturing a photo or video using the camera dialog |
This topic shows you the simplest way to capture a photo or video from your embedded or attached camera, by using the CameraCaptureUI API. This API launches a full-screen dialog that presents a camera UI, and enables you to capture a photo or video with as little as one method call. |
|
This topic describes when to use the camera UI that the method Windows.Media.Capture.CameraCaptureUI.captureFileAsync presents. | |
|
This topic shows you how to capture video to a file using the Windows.Media.Capture API. You can use the Windows.Media.Capture API to control the asynchronous capture operation, select an encoding profile and send the resulting video to a file. | |
|
You can associate a webcam with a <video> tag to preview the video. | |
|
You can record video from the camera and/or audio from the microphone. | |
|
You can rotate video captured from a camera by using the SetPreviewRotation and SetRecordRotation methods on the MediaCapture class. | |
|
You can use SetPreviewMirroring and GetPreviewMirroring to flip the preview image horizontally. | |
|
The VideoStabilization effect can help reduce shakiness in video, such as from a hand-held camera. | |
|
Use the MediaCapture.AddEffectAsync method to apply effects to captured video. | |
|
This topic explains the audio streaming categories and shows how to use the <audio> tag to add audio streaming capabilities to your app. | |
|
This tutorial shows you how to configure the hardware media keys on a keyboard, and then use the configured keys to control an audio-video (AV) stream by pressing or clicking play, pause, stop, and so on. | |
|
This tutorial shows you how to select the correct category for an audio-video (AV) stream to configure it as an audio playback stream. | |
|
How to manage calls on the default Bluetooth communications device |
This tutorial shows you how to configure the default Bluetooth communications device to handle calls. |
|
This topic shows best practices for developing audio-aware applications, including things to consider for button design, using playback manager, and managing call control. |
Related topics
- Roadmaps
- Roadmap for Windows Store apps using JavaScript
- Designing UX for apps
- Samples
- Media capture sample
- Camera capture UI sample
- Camera options UI sample
- Device enumeration sample
- Real-Time communication sample
- Media extension sample
- Hands-on labs for Windows 8
- Reference
- Windows.Media
- Windows.Media.Capture
- Windows.Media.Devices
- Windows.Media.MediaProperties
- HTML5 Audio and Video
- Other resources
- Supported audio and video formats
- Audio and video performance
Build date: 11/29/2012