SmoothStreamingMediaElement.SetSource Method

Sets the source of the SmoothStreamingMediaElement object.

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


public void SetSource(
	Stream stream
)

Parameters

stream
Type: System.IO.Stream
The source object.

When you call SetSource(Stream) or assign the SmoothStreamingSource or Source properties, Source is reset to SmoothStreamingSource. However, SmoothStreamingSource is not cleared when reset to a progressive-downloading source.

Silverlight

Supported in: 5

Windows Phone

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