From 3a87900bdfa981dc767549fb1a509bb48d97334b Mon Sep 17 00:00:00 2001 From: paweldomas Date: Mon, 14 Jul 2014 11:19:28 +0200 Subject: [PATCH] Adds googLeakyBucket flag to screen sharing mandatory constraints. --- libs/strophe/strophe.jingle.adapter.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libs/strophe/strophe.jingle.adapter.js b/libs/strophe/strophe.jingle.adapter.js index 2e8e1e209..1db9c6fdd 100644 --- a/libs/strophe/strophe.jingle.adapter.js +++ b/libs/strophe/strophe.jingle.adapter.js @@ -519,6 +519,7 @@ function getUserMediaWithConstraints(um, success_callback, failure_callback, res constraints.video = { mandatory: { chromeMediaSource: "screen", + googLeakyBucket: true, maxWidth: window.screen.width, maxHeight: window.screen.height, maxFrameRate: 3 @@ -530,6 +531,7 @@ function getUserMediaWithConstraints(um, success_callback, failure_callback, res mandatory: { chromeMediaSource: "desktop", chromeMediaSourceId: desktopStream, + googLeakyBucket: true, maxWidth: window.screen.width, maxHeight: window.screen.height, maxFrameRate: 3