Changes between Version 36 and Version 37 of Getting-Started/Android


Ignore:
Timestamp:
Dec 16, 2014 9:02:08 AM (10 years ago)
Author:
nanang
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Getting-Started/Android

    v36 v37  
    159159Currently, 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). 
    160160 
     161{{{ 
     162#!comment 
     163=== Bad audio recording quality on some devices === #mics4 
     164 
     165Reported 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{{{ 
     167AudioManager am = (AudioManager) getSystemService(Context.AUDIO_SERVICE); 
     168am.setMode(AudioManager.MODE_IN_COMMUNICATION); 
     169}}} 
     170 
     171}}} 
     172 
    161173== Other Android projects == 
    162174