Struct rusoto_mediatailor::PlaybackConfiguration
source · [−]pub struct PlaybackConfiguration {Show 18 fields
pub ad_decision_server_url: Option<String>,
pub avail_suppression: Option<AvailSuppression>,
pub bumper: Option<Bumper>,
pub cdn_configuration: Option<CdnConfiguration>,
pub configuration_aliases: Option<HashMap<String, HashMap<String, String>>>,
pub dash_configuration: Option<DashConfiguration>,
pub hls_configuration: Option<HlsConfiguration>,
pub live_pre_roll_configuration: Option<LivePreRollConfiguration>,
pub manifest_processing_rules: Option<ManifestProcessingRules>,
pub name: Option<String>,
pub personalization_threshold_seconds: Option<i64>,
pub playback_configuration_arn: Option<String>,
pub playback_endpoint_prefix: Option<String>,
pub session_initialization_endpoint_prefix: Option<String>,
pub slate_ad_url: Option<String>,
pub tags: Option<HashMap<String, String>>,
pub transcode_profile_name: Option<String>,
pub video_content_source_url: Option<String>,
}
Expand description
Creates a playback configuration. For information about MediaTailor configurations, see Working with configurations in AWS Elemental MediaTailor.
Fields
ad_decision_server_url: Option<String>
The URL for the ad decision server (ADS). This includes the specification of static parameters and placeholders for dynamic parameters. AWS Elemental MediaTailor substitutes player-specific and session-specific parameters as needed when calling the ADS. Alternately, for testing you can provide a static VAST URL. The maximum length is 25,000 characters.
avail_suppression: Option<AvailSuppression>
The configuration for avail suppression, also known as ad suppression. For more information about ad suppression, see Ad Suppression.
bumper: Option<Bumper>
The configuration for bumpers. Bumpers are short audio or video clips that play at the start or before the end of an ad break. To learn more about bumpers, see Bumpers.
cdn_configuration: Option<CdnConfiguration>
The configuration for using a content delivery network (CDN), like Amazon CloudFront, for content and ad segment management.
configuration_aliases: Option<HashMap<String, HashMap<String, String>>>
The player parameters and aliases used as dynamic variables during session initialization. For more information, see Domain Variables.
dash_configuration: Option<DashConfiguration>
The configuration for a DASH source.
hls_configuration: Option<HlsConfiguration>
The configuration for HLS content.
live_pre_roll_configuration: Option<LivePreRollConfiguration>
The configuration for pre-roll ad insertion.
manifest_processing_rules: Option<ManifestProcessingRules>
The configuration for manifest processing rules. Manifest processing rules enable customization of the personalized manifests created by MediaTailor.
name: Option<String>
The identifier for the playback configuration.
personalization_threshold_seconds: Option<i64>
Defines the maximum duration of underfilled ad time (in seconds) allowed in an ad break. If the duration of underfilled ad time exceeds the personalization threshold, then the personalization of the ad break is abandoned and the underlying content is shown. This feature applies to ad replacement in live and VOD streams, rather than ad insertion, because it relies on an underlying content stream. For more information about ad break behavior, including ad replacement and insertion, see Ad Behavior in AWS Elemental MediaTailor.
playback_configuration_arn: Option<String>
The Amazon Resource Name (ARN) for the playback configuration.
playback_endpoint_prefix: Option<String>
The URL that the player accesses to get a manifest from AWS Elemental MediaTailor.
session_initialization_endpoint_prefix: Option<String>
The URL that the player uses to initialize a session that uses client-side reporting.
slate_ad_url: Option<String>
The URL for a video asset to transcode and use to fill in time that's not used by ads. AWS Elemental MediaTailor shows the slate to fill in gaps in media content. Configuring the slate is optional for non-VPAID playback configurations. For VPAID, the slate is required because MediaTailor provides it in the slots designated for dynamic ad content. The slate must be a high-quality asset that contains both audio and video.
The tags to assign to the playback configuration.
transcode_profile_name: Option<String>
The name that is used to associate this playback configuration with a custom transcode profile. This overrides the dynamic transcoding defaults of MediaTailor. Use this only if you have already set up custom profiles with the help of AWS Support.
video_content_source_url: Option<String>
The URL prefix for the parent manifest for the stream, minus the asset ID. The maximum length is 512 characters.
Trait Implementations
sourceimpl Clone for PlaybackConfiguration
impl Clone for PlaybackConfiguration
sourcefn clone(&self) -> PlaybackConfiguration
fn clone(&self) -> PlaybackConfiguration
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 PlaybackConfiguration
impl Debug for PlaybackConfiguration
sourceimpl Default for PlaybackConfiguration
impl Default for PlaybackConfiguration
sourcefn default() -> PlaybackConfiguration
fn default() -> PlaybackConfiguration
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for PlaybackConfiguration
impl<'de> Deserialize<'de> for PlaybackConfiguration
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<PlaybackConfiguration> for PlaybackConfiguration
impl PartialEq<PlaybackConfiguration> for PlaybackConfiguration
sourcefn eq(&self, other: &PlaybackConfiguration) -> bool
fn eq(&self, other: &PlaybackConfiguration) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &PlaybackConfiguration) -> bool
fn ne(&self, other: &PlaybackConfiguration) -> bool
This method tests for !=
.
impl StructuralPartialEq for PlaybackConfiguration
Auto Trait Implementations
impl RefUnwindSafe for PlaybackConfiguration
impl Send for PlaybackConfiguration
impl Sync for PlaybackConfiguration
impl Unpin for PlaybackConfiguration
impl UnwindSafe for PlaybackConfiguration
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