Changes between Version 34 and Version 35 of Getting-Started/Android


Ignore:
Timestamp:
Jun 24, 2014 3:20:49 AM (7 years ago)
Author:
ming
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Getting-Started/Android

    v34 v35  
    149149   }}} 
    150150 
     151=== OpenSLES audio device deadlock upon shutdown === #opensl 
    151152 
     153As reported in [https://groups.google.com/forum/#!topic/android-ndk/G7dLKAGGL28 Android NDK forum], when shutting down OpenSLES sound device backend, it may block forever: 
     154 
     155  {{{ 
     156W/libOpenSLES(6434): frameworks/wilhelm/src/itf/IBufferQueue.c:57: pthread 0x5fce71c0 (tid 6670) sees object 0x5fcd0080 was locked by pthread 0x5f3a2cb0 (tid 6497) at frameworks/wilhelm/src/itf/IObject.c:411 
     157  }}} 
     158 
     159Currently, 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). 
    152160 
    153161== Other Android projects ==