MediaStreamSource.IsLive Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
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.