AgoraIO-Usecase / Video-Calling

Calling Interface + Connection Service on top of Agora RTM + RTC for Video Calling Example
MIT License
61 stars 43 forks source link

Android SetEnableSpeakerphone not working #30

Closed kushalhyperlink closed 4 years ago

kushalhyperlink commented 4 years ago

Hello Team

  1. Intiate the audio call
  2. join the channel
  3. setDefaultAudioRoutetoSpeakerphone(true) rtcEngine().isSpeakerphoneEnabled() is always retrun false
  4. try with rtcEngine().setEnableSpeakerphone(true) in all above scenario could not able to enable speaker

Please share your valuable feedback for the same

plutoless commented 4 years ago

@kushalhyperlink as the doc indicates, this api only works for iOS. https://docs.agora.io/en/Video/API%20Reference/oc/Classes/AgoraRtcEngineKit.html#//api/name/setDefaultAudioRouteToSpeakerphone: