29
votes

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?

2

2 Answers

36
votes

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.

13
votes

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.