header
ask question
Click here to ask Question Now Its free No registration required. Flash, Flex, Flash Media Server, ActionScript,Adobe Air. Most questions receive a response in an hour.
flexman
Points:260
Posts:3

Real Time Media Flow Protocol - RTMFP
Posted On: 11/17/2009 4:45:34 AM

/ Views: 15518



Real Time Media Flow Protocol - RTMFP for Flash
This is a newly introduced communication protocol introduced by Adobe supported by flash Player 10 and above. The new protocol will be beneficial for applications running on flash players and Adobe AIR framework. It will enable users to connect with each other directly and communicate using webcam and microphone. Bypassing the dataflow through Flash Media server it will perform better and with reduced latency.

How will it work
: It will require flash player 10 or above installed on user’s computer .While initiating connection between users Flash Media Server authentication will be required which is expected to come in next release of FMS 3.5. Currently Adobe Labs Stratus beta service can be used which allow developers to begin building applications based on RTMFP. After the connection is established between users the data will start flowing between the users. RTMFP uses UDP to deliver its content so there is no guarantee of all data packets to reach successfully their destination i.e. data packets may be out of order, dropped or missed. But since UDP provides low latency and overhead, it will result in better user experience. Two more features which will further enhance user experience are

1) Rapid Connection Restore: Ability to restore connections after brief connection breaks.
2) IP Mobility: Peer to Peer connections will be maintained even if IP address of the user gets changed.

Benefits of RTMFP:

  1. Low latency: Since no server is involved in data flow so the trip time is reduced resulting in decreased latency and hence better user experience. Data will flow from client to client rather than from client to server and then server to client.
  2. Cost benefit: Since the flow is from client to client no server bandwidth will be used, reducing the server bandwidth costs.
  3. Fast reconnection: Rapid Connection Restore will re-establish connections quickly after breakup giving a better user experience.
  4. Low overhead: Since the UDP protocol is used. In UDP handshaking is not done reducing the overhead and better efficiency.
  5. Speex: New audio codec speex form adobe is optimized to work on RTMFP and deliver excellent user experience.

Drawbacks of RTMFP:

  1. Dropped packets or Missing packets: The packets can be dropped or missed due to poor network conditions, can be ignored considering the benefits we get using RTMFP.
  2. The audio/video communication is direct between clients so the streams cannot be recorded on FMS.
  3. FMS server is still required to establish connection and authenticate users.
  4. RTMFP based applications must use failover to RTMP or RTMPT to avoid connection problems where RTMFP does not work. RTMFP is UDP based so the connection success rate between users is not as good as RTMP or RTMPT have.
  5. RTMFP feature is only avialable in FMS Enterprise server which is a major bottle neck to users needing only P2P applications. In that case users have only option to buy P2P services from some online service provider like influxis.com which comes at a much lower price than FMS Enterprise server.

Example applications that can be developed on RTMFP are Audio/Video Chat, VOIP (Voice Over IP), Games


Members Login

Email  
Password
Forgot Password





This website focus on: Flash | Flex | FMS | RED5 | WOWZA | Flash Media Server | Adobe AIR | ActionScript,Flash Solutions | Flash Question | Flash Answers | Flash Developers | Flash Problem, Flash Help, Flash bugs, Flash workaround | Flash Blog | Flex Question Answers | Flash Forum | Flex Development | Actionscript development | Flash development | Adobe AIR development
Copyright © 2008 AskMeFlash.com. All rights reserved. Privacy Policy | Terms & Conditions