MediaElement.SetSource Method (Stream)
Sets the Source property using the supplied stream.
Assembly: System.Windows (in System.Windows.dll)
Use this method rather than setting the Source to a URI for cases where you already have the media available as a stream. For instance, you might have preloaded media by calls to WebClient APIs and have them available as streams already. For details on this technique, see Downloading Content on Demand.
Silverlight for Windows PhonePassing a generic stream to SetSource(System.IO.Stream) is not supported in Silverlight for Windows Phone. However, the IsolatedStorageFileStream class, which derives from Stream, is suppoted on Silverlight for Windows Phone.
For additional information on using this method, see Media in Silverlight for Windows Phone.
For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.