pub struct StreamInf {
pub bandwidth_bits_per_second: u64,
pub average_bandwidth_bits_per_second: Option<u64>,
pub score: Option<f64>,
pub codecs: Vec<String>,
pub supplemental_codecs: Vec<SupplementalCodec>,
pub resolution: Option<Resolution>,
pub hdcp_level: Option<HdcpLevel>,
pub allowed_cpc: Vec<ContentProtectionConfiguration>,
pub video_range: VideoRange,
pub required_video_layout: Vec<VideoChannelSpecifier>,
pub stable_variant_id: Option<String>,
pub pathway_id: Option<String>,
}Expand description
Metadata for a given stream.
Fields§
§bandwidth_bits_per_second: u64Represents the peak segment bit rate of the Stream.
average_bandwidth_bits_per_second: Option<u64>Represents the average segment bit rate of the Stream.
score: Option<f64>An abstract, relative measure of the playback quality-of-experience of the Variant Stream.
codecs: Vec<String>A list of formats, where each format specifies a media sample type that is present in the Stream.
supplemental_codecs: Vec<SupplementalCodec>Describes media samples with both a backward-compatible base layer and a newer enhancement layer.
resolution: Option<Resolution>Describes the optimal pixel resolution at which to display the video in the Stream.
hdcp_level: Option<HdcpLevel>Indicates that the stream could fail to play unless the output is protected by High-bandwidth Digital Content Protection.
allowed_cpc: Vec<ContentProtectionConfiguration>Indicates that the playback of the stream containing encrypted
MediaSegments is to be restricted to devices that guarantee
a certain level of content protection robustness.
video_range: VideoRange§required_video_layout: Vec<VideoChannelSpecifier>Indicates whether the video content in the Stream requires specialized rendering to be properly displayed.
stable_variant_id: Option<String>Allows the URI of the Stream to change between two distinct
downloads of the MultivariantPlaylist.
pathway_id: Option<String>Indicates that the Variant Stream belongs to the identified Content Steering Pathway.