Setting the audio session category resets configuration to defaults, so always reset the preferred input if it has been changed.
rdar://81618758
Created attachment 443105 [details] Patch
Comment on attachment 443105 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=443105&action=review > Source/WebCore/platform/mediastream/MediaStreamTrackPrivate.cpp:295 > +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] Patch
Comment on attachment 443133 [details] Patch 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].