mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-20 04:25:42 +08:00
Fix user joined/left signals for voice channel 2
This commit is contained in:
committed by
Mathew Sutcliffe
parent
e4ef6e4058
commit
6351ed1a11
@@ -54,8 +54,8 @@ namespace BlackCore
|
|||||||
m_channel2 = m_voice->createVoiceChannel();
|
m_channel2 = m_voice->createVoiceChannel();
|
||||||
m_channel2->setOwnAircraftCallsign(ownCallsign);
|
m_channel2->setOwnAircraftCallsign(ownCallsign);
|
||||||
connect(m_channel2.data(), &IVoiceChannel::connectionStatusChanged, this, &CContextAudio::ps_connectionStatusChanged);
|
connect(m_channel2.data(), &IVoiceChannel::connectionStatusChanged, this, &CContextAudio::ps_connectionStatusChanged);
|
||||||
connect(m_channel1.data(), &IVoiceChannel::userJoinedRoom, this, &CContextAudio::ps_userJoinedRoom);
|
connect(m_channel2.data(), &IVoiceChannel::userJoinedRoom, this, &CContextAudio::ps_userJoinedRoom);
|
||||||
connect(m_channel1.data(), &IVoiceChannel::userLeftRoom, this, &CContextAudio::ps_userLeftRoom);
|
connect(m_channel2.data(), &IVoiceChannel::userLeftRoom, this, &CContextAudio::ps_userLeftRoom);
|
||||||
|
|
||||||
m_voiceInputDevice = m_voice->createInputDevice();
|
m_voiceInputDevice = m_voice->createInputDevice();
|
||||||
m_voiceOutputDevice = m_voice->createOutputDevice();
|
m_voiceOutputDevice = m_voice->createOutputDevice();
|
||||||
|
|||||||
Reference in New Issue
Block a user