Source Property

Gets or sets a media stream source that is not a Smooth Streaming source.

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

function get Source () : Uri
function set Source (value : Uri)

Property Value

Type: System..::..Uri
The URI of the stream that is not a Smooth Streaming source.


Do not set Source to a URI that contains a query, such as http://domain/MultiAudio.ism/Manifest?foo=axjrjrn1.

If a query is set and the config.xml file includes ResponseCacheEnabled="true" instead of ResponseCacheEnabled="false", the entire URI (including the query) could be persisted in ResponseCache.

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.


Supported in: 4

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.0