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.
P2P for Mobile DevicesImmanuel Noel | Platform Evangelist, Adobe   blog.inoel.in
What ?P2P – File sharing?Distributed application architectureLive, Real Time connectivity for devicesFlash Platform support
Why ?•   Scalability•   Network Efficiency•   Secure•   Cloud Sourcing Information•   Better User Experience•   Take advan...
Where ?Everything   from    application-level videomulticasting to swarming file delivery andmultiuser games without a ser...
DemosLink on the last slide
The EntitiesPeerRTMFPGroup – Super Set of neighborsNeighbors – Directly connected peers
How ?                       GroupRTMFP Capable Server
Infrastructure• FMS Server rtmfp://<SERVER>• Cirrus service (non-commercial),  rtmfp://p2p.rtmfp.net/ + DEVELOPER+KEY• Iso...
Why connect to a external server?•   Facilitate connectivity•   Directory of connected devices•   Authenticity•   Manage t...
Real Time Media Flow Protocol•   Protocol•   Enables Live, Real time connectivity•   Not File Sharing, Best for streaming•...
Routing               Multicast               Many to Many          Directed Routing               One to Many         Obj...
Group Specifier• Define a P2P group• Specify capabilities   –   Multicast   –   ipMulticastMemberUpdatesEnabled   –   Mult...
Events                      NetConnection.Connect.Success                         NetGroup.Connect.Success                ...
NetStream - Audio and VideoSendervar camera:Camera = Camera.getCamera();var mic:Microphone = Microphone.getMicrophone();_o...
Where Next                   Cirrushttp://labs.adobe.com/technologies/cirrus/              Sample Code           http://in...
Where Right Now       Ekalavyahttp://bit.ly/ekalavya
Thank You   inoel@adobe.comTwitter: @immanuelnoel  http://blog.inoel.in
P2P for mobile devices
Upcoming SlideShare
Loading in …5
×

P2P for mobile devices

14,125 views

Published on

The slidedeck for my talk on Peer to Peer for Mobile devices at Adobe Flash Platform Summit 2011, Bangalore

  • Be the first to comment

P2P for mobile devices

  1. 1. P2P for Mobile DevicesImmanuel Noel | Platform Evangelist, Adobe blog.inoel.in
  2. 2. What ?P2P – File sharing?Distributed application architectureLive, Real Time connectivity for devicesFlash Platform support
  3. 3. Why ?• Scalability• Network Efficiency• Secure• Cloud Sourcing Information• Better User Experience• Take advantage of P2P capabilities of AIR for Mobile
  4. 4. Where ?Everything from application-level videomulticasting to swarming file delivery andmultiuser games without a server !Corporate enterprise, social media, andentertainment applications
  5. 5. DemosLink on the last slide
  6. 6. The EntitiesPeerRTMFPGroup – Super Set of neighborsNeighbors – Directly connected peers
  7. 7. How ? GroupRTMFP Capable Server
  8. 8. Infrastructure• FMS Server rtmfp://<SERVER>• Cirrus service (non-commercial), rtmfp://p2p.rtmfp.net/ + DEVELOPER+KEY• Isolated LAN rtmfp://
  9. 9. Why connect to a external server?• Facilitate connectivity• Directory of connected devices• Authenticity• Manage topology• Self managed P2P groups – No Manual Peer ID Exchange
  10. 10. Real Time Media Flow Protocol• Protocol• Enables Live, Real time connectivity• Not File Sharing, Best for streaming• Unlike RTMP, based on the UDP protocol• Rapid Connection Restore• IP Mobility• 128-bit AES encryption
  11. 11. Routing Multicast Many to Many Directed Routing One to Many Object ReplicationBest effort techniques to transfer large data
  12. 12. Group Specifier• Define a P2P group• Specify capabilities – Multicast – ipMulticastMemberUpdatesEnabled – MulticastEnabled – RoutingEnabled – PostingEnabled – ObjectReplicationEnabled, and more ! (Group Name + Group Capabilities) = Group Identifier
  13. 13. Events NetConnection.Connect.Success NetGroup.Connect.Success NetGroup.Neighbor.ConnectnetGroup.sendToNeighbor(data) NetGroup.SendTo.Notify (event.info.message)
  14. 14. NetStream - Audio and VideoSendervar camera:Camera = Camera.getCamera();var mic:Microphone = Microphone.getMicrophone();_outgoingStream.attachAudio(mic);_outgoingStream.attachCamera(camera);_outgoingStream.publish( "P2PVideo" );ListenerNetGroup.MulticastStream.PublishNotifyReceiver_incomingStream.play("P2PVideo");
  15. 15. Where Next Cirrushttp://labs.adobe.com/technologies/cirrus/ Sample Code http://inoel.in/p2p
  16. 16. Where Right Now Ekalavyahttp://bit.ly/ekalavya
  17. 17. Thank You inoel@adobe.comTwitter: @immanuelnoel http://blog.inoel.in

×