QMediaContainerControl Class

The QMediaContainerControl class provides access to the output container format of a QMediaService. More...

Header: #include <QMediaContainerControl>
qmake: QT += multimedia
Inherits: QMediaControl

Public Functions

  • 30 public functions inherited from QObject

Protected Functions

QMediaContainerControl(QObject *parent = nullptr)
  • 9 protected functions inherited from QObject
typedef QObjectList
QList<T> qFindChildren(const QObject *obj, const QRegExp &regExp)
T qobject_cast(QObject *object)
T qobject_cast(const QObject *object)

Macros

Additional Inherited Members

  • 1 property inherited from QObject
  • 1 public slot inherited from QObject
  • 2 signals inherited from QObject
  • 9 static public members inherited from QObject

Detailed Description

If a QMediaService supports writing encoded data it will implement QMediaContainerControl. This control provides information about the output containers supported by a media service and allows one to be selected as the current output containers.

The functionality provided by this control is exposed to application code through the QMediaRecorder class.

The interface name of QMediaContainerControl is org.qt-project.qt.mediacontainercontrol/5.0 as defined in QMediaContainerControl_iid.

See also QMediaService::requestControl() and QMediaRecorder.

Member Function Documentation

[protected] QMediaContainerControl::QMediaContainerControl(QObject *parent = nullptr)

Constructs a new media container control with the given parent.

[virtual] QMediaContainerControl::~QMediaContainerControl()

Destroys a media container control.

Macro Documentation

QMediaContainerControl::QMediaContainerControl_iid

org.qt-project.qt.mediacontainercontrol/5.0

Defines the interface name of the QMediaContainerControl class.