THEOplayer Web SDK
    Preparing search index...

    Interface Millicast

    Dispatches events that are fired.

    interface Millicast {
        addEventListener<TType extends "stats">(
            type: TType | readonly TType[],
            listener: EventListener<MillicastEventMap[TType]>,
        ): void;
        diagnose(config: Record<string, any>): Record<string, any>;
        removeEventListener<TType extends "stats">(
            type: TType | readonly TType[],
            listener: EventListener<MillicastEventMap[TType]>,
        ): void;
    }

    Hierarchy (View Summary)

    Index

    Methods

    • Returns diagnostics information about the Millicast connection and environment, formatted according to the specified parameters. See the Millicast SDK API reference for details on the configuration paramater and diagnostic info return type.

      Parameters

      Returns Record<string, any>