原以为 Silverlight 会支持 Windows Media Server 所有流特性,就象 Media Player 那样,支持 udp、rtsp、mms、协议播转等等。
但经过一段时间的测试后发现:Silverlight似乎只支持http协议下的 progressive download 。
这确实令人失望,也让人费解,尤其是SDK文档中明确提到:
但经过一段时间的测试后发现:Silverlight似乎只支持http协议下的 progressive download 。
这确实令人失望,也让人费解,尤其是SDK文档中明确提到:
Supported Protocols
The following web protocols are supported.
- http
- https
- mms
Streaming
In addition to progressive downloads, MediaElement supports live and on-demand streaming from a Windows Media Server. If the file URI specifies the mms protocol, the MediaElement attempts to stream the file first. If the file can't be streamed, it downloads the file progressively. If the file URI specifies another protocol, such as http or https, the MediaElement attempts a progressive download first. If that fails, the MediaElement attempts to stream the file.
不知园子里有没有朋友遇到同样的问题。