Video Card
class VideoCard(options: VideoCardOptions) : BaseMediaSfuUIComponent, MediaDisplayComponent, InteractiveComponent, AnimatedComponent, StylableComponent
VideoCard - A UI component for displaying video streams with participant information and controls.
This component provides a comprehensive video display with:
Video stream rendering
Participant name and status
Audio waveform visualization
Control buttons (mute/unmute, video on/off)
Customizable styling and positioning
Properties
Functions
Link copied to clipboard
Apply a style to this component.
Link copied to clipboard
Clear the media content.
Link copied to clipboard
Get the current participant information.
Link copied to clipboard
Handle a user interaction event.
Link copied to clipboard
Start an animation.
Link copied to clipboard
Stop the current animation.
Link copied to clipboard
Toggle the audio mute state.
Link copied to clipboard
Toggle the video state.
Link copied to clipboard
Update the audio level for waveform visualization.
Link copied to clipboard
Update the media content being displayed.
Link copied to clipboard
Update participant information.