Adds googLeakyBucket flag to screen sharing mandatory constraints.
This commit is contained in:
parent
5ac83ec088
commit
3a87900bdf
|
@ -519,6 +519,7 @@ function getUserMediaWithConstraints(um, success_callback, failure_callback, res
|
||||||
constraints.video = {
|
constraints.video = {
|
||||||
mandatory: {
|
mandatory: {
|
||||||
chromeMediaSource: "screen",
|
chromeMediaSource: "screen",
|
||||||
|
googLeakyBucket: true,
|
||||||
maxWidth: window.screen.width,
|
maxWidth: window.screen.width,
|
||||||
maxHeight: window.screen.height,
|
maxHeight: window.screen.height,
|
||||||
maxFrameRate: 3
|
maxFrameRate: 3
|
||||||
|
@ -530,6 +531,7 @@ function getUserMediaWithConstraints(um, success_callback, failure_callback, res
|
||||||
mandatory: {
|
mandatory: {
|
||||||
chromeMediaSource: "desktop",
|
chromeMediaSource: "desktop",
|
||||||
chromeMediaSourceId: desktopStream,
|
chromeMediaSourceId: desktopStream,
|
||||||
|
googLeakyBucket: true,
|
||||||
maxWidth: window.screen.width,
|
maxWidth: window.screen.width,
|
||||||
maxHeight: window.screen.height,
|
maxHeight: window.screen.height,
|
||||||
maxFrameRate: 3
|
maxFrameRate: 3
|
||||||
|
|
Loading…
Reference in New Issue