mirror of
https://github.com/qTox/qTox.git
synced 2024-03-22 14:00:36 +08:00
Add some debug messages
This commit is contained in:
parent
c7d6882479
commit
d99c682e00
|
@ -622,12 +622,20 @@ void Core::joinGroupCall(int groupId)
|
|||
alcCaptureStart(alInDev);
|
||||
|
||||
// Go
|
||||
ToxAv* toxav = Core::getInstance()->toxav;
|
||||
Core* core = Core::getInstance();
|
||||
ToxAv* toxav = core->toxav;
|
||||
|
||||
qWarning()<<"Core is "<<(long)core<<", toxav is "<<(long)toxav;
|
||||
|
||||
groupCalls[groupId].sendAudioTimer = new QTimer();
|
||||
groupCalls[groupId].active = true;
|
||||
groupCalls[groupId].sendAudioTimer->setInterval(5);
|
||||
groupCalls[groupId].sendAudioTimer->setSingleShot(true);
|
||||
connect(groupCalls[groupId].sendAudioTimer, &QTimer::timeout, [=](){sendGroupCallAudio(groupId,toxav);});
|
||||
connect(groupCalls[groupId].sendAudioTimer, &QTimer::timeout, [=]()
|
||||
{
|
||||
qWarning()<<"In the lambda toxav is "<<(long)toxav;
|
||||
sendGroupCallAudio(groupId,toxav);}
|
||||
);
|
||||
groupCalls[groupId].sendAudioTimer->start();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user