Properties for the CardVideoDisplay component.
OptionaldeprecatedLegacyContext: anyThe CardVideoDisplay component.
OptionalpropUsed to declare the types of the props accepted by the component. These types will be checked during rendering and in development only.
We recommend using TypeScript instead of checking prop types at runtime.
OptionalcontextOptionaldefaultUsed to define default values for the props accepted by the component.
OptionaldisplayUsed in debugging messages. You might want to set it explicitly if you want to display a different name for debugging purposes.
CardVideoDisplay displays a video stream within a card layout, with support for customizable styling and mirroring.
This component uses
RTCViewto render a video stream with options to mirror the video, set full display, and apply platform-specific styles.Component
Example