mirror of
https://gitlab.linphone.org/BC/public/linphone-android.git
synced 2026-01-17 19:38:08 +00:00
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…
Add table
Reference in a new issue