Model Structure
The unique identifier of the stream
The hostname or IP address of the server hosting this stream
The node group this stream belongs to in a cluster environment
Indicates whether this is a global host in the cluster
The port number of the origin server for this stream
Video Properties
Indicates whether video track is enabled for this stream
The height of the video in pixels
The width of the video in pixels
The video bitrate in bits per second
The video rational timebase value used for timestamp calculations
The video codec being used (e.g., VP8, H264, VP9)
Audio Properties
Indicates whether audio track is enabled for this stream
The audio bitrate in bits per second
The audio rational timebase value used for timestamp calculations
Data Channel
Indicates whether WebRTC data channel is enabled for this stream
Use Cases
The StreamInfo model is primarily used for:Cluster Coordination
In cluster deployments, StreamInfo helps edge nodes discover which origin node is handling a specific stream:Stream Capability Detection
Applications can check StreamInfo to determine what media types are available:Adaptive Bitrate Planning
StreamInfo provides the current stream characteristics for ABR ladder planning:Example JSON
Video Codec Values
ThevideoCodec field can contain:
H264- H.264/AVC codecVP8- VP8 codec (WebRTC default)VP9- VP9 codecH265- H.265/HEVC codec (if supported)AV1- AV1 codec (if supported)
Timebase Explanation
ThevideoRTimebase and audioRTimebase fields represent the rational timebase used for timestamp calculations:
- Video Timebase: Typically
90000for most video codecs (90 kHz) - Audio Timebase: Typically equals the audio sample rate (e.g.,
48000for 48 kHz audio)
Related API Endpoints
- Get Stream Info -
GET /v2/streams/{streamId} - List Stream Infos -
GET /v2/streams/list/{offset}/{size}
Difference from Broadcast Model
While the Broadcast model contains comprehensive stream configuration and statistics, StreamInfo focuses specifically on:- Technical media properties (codecs, bitrates, resolutions)
- Cluster routing information (host, node group, origin)
- Real-time capabilities (enabled tracks)
