Home · All Namespaces · All Classes · Grouped Classes · Modules · Functions |
The QMediaVideoControlServer class is used by Media Engines to inform clients that video is available for the associated media session. More...
#include <QMediaVideoControlServer>
This class is under development and is subject to change.
Inherits QObject.
The QMediaVideoControlServer class is used by Media Engines to inform clients that video is available for the associated media session.
A Media Engine using the QtopiaMedia API constructs a QMediaVideoControlServer when it would like to inform and enable a client to access a QWidget based video widget in the server.
{ VideoWidget* videoWidget = new VideoWidget(videoSource, parent); QMediaVideoControlServer* videoControlServer = new QMediaVideoControlServer(id, parent); videoControlServer->setRenderTarget(videoWidget); }
See also QMediaVideoControl and QMediaAbstractControlServer.
Constructs a QMediaVideoControlServer with the session handle, and optionally the video target widget for sharing with the client and the parent QObject.
Destroy the QMediaVideoControlServer object.
This signal is emitted when video rotation value was changed, the value is given by rotation.
See also videoRotation() and QtopiaVideo::VideoRotation.
This signal is emitted when video scale mode was changed, the value is given by scaleMode.
See also videoScaleMode() and QtopiaVideo::VideoScaleMode.
Set the video target widget to renderTarget.
The Media Engine calls this function when it has a widget that it would like to make available to a client application.
The QWidget will exist in the Media Server process, but will be made available to the session client. A session client will be able to control different widget states, for example whether the widget is hidden or visible.
This is an overloaded member function, provided for convenience.
Set the video target to the window with wid.
The Media Engine calls this function when it has a widget that it would like to make available to a client application.
The QWidget will exist in the Media Server process, but will be made available to the session client. A session client will be able to control different widget states, for example whether the widget is hidden or visible.
Remove the video target widget.
The Media Engine should call this function when it will no longer be rendering video into the QWidget set in setRenderTarget(). The Session client will be notified that the widget is no longer valid.
Return the current video rotation value.
Return the current video scale mode value.
Copyright © 2009 Nokia | Trademarks | Qt Extended 4.4.3 |