Skip to main content

Function: VideoRendererView()

VideoRendererView(props): ReactNode

Render video track received from usePeers hook

Example usage:

 <VideoRendererView
trackId={peer.track.id}
videoLayout="FIT"
style={styles.videoContent}
/>

Parameters

ParameterTypeDescription
propsVideoRendererProps & RefAttributes<ComponentType<VideoRendererProps>>

Returns

ReactNode

Defined in

packages/react-native-client/src/components/VideoRendererView.tsx:45