Skip to content
This repository was archived by the owner on Oct 25, 2024. It is now read-only.

Commit 7a584c3

Browse files
author
Chunbo
authored
Merge pull request #162 from xiewenlong1202/4.2.x
remove check for firefox
2 parents 6aac12a + 8a60bf9 commit 7a584c3

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

src/sdk/base/mediastream-factory.js

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -187,13 +187,6 @@ export class MediaStreamFactory {
187187
mediaConstraints.audio = constraints.audio;
188188
}
189189
}
190-
if (typeof constraints.audio === 'object' &&
191-
constraints.audio.source ===
192-
MediaFormatModule.AudioSourceInfo.SCREENCAST) {
193-
Logger.warning(
194-
'Screen sharing with audio is not supported in Firefox.');
195-
mediaConstraints.audio = false;
196-
}
197190
if (typeof constraints.video === 'object') {
198191
mediaConstraints.video = Object.create({});
199192
if (typeof constraints.video.frameRate === 'number') {

0 commit comments

Comments
 (0)