make sure video support is optionnal
This commit is contained in:
parent
4b2dceb40b
commit
a8acca6bae
1 changed files with 1 additions and 1 deletions
|
@ -341,7 +341,7 @@ public class LinphoneManager implements LinphoneCoreListener {
|
|||
boolean gsmIdle = tm.getCallState() == TelephonyManager.CALL_STATE_IDLE;
|
||||
setGsmIdle(gsmIdle);
|
||||
|
||||
if (Version.isVideoCapable())
|
||||
if (Version.isVideoCapable() && getLc().isVideoSupported())
|
||||
AndroidVideoApi5JniWrapper.setAndroidSdkVersion(Version.sdk());
|
||||
return instance;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue