SmoothStreamingMediaElement.FlushBuffers Method

Flushes audio and video buffers, retaining a specified amount of content if possible.

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


public void FlushBuffers(
	TimeSpan bufferToKeep,
	bool flushAudio,
	bool flushVideo
)

Parameters

bufferToKeep
Type: System.TimeSpan
An object that specifies how much of a buffer to retain.
flushAudio
Type: System.Boolean
true to flush the audio buffer; otherwise, false.
flushVideo
Type: System.Boolean
true to flush the video buffer; otherwise, false.

Silverlight

Supported in: 5

Windows Phone

Supported in: Windows Phone OS 7.1, Windows Phone OS 7.0
Show: