Hey guys, I am using Silverlight 2.0.3 MediaElement.Source to stream a video file through my custom localhost/loopback server. The loopback server runs fine when I request the file with Windows Media Player, however when I use MediaElement.Source (SilverLight) the Silverlight MediaElement will not play the file even though the data is being sent by the server. The HTTP Requests that I receieve from Silverlight look like this: HTTP GET http://localhost:8080/blah.wmv UA-CPU: x86 Connection: Keep-Alive Accept: */* Accept-Encoding: gzip, deflate Host: localhost:8080 HTTP GET http://localhost:8080/blah.wmv UA-CPU: x86 Connection: Keep-Alive Accept: */* Accept-Encoding: gzip, deflate Host: localhost:8080 Range: bytes=49152-852853760 HTTP GET http://localhost:8080/blah.wmv UA-CPU: x86 Connection: Keep-Alive Accept: */* Accept-Encoding: gzip, deflate Host: localhost:8080 Range: bytes=65536-852853760 This is very problematic because I receieve multiple HTTP Requests from Silverlight, and only one request from Windows Media Player. The byte range values do not make any sense, the header values are not consistent and seemingly random. So in contrast to Windows Media Player's 1 HTTP Request, the Silverlight MediaElement makes 3 requests and doesn't play the file even though my custom Loopback Server is sending the data. Can anyone shed some light on this?
madness ? this.isSparta = true : this.isSparta = false;