diff -r ebc84c812384 -r 46218c8b8afa Symbian3/PDK/Source/GUID-F13C7D36-E4AB-57F1-87A1-EB83AA2258DF.dita --- a/Symbian3/PDK/Source/GUID-F13C7D36-E4AB-57F1-87A1-EB83AA2258DF.dita Thu Mar 11 15:24:26 2010 +0000 +++ b/Symbian3/PDK/Source/GUID-F13C7D36-E4AB-57F1-87A1-EB83AA2258DF.dita Thu Mar 11 18:02:22 2010 +0000 @@ -1,13 +1,13 @@ - - - - - -Controlling the Video Controller Plugin

This tutorial describes how to control the video controller plugin.

Purpose

The purpose of this tutorial is to show you how to control the video controller plugin.

Required Background

The Video Client Overview introduces the video client utilities.

Introduction

The video player utility is used to open, play, and obtain information from sampled video data. This functionality is implemented by the CVideoPlayerUtility class. The video data can be supplied either in a file, a descriptor or a URL.

Using Video Controller Plugin

The following tasks will be covered in this tutorial:

  • Get the Progress of Video Clip Loading/Rebuffering

  • Using Custom Commands

Getting the Progress of Video Clip Loading/Rebuffering

The high level steps to get the progress of video clip loading/rebuffering are shown here:

  • To get the progress of video clip loading/rebuffering, use the CVideoPlayerUtility::GetVideoLoadingProgressL() function.

    TInt percentage; + + + + + +Controlling the Video Controller Plugin

    This tutorial describes how to control the video controller plugin.

    Purpose

    The purpose of this tutorial is to show you how to control the video controller plugin.

    Required Background

    The Video Client Overview introduces the video client utilities.

    Introduction

    The video player utility is used to open, play, and obtain information from sampled video data. This functionality is implemented by the CVideoPlayerUtility class. The video data can be supplied either in a file, a descriptor or a URL.

    Using Video Controller Plugin

    The following tasks will be covered in this tutorial:

    • Get the Progress of Video Clip Loading/Rebuffering

    • Using Custom Commands

    Getting the Progress of Video Clip Loading/Rebuffering

    The high level steps to get the progress of video clip loading/rebuffering are shown here:

    • To get the progress of video clip loading/rebuffering, use the CVideoPlayerUtility::GetVideoLoadingProgressL() function.

      TInt percentage; percentage = iVideoPlayer->GetVideoLoadingProgressL() \\Returns the progress, as a percentage of video loading.

    Using Custom Commands

    Custom commands are used to pass the message directly to the controller plug-in instead of going through APIs such as Play(), Record(), and so on.

    • To send a synchronous custom command to the controller, use the CVideoPlayerUtility::CustomCommandSync() function.

    • To send a asynchronous custom command to the controller, use the CVideoPlayerUtility::CustomCommandAsync() function.

    See Also

    Creating and Preparing a Video Player

    Configuring the Video Player

    Enabling/Disabling Audio or Video Playback Separately

    Scaling Automatically

    Controlling Video Playback

    Fast Forwarding and Rewinding

    Stepping Frames

    \ No newline at end of file