dont call SDPUtil.find_line without the media section
This commit is contained in:
parent
6e55d38ca9
commit
49cf8cba3a
4
app.js
4
app.js
|
@ -530,8 +530,8 @@ $(document).bind('setLocalDescription.jingle', function (event, sid) {
|
||||||
directions[type] = (
|
directions[type] = (
|
||||||
SDPUtil.find_line(media, 'a=sendrecv') ||
|
SDPUtil.find_line(media, 'a=sendrecv') ||
|
||||||
SDPUtil.find_line(media, 'a=recvonly') ||
|
SDPUtil.find_line(media, 'a=recvonly') ||
|
||||||
SDPUtil.find_line('a=sendonly') ||
|
SDPUtil.find_line(media, 'a=sendonly') ||
|
||||||
SDPUtil.find_line('a=inactive') ||
|
SDPUtil.find_line(media, 'a=inactive') ||
|
||||||
'a=sendrecv').substr(2);
|
'a=sendrecv').substr(2);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue