mirror of
https://gitlab.linphone.org/BC/public/linphone-desktop.git
synced 2026-01-17 11:28:07 +00:00
Fix an issue where microphone capture was kept active undefinitely after a call, if an audio route change was performed during the call.
This commit is contained in:
parent
117df75343
commit
4a4481e56c
1 changed files with 4 additions and 2 deletions
|
|
@ -346,8 +346,10 @@ void SettingsModel::setDeviceName(const QString &deviceName) {
|
|||
// =============================================================================
|
||||
|
||||
void SettingsModel::resetCaptureGraph() {
|
||||
deleteCaptureGraph();
|
||||
createCaptureGraph();
|
||||
if (mSimpleCaptureGraph){
|
||||
deleteCaptureGraph();
|
||||
createCaptureGraph();
|
||||
}
|
||||
}
|
||||
void SettingsModel::createCaptureGraph() {
|
||||
mSimpleCaptureGraph = new MediastreamerUtils::SimpleCaptureGraph(Utils::appStringToCoreString(getCaptureDevice()),
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue