Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[bug] Issue with switching between earpiece and external speaker on iOS. #655

Closed
std-s opened this issue Dec 4, 2024 · 2 comments · Fixed by #684
Closed

[bug] Issue with switching between earpiece and external speaker on iOS. #655

std-s opened this issue Dec 4, 2024 · 2 comments · Fixed by #684

Comments

@std-s
Copy link

std-s commented Dec 4, 2024

Describe the bug

  1. Member A enters the room and turns on the speaker;
  2. Member B enters the room and turns on the microphone to speak.
    To Reproduce

Expected behavior
It is expected that the sound produced by B can be heard by A's speaker.

Platform information

  • Flutter version:Flutter (Channel stable, 3.24.5, on macOS 14.6.1 darwin-arm64, locale
    en-US)
  • Plugin version: 2.3.1+hotfix1
  • Flutter target OS: mac
  • Flutter target OS version: 14.6.1
  • Flutter console log:
@lurongshuang
Copy link

一样的问题

cloudwebrtc added a commit that referenced this issue Jan 13, 2025
cloudwebrtc added a commit that referenced this issue Jan 13, 2025
* fix issue 683.

* fix issue #655.
@lurongshuang
Copy link

@cloudwebrtc ios 端,依然有问题存在,切换蓝牙和手机扬声器直接切换失败,无法从耳机外放切换到扬声器外放

setSpeakerphoneOn(true);
setAudioOutputDevice(el);

两个方法都试了,都不生效,在耳机连接的情况下,都不能将声音切换到扬声器

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants