Report (TestFlight build 56): voice input pauses a playing video and it
doesn't play again afterwards.
Hex's app capture, the warm session's keepalive and its captures already
used .playAndRecord with .mixWithOthers while Always use iPhone microphone
is on (the default). With it off (Bluetooth microphone allowed) they used
the non-mixable .record category, which interrupts another app's video or
music on activation, and the warm keepalive held that interrupting session
for the whole warm session. Both modes now use .playAndRecord in
.measurement mode with .mixWithOthers and A2DP output, never .duckOthers;
the Bluetooth mode adds .allowBluetoothHFP, so a headset's hands-free
microphone is still used (iOS routes HFP first when a device has both).
Removed: the '!int' (cannotInterruptOthers) retry in configureAudioSession.
It existed because the non-mixable .record session couldn't go active from
the background while another app played; it retried with exactly the
mixable Bluetooth options that are now used from the start, and a mixable
session never fails that way.
SystemAudioManager now takes its session through AudioSessionControlling
(AVAudioSession conforms), so tests can check the category and that ending
the session deactivates with .notifyOthersOnDeactivation (unchanged).
Verified: xcodebuild test on an iOS 27.2 iPhone 17 Pro simulator, 467
tests, 0 failures (with the next commit), including the new
AudioSessionSetupTests. The simulator has no inter-app audio
interruptions (a non-mixable .playback activation in one app left another
app's .playback audio playing, no notification), so whether video keeps
playing is for an iPhone to confirm.