如何理解RTSP和HTTP这两种在线视频的区别?
我知道android支持RTSP和HTTP两种在线视频。但如何理解RTSP和HTTP之间的区别。我想知道使用RTSP或HTTP播放在线视频时如何工作,以及它们之间有什么区别。谢谢!
I know the RTSP and HTTP two online video is support by android. But how to understand the difference between RTSP and HTTP. I want to know how to work when play the online video with RTSP or HTTP, and what is the difference between them.Thank you!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
RTSP 代表
实时流协议
。 RTSP 的主要用途之一是接收流视频(例如视频点播)。客户端与媒体服务器建立连接,从服务器获取数据并显示。另一方面,HTTP 是一种无状态协议。 HTTP 提供了一种通过 Internet 下载媒体文件的机制。将通过 HTTP 访问媒体视为通过网络访问文件并播放它并没有错。
RTSP stands for
Real Time Streaming Protocol
. One of the main uses for RTSP is to receive streaming video (e.g video on demand). A client establishes a connection with a media server and obtains data from the server and displays it.HTTP, on the other hand, is a stateless protocol. HTTP provides a mechanism to download a media file over the internet. It would not be wrong to think of accessing media over HTTP as accessing a file over a network and playing it.
我找到了这个资源:流媒体与流媒体渐进式下载:了解差异
I found this resource: Streaming vs. progressive download: Understanding the difference