ITADN

Microphone fails to unmute on visionOS device

#974Closedandriibilyanskii 创建于 2026-04-23
bug
**Describe the bug** On the visionOS device, the microphone fails to unmute. On the visionOS simulator and iOS device, all works. **SDK Version** 2.11.0. But this bug was from the beginning app development (from v2.7.0). The latest version hasn't been tested on the devices yet, but in the releases section, I don't see a fix for it **iOS/macOS Version** macOS 15.7.4, visionOS 26.2, iOS 17.7.1 **Xcode Version** 26.2 (17C52) **Steps to Reproduce** ``` try await room.localParticipant.setMicrophone( enabled: !room.localParticipant.isMicrophoneEnabled() ) ``` There is an image in a button, and it changes after pressing: ``` Button { Task { do { try await room.localParticipant .setMicrophone( enabled: !room.localParticipant .isMicrophoneEnabled() ) } catch { SentryService.sendMessage( "Failed to change microphone state: \(error)" ) } } } label: { Image( systemName: room.localParticipant .isMicrophoneEnabled() ? "microphone.fill" : "microphone.slash.fill" ) } ``` **Expected behavior** The participant's microphone should turn on
关闭于 2026-05-04 6 条评论