msRealTime property

Specifies whether or not to enable low-latency playback on the media element.

This property is read/write.

Internet Explorer 10

 

Syntax

JavaScript
object.msRealTime = ptr
ptr = object.msRealTime

 

Property values

Type: boolean

Remarks

When set to true, low-latency playback will be enabled on the media element. Low-latency playback is useful in communication and some gaming scenarios, but is more demanding on power consumption and less reliable for smooth media playback.

You must set the msRealTime before setting the src property in code.

msRealTime should not be used in non-real-time or non-communication scenarios, such as audio and/or video playback, as this can affects playback startup latency of audio and video playback.

See also

HTMLMediaElement

Real-Time Communication Sample

How to enable low-latency playback

How to select an audio output device