silverlight mediaelement RTSP
据我所知,即使在版本 2 中,silverlight 也仅支持通过 http 进行流式传输,据我了解,mms 已转换为 http,因此您无法流式传输 RSTP(我已尝试对此进行测试并获得网络错误,除非我流式传输 http)。
有谁知道 Silverlight 是否支持 RSTP 或者是否支持以及如何支持?
谢谢
P
As far as I can see silverlight only supports streaming over http even in version 2, as I understand it mms is converted to http and therefore you cannot stream RSTP (I have tried to test this and get network errors unless I stream http).
Does anyone know if RSTP is going to be supported in Silverlight or if it is and how?
Thanks
P
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
Silverlight 3 通过使用 MediaStreamSource 支持通过 RTSP 进行流式传输。 您不使用 .Source 连接 MediaElement,而是使用 .SetSource 并将其指向 MediaStreamSource 实现。
MediaStreamSource 用于允许 Silverlight 处理当前不支持的格式,例如 MP3、MP4 等。
由于没有大量文档或示例,因此请做好通常的挣扎和大量互联网搜索的准备。
Silverlight 3 supports streaming over RTSP through the use of the MediaStreamSource. Instead of connecting your MediaElement via .Source you use .SetSource and point it at your MediaStreamSource implementation.
The MediaStreamSource is used to allow Silverlight to work with currently unsupported formats such as MP3, MP4, etc.
Be prepared for the usual floundering and lots of internet searching as there isn't a lot of documentation or samples.
不,据我所知,没有任何 RSTP 支持的计划。
No, there are not any plans for RSTP support, AFAIK.
如前所述,没有本机支持,但通过 MediaStreamSource API,您可以执行与协议和编解码器相关的任何操作。 这些人在 SL 中实现了 RTSP。 我在这方面取得了一些成功,但我并没有积极使用它。 http://www.streamcoders.com/
As stated there is no native support, but through the MediaStreamSource API you can do just about anything related to protocol and codec. These guys have an implementation of RTSP in SL. I had some success with it, but am not actively using it. http://www.streamcoders.com/