default to generation 0
This commit is contained in:
parent
d7f2d5f9eb
commit
a97cf7e0fa
|
@ -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':
|
||||
|
|
Loading…
Reference in New Issue