这是indexloc提供的服务,不要输入任何密码
Skip to content

[bug] Unable to switch between earpiece & speaker #603

@rahulraj-idt

Description

@rahulraj-idt

There is a critical issue where the audio is only coming through the speaker. Additionally, Hardware.instance.canSwitchSpeakerphone is always false, and Hardware.instance.setSpeakerphoneOn(false) has no effect on iOS.
Similarly, On Android, setting room.setAudioOutputDevice('earpiece') also has no effect.
This functionality used to work in version 2.1.3

To Reproduce
This issue is easy to reproduce by running the example app and attempting to switch to the earpiece on Android. On iOS, the button to switch to the speaker is disabled.

Expected behavior
Should be able to switch between earpiece & speaker.

Platform information
iOS - 17.6.1, Android - 13

  • Flutter version:
    Flutter 3.24.3
  • Plugin version:
    livekit_client: ^2.2.6

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions