mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-02-07 14:18:25 +00:00
implement enablePublish
This commit is contained in:
parent
f54a55d359
commit
7adf2c94b8
2 changed files with 26 additions and 1 deletions
|
|
@ -179,7 +179,7 @@ class LinphoneCoreImpl implements LinphoneCore {
|
|||
throw new RuntimeException("object already destroyed");
|
||||
}
|
||||
}
|
||||
public void setNetworkStateReachable(boolean isReachable) {
|
||||
public void setNetworkReachable(boolean isReachable) {
|
||||
setNetworkStateReachable(nativePtr,isReachable);
|
||||
}
|
||||
public void setPlaybackGain(float gain) {
|
||||
|
|
@ -344,6 +344,21 @@ class LinphoneCoreImpl implements LinphoneCore {
|
|||
public LinphoneCallParams createDefaultCallParameters() {
|
||||
throw new RuntimeException("Not Implemenetd yet");
|
||||
}
|
||||
public boolean isNetworkReachable() {
|
||||
throw new RuntimeException("Not Implemenetd yet");
|
||||
}
|
||||
public void setUploadBandwidth(int bw) {
|
||||
throw new RuntimeException("Not Implemenetd yet");
|
||||
}
|
||||
public void setDownloadBandwidth(int bw) {
|
||||
throw new RuntimeException("Not Implemenetd yet");
|
||||
}
|
||||
public void setPreferredVideoSize(VideoSize vSize) {
|
||||
throw new RuntimeException("Not Implemenetd yet");
|
||||
}
|
||||
public VideoSize getPreferredVideoSize() {
|
||||
throw new RuntimeException("Not Implemenetd yet");
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
|
|
|||
|
|
@ -67,6 +67,9 @@ class LinphoneProxyConfigImpl implements LinphoneProxyConfig {
|
|||
|
||||
private native String getRoute(long ptr);
|
||||
private native int setRoute(long ptr,String uri);
|
||||
private native void enablePublish(long ptr,boolean enable);
|
||||
private native boolean publishEnabled(long ptr);
|
||||
|
||||
|
||||
public void enableRegister(boolean value) {
|
||||
enableRegister(nativePtr,value);
|
||||
|
|
@ -121,4 +124,11 @@ class LinphoneProxyConfigImpl implements LinphoneProxyConfig {
|
|||
throw new LinphoneCoreException("cannot set route ["+routeUri+"]");
|
||||
}
|
||||
}
|
||||
public void enablePublish(boolean enable) {
|
||||
enablePublish(nativePtr,enable);
|
||||
|
||||
}
|
||||
public boolean publishEnabled() {
|
||||
return publishEnabled(nativePtr);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue