AudioParticipantsGrid

fun AudioParticipantsGrid(modifier: Modifier = Modifier, participants: List<ParticipantState>, style: AudioRendererStyle = RegularAudioRendererStyle(), audioRenderer: @Composable (participant: ParticipantState, style: AudioRendererStyle) -> Unit = { audioParticipant, audioStyle -> ParticipantAudio( participant = audioParticipant, style = audioStyle, ) })

Renders all the participants to construct a audio room, based on the number of people in a call and the call state.

Parameters

modifier

Modifier for styling.

participants

A list of participant to construct the grid.

style

Represents a regular audio call render styles.

audioRenderer

A single audio renderer renders each individual participant.