diff options
author | George Hazan <ghazan@miranda.im> | 2022-08-03 21:02:36 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2022-08-03 21:02:36 +0300 |
commit | 5323a782c4e8c42781f22ce2f488962a18f82554 (patch) | |
tree | f71537197b16f0f8fd0d6937f7120d018d220814 /protocols/JabberG/src/jabber_proto.h | |
parent | 50acf9d37183f86f6f623aad410003392b0af41f (diff) |
Jabber: initial version of Jingle support
Diffstat (limited to 'protocols/JabberG/src/jabber_proto.h')
-rw-r--r-- | protocols/JabberG/src/jabber_proto.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/protocols/JabberG/src/jabber_proto.h b/protocols/JabberG/src/jabber_proto.h index ce8a4c0881..e13cd79e3e 100644 --- a/protocols/JabberG/src/jabber_proto.h +++ b/protocols/JabberG/src/jabber_proto.h @@ -203,6 +203,7 @@ struct CJabberProto : public PROTO<CJabberProto>, public IJabberInterface CMOption<bool> m_bEnableUserActivity;
CMOption<bool> m_bEnableUserMood;
CMOption<bool> m_bEnableUserTune;
+ CMOption<bool> m_bEnableVOIP;
CMOption<bool> m_bEnableZlib;
CMOption<bool> m_bFixIncorrectTimestamps;
CMOption<bool> m_bGcLogAffiliations;
@@ -886,6 +887,21 @@ struct CJabberProto : public PROTO<CJabberProto>, public IJabberInterface void SetServerVcard(BOOL bPhotoChanged, wchar_t* szPhotoFileName);
void SaveVcardToDB(HWND hwndPage, int iPage);
+ //---- jabber_voip.c -----------------------------------------------------------------
+
+ bool OnICECandidate(const TiXmlElement *Node, const char *from);
+ bool OnRTPDescription(const TiXmlElement *Node);
+ bool VOIPCreatePipeline();
+ bool VOIPTerminateSession();
+ bool VOIPCallAccept(const TiXmlElement *jingleNode, const char *from);
+ bool VOIPCallIinitiate(MCONTACT hContact);
+
+ CMStringA m_voipSession, m_voipPeerJid;
+ CMStringA m_voipICEPwd, m_voipICEUfrag, m_medianame;
+ bool m_isOutgoing;
+ struct _GstElement *m_pipe1 = NULL;
+ struct _GstElement *m_webrtc1 = NULL;
+
//---- jabber_xml.c ------------------------------------------------------------------
void OnConsoleProcessXml(const TiXmlElement *node, uint32_t flags);
|