title: Opus Audio Codec in Linphone Android 2013 Version
body: <p>I want to just enabled Opus Audio Codec in my VOIP application, I have try code from here : <a href="https://stackoverflow.com/questions/31635522/force-using-just-opus-codec-in-linphone-android/31652551#31652551/%22Link%22">https://stackoverflow.com/questions/31635522/force-using-just-opus-codec-in-linphone-android/31652551#31652551</a></p>
  
  <p>I try to check findpayloadtype first:</p>
  
  <pre><code>for (PayloadType pt : mLc.getAudioCodecs()) {
                  pt = mLc.findPayloadType("PCMA", 8000, 1);
                  Log.d("LinphoneManager", "PayloadType PCMA : " + pt);
              }
  
              for (PayloadType pt : mLc.getAudioCodecs()) {
                  pt = mLc.findPayloadType("PCMU", 8000, 1);
                  Log.d("LinphoneManager","PayloadType PCMU : "+pt);
              }
  
              for (PayloadType pt : mLc.getAudioCodecs()) {
                  pt = mLc.findPayloadType("OPUS", 8000, 1);
                  Log.d("LinphoneManager","PayloadType P : "+pt);
  
              }
  </code></pre>
  
  <p>PCMA and PCMU show value in log : </p>
  
  <blockquote>
    <p>[PCMA] clock [8000], bitrate [64000]</p>
    
    <p>[PCMU] clock [8000], bitrate [64000]</p>
  </blockquote>
  
  <p>but OPUS show null value :</p>
  
  <blockquote>
    <p>null</p>
  </blockquote>
  
  <p>is that something wrong with my code to got OPUS audio codec, or something else ?</p>