mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-30 22:16:14 +00:00
Use OpenAL recording backend for calls on Windows.
This commit is contained in:
@@ -25,6 +25,7 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
|
|||||||
#include "calls/calls_panel.h"
|
#include "calls/calls_panel.h"
|
||||||
#include "webrtc/webrtc_video_track.h"
|
#include "webrtc/webrtc_video_track.h"
|
||||||
#include "webrtc/webrtc_media_devices.h"
|
#include "webrtc/webrtc_media_devices.h"
|
||||||
|
#include "webrtc/webrtc_create_adm.h"
|
||||||
#include "data/data_user.h"
|
#include "data/data_user.h"
|
||||||
#include "data/data_session.h"
|
#include "data/data_session.h"
|
||||||
#include "facades.h"
|
#include "facades.h"
|
||||||
@@ -779,6 +780,7 @@ void Call::createAndStartController(const MTPDphoneCall &call) {
|
|||||||
sendSignalingData(bytes);
|
sendSignalingData(bytes);
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
.createAudioDeviceModule = Webrtc::AudioDeviceModuleCreator(),
|
||||||
};
|
};
|
||||||
if (Logs::DebugEnabled()) {
|
if (Logs::DebugEnabled()) {
|
||||||
auto callLogFolder = cWorkingDir() + qsl("DebugLogs");
|
auto callLogFolder = cWorkingDir() + qsl("DebugLogs");
|
||||||
|
@@ -25,6 +25,7 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
|
|||||||
#include "data/data_session.h"
|
#include "data/data_session.h"
|
||||||
#include "base/global_shortcuts.h"
|
#include "base/global_shortcuts.h"
|
||||||
#include "webrtc/webrtc_media_devices.h"
|
#include "webrtc/webrtc_media_devices.h"
|
||||||
|
#include "webrtc/webrtc_create_adm.h"
|
||||||
|
|
||||||
#include <tgcalls/group/GroupInstanceImpl.h>
|
#include <tgcalls/group/GroupInstanceImpl.h>
|
||||||
|
|
||||||
@@ -581,6 +582,7 @@ void GroupCall::createAndStartController() {
|
|||||||
},
|
},
|
||||||
.initialInputDeviceId = _audioInputId.toStdString(),
|
.initialInputDeviceId = _audioInputId.toStdString(),
|
||||||
.initialOutputDeviceId = _audioOutputId.toStdString(),
|
.initialOutputDeviceId = _audioOutputId.toStdString(),
|
||||||
|
.createAudioDeviceModule = Webrtc::AudioDeviceModuleCreator(),
|
||||||
};
|
};
|
||||||
if (Logs::DebugEnabled()) {
|
if (Logs::DebugEnabled()) {
|
||||||
auto callLogFolder = cWorkingDir() + qsl("DebugLogs");
|
auto callLogFolder = cWorkingDir() + qsl("DebugLogs");
|
||||||
|
2
Telegram/ThirdParty/libtgvoip
vendored
2
Telegram/ThirdParty/libtgvoip
vendored
Submodule Telegram/ThirdParty/libtgvoip updated: 37d98e984f...13a5fcb16b
2
Telegram/ThirdParty/tgcalls
vendored
2
Telegram/ThirdParty/tgcalls
vendored
Submodule Telegram/ThirdParty/tgcalls updated: 6e8b3f7e5f...bac020b468
Submodule Telegram/lib_webrtc updated: d9e8307af6...bada95202a
Reference in New Issue
Block a user