rememberParticipants

fun rememberParticipants(passedRoom: Room? = null): State<List<Participant>>

Remembers the full list of participants, with the local participant included as the first item in the list.

Updates automatically whenever the participant list changes.