Bug 271305
| Summary: | [iOS] audio level switches to VC level when starting microphone capture even if audioSession type is set to 'play-and-record' before microphone capture | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | youenn fablet <youennf> |
| Component: | WebRTC | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | webkit-bug-importer, youennf |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
youenn fablet
[iOS] audio level switches to VC level when starting microphone capture even if audioSession type is set to 'play-and-record'
Repro steps:
1. Close Safari, set audio level to 50%
2. Load https://jsfiddle.net/63x57vnb/, click 'start microphone', grant microphone access and set audio level to 100%
3. Restart Safari and load https://jsfiddle.net/63x57vnb/
4. Audio level is at 50% (even though navigator.audioSession.type is set to 'play-and-record'
5. Click 'play bunny', video should start playing
6. Verify audio level is still at 50%
7. Click on 'start microphone', grant microphone access
8. Verify audio level is now at 100%.
I would have expected audio level at step 4 (or maybe 6 since webkit might not have activated the audio session) to be at 100%
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/125073697>
youenn fablet
This reproes for me on iOS 17.4
EWS
Committed 276988@main (2416ed8f257f): <https://commits.webkit.org/276988@main>
Reviewed commits have been landed. Closing PR #26607 and removing active labels.