Skip to content
This repository has been archived by the owner on Aug 30, 2024. It is now read-only.

Latest commit

 

History

History
25 lines (19 loc) · 1.38 KB

File metadata and controls

25 lines (19 loc) · 1.38 KB

VideoTile

The VideoTile component is responsible for displaying video stream of each conference participant.

Props

Name Type Default Description
participant Participant - The participant object.
width ? number - The width of each video tile.
height ? number - The height of each video tile.
noVideoFallback ? () => ReactNode - The function that overwrites the default way of displaying streams.
isMirrored ? boolean false If true, video view is mirrored.
testID ? string - The unique E2E test handler.
...HTMLDivElement? Partial(HTMLDivElement) - Props that will be passed to the root of the div element.

Examples

React

return (
  <VideoTile participant={...} width={200} height={300} />
);