mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-27 16:09:20 +00:00
Better add call, callee actions dialog, dtmf numpad.
Prevent situations where several calls use the sound resources at the same time.
This commit is contained in:
parent
5d05c29646
commit
9fa4af5159
1 changed files with 8 additions and 1 deletions
|
|
@ -590,6 +590,13 @@ class LinphoneCoreImpl implements LinphoneCore {
|
|||
}
|
||||
@Override
|
||||
public boolean isMyself(String uri) {
|
||||
return uri.equals(getDefaultProxyConfig().getIdentity());
|
||||
LinphoneProxyConfig lpc = getDefaultProxyConfig();
|
||||
if (lpc == null) return false;
|
||||
return uri.equals(lpc.getIdentity());
|
||||
}
|
||||
|
||||
private native boolean soundResourcesLocked(long nativePtr);
|
||||
public boolean soundResourcesLocked() {
|
||||
return soundResourcesLocked(nativePtr);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue