QMediaStreamsControl Class
The QMediaStreamsControl class provides a media stream selection control. More...
| Header: | #include <QMediaStreamsControl> |
| qmake: | QT += multimedia |
| Inherits: | QMediaControl |
Public Types
| enum | StreamType { AudioStream, VideoStream, SubPictureStream, UnknownStream, DataStream } |
Public Functions
| virtual | ~QMediaStreamsControl() |
- 30 public functions inherited from QObject
Protected Functions
| QMediaStreamsControl(QObject *parent = nullptr) |
- 9 protected functions inherited from QObject
Related Non-Members
| typedef | QObjectList |
| QList<T> | qFindChildren(const QObject *obj, const QRegExp ®Exp) |
| T | qobject_cast(QObject *object) |
| T | qobject_cast(const QObject *object) |
Macros
| QMediaStreamsControl_iid | |
| QT_NO_NARROWING_CONVERSIONS_IN_CONNECT | |
| Q_CLASSINFO(Name, Value) | |
| Q_DISABLE_COPY(Class) | |
| Q_DISABLE_COPY_MOVE(Class) | |
| Q_DISABLE_MOVE(Class) | |
| Q_EMIT | |
| Q_ENUM(...) | |
| Q_ENUM_NS(...) | |
| Q_FLAG(...) | |
| Q_FLAG_NS(...) | |
| Q_GADGET | |
| Q_INTERFACES(...) | |
| Q_INVOKABLE | |
| Q_MEDIA_DECLARE_CONTROL(Class, IId) | |
| Q_NAMESPACE | |
| Q_OBJECT | |
| Q_PROPERTY(...) | |
| Q_REVISION | |
| Q_SET_OBJECT_NAME(Object) | |
| Q_SIGNAL | |
| Q_SIGNALS | |
| Q_SLOT | |
| Q_SLOTS |
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
The QMediaStreamsControl class provides descriptions of the available media streams and allows individual streams to be activated and deactivated.
The interface name of QMediaStreamsControl is org.qt-project.qt.mediastreamscontrol/5.0 as defined in QMediaStreamsControl_iid.
See also QMediaService::requestControl().
Member Type Documentation
enum QMediaStreamsControl::StreamType
Media stream type.
| Constant | Value | Description |
|---|---|---|
QMediaStreamsControl::AudioStream | 2 | Audio stream. |
QMediaStreamsControl::VideoStream | 1 | Video stream. |
QMediaStreamsControl::SubPictureStream | 3 | Subpicture or teletext stream. |
QMediaStreamsControl::UnknownStream | 0 | The stream type is unknown. |
QMediaStreamsControl::DataStream | 4 |
Member Function Documentation
[protected] QMediaStreamsControl::QMediaStreamsControl(QObject *parent = nullptr)
Constructs a new media streams control with the given parent.
[virtual] QMediaStreamsControl::~QMediaStreamsControl()
Destroys a media streams control.
Macro Documentation
QMediaStreamsControl::QMediaStreamsControl_iid
org.qt-project.qt.mediastreamscontrol/5.0
Defines the interface name of the QMediaStreamsControl class.