Open
Bug 1436424
Opened 7 years ago
Updated 5 months ago
Remove {fake: true} constraint
Categories
(Core :: WebRTC: Audio/Video, task, P3)
Tracking
()
NEW
Tracking | Status | |
---|---|---|
firefox60 | --- | affected |
People
(Reporter: jib, Unassigned)
References
Details
(Keywords: dev-doc-needed, site-compat)
We currently expose fake internal camera and microphone output devices we use internally for testing to the web platform using a `fake` constraint in gUM:
navigator.mediaDevices.getUserMedia({video: true, audio: true, fake: true});
This is non-standard functionality we should remove. The functionality will remain accessible using the "media.navigator.streams.fake;true" pref [1] for use in our tests and in things like web-platform-tests.
To do this, we need to also update various internal tests that still use {fake: true} and sometimes {fake:false} to twiddle the pref instead.
The web platform functionality lost is an audio track emitting a 1 kHz sine wave, and a video track emitting a 640x480 solid surface of slowly changing color, with some timestamp info encoded in the corner. This is trivial to replicate in JS these days with web audio and captureStream [2].
[1] https://searchfox.org/mozilla-central/rev/84cea84b12145d752e50ddca6be5462c38510e35/dom/media/MediaManager.cpp#2678-2679
[2] See https://blog.mozilla.org/webrtc/warm-up-with-replacetrack/ for a starting point.
Comment 1•7 years ago
|
||
We need to fix [0] as well.
[0]: https://github.com/webrtc/apprtc/blob/master/src/app_engine/apprtc.py#L94
Reporter | ||
Comment 2•7 years ago
|
||
Thanks, I've filed https://github.com/webrtc/apprtc/issues/533 on it.
Reporter | ||
Updated•7 years ago
|
Version: 60 Branch → 61 Branch
Updated•7 years ago
|
Keywords: dev-doc-needed
Updated•6 years ago
|
Type: enhancement → task
Keywords: site-compat
Updated•3 years ago
|
Severity: normal → S3
Updated•5 months ago
|
Priority: P2 → P3
You need to log in
before you can comment on or make changes to this bug.
Description
•