Share via


MediaElement.RealTimePlayback Property

Definition

Gets or sets a value that configures the MediaElement for real-time communications scenarios.

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

void RealTimePlayback(bool value);
public bool RealTimePlayback { get; set; }
var boolean = mediaElement.realTimePlayback;
mediaElement.realTimePlayback = boolean;
Public Property RealTimePlayback As Boolean
<MediaElement RealTimePlayback="bool" />

Property Value

Boolean

bool

true to configure for real-time communications. false to not configure the MediaElement for real-time communications.

Remarks

Configuring for real-time playback changes the internal update logic to place higher emphasis on video refresh from available samples, and also restricts playback to natural 1x speed. Setting the property requires an internal reconstruction of the backing media engine.

Applies to

See also