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

    Interface AddVideosGridParameters

    Interface defining the parameters required by the AudioCard component.

    These parameters provide the context and state needed for audio display, participant management, and media controls.

    AudioCardParameters

    interface AddVideosGridParameters {
        audioDecibels: AudioDecibels[];
        participants: Participant[];
        socket: Socket;
        coHostResponsibility: CoHostResponsibility[];
        roomName: string;
        showAlert?: ShowAlert;
        coHost: string;
        member: string;
        eventType: EventType;
        updateAddAltGrid: (addAltGrid: boolean) => void;
        ref_participants: Participant[];
        islevel: string;
        videoAlreadyOn: boolean;
        localStreamVideo: MediaStream;
        keepBackground: boolean;
        virtualStream: MediaStream;
        forceFullDisplay: boolean;
        otherGridStreams: Element[][];
        updateOtherGridStreams: (otherGridStreams: Element[][]) => void;
        customVideoCard?: CustomVideoCardType;
        customAudioCard?: CustomAudioCardType;
        customMiniCard?: CustomMiniCardType;
        videoCardComponent?: ComponentType<VideoCardOptions>;
        audioCardComponent?: ComponentType<AudioCardOptions>;
        miniCardComponent?: ComponentType<MiniCardOptions>;
        updateMiniCardsGrid: UpdateMiniCardsGridType;
        getUpdatedAllParams: () => AddVideosGridParameters;
        updateGridRows: (rows: number) => void;
        updateGridCols: (cols: number) => void;
        updateAltGridRows: (rows: number) => void;
        updateAltGridCols: (cols: number) => void;
        updateGridSizes: (gridSizes: GridSizes) => void;
        gridSizes: GridSizes;
        paginationDirection: string;
        paginationHeightWidth: number;
        doPaginate: boolean;
        componentSizes: ComponentSizes;
        [key: string]: any;
    }

    Hierarchy (View Summary)

    Indexable

    • [key: string]: any
    Index

    Properties

    audioDecibels: AudioDecibels[]

    Array of audio level data for all participants (used for waveform visualization)

    participants: Participant[]

    Array of all participants in the session

    socket: Socket

    Socket.io client instance for real-time communication

    coHostResponsibility: CoHostResponsibility[]

    Array of responsibilities assigned to co-hosts

    roomName: string

    Name/ID of the current room session

    showAlert?: ShowAlert

    Optional function to display alerts/notifications

    coHost: string

    User ID of the co-host

    member: string

    Current user's member ID

    eventType: EventType

    Type of event ('conference', 'webinar', 'broadcast', etc.)

    updateAddAltGrid: (addAltGrid: boolean) => void
    ref_participants: Participant[]
    islevel: string

    Current user's level/role (e.g., '0', '1', '2')

    videoAlreadyOn: boolean
    localStreamVideo: MediaStream
    keepBackground: boolean
    virtualStream: MediaStream
    forceFullDisplay: boolean
    otherGridStreams: Element[][]
    updateOtherGridStreams: (otherGridStreams: Element[][]) => void
    customVideoCard?: CustomVideoCardType
    customAudioCard?: CustomAudioCardType
    customMiniCard?: CustomMiniCardType
    videoCardComponent?: ComponentType<VideoCardOptions>
    audioCardComponent?: ComponentType<AudioCardOptions>
    miniCardComponent?: ComponentType<MiniCardOptions>
    updateMiniCardsGrid: UpdateMiniCardsGridType
    getUpdatedAllParams: () => AddVideosGridParameters

    Function to retrieve latest parameter state

    updateGridRows: (rows: number) => void
    updateGridCols: (cols: number) => void
    updateAltGridRows: (rows: number) => void
    updateAltGridCols: (cols: number) => void
    updateGridSizes: (gridSizes: GridSizes) => void
    gridSizes: GridSizes
    paginationDirection: string
    paginationHeightWidth: number
    doPaginate: boolean
    componentSizes: ComponentSizes