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 ==.impl StructuralPartialEq for ScteHlsBuilder
Auto Trait Implementations§
impl Freeze for ScteHlsBuilder
impl RefUnwindSafe for ScteHlsBuilder
impl Send for ScteHlsBuilder
impl Sync for ScteHlsBuilder
impl Unpin for ScteHlsBuilder
impl UnwindSafe for ScteHlsBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more