使用RTSP通过TCP流 [英] Streaming using RTSP over TCP

查看:1414
本文介绍了使用RTSP通过TCP流的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何VLC媒体播放器通过TCP流执行RTSP

How does VLC Media player implement RTSP over TCP Streaming?

我知道,VLC媒体播放器可以被用作一个流服务器,并且也是流客户端。

I am aware that, VLC Media player can be used as a streaming server and also a streaming client.

我的要求是使用TCP(超过RTSP)数据从服务器到客户端流,我不舒服与C / C ++代码。我很舒服与C#。有人能指出我的TCP流的示例实现在C#?

My requirement is to stream using TCP(over RTSP) data from the server to clients and I am not comfortable with C/C++ code. I am comfortable with C#. Can somebody point me to example implementations of TCP Streaming in C# ?

PS-是存在的,它支持实时使用RTSP通过TCP / UDP流的任何其他球员吗?

P.S- is there any other player which supports real time streaming using RTSP over TCP/UDP?

推荐答案

要回答你原来的问题:如何VLC媒体播放器通过TCP流实施RTSP答案很简单,这是非常,非常复杂,实施好RTSP客户端 - 即使是不完整的。除非你有显著的时间和资源来遵守它,你不应该尝试此任务。

To answer your original question: "How does VLC Media player implement RTSP over TCP Streaming?" The simple answer is that it is very, very complex to implement a good RTSP client - even an incomplete one. You should not attempt this task unless you have significant time and resources to commit to it.

不过你可以使用VLC没有C / C的任何知识++。你只需要通过C#互操作的libvlc接口。一个伟大的介绍到这存在于:乔治Heylar的博客。此外,对于更详细的实施优秀的代码示例可以看到 NVLC项目

However you can use VLC without any knowledge of C/C++. You require only to interface with the libvlc via C# interop. A great introduction to this exists at: George Heylar's blog. Also, for excellent code examples of a more detailed implementation you can see the NVLC project.

如果你有决心创建自己的RTSP解决方案,您可以看看已经通过的 JFriedman纯C#。当我试图在今年早些时候它,它仍然有显著的缺点。

If you are determined to create your own RTSP solution you could look at the work that has been done by JFriedman in pure C#. When I tried using it earlier this year it still had significant shortcomings.

务实的现实是,RTSP是不是一个可爱的协议,这是很难的工作。许多服务器实现是非标准所以工作大量做一个客户端,将与所有RTSP流工作

The pragmatic reality is that RTSP is not a lovely protocol and it is hard to work with. Many server implementations are non-standard so there is a great deal of work to make a client that will work with all RTSP streams.

更新:本来我认为VLC的RTSP服务器是由 LIVE555 发展。事实上,看来RTSP客户端本身是由LIVE555开发

UPDATE: Originally I suggested that VLC's RTSP Server was developed by Live555. In fact, it seems the RTSP client itself was developed by Live555.

这篇关于使用RTSP通过TCP流的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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