Summary: | getUserMedia with sampleRate constraints may fail | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Marcos G. <marcosdg3> | ||||||
Component: | WebRTC | Assignee: | youenn fablet <youennf> | ||||||
Status: | RESOLVED FIXED | ||||||||
Severity: | Normal | CC: | eric.carlson, ews-watchlist, glenn, hta, jer.noble, philipj, sergio, tommyw, webkit-bug-importer, youennf, zach | ||||||
Priority: | P2 | Keywords: | InRadar | ||||||
Version: | Safari 14 | ||||||||
Hardware: | Unspecified | ||||||||
OS: | Unspecified | ||||||||
Attachments: |
|
Description
Marcos G.
2020-09-30 15:16:18 PDT
Confirmed audio:true works. From my testing on macOS, it seems that {{audio : {sampleRate : 24000}} is the issue: audio capture does not work. This seems also to require restarting Safari to enable capture again. From the logs: "53771 error 13:20:25.675570+0200 Safari unsupported Out sample rate" So the MediaStreamTrack ends due to capture failing. Created attachment 410221 [details]
Patch
Committed r267838: <https://trac.webkit.org/changeset/267838> All reviewed patches have been landed. Closing bug and clearing flags on attachment 410221 [details]. |