瀏覽代碼

Adds googLeakyBucket flag to screen sharing mandatory constraints.

j8
paweldomas 11 年之前
父節點
當前提交
3a87900bdf
共有 1 個文件被更改,包括 2 次插入0 次删除
  1. 2
    0
      libs/strophe/strophe.jingle.adapter.js

+ 2
- 0
libs/strophe/strophe.jingle.adapter.js 查看文件

@@ -519,6 +519,7 @@ function getUserMediaWithConstraints(um, success_callback, failure_callback, res
519 519
         constraints.video = {
520 520
             mandatory: {
521 521
                 chromeMediaSource: "screen",
522
+                googLeakyBucket: true,
522 523
                 maxWidth: window.screen.width,
523 524
                 maxHeight: window.screen.height,
524 525
                 maxFrameRate: 3
@@ -530,6 +531,7 @@ function getUserMediaWithConstraints(um, success_callback, failure_callback, res
530 531
             mandatory: {
531 532
                 chromeMediaSource: "desktop",
532 533
                 chromeMediaSourceId: desktopStream,
534
+                googLeakyBucket: true,
533 535
                 maxWidth: window.screen.width,
534 536
                 maxHeight: window.screen.height,
535 537
                 maxFrameRate: 3

Loading…
取消
儲存