Welcome to MSDN Blogs Sign in | Join | Help

Browse by Tags

All Tags » Silverlight   (RSS)

“MediaElement.SetSource” throws “AE_INVALID_FORMAT_ERROR” when setting “Stream” sources

When reading a stream from a location such as a media resource object, and then calling “MediaElement.SetSource” may return “AE_INVALID_FORMAT_ERROR”. If you construct a “MemoryStream” using your “Stream” object (reading all bytes and writing to a MemoryStream),
Posted by MediaSDKStuff | 1 Comments
 
Page view tracker