Interface VideoCardOptions

interface VideoCardOptions {
    customStyle?: CSSProperties;
    name: string;
    barColor?: string;
    textColor?: string;
    imageSource?: string;
    roundedImage?: boolean;
    imageStyle?: CSSProperties;
    remoteProducerId: string;
    eventType: EventType;
    forceFullDisplay: boolean;
    videoStream: null | 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?: CSSProperties
name: string
barColor?: string
textColor?: string
imageSource?: string
roundedImage?: boolean
imageStyle?: CSSProperties
remoteProducerId: string
eventType: EventType
forceFullDisplay: boolean
videoStream: null | 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