如何理解两个在线视频:RTSP和HTTP之间的区别? [英] How to understand the difference between the two online video: RTSP and HTTP?

查看:74
本文介绍了如何理解两个在线视频:RTSP和HTTP之间的区别?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我知道RTSP和HTTP两个在线视频是受android支持的.但是如何理解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!

推荐答案

RTSP代表Real Time Streaming Protocol. RTSP的主要用途之一是接收流视频(例如,视频点播).客户端与媒体服务器建立连接,并从服务器获取数据并显示它.

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是无状态协议. HTTP提供了一种通过Internet下载媒体文件的机制.认为通过HTTP访问媒体就像通过网络访问文件并播放文件一样.

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.

这篇关于如何理解两个在线视频:RTSP和HTTP之间的区别?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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