This tutorial describes how to control the video controller plugin.
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.
The following tasks will be covered in this tutorial:
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.
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.