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 .changes/fix-preconnect-stops-mic
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
patch type="fixed" "Fix microphone stopping after pre-connect audio completes"
4 changes: 2 additions & 2 deletions lib/src/preconnect/pre_connect_audio_buffer.dart
Original file line number Diff line number Diff line change
Expand Up @@ -210,8 +210,8 @@ class PreConnectAudioBuffer {
await _audioCapture?.stop();
_audioCapture = null;

// Stop native recording session if it was started.
if (_nativeRecordingStarted) {
// Only stop native recording on error, the room's mic track still uses it.
if (withError != null && _nativeRecordingStarted) {
await webrtc.NativeAudioManagement.stopLocalRecording();
}

Expand Down