chr15m / bugout

Back end web app services over WebRTC.
https://chr15m.github.io/bugout
MIT License
607 stars 59 forks source link

Hard-coded trackers #14

Closed draeder closed 4 years ago

draeder commented 4 years ago

Line 37: I understand the need for hard-coded trackers in this library, but wouldn't it make more sense to enable the developer a way to specify what trackers to use? One reason might be that the user who is running the server in their browser tab may also want to be a tracker to help strengthen the imperviousness of the p2p network.

chr15m commented 4 years ago

Yes, the developer can specify trackers by passing a list of them in the announce field of the options e.g. b = new Bugout(someroom, {announce: ["https://mytracker.net/"]}). Please let me know if this answers your question.

draeder commented 4 years ago

Perfect, thank you!