Skip to content
GitLab
Explore
Projects
Groups
Topics
Snippets
Projects
Groups
Topics
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Register
Sign in
Toggle navigation
Menu
gencay tekin
jitsi-meet
Commits
2a2702c1
Commit
2a2702c1
authored
9 years ago
by
damencho
Browse files
Options
Downloads
Patches
Plain Diff
Adds params for enabling fake devices on firefox.
parent
5fc868ee
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
modules/RTC/RTCUtils.js
+9
-0
modules/RTC/RTCUtils.js
with
9 additions
and
0 deletions
modules/RTC/RTCUtils.js
+
9
−
0
View file @
2a2702c1
...
...
@@ -131,6 +131,15 @@ function getConstraints(um, resolution, bandwidth, fps, desktopStream) {
constraints
.
video
.
mandatory
.
minFrameRate
=
fps
;
}
// we turn audio for both audio and video tracks, the fake audio & video seems to work
// only when enabled in one getUserMedia call, we cannot get fake audio separate by fake video
// this later can be a problem with some of the tests
if
(
RTCBrowserType
.
isFirefox
()
&&
config
.
firefox_fake_device
)
{
constraints
.
audio
=
true
;
constraints
.
fake
=
true
;
}
return
constraints
;
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Topics
Snippets