[telepathy-gabble/master] Add a remote_candidates function for sending remote candidates to Gabble.
Mike Ruprecht
mike.ruprecht at collabora.co.uk
Tue Dec 29 05:35:28 PST 2009
---
tests/twisted/jingle/jingletest2.py | 8 ++++++++
1 files changed, 8 insertions(+), 0 deletions(-)
diff --git a/tests/twisted/jingle/jingletest2.py b/tests/twisted/jingle/jingletest2.py
index 1a80deb..b688236 100644
--- a/tests/twisted/jingle/jingletest2.py
+++ b/tests/twisted/jingle/jingletest2.py
@@ -660,6 +660,14 @@ class JingleTest2:
jp.Jingle(self.sid, self.peer, 'session-terminate', body) ])
self.stream.send(jp.xml(iq))
+ def remote_candidates(self):
+ jp = self.jp
+
+ contents = self.generate_contents(self.remote_transports)
+ node = jp.SetIq(self.peer, self.jid,
+ [ jp.Jingle(self.sid, self.peer, 'transport-info', contents) ])
+ self.stream.send(jp.xml(node))
+
def dbusify_codecs(self, codecs):
dbussed_codecs = [ (id, name, 0, rate, 0, {} )
for (name, id, rate) in codecs ]
--
1.5.6.5
More information about the telepathy-commits
mailing list