ParticipantAudio

fun ParticipantAudio(participant: ParticipantState, modifier: Modifier = Modifier, style: AudioRendererStyle = RegularAudioRendererStyle(), microphoneIndicatorContent: @Composable BoxScope.(ParticipantState) -> Unit = { DefaultMicrophoneIndicator(style.microphoneLabelPosition) }, roleBadgeContent: @Composable RowScope.(ParticipantState) -> Unit = {})

Renders a single participant with a given call, which displays an avatar of the participant. Also displays participant information with a label and connection quality indicator.

Parameters

participant

Participant to render.

modifier

Modifier for styling.

style

Defined properties for styling a single video call track.

microphoneIndicatorContent

Content is shown that displays participant's microphone states.

roleBadgeContent

Content is shown that displays in front of the role label.