RTSP://192.168.0.10:554 / videoservice
由于这是实时视频,我不需要能够控制它(暂停,倒带等),只需播放.这是由MediaElement还是其他标准类支持,我需要像Smooth Streaming Client SDK这样的东西还是比我想象的要复杂得多?
更新:
我下载了微软的Player Framework,但这也没有播放.我在RTSP的例子中找不到任何东西.
更新:
我使用Wireshark来比较VLC Media Player(有效)与MediaElement和Player Framework一起发送的数据包,它们似乎都没有使用RTSP协议.相反,即使我提供了源的IP地址,他们也会将WPAD数据包发送到不同的地址.为什么这有必要?有没有办法扭转这种行为?
MediaElement.SetSource
.看来您只能使用记录的API来执行此操作.以下是链接中的重要信息:
We don’t support RTP but rather the MPEG-4 Part 14 container format.
You will need to write our own source to be able to parse the data a
pass it directly to the Microsoft decoder. At this time we do not have
any samples on how to write a custom source and have it loaded from
your Metro style app. Unfortunately it is not possible to simply use
the documentation to figure out how to do this. I have been talking
with Stan and we are trying to figure out how and when we can make
this information available. As soon as this information is available
I will announce it on my blog 07002.
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。