MediaSFU React Native (Expo)
    Preparing search index...

    Variable CardVideoDisplayConst

    CardVideoDisplay: React.FC<CardVideoDisplayOptions> = ...

    CardVideoDisplay displays a video stream within a card layout, with support for customizable styling and mirroring.

    This component uses RTCView to render a video stream with options to mirror the video, set full display, and apply platform-specific styles.

    Properties for the CardVideoDisplay component.

    The ID of the remote producer for identification.

    The type of event, e.g., meeting or webinar.

    Whether to force the video to fill the container.

    The video stream to display.

    Optional background color for the video container.

    Option to mirror the video.

    The CardVideoDisplay component.

    import React from 'react';
    import { CardVideoDisplay } from 'mediasfu-reactnative-expo';
    import { MediaStream } from 'mediasfu-reactnative-expo/dist/types/src/@types/types';

    function App() {
    const videoStream: MediaStream = getVideoStream(); // Assume a MediaStream object is available

    return (
    <CardVideoDisplay
    remoteProducerId="producer123"
    eventType="meeting"
    forceFullDisplay={true}
    videoStream={videoStream}
    backgroundColor="black"
    doMirror={true}
    />
    );
    }

    export default App;