mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-24 22:58:13 +00:00
GetRemoteParams returns null if needed
This commit is contained in:
parent
d0175b57d5
commit
ade685701f
1 changed files with 5 additions and 1 deletions
|
|
@ -76,7 +76,11 @@ class LinphoneCallImpl implements LinphoneCall {
|
|||
return new LinphoneCallParamsImpl(getCurrentParamsCopy(nativePtr));
|
||||
}
|
||||
public LinphoneCallParams getRemoteParams() {
|
||||
return new LinphoneCallParamsImpl(getRemoteParams(nativePtr));
|
||||
long remoteParamsPtr = getRemoteParams(nativePtr);
|
||||
if (remoteParamsPtr == 0) {
|
||||
return null;
|
||||
}
|
||||
return new LinphoneCallParamsImpl(remoteParamsPtr);
|
||||
}
|
||||
public void enableCamera(boolean enabled) {
|
||||
enableCamera(nativePtr, enabled);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue