MaximumLatency Property

IIS 7.0

Gets or sets the upper limit of latency correction threshold

Namespace:  Microsoft.Web.Media.SmoothStreaming
Assembly:  Microsoft.Web.Media.SmoothStreaming (in Microsoft.Web.Media.SmoothStreaming.dll)

Public Property MaximumLatency As TimeSpan
Dim instance As SmoothStreamingMediaElement
Dim value As TimeSpan

value = instance.MaximumLatency

instance.MaximumLatency = value

Property Value

Type: System..::..TimeSpan
The maximum time interval beyond which frames are dropped and the media element surface is blank.


The property is set to zero or set to a value smaller than the LatencyCorrectionThreshold value.

The value has effect only when the LatencyCorrectionThreshold property has been set. The default value of -1 indicates that there is no upper limit to the latency threshold. Changes that are made to this value after the SmoothStreamingSource property has been set are disregarded.


Supported in: 4