Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions packages/stream_video/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

🐞 Fixed
* Fixed an issue where the leave call operation could fail if the there were some issues in parsing custom data.
* Fixed an issue where the Android audio configuration could not be applied correctly for participants joining the call

## 0.10.4

Expand Down
14 changes: 14 additions & 0 deletions packages/stream_video/lib/src/call/session/call_session.dart
Original file line number Diff line number Diff line change
Expand Up @@ -409,6 +409,20 @@ class CallSession extends Disposable {
await onRtcManagerCreatedCallback?.call(rtcManager!);
_rtcManagerSubject!.add(rtcManager!);

// Set Android audio configuration right after creating rtcManager
if (CurrentPlatform.isAndroid &&
_streamVideo.options.androidAudioConfiguration != null) {
try {
await rtc.Helper.setAndroidAudioConfiguration(
_streamVideo.options.androidAudioConfiguration!,
);
} catch (e) {
_logger.w(
() => '[start] Failed to set Android audio configuration: $e',
);
}
}

stateManager.sfuPinsUpdated(event.callState.pins);

_logger.d(() => '[start] completed');
Expand Down
Loading