ActivityPub-federated video streaming platform using P2P directly in your web browser
This is not a prototype anymore, but a real project!
Chocobozzzfe783f6b0dac
diff --git a/README.md b/README.mdindex 778762ebf2..d37e7ae2b7 100644--- a/README.md+++ b/README.md@@ -3,7 +3,7 @@</h1><h4 align="center">-Prototype of a decentralized video streaming platform using P2P (BitTorrent) directly in the web browser with <a href="https://github.com/feross/webtorrent">WebTorrent</a>.+Decentralized video streaming platform using P2P (BitTorrent) directly in the web browser with <a href="https://github.com/feross/webtorrent">WebTorrent</a>.</h4><p align="center">@@ -92,7 +92,7 @@ Thanks to [WebTorrent](https://github.com/feross/webtorrent), we can make P2P (t- [X] Connection- [X] Account rights (upload...)- [X] Make the network auto sufficient (eject bad pods etc)-- [ ] Validate the prototype (test PeerTube in a real world with many pods and videos)+- [X] Validate the prototype (test PeerTube in a real world)- [ ] Manage API breaks- [ ] Add "DDOS" security (check if a pod don't send too many requests for example)- [X] Admin paneldiff --git a/server/lib/friends.js b/server/lib/friends.jsindex 7dfa62a2a9..d53ab45539 100644--- a/server/lib/friends.js+++ b/server/lib/friends.js@@ -14,7 +14,7 @@ const requests = require('../helpers/requests')const RequestScheduler = require('./request-scheduler')const ENDPOINT_ACTIONS = constants.REQUEST_ENDPOINT_ACTIONS[constants.REQUEST_ENDPOINTS.VIDEOS]-const requestScheduler = new RequestScheduler('')+const requestScheduler = new RequestScheduler()const friends = {activate,diff --git a/server/lib/request-scheduler.js b/server/lib/request-scheduler.jsindex c8bc4af288..28dabe339c 100644--- a/server/lib/request-scheduler.js+++ b/server/lib/request-scheduler.js@@ -9,9 +9,7 @@ const requests = require('../helpers/requests')module.exports = class RequestScheduler {- constructor (name) {- this.name = name-+ constructor () {this.lastRequestTimestamp = 0this.timer = null}