pub struct HlsPackage {
pub ad_markers: Option<String>,
pub ad_triggers: Option<Vec<String>>,
pub ads_on_delivery_restrictions: Option<String>,
pub encryption: Option<HlsEncryption>,
pub include_iframe_only_stream: Option<bool>,
pub playlist_type: Option<String>,
pub playlist_window_seconds: Option<i64>,
pub program_date_time_interval_seconds: Option<i64>,
pub segment_duration_seconds: Option<i64>,
pub stream_selection: Option<StreamSelection>,
pub use_audio_rendition_group: Option<bool>,
}Expand description
An HTTP Live Streaming (HLS) packaging configuration.
Fields§
§ad_markers: Option<String>This setting controls how ad markers are included in the packaged OriginEndpoint. "NONE" will omit all SCTE-35 ad markers from the output. "PASSTHROUGH" causes the manifest to contain a copy of the SCTE-35 ad markers (comments) taken directly from the input HTTP Live Streaming (HLS) manifest. "SCTE35_ENHANCED" generates ad markers and blackout tags based on SCTE-35 messages in the input source.
ad_triggers: Option<Vec<String>>§ads_on_delivery_restrictions: Option<String>§encryption: Option<HlsEncryption>§include_iframe_only_stream: Option<bool>When enabled, an I-Frame only stream will be included in the output.
playlist_type: Option<String>The HTTP Live Streaming (HLS) playlist type. When either "EVENT" or "VOD" is specified, a corresponding EXT-X-PLAYLIST-TYPE entry will be included in the media playlist.
playlist_window_seconds: Option<i64>Time window (in seconds) contained in each parent manifest.
program_date_time_interval_seconds: Option<i64>The interval (in seconds) between each EXT-X-PROGRAM-DATE-TIME tag inserted into manifests. Additionally, when an interval is specified ID3Timed Metadata messages will be generated every 5 seconds using the ingest time of the content. If the interval is not specified, or set to 0, then no EXT-X-PROGRAM-DATE-TIME tags will be inserted into manifests and no ID3Timed Metadata messages will be generated. Note that irrespective of this parameter, if any ID3 Timed Metadata is found in HTTP Live Streaming (HLS) input, it will be passed through to HLS output.
segment_duration_seconds: Option<i64>Duration (in seconds) of each fragment. Actual fragments will be rounded to the nearest multiple of the source fragment duration.
stream_selection: Option<StreamSelection>§use_audio_rendition_group: Option<bool>When enabled, audio streams will be placed in rendition groups in the output.
Trait Implementations§
Source§impl Clone for HlsPackage
impl Clone for HlsPackage
Source§fn clone(&self) -> HlsPackage
fn clone(&self) -> HlsPackage
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more