Fixes JS error in GUM

This commit is contained in:
hristoterezov 2016-01-07 19:00:24 -06:00
parent aeff387575
commit 73b9164150
3 changed files with 25 additions and 15 deletions

View File

@ -3205,11 +3205,16 @@ var RTCUtils = {
var GUM = function (device, s, e) {
this.getUserMediaWithConstraints(device, s, e, options);
};
var deviceGUM = {
"audio": GUM.bind(self, ["audio"]),
"video": GUM.bind(self, ["video"]),
"desktop": screenObtainer.obtainStream.bind(screenObtainer)
"video": GUM.bind(self, ["video"])
};
if(screenObtainer.isSupported()){
deviceGUM["desktop"] = screenObtainer.obtainStream.bind(
screenObtainer);
}
// With FF/IE we can't split the stream into audio and video because FF
// doesn't support media stream constructors. So, we need to get the
// audio stream separately from the video stream using two distinct GUM

22
lib-jitsi-meet.min.js vendored

File diff suppressed because one or more lines are too long

View File

@ -656,11 +656,16 @@ var RTCUtils = {
var GUM = function (device, s, e) {
this.getUserMediaWithConstraints(device, s, e, options);
};
var deviceGUM = {
"audio": GUM.bind(self, ["audio"]),
"video": GUM.bind(self, ["video"]),
"desktop": screenObtainer.obtainStream.bind(screenObtainer)
"video": GUM.bind(self, ["video"])
};
if(screenObtainer.isSupported()){
deviceGUM["desktop"] = screenObtainer.obtainStream.bind(
screenObtainer);
}
// With FF/IE we can't split the stream into audio and video because FF
// doesn't support media stream constructors. So, we need to get the
// audio stream separately from the video stream using two distinct GUM