Procházet zdrojové kódy

Adds googLeakyBucket flag to screen sharing mandatory constraints.

j8
paweldomas před 11 roky
rodič
revize
3a87900bdf
1 změnil soubory, kde provedl 2 přidání a 0 odebrání
  1. 2
    0
      libs/strophe/strophe.jingle.adapter.js

+ 2
- 0
libs/strophe/strophe.jingle.adapter.js Zobrazit soubor

519
         constraints.video = {
519
         constraints.video = {
520
             mandatory: {
520
             mandatory: {
521
                 chromeMediaSource: "screen",
521
                 chromeMediaSource: "screen",
522
+                googLeakyBucket: true,
522
                 maxWidth: window.screen.width,
523
                 maxWidth: window.screen.width,
523
                 maxHeight: window.screen.height,
524
                 maxHeight: window.screen.height,
524
                 maxFrameRate: 3
525
                 maxFrameRate: 3
530
             mandatory: {
531
             mandatory: {
531
                 chromeMediaSource: "desktop",
532
                 chromeMediaSource: "desktop",
532
                 chromeMediaSourceId: desktopStream,
533
                 chromeMediaSourceId: desktopStream,
534
+                googLeakyBucket: true,
533
                 maxWidth: window.screen.width,
535
                 maxWidth: window.screen.width,
534
                 maxHeight: window.screen.height,
536
                 maxHeight: window.screen.height,
535
                 maxFrameRate: 3
537
                 maxFrameRate: 3

Načítá se…
Zrušit
Uložit