MediaElement.RealTimePlayback 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 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
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.