Dela via


AdaptiveMediaSource.DesiredLiveOffset Property

Definition

Gets or sets the desired offset of live playback from the end of the known media content that has been downloaded.

public:
 property TimeSpan DesiredLiveOffset { TimeSpan get(); void set(TimeSpan value); };
TimeSpan DesiredLiveOffset();

void DesiredLiveOffset(TimeSpan value);
public System.TimeSpan DesiredLiveOffset { get; set; }
var timeSpan = adaptiveMediaSource.desiredLiveOffset;
adaptiveMediaSource.desiredLiveOffset = timeSpan;
Public Property DesiredLiveOffset As TimeSpan

Property Value

The desired offset for the live playback of the streaming media. This value must be greater than MinLiveOffset. If the specified value is less than the minimum value, it is automatically clamped to the allowed range.

Applies to

See also