aboutsummaryrefslogtreecommitdiff
path: root/src/base/QXmppJingleData.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/base/QXmppJingleData.h')
-rw-r--r--src/base/QXmppJingleData.h19
1 files changed, 16 insertions, 3 deletions
diff --git a/src/base/QXmppJingleData.h b/src/base/QXmppJingleData.h
index 1e425f4d..82ef8c00 100644
--- a/src/base/QXmppJingleData.h
+++ b/src/base/QXmppJingleData.h
@@ -463,6 +463,8 @@ public:
using RtpSessionState = std::variant<RtpSessionStateActive, RtpSessionStateHold, RtpSessionStateUnhold, RtpSessionStateMuting, RtpSessionStateRinging>;
+ using Reason = QXmppJingleReason;
+
/// \internal
///
/// The QXmppJingleIq::Content class represents the "content" element of a
@@ -492,6 +494,18 @@ public:
QXmppJingleDescription description() const;
void setDescription(const QXmppJingleDescription &description);
+#if QXMPP_DEPRECATED_SINCE(1, 6)
+ QString descriptionMedia() const;
+ void setDescriptionMedia(const QString &media);
+
+ quint32 descriptionSsrc() const;
+ void setDescriptionSsrc(quint32 ssrc);
+
+ void addPayloadType(const QXmppJinglePayloadType &payload);
+ QList<QXmppJinglePayloadType> payloadTypes() const;
+ void setPayloadTypes(const QList<QXmppJinglePayloadType> &payloadTypes);
+#endif
+
bool isRtpMultiplexingSupported() const;
void setRtpMultiplexingSupported(bool isRtpMultiplexingSupported);
@@ -636,11 +650,10 @@ public:
/// \endcond
static bool isJingleMessageInitiationElement(const QDomElement &);
+ static QString jmiElementTypeToString(Type type);
+ static std::optional<Type> stringToJmiElementType(const QString &typeStr);
private:
- QString jmiElementTypeToString(Type type) const;
- Type stringToJmiElementType(const QString &typeStr) const;
-
QSharedDataPointer<QXmppJingleMessageInitiationElementPrivate> d;
};