This tutorial describes how to enable/disable video recording.
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.
The following tasks are covered in this tutorial:
The high level steps to enable/disable video recording are shown here:
Create a new video recorder utility object.
Open a video clip to record.
Enable/disable video recording using the CVideoRecorderUtility::SetVideoEnabledL() method:
Call the CVideoRecorderUtility::Prepare() method.
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