WPF RTP 流式传输
我目前正在编写一个应用程序,该应用程序将从 VLC 客户端接收 RTP 视频流。我希望在 WPF 中实现这一点,因此一直在网上寻找任何解决方案来帮助我。到目前为止,我已经浏览了 Live555 RTP Streaming 并考虑了将 VLC 客户端嵌入到 WPF 应用程序中的可能性。我还查看了 WpfMediaKit,但我无法让它正常工作,这可能是我自己的错。
我只是想知道是否有可能纯粹通过 WPF 通过 RTP 进行视频流传输,还是必须使用外部库。
谢谢,斯图尔特。
I am currently in the process of writing an application that will receive an RTP Video Stream from a VLC Client. I am hoping to implement this in WPF and so have been looking for any solutions online to help me. So far I've skimmed over Live555 RTP Streaming and considering the possibility of embedding a VLC client into the WPF Application. I also looked at WpfMediaKit but I could not get that to work properly, which is probably my own fault.
I am just wondering if it is at all possible to do the video streaming over RTP purely through WPF or will I have to make use of an external library.
Thanks, Stuart.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我在 WPF 环境中使用 ActiveX 控件时遇到的问题是,它被放置在 Windows 窗体主机控件中,这意味着它将始终呈现在其他所有控件之上,不允许我覆盖任何媒体控件。
您应该此处查看 VlcDotNet。它是 VLC dll 的包装器,并且非常易于使用。
The problem I had with the ActiveX control in a WPF environment is that it is placed in a Windows Forms Host control which meant that it will always be rendered on top of everything else, not allowing me to put overlay any media controls.
You should take a look at VlcDotNet here. It is a wrapper for the VLC dll's and is quite easy to use.