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

iOS端在蓝牙耳机连接状态下,语音通话不能点击外放按钮 #458

Open
TWY-9238944 opened this issue Aug 1, 2023 · 4 comments

Comments

@TWY-9238944
Copy link

iOS端在蓝牙耳机连接状态下,语音通话不能点击外放按钮,我调用enableSpeaker:也不能修改为外放状态,调用overrideOutputAudioPort:AVAudioSessionPortOverrideSpeaker方法外放也不起效果;
车载蓝牙状态下,会外放,而且无法切换到车载蓝牙;

@DevXieChao
Copy link

现象:音视频通话时在蓝牙耳机连接状态下,通话无法切换到蓝牙、听筒、扬声器播放

预期结果:
音视频通话时在蓝牙耳机连接状态下,通话可以提供蓝牙、听筒、扬声器3种播放方式切换

@heavyrain2012
Copy link
Collaborator

@DevXieChao 音视频SDK是免费版的还是高级版的?

@DevXieChao
Copy link

高级版的,已同步最新代码 按照你的提示,我加代码判断一下
出现另一个问题:连着蓝牙耳机(airpods),图标显示不对,声音由耳机发出
音视频通话声音外放问题

@DevXieChao
Copy link

public static enum AudioDevice {
SPEAKER_PHONE,
WIRED_HEADSET,
EARPIECE,
BLUETOOTH,
NONE;
}
期望iOS端也能同步野火安卓端音视频通话,支持扬声器、听筒、耳机、蓝牙耳机、none这几种播放方式切换

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

No branches or pull requests

3 participants