mirror of
https://gitlab.linphone.org/BC/public/linphone-android.git
synced 2026-04-20 00:28:28 +00:00
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…
Add table
Reference in a new issue