Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Expand Minimize

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)

'Declaration
Public Property MaximumLatency As TimeSpan
'Usage
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.

ExceptionCondition
InvalidOperationException

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.

Silverlight

Supported in: 4

Show:
© 2015 Microsoft