5 #ifndef QXMPPCALLSTREAM_P_H 6 #define QXMPPCALLSTREAM_P_H 8 #include "QXmppCall_p.h" 9 #include "QXmppJingleIq.h" 29 static const int RTP_COMPONENT = 1;
30 static const int RTCP_COMPONENT = 2;
32 static const QLatin1String AUDIO_MEDIA(
"audio");
33 static const QLatin1String VIDEO_MEDIA(
"video");
35 class QXmppCallStreamPrivate :
public QObject
40 QXmppCallStreamPrivate(
QXmppCallStream *parent, GstElement *pipeline_, GstElement *rtpbin_,
41 QString media_, QString creator_, QString name_,
int id_);
42 ~QXmppCallStreamPrivate();
44 GstFlowReturn sendDatagram(GstElement *appsink,
int component);
45 void datagramReceived(
const QByteArray &datagram, GstElement *appsrc);
47 void addEncoder(QXmppCallPrivate::GstCodec &codec);
48 void addDecoder(GstPad *pad, QXmppCallPrivate::GstCodec &codec);
49 void addRtpSender(GstPad *pad);
50 void addRtcpSender(GstPad *pad);
60 GstPad *internalReceivePad;
61 GstPad *internalRtpPad;
62 GstPad *internalRtcpPad;
63 GstElement *encoderBin;
64 GstElement *decoderBin;
65 GstElement *iceReceiveBin;
66 GstElement *iceSendBin;
67 GstElement *apprtpsrc;
68 GstElement *apprtcpsrc;
69 GstElement *apprtpsink;
70 GstElement *apprtcpsink;
72 std::function<void(GstPad *)> sendPadCB;
73 std::function<void(GstPad *)> receivePadCB;
81 QList<QXmppJinglePayloadType> payloadTypes;
The QXmppIceConnection class represents a set of UDP sockets capable of performing Interactive Connec...
Definition: QXmppStun.h:224
Definition: QXmppCallStream.h:22