Pārlūkot izejas kodu

Adds googLeakyBucket flag to screen sharing mandatory constraints.

j8
paweldomas 11 gadus atpakaļ
vecāks
revīzija
3a87900bdf
1 mainītis faili ar 2 papildinājumiem un 0 dzēšanām
  1. 2
    0
      libs/strophe/strophe.jingle.adapter.js

+ 2
- 0
libs/strophe/strophe.jingle.adapter.js Parādīt failu

@@ -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

Notiek ielāde…
Atcelt
Saglabāt