Skip to content

Commit 633cf9b

Browse files
authored
revert audio session release (#1190)
1 parent 8e9bc0d commit 633cf9b

File tree

2 files changed

+1
-8
lines changed

2 files changed

+1
-8
lines changed

packages/stream_video/CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
## Upcoming
22

33
### 🐞 Fixed
4+
* Reverted iOS audio session release on call leave ([#1155](https://github.com/GetStream/stream-video-flutter/pull/1155)) due to reports of broken audio playout on some iOS sessions.
45
* Improved SFU join, recovery and migration logic to reduce failed joins with reconnect loops when joining full or shutting-down SFU
56
* Fixed race condition in `Call.join` when another connect is already in progress, with proper timeout handling.
67
* Fixed `consumeAndAcceptActiveCall` to ensure the coordinator WS is connected before consuming incoming calls during cold start.

packages/stream_video/lib/src/webrtc/rtc_manager.dart

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -498,14 +498,6 @@ class RtcManager extends Disposable {
498498
onLocalTrackPublished = null;
499499
onRemoteTrackReceived = null;
500500

501-
if (CurrentPlatform.isIos) {
502-
try {
503-
await RtcMediaDeviceNotifier.instance.pauseAudioPlayout();
504-
} catch (e) {
505-
_logger.w(() => '[dispose] pauseAudioPlayout failed: $e');
506-
}
507-
}
508-
509501
await Future.wait([
510502
if (publisher != null)
511503
publisher!.dispose().catchError((Object e, StackTrace stk) {

0 commit comments

Comments
 (0)