LiveSource sample

The LiveSource sample is a Windows Presentation Foundation (WPF) application that checks for valid audio and video input sources, such as webcams, and displays them in a preview window.

To encode using the LiveSource sample

  1. Build the LiveSourceSample.csproj and run LiveSource.vshost.exe. You will see any available audio and video sources in the Preview window. You can also monitor any audio or video that the source is capturing.

  2. To capture and encode the source, click Encode. The application uses default settings to encode the captured audio and video.

  3. To stop encoding, press Stop or exit the application. After encoding is complete, the application saves the encoded file in the C:\output folder with a time-and-date stamp.

   © 2011 Microsoft Corporation. All rights reserved.