Fix the direction string.

Used to return 'sendre' instead of 'sendrecv'.
This commit is contained in:
bgrozev 2014-11-12 15:20:18 +02:00
parent 19e4955392
commit 071c01e644
1 changed files with 2 additions and 2 deletions

View File

@ -137,7 +137,7 @@ SimulcastUtils.prototype.parseMedia = function (lines, mediatypes) {
lines[i].substring(0, 'a=sendonly'.length) === 'a=sendonly' || lines[i].substring(0, 'a=sendonly'.length) === 'a=sendonly' ||
lines[i].substring(0, 'a=inactive'.length) === 'a=inactive')) { lines[i].substring(0, 'a=inactive'.length) === 'a=inactive')) {
cur_media.direction = lines[i].substring('a='.length, 8); cur_media.direction = lines[i].substring('a='.length);
} }
} }