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 = {
|
||||
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
|
||||
|
|
Loading…
Reference in New Issue