Skip to content

Commit

Permalink
Fix audio not working after changing microphone device
Browse files Browse the repository at this point in the history
  • Loading branch information
sierpinskid committed Dec 5, 2024
1 parent e289d9a commit 1927401
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ internal StreamAudioDeviceManager(RtcSession rtcSession, IInternalStreamVideoCli

protected override void OnSetEnabled(bool isEnabled)
{
if (isEnabled && SelectedDevice.IsValid && !GetOrCreateTargetAudioSource().isPlaying)
if (isEnabled && SelectedDevice.IsValid)
{
TryStopRecording(SelectedDevice);

Expand Down

0 comments on commit 1927401

Please sign in to comment.