use strophe.jingle smart trickling mode

This commit is contained in:
Philipp Hancke 2014-01-26 13:04:53 +01:00
parent aa19b8b765
commit b0a2473692
1 changed files with 1 additions and 0 deletions

1
app.js
View File

@ -208,6 +208,7 @@ $(document).bind('callincoming.jingle', function (event, sid) {
var sess = connection.jingle.sessions[sid];
// TODO: check affiliation and/or role
console.log('emuc data for', sess.peerjid, connection.emuc.members[sess.peerjid]);
sess.usedrip = true; // not-so-naive trickle ice
sess.sendAnswer();
sess.accept();
});