default to generation 0

This commit is contained in:
Philipp Hancke 2014-04-10 10:33:53 +02:00
parent d7f2d5f9eb
commit a97cf7e0fa
1 changed files with 2 additions and 0 deletions

View File

@ -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':