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.
スピーカーの代わりにモバイルデバイスのイヤホンでオーディオを再生したいという点で、Cordovaを使用してモバイルデバイス用のWebRTCプロジェクトを実装しています。
イヤホンでオーディオを再生する API/方法はありますか?
iOS アプリには cordova-plugin-iosrtc を、Android には cross-walk を使用しています。
ありがとう、神道
あなたは試すことができます:
cordova.plugins.iosrtc.selectAudioOutput('earpiece');
ここでiosrtcのドキュメントを見つけることができます