Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我使用Sinch. 但是,我想让用户能够通过扬声器参与通话。
Sinch
我浏览了一些文档,并认为这Sinch对我没有帮助,但这实际上是 android 的事情。
那么如何在按下按钮时将呼叫重定向到扬声器?
sinch 客户端的实例具有获取音频控制器的方法。在那里您可以找到设置扬声器启用/禁用的方法。
对于我的情况:
mSinchClient.getAudioController().enableSpeaker();