Skip to content

Commit

Permalink
feat(demux): switch to protocol version v4.0.0, demuxing streaming co…
Browse files Browse the repository at this point in the history
…nnections

* feat(demux) implement demuxing streaming connections

* version 2.0.0

* update configs

* add request precondition

Co-authored-by: Gabriel Imre <gabriel.lucaci@8x8.com>
Co-authored-by: Andrei Gavrilescu <gavrilescu.andrei90@gmail.com>
Co-authored-by: Andrei Gavrilescu <51706180+andrei-gavrilescu@users.noreply.github.com>
  • Loading branch information
4 people authored Feb 11, 2021
1 parent 2bd9ddd commit f571147
Show file tree
Hide file tree
Showing 11 changed files with 516 additions and 255 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:12.16-alpine
FROM node:14.5-alpine

RUN apk add --no-cache git && \
rm -rf /var/lib/apt/lists/* /var/cache/apk /usr/share/man /tmp/*
Expand Down
3 changes: 2 additions & 1 deletion config/default.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ server:
useHTTPS: false
keyPath: './certs/key.pem'
certPath: './certs/cert.pem'
tempPath : 'temp'


features:
# White list of client related features to be extracted possible values can be found in featured-client.js
Expand Down Expand Up @@ -47,4 +49,3 @@ github:
dynamo:
tableName:
endpoint:

1 change: 1 addition & 0 deletions config/production.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ server:
jsonConsoleLog: true
# The provided certificates are intended for local testing usign a HTTPS server
useHTTPS: false
tempPath : 'temp'

features:
# White list of client related features to be extracted possible values can be found in featured-client.js
Expand Down
45 changes: 25 additions & 20 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 6 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,16 +1,18 @@
{
"name": "rtcstats-server",
"version": "1.9.0",
"version": "2.0.0",
"description": "",
"main": "websocket.js",
"scripts": {
"lint:fix": "eslint --fix ./src/",
"lint": "eslint ./src/",
"lint:fix": "eslint --fix ./src/",
"integration": "node ./src/test/client.js",
"test": "npm run lint && npm run integration",
"start": "NODE_ENV=production node ./src/app.js",
"watch:dev": "nodemon --exec 'NODE_ENV=debug node ./src/app.js'",
"debug": "NODE_ENV=debug node ./src/app.js"
"debug": "NODE_ENV=debug node ./src/app.js",
"ndb-debug": "NODE_ENV=debug ndb ./src/app.js"
},
"repository": {
"type": "git",
Expand All @@ -25,6 +27,7 @@
"dependencies": {
"@google-cloud/bigquery": "^4.5.0",
"@google-cloud/storage": "^4.1.3",
"JSONStream": "^1.3.5",
"amplitude": "^4.0.1",
"aws-sdk": "^2.441.0",
"bluebird": "^3.3.1",
Expand All @@ -40,7 +43,7 @@
"uuid": "^2.0.1",
"winston": "^3.2.1",
"winston-daily-rotate-file": "^4.4.2",
"ws": "^5.1.1"
"ws": "^7.4.2"
},
"devDependencies": {
"babel-eslint": "^10.1.0",
Expand Down
Loading

0 comments on commit f571147

Please sign in to comment.