Binded share video preference
This commit is contained in:
parent
d1785e31f7
commit
148d7f3967
1 changed files with 4 additions and 2 deletions
|
@ -465,11 +465,13 @@ public class LinphonePreferences {
|
||||||
}
|
}
|
||||||
|
|
||||||
public boolean shouldAutomaticallyShareMyVideo() {
|
public boolean shouldAutomaticallyShareMyVideo() {
|
||||||
return false; //TODO
|
return getConfig().getBool("video", "capture", true);
|
||||||
}
|
}
|
||||||
|
|
||||||
public void setAutomaticallyShareMyVideo(boolean accept) {
|
public void setAutomaticallyShareMyVideo(boolean accept) {
|
||||||
//TODO
|
getConfig().setBool("video", "capture", accept);
|
||||||
|
if (isVideoEnabled())
|
||||||
|
enableVideo(true);
|
||||||
}
|
}
|
||||||
|
|
||||||
public String getPreferredVideoSize() {
|
public String getPreferredVideoSize() {
|
||||||
|
|
Loading…
Reference in a new issue