QXmpp Version: 1.10.0
|
Inherits QObject.
Public Member Functions | |
QString | creator () const |
QString | media () const |
QString | name () const |
int | id () const |
void | setReceivePadCallback (std::function< void(GstPad *)> cb) |
void | setSendPadCallback (std::function< void(GstPad *)> cb) |
Friends | |
class | QXmppCall |
class | QXmppCallPrivate |
The QXmppCallStream class represents an RTP stream in a VoIP call.
QString QXmppCallStream::creator | ( | ) | const |
Returns the JID of the creator of the call stream.
int QXmppCallStream::id | ( | ) | const |
Returns the local ID of the stream.
QString QXmppCallStream::media | ( | ) | const |
Returns the media type of the stream, "audio" or "video".
QString QXmppCallStream::name | ( | ) | const |
Returns the name of the stream (e.g. "webcam" or "voice").
There is no defined format and there are no predefined values for this.
void QXmppCallStream::setReceivePadCallback | ( | std::function< void(GstPad *)> | cb | ) |
Sets a gstreamer receive pad callback.
Can be used to process or display the received data.
void QXmppCallStream::setSendPadCallback | ( | std::function< void(GstPad *)> | cb | ) |
Sets a gstreamer send pad callback.
Can be used to send the stream input.