-
public final class ParticipantVideoKt
-
-
Method Summary
Modifier and Type Method Description final static UnitParticipantVideo(Call call, ParticipantState participant, Modifier modifier, VideoRendererStyle style, Function2<BoxScope, ParticipantState, Unit> labelContent, Function2<BoxScope, NetworkQuality, Unit> connectionIndicatorContent, VideoScalingType scalingType, Function1<Call, Unit> videoFallbackContent, Function2<BoxScope, ParticipantState, Unit> reactionContent, MirrorMode mirrorMode, Function4<BoxScope, List<ParticipantAction>, Call, ParticipantState, Unit> actionsContent)Renders a single participant with a given call, which contains all the call states. final static UnitParticipantVideo(Call call, ParticipantState participant, Modifier modifier, VideoRendererStyle style, Function2<BoxScope, ParticipantState, Unit> labelContent, Function2<BoxScope, NetworkQuality, Unit> connectionIndicatorContent, VideoScalingType scalingType, Function1<Call, Unit> videoFallbackContent, Function2<BoxScope, ParticipantState, Unit> reactionContent, Function4<BoxScope, List<ParticipantAction>, Call, ParticipantState, Unit> actionsContent)final static UnitParticipantVideoRenderer(Call call, ParticipantState participant, VideoScalingType scalingType, MirrorMode mirrorMode, Function1<Call, Unit> videoFallbackContent)Renders a single participant with a given call, which contains all the call states. final static UnitParticipantLabel(BoxScope $self, Call call, ParticipantState participant, Alignment labelPosition, Function1<RowScope, Unit> soundIndicatorContent)final static UnitParticipantLabel(BoxScope $self, String nameLabel, Boolean isPinned, Alignment labelPosition, Boolean hasAudio, Boolean isSpeaking, Boolean isPaused, Float audioLevel, Function1<RowScope, Unit> soundIndicatorContent)-
-
Method Detail
-
ParticipantVideo
@Composable() final static Unit ParticipantVideo(Call call, ParticipantState participant, Modifier modifier, VideoRendererStyle style, Function2<BoxScope, ParticipantState, Unit> labelContent, Function2<BoxScope, NetworkQuality, Unit> connectionIndicatorContent, VideoScalingType scalingType, Function1<Call, Unit> videoFallbackContent, Function2<BoxScope, ParticipantState, Unit> reactionContent, MirrorMode mirrorMode, Function4<BoxScope, List<ParticipantAction>, Call, ParticipantState, Unit> actionsContent)
Renders a single participant with a given call, which contains all the call states. Also displays participant information with a label and connection quality indicator.
- Parameters:
call- The call that contains all the participants state and tracks.participant- Participant to render.modifier- Modifier for styling.style- Defined properties for styling a single video call track.labelContent- Content is shown that displays participant's name and device states.connectionIndicatorContent- Content is shown that indicates the connection quality.videoFallbackContent- Content is shown the video track is failed to load or not available.reactionContent- Content is shown for the reaction.mirrorMode- Controls horizontal mirroring of the video stream.actionsContent- Content to show action picker with call actions related to the selected participant.
-
ParticipantVideo
@Deprecated(message = Use ParticipantVideo which accepts mirrorMode instead., replaceWith = @ReplaceWith(imports = {}, expression = ParticipantVideo(call, participant, modifier, style, labelContent, connectionIndicatorContent, scalingType, videoFallbackContent, reactionContent, actionsContent, mirrorMode)))@Composable() final static Unit ParticipantVideo(Call call, ParticipantState participant, Modifier modifier, VideoRendererStyle style, Function2<BoxScope, ParticipantState, Unit> labelContent, Function2<BoxScope, NetworkQuality, Unit> connectionIndicatorContent, VideoScalingType scalingType, Function1<Call, Unit> videoFallbackContent, Function2<BoxScope, ParticipantState, Unit> reactionContent, Function4<BoxScope, List<ParticipantAction>, Call, ParticipantState, Unit> actionsContent)
-
ParticipantVideoRenderer
@Composable() final static Unit ParticipantVideoRenderer(Call call, ParticipantState participant, VideoScalingType scalingType, MirrorMode mirrorMode, Function1<Call, Unit> videoFallbackContent)
Renders a single participant with a given call, which contains all the call states. Also displays participant information with a label and connection quality indicator.
- Parameters:
call- The call that contains all the participants state and tracks.participant- Participant to render.scalingType- The scaling type for the video renderer.mirrorMode- Controls horizontal mirroring of the video stream.videoFallbackContent- Content is shown the video track is failed to load or not available.
-
ParticipantLabel
@Composable() final static Unit ParticipantLabel(BoxScope $self, Call call, ParticipantState participant, Alignment labelPosition, Function1<RowScope, Unit> soundIndicatorContent)
-
-
-
-