mirror of
https://gitlab.linphone.org/BC/public/linphone-desktop.git
synced 2026-01-21 13:48:08 +00:00
If available, use a remote device as ActiveSpeaker to display its informations.
This commit is contained in:
parent
d0461d5ec2
commit
157ee1c4ae
1 changed files with 4 additions and 1 deletions
|
|
@ -165,7 +165,10 @@ QSharedPointer<ParticipantDeviceModel> ParticipantDeviceListModel::getMe(int * i
|
|||
|
||||
ParticipantDeviceModel* ParticipantDeviceListModel::getLastActiveSpeaking() const{
|
||||
if( mActiveSpeakers.size() == 0){
|
||||
return getMe().get();
|
||||
if( mList.size() == 0)
|
||||
return getMe().get();
|
||||
else
|
||||
return mList.back().objectCast<ParticipantDeviceModel>().get();
|
||||
}else
|
||||
return mActiveSpeakers.first();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue