File tree Expand file tree Collapse file tree 2 files changed +9
-0
lines changed
Expand file tree Collapse file tree 2 files changed +9
-0
lines changed Original file line number Diff line number Diff line change 1313 * Fixed network availability verification during subsequent fast reconnect attempts.
1414 * Added ` reconnectReason ` to reconnect details for sfu logs.
1515 * Fixed race condition where automatic ICE restart could interfere with fast reconnect, causing subscriber video to not recover.
16+ * Fixed iOS audio session not being released when leaving a call, which prevented other audio packages from using the microphone.
1617
1718## 1.2.2
1819* Sync version with ` stream_video_flutter ` 1.2.2
Original file line number Diff line number Diff line change @@ -480,6 +480,14 @@ class RtcManager extends Disposable {
480480 onLocalTrackPublished = null ;
481481 onRemoteTrackReceived = null ;
482482
483+ if (CurrentPlatform .isIos) {
484+ try {
485+ await RtcMediaDeviceNotifier .instance.pauseAudioPlayout ();
486+ } catch (e) {
487+ _logger.w (() => '[dispose] pauseAudioPlayout failed: $e ' );
488+ }
489+ }
490+
483491 await Future .wait ([
484492 if (publisher != null )
485493 publisher! .dispose ().catchError ((Object e, StackTrace stk) {
You can’t perform that action at this time.
0 commit comments