livepeer / go-livepeer-basicnet

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

GetMasterPlaylist Fallback Solution #5

Closed ericxtang closed 7 years ago

ericxtang commented 7 years ago

Sometimes the broadcaster does NOT accept incoming connections. In this case, the broadcaster has an outgoing connection, but external nodes for some reason cannot directly connect to it. For example, this can happen because of firewalls blocking certain IP ranges.

A fallback solution would be to ask the peers of broadcaster to forward along the request.

ericxtang commented 7 years ago

To reproduce, try to broadcast from within the Livepeer office inside Wework, and use the gateway node to consume the video.

ericxtang commented 7 years ago

Ended up using the DHT in Libp2p - https://github.com/livepeer/go-livepeer-basicnet/pull/6