QVideoRendererControl¶
The
QVideoRendererControl
class provides a media control for rendering video to aQAbstractVideoSurface
. More…

Detailed Description¶
Using the
surface()
property ofQVideoRendererControl
aQAbstractVideoSurface
may be set as the video render target of aQMediaService
.QVideoRendererControl *rendererControl = mediaService->requestControl<QVideoRendererControl *>(); rendererControl->setSurface(myVideoSurface);
QVideoRendererControl
is one of a number of possible video output controls.The interface name of
QVideoRendererControl
isorg.qt-project.qt.videorenderercontrol/5.0
as defined inQVideoRendererControl_iid
.See also
-
class
QVideoRendererControl
([parent=None])¶ - param parent
QObject
Constructs a new video renderer media end point with the given
parent
.
-
PySide2.QtMultimedia.QVideoRendererControl.
setSurface
(surface)¶ - Parameters
surface –
QAbstractVideoSurface
Sets the
surface
a video producer renders to.See also
-
PySide2.QtMultimedia.QVideoRendererControl.
surface
()¶ - Return type
Returns the surface a video producer renders to.
See also