Delen via


MediaPlayer.RealTimePlayback Property

Definition

Gets or sets a value that configures the MediaPlayer for real-time scenarios such as live streaming video.

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

void RealTimePlayback(bool value);
public bool RealTimePlayback { get; set; }
var boolean = mediaPlayer.realTimePlayback;
mediaPlayer.realTimePlayback = boolean;
Public Property RealTimePlayback As Boolean

Property Value

Boolean

bool

True if the MediaPlayer is being used for real-time media; otherwise, false.

Windows requirements

Device family
Windows 10 Anniversary Edition (introduced in 10.0.14393.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v3.0)

Applies to