Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

what is difference between rtmp and rtsp protocol?

i just want to know what is the difference between rtsp and rtmp protocol and if there are mp3s on my server and i am playing it in my android using http,how these differs in work.

In android if i want to implement rtmp or rtsp ,which is the best? what are the limitation of rtmp & rtsp in android?

can anybody give me brief answer for above?

like image 773
Hitendra Avatar asked May 16 '11 20:05

Hitendra


People also ask

Is RTSP faster than RTMP?

Traditional Video Streaming Protocols As shown above, RTMP delivers video at roughly the same pace as a cable broadcast — in just over five seconds. RTSP/RTP is even quicker at around two seconds.

What is RTMP RTSP?

RTMP and RTSP are both streaming protocols, meaning they are sets of rules that govern how data travels from one system of communication to another. If the video data you're trying to send to your viewers is a car, then the streaming protocol is the road that the car takes to get from one place to another.

Does YouTube use RTMP or RTSP?

RTMP is a widely-used protocol for video streaming that YouTube Live has accepted since the service began.

What is RTSP protocol used for?

Real Time Streaming Protocol (RTSP) is an application-level network communication system that transfers real-time data from multimedia to an endpoint device by communicating directly with the server streaming the data.


2 Answers

The Real Time Streaming Protocol (RTSP) is a network control protocol designed for use in entertainment and communications systems to control streaming media servers. The protocol is used for establishing and controlling media sessions between end points. Clients of media servers issue VCR-like commands, such as play and pause, to facilitate real-time control of playback of media files from the server.

Real Time Messaging Protocol (RTMP) was initially a proprietary protocol developed by Macromedia for streaming audio, video and data over the Internet, between a Flash player and a server.

I would use HTTP to stream MP3.

like image 99
evilone Avatar answered Oct 11 '22 09:10

evilone


They are both protocols for Streaming Media and on a high level achieve the same thing - Specify a standard to stream media. Although RTMP was developed and owned by Adobe before being made public , whereas RTSP was a public standard from the beginning. Since RTMP is mostly used by Flash player , i would assume that the android media player class streams using RTSP.

like image 21
Abhijith Avatar answered Oct 11 '22 07:10

Abhijith