Home · All Namespaces · All Classes · Grouped Classes · Modules · Functions codeless banner

QMediaRtpEngine Class Reference
[QtMediaModule]

The QMediaRtpEngine class provides an interface for implementing backends to QMediaRtpSession. More...

    #include <QMediaRtpEngine>

Inherits QObject.

Public Functions

Additional Inherited Members


Detailed Description

The QMediaRtpEngine class provides an interface for implementing backends to QMediaRtpSession.

Instances of QMediaRtpEngine are provided by media engines to construct and manage RTP streams.

New instance of QMediaRtpEngine are created using the QMediaRtpEngineFactory plug-in interface.

See also QMediaRtpSession and QMediaRtpEngineFactory.


Member Function Documentation

QMediaRtpEngine::~QMediaRtpEngine ()   [virtual]

Destroys a QMediaRtpEngine.

QMediaRtpStream * QMediaRtpEngine::addStream ( QMediaRtpStream::Type type, QMediaRtpStream::Direction direction )   [pure virtual]

Adds a new type stream to the session which sends and/or receives data according to direction.

Returns the new stream, or a null pointer if the stream could not be created.

void QMediaRtpEngine::removeStream ( QMediaRtpStream * stream )   [pure virtual]

Removes a stream from a session.

QMediaRtpStream * QMediaRtpEngine::stream ( int index ) const   [pure virtual]

Returns the stream at index.

int QMediaRtpEngine::streamCount () const   [pure virtual]

Returns the numbe of streams in the session.

QList<QMediaRtpPayload> QMediaRtpEngine::supportedInboundPayloads ( QMediaRtpStream::Type type )   [pure virtual]

Returns a list of type payloads a session is capable of receiving.

QList<QMediaRtpPayload> QMediaRtpEngine::supportedOutboundPayloads ( QMediaRtpStream::Type type )   [pure virtual]

Returns a list of type payloads a session is capable of sending.


Copyright © 2009 Trolltech Trademarks
Qt Extended 4.4.3