Fix mac crash

This commit is contained in:
Julien Wadel 2022-04-27 11:46:16 +02:00
parent 7f8293f6cd
commit ffc2b3abca
3 changed files with 4 additions and 2 deletions

View file

@ -55,7 +55,7 @@ void ConferenceListener::onParticipantDeviceAdded(const std::shared_ptr<linphone
emit participantDeviceAdded(participantDevice);
}
void ConferenceListener::onParticipantDeviceRemoved(const std::shared_ptr<linphone::Conference> & conference, const std::shared_ptr<const linphone::ParticipantDevice> & participantDevice){
qDebug() << "onParticipantDeviceRemoved";
qDebug() << "onParticipantDeviceRemoved: " << participantDevice->getAddress()->asString().c_str() << " isInConf?[" << participantDevice->isInConference() << "]";
qDebug() << "Me devices : " << conference->getMe()->getDevices().size();
emit participantDeviceRemoved(participantDevice);
}

View file

@ -39,10 +39,12 @@ void ParticipantDeviceListener::onIsMuted(const std::shared_ptr<linphone::Partic
}
void ParticipantDeviceListener::onConferenceJoined(const std::shared_ptr<linphone::ParticipantDevice> & participantDevice) {
qWarning() << "onConferenceJoined: " << participantDevice->getAddress()->asString().c_str() << " isInConf?[" << participantDevice->isInConference() << "]";
emit conferenceJoined(participantDevice);
}
void ParticipantDeviceListener::onConferenceLeft(const std::shared_ptr<linphone::ParticipantDevice> & participantDevice) {
qWarning() << "onConferenceLeft: " << participantDevice->getAddress()->asString().c_str() << " isInConf?[" << participantDevice->isInConference() << "]";
emit conferenceLeft(participantDevice);
}
void ParticipantDeviceListener::onStreamCapabilityChanged(const std::shared_ptr<linphone::ParticipantDevice> & participantDevice, linphone::MediaDirection direction, linphone::StreamType streamType) {

@ -1 +1 @@
Subproject commit b4d326a67d890048f6e869027350ea6ffb8cf8cb
Subproject commit dbc1ed98c46a241a4548c42eccad09332907f4be