From a97cf7e0faf3a6dd8a56acb23e09cc86b8987d6e Mon Sep 17 00:00:00 2001 From: Philipp Hancke Date: Thu, 10 Apr 2014 10:33:53 +0200 Subject: [PATCH] default to generation 0 --- libs/strophe/strophe.jingle.sdp.util.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libs/strophe/strophe.jingle.sdp.util.js b/libs/strophe/strophe.jingle.sdp.util.js index c5ad5e5bf5..7e681acbbd 100644 --- a/libs/strophe/strophe.jingle.sdp.util.js +++ b/libs/strophe/strophe.jingle.sdp.util.js @@ -292,6 +292,8 @@ SDPUtil = { candidate.port = elems[5]; // elems[6] => "typ" candidate.type = elems[7]; + + candidate.generation = '0'; // default, may be overwritten below for (i = 8; i < elems.length; i += 2) { switch (elems[i]) { case 'raddr':