QXmpp
Version:0.9.3
|
The QXmppRtpVideoChannel class represents an RTP video channel to a remote party. More...
#include <QXmppRtpChannel.h>
Public Slots | |
void | datagramReceived (const QByteArray &ba) |
Signals | |
void | sendDatagram (const QByteArray &ba) |
This signal is emitted when a datagram needs to be sent. | |
Public Member Functions | |
QXmppRtpVideoChannel (QObject *parent=0) | |
Constructs a new RTP video channel with the given parent. | |
void | close () |
Closes the RTP video channel. | |
QIODevice::OpenMode | openMode () const |
Returns the mode in which the channel has been opened. | |
QXmppVideoFormat | decoderFormat () const |
Returns the video format used by the encoder. | |
QList< QXmppVideoFrame > | readFrames () |
QXmppVideoFormat | encoderFormat () const |
Returns the video format used by the encoder. | |
void | setEncoderFormat (const QXmppVideoFormat &format) |
Sets the video format used by the encoder. | |
void | writeFrame (const QXmppVideoFrame &frame) |
Encodes a video frame and sends RTP packets. | |
Friends | |
class | QXmppRtpVideoChannelPrivate |
The QXmppRtpVideoChannel class represents an RTP video channel to a remote party.
void QXmppRtpVideoChannel::datagramReceived | ( | const QByteArray & | ba | ) | [slot] |
Processes an incoming RTP video packet.
ba |
QList< QXmppVideoFrame > QXmppRtpVideoChannel::readFrames | ( | ) |
Decodes buffered RTP packets and returns a list of video frames.