带 Qt GUI 的 RTSP 客户端

发布于 2024-09-11 13:09:33 字数 119 浏览 1 评论 0原文

有人有指示吗,如何用 Qt 制作 RTSP 客户端?我已经听说过live555,但我不知道如何将它与Qt联系起来。

还有别的办法吗?

我想用Qt来做,这样它也可以在Linux和其他平台上运行。

does somebody have instructions, how do to make a RTSP client with Qt? I have already heard of live555, but I don't know how to link it with Qt.

Is there another way?

I would like to do it with Qt, so that it also runs under Linux and other platformens.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

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

发布评论

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

评论(1

べ繥欢鉨o。 2024-09-18 13:09:33

要拥有 RTSP 客户端,您需要以一种或另一种方式处理 RTSP 协议。

Live555 是做到这一点的一种方法,它只是一个可以与其他应用程序(包括 Qt)链接的 C++ 库。将Live555 与Qt 链接当然是可能的。

另一种方法是根据 RFC 规范 编写自己的 RTSP 客户端。

最后一个选择是仅使用 Qt 中的 Phonon 框架。 http://doc.trolltech.com/4.6/phonon-overview.html(前提是您的 Phonon 后端支持 RTSP)。这是最简单的方法,因为 Qt 和系统处理媒体的所有后端解码,与 Qt 无缝集成,并且不需要额外的库与您的应用程序链接。

To have a RTSP client, you need to process the RTSP protocol one way or another.

Live555 is one way to do that, it is just a C++ library that can be linked with other applications, including Qt. It is certainly possible to link Live555 with Qt.

Another way would be to write your own RTSP client based off the RFC spec .

The last option would be to just use the Phonon framework in Qt. http://doc.trolltech.com/4.6/phonon-overview.html (provided your Phonon backend will support RTSP). This is the easiest way as Qt and the system handle all the backend decoding of the media, integrates seamlessly with Qt and does not require extra libraries to be linked in with your app.

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