I know the RTSP and HTTP 开发者_JAVA百科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 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
精彩评论