Skip to content

Legacy mute causes audio session switch #619

Closed as not planned
Closed as not planned
@dfed

Description

@dfed

Describe the bug
Muting the local participant's microphone when isLegacyMuteMode is enabled mutes all audio, including agent audio and other sound effects being played by AVAudioEngine

SDK Version
2.2.1. This is a regression from 2.0.19. I have not tested releases between these.

iOS/macOS Version
Reproduced on iOS 17.7.2 and iOS 18.4b1

Xcode Version
16.2.0 (Swift 6 mode)

Steps to Reproduce

  1. AudioManager.shared.isLegacyMuteMode = true
  2. Connect to a room.
  3. Call room.localParticipant.setMicrophone(enabled: false)

Expected behavior
Microphone input is muted, and other audio is not muted.

Metadata

Metadata

Assignees

Labels

SwiftbugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions