Showing posts with label Streaming. Show all posts
Showing posts with label Streaming. Show all posts

Tuesday, 9 August 2016

What is RTMP, RTMPT, RTMPE, RTMPTE and RTMPS protocol?

What is  RTMP, RTMPT, RTMPE, RTMPTE and RTMPS protocol?

Question: What is RTMP?
The Real-Time Messaging Protocol (RTMP) is a streaming protocol designed by Adobe for transmission of audio, video between the flash player and server.


Question: What is RTMPT?
RTMPT is tunneled Version of RTMP.
RTMPT is designed to get rid of firewalls by sending stream packets through the standard web port.


Question: Which is better RTMP OR RTMPT?
RTMP performance is better that RTMPT.
We should use RTMPT only when RTMP is not possible due to firewalls.


Question: What is RTMPE?
RTMPE is encrypted version of RTMP.
Basically In RTMPE there is an additional security level as compare to RTMP.


Question: What is RTMPTE?
RTMPTE is encrypted version of RTMPT.
Basically In RTMPTE there is an additional security level as compare to RTMPT.


Question: What is RTMPS?
RTMPS is RTMP over a TLS/SSL connection.


Question: What is RTMFP?
Full form of RTMFP is  Secure Real-Time Media Flow Protocol. This protocol is developed by Adobe Systems for encrypted. It is efficient multimedia delivery through both client-server and peer-to-peer models over the Internet.


Question: Who uses the 1935 port by default?
RTMP and RTMPE with TCP Transport.
RTMFP with with UDP Transport.



Question: What are different ports used by Media Servers?
Following are different default ports used by Media Server.
Port Protocol Transport
1935 RTMP/E TCP
1935 RTMFP UDP
80 RTMP, RTMPT, HTTP TCP
8134 HTTP TCP
1111 HTTP, RTMP TCP

Question: What is TCP?
Full form of TCP is Transmission Control Protocol.
It is standard that defines how to establish and maintain a network conversation.
It can also work with IP (internet protocol), which define how to exchange packet of data with each other.
TCP keep maintained the connection til the programs finished their exchanging messages.


Question: What is UCP?
Full form of UDP is User Datagram Protocol.
UDP is communications protocol to TCP used primarily for establishing low-latency and loss tolerating connections between applications on the Internet.




Friday, 23 May 2014

What is Streaming Servers, Streaming Protocol and Port Protocol

Streaming Servers: It is server which is more powerful in-terms of RAM, ROM, Processing & Disk spaces. These server kept the video/audio files and able to sent the video/audio in form of small packet(in right order) to the client machine bypass the webserver. 

Cleint Machhine Request the video/video to webserver => webserver sent the request to streaming server => Streaming server send the response in form of small packet to the clinet machine (By Passing the WebServer)

Why we need streaming server:

  • HTTP, FTP and TCP protocols  send the data in form of packets and reassembled later means first download full data in browser then play. In this case user have to wait  more time. where as in streaming server video playing and streaming simultaneouly. 
  • Streaming Server is more fast & better as compare to WebServer(Non-streaming Server).
  • Different Streaming Server use different type of protocol to enhance their speead and performace.


Web Server can re-send lost or damaged packets, and they allow randomly ordered packets to be reassembled later. This is convenient for downloading files and surfing the Web if Web traffic slows down or some of your packets disappear, you'll still get your file. But these protocols won't work as well for streaming media. With streaming media, data needs to arrive quickly and with all the pieces in the right order

PORT: PROTOCOL
20: File Transfer Protocol (FTP)
21: Secure File Transfer Protocol (SFTP)
22: Secure Shell (SSH)
25: Simple Mail Transfer Protocol (SMTP)
80: Hypertext Transfer Protocol (HTTP)
110: Post Office Protocol (POP3)
143: Internet Message Access Protocol (IMAP)
194: Internet Relay Chat (IRC)
443: Hypertext transfer Protocol Secure (HTTPS)
465: Simple Mail Transfer Protocol Secure (SMTPS)


Streaming Protocol
Apple HLS (HTTP Live Streaming)
RTMP, RTMPT, RTMPS, RTMPE, RTMPTE, Flash
Adobe HTTP Dynamic Streaming (HDS)
MS-WMSP (Windows Media HTTP Streaming Protocol), Windows Smooth Streaming, MMS, MMSH
RTSP, RTP, UDP
MPEG-DASH (HTTP)