Bug 205057
| Summary: | MediaStreamTrack-getSettings wrongly expects default echoCancellation to be false | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Thibault Saunier <tsaunier> |
| Component: | WebRTC | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | dpino, eric.carlson, jer.noble, webkit-bug-importer, youennf |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Thibault Saunier
In MediaStreamTrack-getSettings.html[0] we getUserMedia without any audio constraint, but we expect `settings.echoCancellation = false` in MediaStreamTrack-getSettings-expected.txt[1] the specs states that "echoCancellation of type boolean, defaulting to true
"[2].
I think this is a bug in the mock, more specifically in Source/WebCore/platform/mediastream/mac/MockAudioSharedUnit.mm[3] but the issue doesn't actually exist outside the mock.
[0] https://trac.webkit.org/browser/webkit/trunk/LayoutTests/fast/mediastream/MediaStreamTrack-getSettings.html
[1] https://trac.webkit.org/browser/webkit/trunk/LayoutTests/fast/mediastream/MediaStreamTrack-getSettings-expected.txt#L15
[2] https://w3c.github.io/mediacapture-main/#widl-MediaTrackSettings-echoCancellation
[3] https://trac.webkit.org/browser/webkit/trunk/Source/WebCore/platform/mediastream/mac/MockAudioSharedUnit.mm#L112
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Diego Pino
Fixed by r258255.
Radar WebKit Bug Importer
<rdar://problem/60358527>