livepeer / go-livepeer-basicnet

Basic p2p video streaming for Livepeer
MIT License
18 stars 8 forks source link

Network update #10

Closed ericxtang closed 7 years ago

ericxtang commented 7 years ago

A few changes here:

  1. Use only local peers for forwarding requests. This can make the network easier to reason about. We will need a good bootstrapping strategy to complement this change, so nodes generally have peers that are close to its address.
  2. Use relayer to get the master playlist instead of the DHT. This change also caused some secondary-effect changes in the handleSubReq method, where we now forward on the sub req when a relaying is available. (Before we just register as a listener)