QXmpp  Version:0.4.91
 All Classes Functions Enumerations Enumerator Properties Groups
Public Slots | Signals | Public Member Functions | Protected Member Functions | Friends
QXmppRtpVideoChannel Class Reference

The QXmppRtpVideoChannel class represents an RTP video channel to a remote party. More...

#include <QXmppRtpChannel.h>

Inheritance diagram for QXmppRtpVideoChannel:
QXmppLoggable

List of all members.

Public Slots

void datagramReceived (const QByteArray &ba)

Signals

void sendDatagram (const QByteArray &ba)
 This signal is emitted when a datagram needs to be sent.
- Signals inherited from QXmppLoggable
void logMessage (QXmppLogger::MessageType type, const QString &msg)
 This signal is emitted to send logging messages.

Public Member Functions

 QXmppRtpVideoChannel (QObject *parent=0)
 Constructs a new RTP video channel with the given parent.
QXmppVideoFormat decoderFormat () const
QList< QXmppVideoFramereadFrames ()
 Decodes buffered RTP packets and returns a list of video frames.
QXmppVideoFormat encoderFormat () const
void setEncoderFormat (const QXmppVideoFormat &format)
void writeFrame (const QXmppVideoFrame &frame)
 Encodes a video frame and sends RTP packets.
QIODevice::OpenMode openMode () const
 Returns the mode in which the channel has been opened.
void close ()
- Public Member Functions inherited from QXmppLoggable
 QXmppLoggable (QObject *parent=0)
- Public Member Functions inherited from QXmppRtpChannel
 QXmppRtpChannel ()
 Creates a new RTP channel.
virtual void close ()=0
virtual QIODevice::OpenMode openMode () const =0
QList< QXmppJinglePayloadTypelocalPayloadTypes ()
void setRemotePayloadTypes (const QList< QXmppJinglePayloadType > &remotePayloadTypes)

Protected Member Functions

void payloadTypesChanged ()
 cond
- Protected Member Functions inherited from QXmppLoggable
void debug (const QString &message)
void info (const QString &message)
void warning (const QString &message)
void logReceived (const QString &message)
void logSent (const QString &message)
- Protected Member Functions inherited from QXmppRtpChannel
virtual void payloadTypesChanged ()

Friends

class QXmppRtpVideoChannelPrivate

Additional Inherited Members

- Protected Attributes inherited from QXmppRtpChannel
QList< QXmppJinglePayloadTypem_incomingPayloadTypes
QList< QXmppJinglePayloadTypem_outgoingPayloadTypes
bool m_outgoingPayloadNumbered

Detailed Description

The QXmppRtpVideoChannel class represents an RTP video channel to a remote party.

Note:
THIS API IS NOT FINALIZED YET

Member Function Documentation

void QXmppRtpVideoChannel::close ( )

Closes the RTP channel.

void QXmppRtpVideoChannel::datagramReceived ( const QByteArray &  ba)
slot

Processes an incoming RTP video packet.

Parameters:
ba

The documentation for this class was generated from the following files: