Fixed crash

This commit is contained in:
Sylvain Berfini 2024-02-21 16:44:36 +01:00
parent af1ee922ad
commit 146b9d0cdf

View file

@ -362,7 +362,7 @@ class ConferenceModel {
)
}
if (!activeSpeakerParticipantDeviceFound) {
if (!activeSpeakerParticipantDeviceFound && devicesList.isNotEmpty()) {
val first = devicesList.first()
Log.w(
"$TAG Failed to find current active speaker participant device, using first one [${first.name}]"