Sfoglia il codice sorgente

Adds googLeakyBucket flag to screen sharing mandatory constraints.

master
paweldomas 11 anni fa
parent
commit
3a87900bdf
1 ha cambiato i file con 2 aggiunte e 0 eliminazioni
  1. 2
    0
      libs/strophe/strophe.jingle.adapter.js

+ 2
- 0
libs/strophe/strophe.jingle.adapter.js Vedi File

@@ -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…
Annulla
Salva