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 function FlushBuffers(
	bufferToKeep : TimeSpan, 
	flushAudio : boolean, 
	flushVideo : boolean
)

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: 4

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.0

Show: