MediaStreamSource.IsLive Property

Definition

Gets or sets a value indicating whether the media content being processed is live.

public:
 property bool IsLive { bool get(); void set(bool value); };
bool IsLive();

void IsLive(bool value);
public bool IsLive { get; set; }
var boolean = mediaStreamSource.isLive;
mediaStreamSource.isLive = boolean;
Public Property IsLive As Boolean

Property Value

Boolean

bool

True if the media content is live; otherwise false.

Windows requirements

Device family
Windows 10 Fall Creators Update (introduced in 10.0.16299.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v5.0)

Remarks

Setting this value to true notifies the media pipeline that the content is live, which allows the system to enable some optimizations that are only valid for live sources, such as turning off some quality management that isn't applicable to live sources and modifying the way that timestamps are handled.

Applies to