ソースを参照

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

読み込み中…
キャンセル
保存