youtube 不使用实时传输协议吗?
我在维基百科中读到了有关实时协议的内容,其中提到了以下内容: “RTP 广泛用于涉及流媒体的通信和娱乐系统”
我对这个协议很好奇,并希望在wireshark 中看到它。我以为 youtube.com 在运行视频时可能使用 RTP,但惊讶地发现在播放视频时仅发送 TCP 数据包。
有人可以告诉另一个实现RTP的免费网站吗,这样我就可以在wireshark中看到它。 (我实际上想通过使用 RTP 在我的服务器应用程序中探索网络优化机会,因为丢失一些数据包是可以的)
I came across reading about real time protocol in Wikipedia, which mentions the following :
"RTP is used extensively in communication and entertainment systems that involve streaming media"
I was curious about this protocol and wanted to see this in wireshark. I thought youtube.com might be using RTP when running videos, but was surprised to see that only TCP packets are being sent when a video is being played.
Can someone please tell another free website which implements RTP, so that I will be able to see it in wireshark. (I am actually wanting to explore network optimization opportunity in my server applications by using RTP, since it is ok to loose a few packets)
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
根据 计算机网络,正如书中指出的,RTP 是 UDP(或 TCP)的有效负载。
这是书中的图片:
根据 WireShark 的 wiki,WireShark 只能检测到 UDP 上的 RTP。 (感谢拉尔夫)
According to Computer Networks, RTP is the payload of UDP (or TCP) as the book indicates.
Here is a picture from the book:
According to WireShark's wiki, only RTP on UDP could be detected by WireShark. (Thanks to Ralf)
Youtube 使用 HTTP AFAIK。另外,请记住,RTP 可以通过 UDP 和 TCP 发送。
RTSP 服务器可用于启动 RTP 媒体会话。我不知道任何公共服务器,但另一个选择是下载 live555 RTSP 服务器。还有一些示例媒体文件。然后您需要做的就是构建媒体服务器应用程序以及 openRTSP 客户端,并使用客户端应用程序连接到流服务器。客户端可以通过 UDP、TCP 等请求 RTP。
或者,您也可以使用 Darwin Streaming Server 作为 RTSP 服务器。
Youtube uses HTTP AFAIK. Also, keep in mind that RTP can be sent over UDP as well as TCP.
An RTSP server can be used to start an RTP media session. I don't know any public servers, but another option would be to download the live555 RTSP server. There are also some example media files. Then all you need to do is build the media server application as well as the openRTSP client and use the client app to connect to the server for the stream. The client can request RTP over UDP, TCP, etc.
Alternatively you could also use Darwin Streaming Server as an RTSP server.