0

我正在使用来自以下 URL 的示例 https://gitlab.linphone.org/BC/public/linphone-android/-/tree/11b223c0dcbdb2f7bc8fad3f94005a0c29aa33e9/sample

我创建核心如下

mAccountCreator=mCore.createAccountCreator("");
    mAccountCreator.setUsername("2002");
    mAccountCreator.setDomain("myurl:port");
    mAccountCreator.setPassword("2002");
    mAccountCreator.setTransport(TransportType.Udp);
    ProxyConfig cfg = mAccountCreator.createProxyConfig();
    mCore.setDefaultProxyConfig(cfg);
    mCore.addListener(mCoreListener);

每当我将那个补丁调用到默认音频设备而不是我的听筒或耳机时,请帮助我了解如何设置设备我已经尝试了音频管理器的一些技巧,但它也不起作用我尝试了一些核心变量仍然没有运气

一些带有核心的代码来设置输入和输出设备,但这也不起作用

mCore.getAudioDevices()
mCore.setInputAudioDevice();
mCore.setOutputAudioDevice();
mCore.setDefaultInputAudioDevice();
mCore.setDefaultOutputAudioDevice();
4

0 回答 0