Setting the audio session category resets configuration to defaults, so always reset the preferred input if it has been changed.
Created attachment 443105 [details]
Comment on attachment 443105 [details]
View in context: https://bugs.webkit.org/attachment.cgi?id=443105&action=review
> +void MediaStreamTrackPrivate::audioUnitWasReconfigured()
I am not clear why this is needed and how we transmit this message from GPUProcess back to WebProcess.
Created attachment 443133 [details]
Comment on attachment 443133 [details]
Patch is fine but I am not sure we need the sessionCaptureConfigurationChanged/audioUnitReconfigured mechanism.
If it is actually needed, we probably need some IPC to carry it from GPUProcess to WebProcess
Created attachment 443303 [details]
Patch for landing
Committed r286669 (244977@main): <https://commits.webkit.org/244977@main>
All reviewed patches have been landed. Closing bug and clearing flags on attachment 443303 [details].