媒体元素和 RTSP [英] MediaElement and RTSP

查看:44
本文介绍了媒体元素和 RTSP的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

MediaElement 是否支持 RTSP?

Does MediaElement support RTSP?

我有一个流,我可以通过 VLC 播放器使用流:

I've got a stream going and I'm able to consume the stream with VLC Player via:

rtsp://192.168.1.17:554/stream

rtsp://192.168.1.17:554/stream

但是,在尝试使用 Windows Media Player 时,我无法进行流式传输.这就引出了一个问题,MediaElement 是否支持 RTSP?

However, when trying to use Windows Media Player, I'm not able to stream it. Which begs the question, does MediaElement support RTSP?

我正在 .NET 4.0 上使用 WPF.

I'm working with WPF on .NET 4.0.

推荐答案

VLC 全面支持 RTSP(通过 live555 库),而 Windows Media Player 的支持有限.

VLC has comprehensive support for RTSP (through live555 library), while support in Windows Media Player is limited.

您可能想在 MSDN 上查看这篇文章:支持的媒体格式、协议和日志字段.

You might want to check this article on MSDN: Supported Media Formats, Protocols, and Log Fields.

支持的编解码器

以下是支持的格式编解码器的汇总列表媒体元素.无论文件如何,都支持这些编码扩展名.

Below is a rollup list of formats codecs supported by the MediaElement. These encodings are supported regardless of the file name extension.

另见:MediaElement 和自定义RTSP 流.

这篇关于媒体元素和 RTSP的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆