[Webkit-unassigned] [Bug 262759] New: When recording audio, volume of recording diminishes after several seconds
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Oct 5 21:32:40 PDT 2023
https://bugs.webkit.org/show_bug.cgi?id=262759
Bug ID: 262759
Summary: When recording audio, volume of recording diminishes
after several seconds
Product: WebKit
Version: Safari 16
Hardware: Mac (Apple Silicon)
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: Web Audio
Assignee: webkit-unassigned at lists.webkit.org
Reporter: bryce.a.aebi at gmail.com
CC: cdumez at apple.com
I am recording audio in Safari from a Macbook pro microphone using the following basic code:
const createStream = async () => {
// For iOS Safari, reset to play-and-record to allow mic to work
if ((isIOS || isSafari) && navigator.audioSession) {
navigator.audioSession.type = "play-and-record";
}
const stream = await navigator.mediaDevices.getUserMedia({
video: false,
audio: true,
});
return stream;
};
Without fail, the volume of the audio recording starts out at the expected level and then it diminishes in volume (maybe by more than 50%) after about 5 seconds. This happens both when I record and then play back the audio and also when I run an AnalyserNode on the audio in real time and view the audio data live.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20231006/0f268c2f/attachment.htm>
More information about the webkit-unassigned
mailing list