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

    Interface CardVideoDisplayOptions

    interface CardVideoDisplayOptions {
        remoteProducerId: string;
        eventType: EventType;
        forceFullDisplay: boolean;
        videoStream: MediaStream;
        backgroundColor?: string;
        doMirror?: boolean;
        style?: object;
        renderContent?: (
            options: {
                defaultContent: ReactNode;
                dimensions: { width: number; height: number };
            },
        ) => ReactNode;
        renderContainer?: (
            options: {
                defaultContainer: ReactNode;
                dimensions: { width: number; height: number };
            },
        ) => ReactNode;
    }
    Index

    Properties

    remoteProducerId: string
    eventType: EventType
    forceFullDisplay: boolean
    videoStream: MediaStream
    backgroundColor?: string
    doMirror?: boolean
    style?: object

    Optional custom style to apply to the container.

    renderContent?: (
        options: {
            defaultContent: ReactNode;
            dimensions: { width: number; height: number };
        },
    ) => ReactNode

    Optional function to render custom content, receiving the default content and dimensions.

    renderContainer?: (
        options: {
            defaultContainer: ReactNode;
            dimensions: { width: number; height: number };
        },
    ) => ReactNode

    Optional function to render a custom container, receiving the default container and dimensions.