silverlight mediaelement RTSP

发布于 2024-07-11 12:05:36 字数 193 浏览 8 评论 0原文

据我所知,即使在版本 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

不打扰别人 2024-07-18 12:05:36

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.

拥有 2024-07-18 12:05:36

不,据我所知,没有任何 RSTP 支持的计划。

No, there are not any plans for RSTP support, AFAIK.

椵侞 2024-07-18 12:05:36

如前所述,没有本机支持,但通过 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/

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文