Bitmovin Player API 8.268.0
    Preparing search index...

    Interface Stream<T>

    interface Stream<T extends StreamDataType> {
        getType(): string;
        read(): Promise<StreamResponse<T>>;
    }

    Type Parameters

    Index
    • The type of data that the stream carries.

      Returns string

      string

    • Provides the next data chunk in the stream and rejects once all data has been read.

      Returns Promise<StreamResponse<T>>