Peer5: DataChannels API Applications and Opportunities

76,890
-1

Published on

RTCDataChannel API which is part of WebRTC brings new innovation and interesting applications and challenges.

Published in: Technology
0 Comments
2 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
76,890
On Slideshare
0
From Embeds
0
Number of Embeds
294
Actions
Shares
0
Downloads
25
Comments
0
Likes
2
Embeds 0
No embeds

No notes for slide
  • Hi I’m Hadar from Peer5 and Today I’m going to talk about DataChannels
  • Until today every communication done by browser applications required a server to transfer the msg’s or a third party plugin - webRTC brings p2p capabilities into the browser
  • Until today every communication done by browser applications required a server to transfer the msg’s or a third party plugin - webRTC brings p2p capabilities into the browser
  • I want to show a quick demo, how WebRTCDataChannels is used
  • And this is how it looks like…
  • Until today every communication done by browser applications required a server to transfer the msg’s or a third party plugin - webRTC brings p2p capabilities into the browser
  • Prepare a file to sendTalk about prismYou want to send file now, anonymously, instantly without uploadingSend in school
  • CDN:peercdn
  • CDN:peercdn
  • Signaling – make sure matched peers are trying to connect to each otherNAT Traversal Protocols – Who sends who, what kind of massages, how do I tell what I need, etc. Topology- p2p live streaming is not one-to-one file sharing – Overlay trees vs Mesh networkSecurity – Am I really getting the content I wanted to get? Am I really getting it from whom I wanted to get it from?
  • How do we matc based on Location Isp bandwidth device and remember all of these for the future decisionsHow do we “split” the job ? We don’t want to “choke” any peer or abuse it’s resources so need to smartly choose how do we use peer’s resources.
  • Matching – decide on how to match between peersSignaling – make sure matched peers are trying to connect to each otherProtocols – Who sends who, what kind of massages, how do I tell what I need, etc. Topology- p2p live streaming is not one-to-one file sharing – Overlay trees vs Mesh networkSecurity – Am I really getting the content I wanted to get? Am I really getting it from whom I wanted to get it from?
  • Peer5 have built an API to help the coordination of large scale many-to-many P2P applications.
  • We created a Small-sized JS library thatseamlessly connects between Peers that are consuming the same content (Files, videos etc.) and can help each other get the files/video faster.We use Datachannel as a mean for transferring the data between the peersSharefest is actually using the same API and communicating via websockets to Peer5 servers.
  • Until today every communication done by browser applications required a server to transfer the msg’s or a third party plugin - webRTC brings p2p capabilities into the browser
  • Peer5: DataChannels API Applications and Opportunities

    1. 1. DataChannels API Applications and Opportunities
    2. 2. Cross platform Chrome Chrome for Android Firefox Opera Native (Java + Objective C) More will follow (iOS??)
    3. 3. 1,000,000,000+WebRTC Endpoints
    4. 4. RTCDataChannelBidirectional communication of arbitrary data between peers
    5. 5. cubeslam
    6. 6.  WebSockets APIsend(), onMessage() Reliable / Unreliable Ultra-low latency SecureDTLS EncryptionBrowser SandboxRTCDataChannel is awesome
    7. 7. RTCDataChannel is still limited No Binary yet No interoperability Works on Chrome 26+ Firefox 22+
    8. 8. Example (Live simple demo?)
    9. 9. Simple Demo
    10. 10.  P2P FilesharingServerless, Low cost, Secured, Instant and Fastwww.sharefest.meFile Distribution
    11. 11.  GamesBananabread Remote Desktop applications Chat, Texting Real-Time Web AppsLow Latency Applications
    12. 12.  Live Video Streaming and VODcdn.peer5.com/pilots/kaltura/index.html Web Radio General purpose CDNPeer Assisted Delivery
    13. 13.  Applicative Messaging System Decentralized Twitterhttp://jinroh.github.io/kadoh/ Other projectshttp://webp2p.org/PubSub, DHT and more
    14. 14.  One-to-OnePeer.jsBuilding a P2P app
    15. 15. Developer responsibilities Signaling NAT Traversal App Protocol
    16. 16.  Many-to-ManyHow do we match?How do we “split” the job?Who send who what?Building a complex P2P app
    17. 17. Developer responsibilities Signaling NAT Traversal App Protocol Topology Matching Security P2P/Server synchronization*
    18. 18. We are here for you!
    19. 19. Peer5 Architecturep2p Signaling NAT Traversal App Protocol Topology Matching Security P2P/Server synchronization*
    20. 20. Thank YouQuestions?info@peer5.com

    ×