Skip to content

suhasagg/Addressing-Challenges-in-Browser-Based-P2P-Content-Sharing-Framework-Using-WebRTC

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Addressing Challenges in Browser Based P2P Content Sharing Framework Using WebRTC

Implementation of Paper | Slides

Dependencies:

  • npm modules:
    • For peer: bows, dht-id, eventemitter2, simple-peer, socket.io-client,
    • For Boot strap server: dht-id, hapi, socket.io, config, socket.io-client
    • Other requirements: browserify

Building and executing code:

  • Peer (./peer )
    • peer.js contains the main code for a peer in the asynchronous chord network.
      • channel-manager.js and node-details.js are its components which it uses to contact with bootstrap server and other peers in the network
    • browserify main.js > bundle.js for compiling changes made to peer code
    • open createPeer.html in any web browser (chrome/firefox recommended) for creating a new peer. Open console for getting output and issuing commands to peers.
  • Boot Strap server (./bootstrap)
    • nodejs boostrap.js for starting the server

About

Addressing Challenges in Browser Based P2P Content Sharing Framework Using WebRTC

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 99.5%
  • Other 0.5%