Changes between Version 36 and Version 37 of Getting-Started/Android
- Timestamp:
- Dec 16, 2014 9:02:08 AM (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Getting-Started/Android
v36 v37 159 159 Currently, the only workaround is to use PJSIP's Android JNI sound device instead (one way to do this is by defining PJMEDIA_AUDIO_DEV_HAS_ANDROID_JNI to 1 and PJMEDIA_AUDIO_DEV_HAS_OPENSL to 0). 160 160 161 {{{ 162 #!comment 163 === Bad audio recording quality on some devices === #mics4 164 165 Reported that on Samsung Galaxy S4 & S5, audio recorded on the microphone (by capturing the data in AndroidRecorderCallback) is twice the speed what it should be. It could be fixed by setting audio mode in AudioManager to MODE_IN_COMMUNICATION before starting audio session, e.g: 166 {{{ 167 AudioManager am = (AudioManager) getSystemService(Context.AUDIO_SERVICE); 168 am.setMode(AudioManager.MODE_IN_COMMUNICATION); 169 }}} 170 171 }}} 172 161 173 == Other Android projects == 162 174