Interface VideoCardOptions

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

Properties

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