Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.
How do I make mobile P2P apps without a server? RTFM... no... RTMFP.
<ul><ul><li>RIA and mobile developer with Digital Primates
Flash developer since 1996.
Podcaster
vandermore.com </li></ul></ul><ul>Who is David Moore? </ul>
<ul>What the heck is that paper for? </ul>
<ul><ul><li>Not RMFTP...
Real Time Media Flow Protocol
Similar to RTMP (Real Time Messaging Protocol)
Allows for Peer to Peer communication </li><ul><li>Flash Player
Adobe AIR </li></ul><li>Developed by Amicima </li></ul></ul><ul>What is RTMFP? </ul>
<ul><ul><li>Allows for Peer to Peer communication </li><ul><li>FMS Server
Server-less inside a LAN as of 10.1 </li><ul><li>Wireless or wired </li></ul></ul></ul></ul><ul>What does RTMFP do? </ul>
<ul>So what? </ul>
<ul><ul><li>UDP – User Datagram Protocol
Lossy
Low Latency
P2P – Reducing Server Load </li></ul></ul><ul>RTMFP Basics </ul>
Upcoming SlideShare
Loading in …5
×

How to make P2P apps without a server? RTFM... no RTMFP.

9,000 views

Published on

The talk I gave at the Chicago Flex User Group on June 15th. The talk was on the Real Time Media Flow Protocol (RTMFP), and how it can be used to make Peer to Peer networks without a server.

Published in: Technology
  • Be the first to comment

  • Be the first to like this

How to make P2P apps without a server? RTFM... no RTMFP.

  1. 1. How do I make mobile P2P apps without a server? RTFM... no... RTMFP.
  2. 2. <ul><ul><li>RIA and mobile developer with Digital Primates
  3. 3. Flash developer since 1996.
  4. 4. Podcaster
  5. 5. vandermore.com </li></ul></ul><ul>Who is David Moore? </ul>
  6. 6. <ul>What the heck is that paper for? </ul>
  7. 7. <ul><ul><li>Not RMFTP...
  8. 8. Real Time Media Flow Protocol
  9. 9. Similar to RTMP (Real Time Messaging Protocol)
  10. 10. Allows for Peer to Peer communication </li><ul><li>Flash Player
  11. 11. Adobe AIR </li></ul><li>Developed by Amicima </li></ul></ul><ul>What is RTMFP? </ul>
  12. 12. <ul><ul><li>Allows for Peer to Peer communication </li><ul><li>FMS Server
  13. 13. Server-less inside a LAN as of 10.1 </li><ul><li>Wireless or wired </li></ul></ul></ul></ul><ul>What does RTMFP do? </ul>
  14. 14. <ul>So what? </ul>
  15. 15. <ul><ul><li>UDP – User Datagram Protocol
  16. 16. Lossy
  17. 17. Low Latency
  18. 18. P2P – Reducing Server Load </li></ul></ul><ul>RTMFP Basics </ul>
  19. 19. <ul>RTMFP Basics </ul>Standard RTMP RTMFP – Using FMS
  20. 20. <ul>RTMFP Basics </ul>Full Peer to Peer RTMFP
  21. 21. <ul>RTMFP Basics </ul><ul><li>RTMFP security </li><ul><li>Encrypted
  22. 22. Anti-DOS protections
  23. 23. Anti-portscanning protections
  24. 24. More: Matthew Kaufman at his Max 2008 presentation </li></ul></ul>
  25. 25. <ul>Stuff we care about </ul><ul><li>Unique messages
  26. 26. Typed objects
  27. 27. Local network, no server needed </li><ul><li>Some limits because of this </li></ul></ul>
  28. 28. <ul>Limits? </ul><ul><li>Local network needs to route UDP
  29. 29. Unique messages
  30. 30. Lost and out of order packets
  31. 31. Keeping track of peers </li><ul><li>When they connect
  32. 32. When they disconnect </li></ul></ul>
  33. 33. <ul>Working around the limits </ul><ul><li>Local network?
  34. 34. Unique messages?
  35. 35. Lost and out of order packets?
  36. 36. Keeping track of peers? </li></ul>
  37. 37. Demo http://vandemore.com/HotPotato.apk
  38. 38. CODE!
  39. 39. Q & A
  40. 40. Thank You
  41. 41. Credits and Additional resources: Thanks to the following for media assets and inspiration <ul><li>www.flashrealtime.com
  42. 42. www.jamesward.com
  43. 43. renaun.com
  44. 44. www.adobe.com
  45. 45. http://tv.adobe.com/watch/max-2008-develop/future-of-communication-with-rtmfp-by-matthew-kaufman/
  46. 46. github.com/devboy/HydraP2P - Library to quickly get started with RTMFP P2P.
  47. 47. vandermore.com </li></ul>

×