Struct aws_sdk_mediatailor::model::PlaybackConfiguration
source · #[non_exhaustive]pub struct PlaybackConfiguration { /* private fields */ }Expand description
A playback configuration. For information about MediaTailor configurations, see Working with configurations in AWS Elemental MediaTailor.
Implementations§
source§impl PlaybackConfiguration
impl PlaybackConfiguration
sourcepub fn ad_decision_server_url(&self) -> Option<&str>
pub fn ad_decision_server_url(&self) -> Option<&str>
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.
sourcepub fn avail_suppression(&self) -> Option<&AvailSuppression>
pub fn avail_suppression(&self) -> Option<&AvailSuppression>
The configuration for avail suppression, also known as ad suppression. For more information about ad suppression, see Ad Suppression.
sourcepub fn bumper(&self) -> Option<&Bumper>
pub fn bumper(&self) -> 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.
sourcepub fn cdn_configuration(&self) -> Option<&CdnConfiguration>
pub fn cdn_configuration(&self) -> Option<&CdnConfiguration>
The configuration for using a content delivery network (CDN), like Amazon CloudFront, for content and ad segment management.
sourcepub fn configuration_aliases(
&self
) -> Option<&HashMap<String, HashMap<String, String>>>
pub fn configuration_aliases(
&self
) -> Option<&HashMap<String, HashMap<String, String>>>
The player parameters and aliases used as dynamic variables during session initialization. For more information, see Domain Variables.
sourcepub fn dash_configuration(&self) -> Option<&DashConfiguration>
pub fn dash_configuration(&self) -> Option<&DashConfiguration>
The configuration for a DASH source.
sourcepub fn hls_configuration(&self) -> Option<&HlsConfiguration>
pub fn hls_configuration(&self) -> Option<&HlsConfiguration>
The configuration for HLS content.
sourcepub fn live_pre_roll_configuration(&self) -> Option<&LivePreRollConfiguration>
pub fn live_pre_roll_configuration(&self) -> Option<&LivePreRollConfiguration>
The configuration for pre-roll ad insertion.
sourcepub fn log_configuration(&self) -> Option<&LogConfiguration>
pub fn log_configuration(&self) -> Option<&LogConfiguration>
The Amazon CloudWatch log settings for a playback configuration.
sourcepub fn manifest_processing_rules(&self) -> Option<&ManifestProcessingRules>
pub fn manifest_processing_rules(&self) -> Option<&ManifestProcessingRules>
The configuration for manifest processing rules. Manifest processing rules enable customization of the personalized manifests created by MediaTailor.
sourcepub fn personalization_threshold_seconds(&self) -> i32
pub fn personalization_threshold_seconds(&self) -> i32
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.
sourcepub fn playback_configuration_arn(&self) -> Option<&str>
pub fn playback_configuration_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) for the playback configuration.
sourcepub fn playback_endpoint_prefix(&self) -> Option<&str>
pub fn playback_endpoint_prefix(&self) -> Option<&str>
The URL that the player accesses to get a manifest from AWS Elemental MediaTailor.
sourcepub fn session_initialization_endpoint_prefix(&self) -> Option<&str>
pub fn session_initialization_endpoint_prefix(&self) -> Option<&str>
The URL that the player uses to initialize a session that uses client-side reporting.
sourcepub fn slate_ad_url(&self) -> Option<&str>
pub fn slate_ad_url(&self) -> Option<&str>
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. Tags are key-value pairs that you can associate with Amazon resources to help with organization, access control, and cost tracking. For more information, see Tagging AWS Elemental MediaTailor Resources.
sourcepub fn transcode_profile_name(&self) -> Option<&str>
pub fn transcode_profile_name(&self) -> Option<&str>
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.
sourcepub fn video_content_source_url(&self) -> Option<&str>
pub fn video_content_source_url(&self) -> Option<&str>
The URL prefix for the parent manifest for the stream, minus the asset ID. The maximum length is 512 characters.
source§impl PlaybackConfiguration
impl PlaybackConfiguration
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture PlaybackConfiguration.
Trait Implementations§
source§impl Clone for PlaybackConfiguration
impl Clone for PlaybackConfiguration
source§fn clone(&self) -> PlaybackConfiguration
fn clone(&self) -> PlaybackConfiguration
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for PlaybackConfiguration
impl Debug for PlaybackConfiguration
source§impl PartialEq<PlaybackConfiguration> for PlaybackConfiguration
impl PartialEq<PlaybackConfiguration> for PlaybackConfiguration
source§fn eq(&self, other: &PlaybackConfiguration) -> bool
fn eq(&self, other: &PlaybackConfiguration) -> bool
self and other values to be equal, and is used
by ==.