Fix INVITE without SDP.
This commit is contained in:
parent
c24007813e
commit
8237d96c67
2 changed files with 5 additions and 5 deletions
|
@ -165,11 +165,11 @@ public class IncomingCallActivity extends Activity implements LinphoneOnCallStat
|
||||||
if (!LinphoneActivity.isInstanciated()) {
|
if (!LinphoneActivity.isInstanciated()) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
final LinphoneCallParams remoteParams = mCall.getRemoteParams();
|
||||||
if (mCall.getRemoteParams().getVideoEnabled() && LinphoneManager.getInstance().isAutoAcceptCamera()) {
|
if (remoteParams != null && remoteParams.getVideoEnabled()
|
||||||
|
&& LinphoneManager.getInstance().isAutoAcceptCamera()) {
|
||||||
LinphoneActivity.instance().startVideoActivity(mCall);
|
LinphoneActivity.instance().startVideoActivity(mCall);
|
||||||
}
|
} else {
|
||||||
else {
|
|
||||||
LinphoneActivity.instance().startIncallActivity(mCall);
|
LinphoneActivity.instance().startIncallActivity(mCall);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
Subproject commit 07c4120600ac9e7060f619fa2b94a7b29cbe79da
|
Subproject commit ba478b89e88f5b60f6f3ee5bfe9c636cd8648f3e
|
Loading…
Reference in a new issue