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?
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.
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.
RTMP is a widely-used protocol for video streaming that YouTube Live has accepted since the service began.
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.
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.
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With