[H264] condition for H264Helper use is removed
This commit is contained in:
parent
63734cd259
commit
f635a1ba8c
1 changed files with 4 additions and 4 deletions
|
@ -316,10 +316,10 @@ public class LinphoneManager implements LinphoneCoreListener, LinphoneChatMessag
|
|||
instance = new LinphoneManager(c);
|
||||
instance.startLibLinphone(c);
|
||||
|
||||
if (getLc().openH264Enabled()) {
|
||||
//if (getLc().openH264Enabled()) { ==> Not really relevant because not openH264Enabled condition check is not totally correct
|
||||
// H264 codec Management - set to auto mode -> MediaCodec >= android 5.0 >= OpenH264
|
||||
H264Helper.setH264Mode(H264Helper.MODE_AUTO, getLc());
|
||||
}
|
||||
//}
|
||||
TelephonyManager tm = (TelephonyManager) c.getSystemService(Context.TELEPHONY_SERVICE);
|
||||
boolean gsmIdle = tm.getCallState() == TelephonyManager.CALL_STATE_IDLE;
|
||||
setGsmIdle(gsmIdle);
|
||||
|
|
Loading…
Reference in a new issue