AdaptiveMediaSourceAdvancedSettings AdaptiveMediaSourceAdvancedSettings AdaptiveMediaSourceAdvancedSettings AdaptiveMediaSourceAdvancedSettings Class

Definition

Provides advanced settings for an AdaptiveMediaSource.

public : sealed class AdaptiveMediaSourceAdvancedSettings : IAdaptiveMediaSourceAdvancedSettingspublic sealed class AdaptiveMediaSourceAdvancedSettings : IAdaptiveMediaSourceAdvancedSettingsPublic NotInheritable Class AdaptiveMediaSourceAdvancedSettings Implements IAdaptiveMediaSourceAdvancedSettings// You can use this class in JavaScript.
Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10586.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v2)

Remarks

Get an instance of this class by accessing the AdaptiveMediaSource.AdvancedSettings property.

Properties

AllSegmentsIndependent AllSegmentsIndependent AllSegmentsIndependent AllSegmentsIndependent

Gets or sets a value indicating whether media segments are known in advance to be fully independent such that each segment can be decoded and rendered without requiring any information from any other media segment.

public : PlatForm::Boolean AllSegmentsIndependent { get; set; }public bool AllSegmentsIndependent { get; set; }Public ReadWrite Property AllSegmentsIndependent As bool// You can use this property in JavaScript.
Value
PlatForm::Boolean bool bool bool

True if the media segments for the AdaptiveMediaSource are independent; otherwise, false.

BitrateDowngradeTriggerRatio BitrateDowngradeTriggerRatio BitrateDowngradeTriggerRatio BitrateDowngradeTriggerRatio

Gets or sets a value that specifies how low the inbound bits per second may drop before the adaptive media source will switch down to a different encoding bitrate to download.

public : IReference<double> BitrateDowngradeTriggerRatio { get; set; }public Nullable<double> BitrateDowngradeTriggerRatio { get; set; }Public ReadWrite Property BitrateDowngradeTriggerRatio As Nullable<double>// You can use this property in JavaScript.
Value
IReference<double> Nullable<double> Nullable<double> Nullable<double>

A floating point value that is the ratio of actual inbound bitrate to the target bitrate.

Remarks

For example, if the current downloading bitrate for a particular HLS stream variant or DASH representation is 1000bps and the BitrateDowngradeTriggerRatio is 1.0, the adaptive media source will allow the inbound bits per second to drop to 1000bps before attempting to switch to a lower encoding bitrate.

DesiredBitrateHeadroomRatio DesiredBitrateHeadroomRatio DesiredBitrateHeadroomRatio DesiredBitrateHeadroomRatio

Gets or sets a value that specifies the minimum inbound bits per second required before the adaptive media source will switch up to one of the available encoded bitrates to download.

public : IReference<double> DesiredBitrateHeadroomRatio { get; set; }public Nullable<double> DesiredBitrateHeadroomRatio { get; set; }Public ReadWrite Property DesiredBitrateHeadroomRatio As Nullable<double>// You can use this property in JavaScript.
Value
IReference<double> Nullable<double> Nullable<double> Nullable<double>

The minimum inbound bits per second before switching to another available encoded bitrate.

Remarks

For example, if the bitrate for a particular HLS stream variant or DASH representation is 1000bps and the DesiredBitrateHeadroomRatio is 1.2, the adaptive media source will require at least 1200bps inbound bits per second.

Enforcement of this property is relaxed for the lowest bitrate that contains video in order to minimize selection of audio-only bitrates.