Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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!

like image 603
Judy Avatar asked Jul 19 '11 03:07

Judy


People also ask

What is the difference between RTSP and HTTP?

While HTTP is stateless, RTSP has state; an identifier is used when needed to track concurrent sessions. Like HTTP, RTSP uses TCP to maintain an end-to-end connection and, while most RTSP control messages are sent by the client to the server, some commands travel in the other direction (i.e. from server to client).

Does RTSP use HTTP?

RTSP uses the same concepts as basic HTTP, which makes it easily compatible with existing HTTP networks. The protocol also allows for a great deal of flexibility. Clients can request the features they want to use in an effort to find out if the media server supports them.

How do I stream RTSP over HTTP?

Enable the "Tunnel RTP and RTSP over HTTP" option and set the appropriate port used for the RTSP stream (PORT). After that, when using VLC as a client the streaming will be requested to be HTTP tunneled.

What is the difference between RTSP and RTP?

RTSP and RTP are often used interchangeably. But to be clear: RTSP is a presentation-layer protocol that lets end users command media servers via pause and play capabilities, whereas RTP is the transport protocol used to move said data.


1 Answers

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.

like image 104
Oak Bytes Avatar answered Sep 28 '22 00:09

Oak Bytes