diff -r 43e37759235e -r 51a74ef9ed63 Symbian3/SDK/Source/GUID-ED700A4A-3BBF-5048-92CB-E3677A0FD09F.dita --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Symbian3/SDK/Source/GUID-ED700A4A-3BBF-5048-92CB-E3677A0FD09F.dita Wed Mar 31 11:11:55 2010 +0100 @@ -0,0 +1,19 @@ + + + + + +Enabling/Disabling Video Recording

This tutorial describes how to enable/disable video recording.

Purpose

The purpose of this tutorial is to show you how to enable/disable video recording for a video clip.

Required Background

The Video Client Overview introduces the video client utilities.

Introduction

You can enable/disable the video separately when recording video without affecting audio recording. This means you can record an audio only clip. This functionality is provided by the CVideoRecorderUtility::SetVideoEnabledL() method.

Using Video Recording

The following tasks are covered in this tutorial:

  • Enable/Disable Video Recording

Basic Procedure

The high level steps to enable/disable video recording are shown here:

  1. Create a new video recorder utility object.

  2. Open a video clip to record.

  3. Enable/disable video recording using the CVideoRecorderUtility::SetVideoEnabledL() method:

    • To enable video recording set the aEnabled parameter to ETrue.

    • To disable video recording set the aEnabled parameter to EFalse.

  4. Call the CVideoRecorderUtility::Prepare() method.

  5. Control recording normally.

Example

// Create new video recorder utility object (iVideoRecorder) +// Open the video clip + +iVideoRecorder->SetVideoEnabledL(EFalse); +// disable video recording + +// Video recording has now been disabled. Recording is audio only. +// Call Prepare() and then Record() to record normally
See Also

Creating and Preparing a Video Recorder

Configuring the Video Recorder

Controlling Video Recording Quality

Recording Video Data

Setting Video Metadata

Controlling the Video Plugin

\ No newline at end of file