Interface StreamInfo

Stream configuration info

interface StreamInfo {
    alternates?: StreamAlternate[];
    cluster?: ClusterInfo;
    config: StreamConfig;
    created: string;
    limit: number;
    mirror?: StreamSourceInfo;
    offset: number;
    sources?: StreamSourceInfo[];
    state: StreamState;
    total: number;
    ts?: string;
}

Hierarchy

  • ApiPaged
    • StreamInfo

Properties

alternates?: StreamAlternate[]

Alternates for a stream if applicable. Alternates are listed in order of TTL. With streams at the start of the Array potentially closer and faster to access.

cluster?: ClusterInfo

Cluster information for the stream if applicable

config: StreamConfig

The active configuration for the Stream

created: string

The ISO Timestamp when the stream was created

limit: number

Information about an upstream stream source in a mirror

offset: number
sources?: StreamSourceInfo[]

Sources for the Stream if applicable

Detail about the current State of the Stream

total: number
ts?: string

The ISO timestamp when the StreamInfo was generated. This field is only available on servers 2.10.x or better