hasParticipantsWithVideo property

bool get hasParticipantsWithVideo

Implementation

bool get hasParticipantsWithVideo {
  return livekitRoom.localParticipant?.videoTrackPublications.where((pub) => !pub.muted).isNotEmpty == true ||
      livekitRoom.remoteParticipants.values
          .where((p) => p.videoTrackPublications.where((pub) => !pub.muted).isNotEmpty == true)
          .isNotEmpty;
}