Browse Source

Enables the screen capture on firefox.

dev1
Boris Grozev 10 years ago
parent
commit
ced805d924
1 changed files with 6 additions and 0 deletions
  1. 6
    0
      modules/RTC/RTCUtils.js

+ 6
- 0
modules/RTC/RTCUtils.js View File

145
                     }
145
                     }
146
                 ]
146
                 ]
147
             };
147
             };
148
+        } else if (RTCBrowserType.isFirefox()) {
149
+            constraints.video = {
150
+                mozMediaSource: "window",
151
+                mediaSource: "window"
152
+            };
153
+
148
         } else {
154
         } else {
149
             logger.error(
155
             logger.error(
150
                 "'screen' WebRTC media source is supported only in Chrome" +
156
                 "'screen' WebRTC media source is supported only in Chrome" +

Loading…
Cancel
Save