Struct rusoto_mediapackage::HlsPackage
source · [−]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. "DATERANGE" inserts EXT-X-DATERANGE tags to signal ad and program transition events in HLS and CMAF manifests. For this option, you must set a programDateTimeIntervalSeconds value that is greater than 0.
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
sourceimpl Clone for HlsPackage
impl Clone for HlsPackage
sourcefn clone(&self) -> HlsPackage
fn clone(&self) -> HlsPackage
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for HlsPackage
impl Debug for HlsPackage
sourceimpl Default for HlsPackage
impl Default for HlsPackage
sourcefn default() -> HlsPackage
fn default() -> HlsPackage
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for HlsPackage
impl<'de> Deserialize<'de> for HlsPackage
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl PartialEq<HlsPackage> for HlsPackage
impl PartialEq<HlsPackage> for HlsPackage
sourcefn eq(&self, other: &HlsPackage) -> bool
fn eq(&self, other: &HlsPackage) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &HlsPackage) -> bool
fn ne(&self, other: &HlsPackage) -> bool
This method tests for !=
.
sourceimpl Serialize for HlsPackage
impl Serialize for HlsPackage
impl StructuralPartialEq for HlsPackage
Auto Trait Implementations
impl RefUnwindSafe for HlsPackage
impl Send for HlsPackage
impl Sync for HlsPackage
impl Unpin for HlsPackage
impl UnwindSafe for HlsPackage
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more