Struct aws_sdk_mediapackagev2::types::builders::ScteHlsBuilder
source · #[non_exhaustive]pub struct ScteHlsBuilder { /* private fields */ }
Expand description
A builder for ScteHls
.
Implementations§
source§impl ScteHlsBuilder
impl ScteHlsBuilder
sourcepub fn ad_marker_hls(self, input: AdMarkerHls) -> Self
pub fn ad_marker_hls(self, input: AdMarkerHls) -> Self
Ad markers indicate when ads should be inserted during playback. If you include ad markers in the content stream in your upstream encoders, then you need to inform MediaPackage what to do with the ad markers in the output. Choose what you want MediaPackage to do with the ad markers.
Value description:
-
DATERANGE - Insert EXT-X-DATERANGE tags to signal ad and program transition events in TS and CMAF manifests. If you use DATERANGE, you must set a programDateTimeIntervalSeconds value of 1 or higher. To learn more about DATERANGE, see SCTE-35 Ad Marker EXT-X-DATERANGE.
sourcepub fn set_ad_marker_hls(self, input: Option<AdMarkerHls>) -> Self
pub fn set_ad_marker_hls(self, input: Option<AdMarkerHls>) -> Self
Ad markers indicate when ads should be inserted during playback. If you include ad markers in the content stream in your upstream encoders, then you need to inform MediaPackage what to do with the ad markers in the output. Choose what you want MediaPackage to do with the ad markers.
Value description:
-
DATERANGE - Insert EXT-X-DATERANGE tags to signal ad and program transition events in TS and CMAF manifests. If you use DATERANGE, you must set a programDateTimeIntervalSeconds value of 1 or higher. To learn more about DATERANGE, see SCTE-35 Ad Marker EXT-X-DATERANGE.
sourcepub fn get_ad_marker_hls(&self) -> &Option<AdMarkerHls>
pub fn get_ad_marker_hls(&self) -> &Option<AdMarkerHls>
Ad markers indicate when ads should be inserted during playback. If you include ad markers in the content stream in your upstream encoders, then you need to inform MediaPackage what to do with the ad markers in the output. Choose what you want MediaPackage to do with the ad markers.
Value description:
-
DATERANGE - Insert EXT-X-DATERANGE tags to signal ad and program transition events in TS and CMAF manifests. If you use DATERANGE, you must set a programDateTimeIntervalSeconds value of 1 or higher. To learn more about DATERANGE, see SCTE-35 Ad Marker EXT-X-DATERANGE.
Trait Implementations§
source§impl Clone for ScteHlsBuilder
impl Clone for ScteHlsBuilder
source§fn clone(&self) -> ScteHlsBuilder
fn clone(&self) -> ScteHlsBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ScteHlsBuilder
impl Debug for ScteHlsBuilder
source§impl Default for ScteHlsBuilder
impl Default for ScteHlsBuilder
source§fn default() -> ScteHlsBuilder
fn default() -> ScteHlsBuilder
source§impl PartialEq for ScteHlsBuilder
impl PartialEq for ScteHlsBuilder
source§fn eq(&self, other: &ScteHlsBuilder) -> bool
fn eq(&self, other: &ScteHlsBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.