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>
<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 panel

View File

@ -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,

View File

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