1
0
Fork 0

This is not a prototype anymore, but a real project!

This commit is contained in:
Chocobozzz 2017-02-18 18:37:26 +01:00
parent 2fec520605
commit fe783f6b0d
3 changed files with 4 additions and 6 deletions

View file

@ -3,7 +3,7 @@
</h1> </h1>
<h4 align="center"> <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> </h4>
<p align="center"> <p align="center">
@ -92,7 +92,7 @@ Thanks to [WebTorrent](https://github.com/feross/webtorrent), we can make P2P (t
- [X] Connection - [X] Connection
- [X] Account rights (upload...) - [X] Account rights (upload...)
- [X] Make the network auto sufficient (eject bad pods etc) - [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 - [ ] Manage API breaks
- [ ] Add "DDOS" security (check if a pod don't send too many requests for example) - [ ] Add "DDOS" security (check if a pod don't send too many requests for example)
- [X] Admin panel - [X] Admin panel

View file

@ -14,7 +14,7 @@ const requests = require('../helpers/requests')
const RequestScheduler = require('./request-scheduler') const RequestScheduler = require('./request-scheduler')
const ENDPOINT_ACTIONS = constants.REQUEST_ENDPOINT_ACTIONS[constants.REQUEST_ENDPOINTS.VIDEOS] const ENDPOINT_ACTIONS = constants.REQUEST_ENDPOINT_ACTIONS[constants.REQUEST_ENDPOINTS.VIDEOS]
const requestScheduler = new RequestScheduler('') const requestScheduler = new RequestScheduler()
const friends = { const friends = {
activate, activate,

View file

@ -9,9 +9,7 @@ const requests = require('../helpers/requests')
module.exports = class RequestScheduler { module.exports = class RequestScheduler {
constructor (name) { constructor () {
this.name = name
this.lastRequestTimestamp = 0 this.lastRequestTimestamp = 0
this.timer = null this.timer = null
} }