소스 검색

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…
취소
저장