Judy Judy - 3 months ago 22
Android Question

How to understand the difference between the two online video: RTSP and 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!

Answer

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 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.