Interface VideoCardOptions

Interface defining the options for the VideoCard component.

interface VideoCardOptions {
    customStyle?: StyleProp<ViewStyle>;
    name: string;
    barColor?: string;
    textColor?: string;
    imageSource?: string;
    roundedImage?: boolean;
    imageStyle?: StyleProp<ImageStyle>;
    remoteProducerId: string;
    eventType: EventType;
    forceFullDisplay: boolean;
    videoStream: MediaStream;
    showControls?: boolean;
    showInfo?: boolean;
    videoInfoComponent?: ReactNode;
    videoControlsComponent?: ReactNode;
    controlsPosition?:
        | "topLeft"
        | "topRight"
        | "bottomLeft"
        | "bottomRight";
    infoPosition?:
        | "topLeft"
        | "topRight"
        | "bottomLeft"
        | "bottomRight";
    participant: Participant;
    backgroundColor?: string;
    audioDecibels?: AudioDecibels[];
    doMirror?: boolean;
    parameters: VideoCardParameters;
}

Properties

customStyle?: StyleProp<ViewStyle>
name: string
barColor?: string
textColor?: string
imageSource?: string
roundedImage?: boolean
imageStyle?: StyleProp<ImageStyle>
remoteProducerId: string
eventType: EventType
forceFullDisplay: boolean
videoStream: MediaStream
showControls?: boolean
showInfo?: boolean
videoInfoComponent?: ReactNode
videoControlsComponent?: ReactNode
controlsPosition?:
    | "topLeft"
    | "topRight"
    | "bottomLeft"
    | "bottomRight"
infoPosition?:
    | "topLeft"
    | "topRight"
    | "bottomLeft"
    | "bottomRight"
participant: Participant
backgroundColor?: string
audioDecibels?: AudioDecibels[]
doMirror?: boolean