Load the setting's cameria preview opengl context lazily and destroy it when done. Only preallocte Core's video buffer if we have any calls active, free up when all calls are done
<string>Use slider to set volume of your speakers.</string>
</property>
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
</widget>
</item>
<item row="7" column="1">
<widget class="QSlider" name="microphoneSlider">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="toolTip">
<string>Use slider to set volume of your microphone.
WARNING: slider is not supposed to work yet.</string>
</property>
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
</widget>
</item>
<item row="1" column="0">
@ -105,12 +105,12 @@ WARNING: slider is not supposed to work yet.</string>
@@ -105,12 +105,12 @@ WARNING: slider is not supposed to work yet.</string>
</item>
<item row="8" column="0">
<widget class="QCheckBox" name="filterAudio">
<property name="text">
<string>Filter audio</string>
</property>
<property name="toolTip">
<string>Filter sound from your microphone, so that people hearing you would get better sound.</string>
</property>
<property name="text">
<string>Filter audio</string>
</property>
</widget>
</item>
</layout>
@ -129,9 +129,6 @@ WARNING: slider is not supposed to work yet.</string>
@@ -129,9 +129,6 @@ WARNING: slider is not supposed to work yet.</string>
</property>
<item row="0" column="0">
<widget class="QLabel" name="resolutionLabel">
<property name="text">
<string>Resolution</string>
</property>
<property name="toolTip">
<string>Set resolution of your camera.
The higher values, the better video quality your friends may get.
@ -139,6 +136,9 @@ Note though that with better video quality there is needed better internet conne
@@ -139,6 +136,9 @@ Note though that with better video quality there is needed better internet conne
Sometimes your connection may not be good enough to handle higher video quality,
which may lead to problems with video calls.</string>
</property>
<property name="text">
<string>Resolution</string>
</property>
</widget>
</item>
<item row="0" column="1">
@ -230,18 +230,7 @@ which may lead to problems with video calls.</string>
@@ -230,18 +230,7 @@ which may lead to problems with video calls.</string>