Commit graph

402 commits

Author SHA1 Message Date
Vittorio Palmisano
6cefacf450
Update package.json 2021-05-05 13:02:12 +02:00
mi4aux
357941c6f6 Fix access permissions for dist/server.js 2021-04-20 21:37:54 +02:00
chandi
6a298c6db0 server: include public files in dist/ 2021-04-18 21:43:16 +02:00
vpalmisano
11f9137305 revert latest modification, using node to run the build version 2021-04-13 15:37:08 +02:00
vpalmisano
a39ec35d07 Fixed ts-node usage on server side 2021-04-13 14:06:15 +02:00
Stefan Otto
dc0777cd1a
Merge pull request #758 from alangecker/typescript
Adding Typescript Support
2021-04-13 11:15:28 +02:00
chandi
5fb5c40a3e typescript: server support 2021-04-10 22:49:27 +02:00
vpalmisano
986c3e5fa2 add authorization header option for metrics http endpoint 2021-04-09 19:06:51 +02:00
vpalmisano
4aed2dd441 mediasoup version upgraded to 3.7.1 2021-04-09 18:03:14 +02:00
Stefan Otto
b27636f14b
Merge pull request #720 from edumeet/feat-local-develop-and-monitoring
Feat local develop and monitoring
2021-03-22 22:30:51 +01:00
Stefan Otto
78e9789058 lint 2021-03-22 14:08:10 +01:00
vpalmisano
85cfba3dc8 Merge branch 'develop' into feat-local-develop-and-monitoring 2021-03-19 13:58:07 +01:00
vpalmisano
141b748b29 loggging collectStats elapsed time 2021-03-19 10:45:04 +01:00
Stefan Otto
3f60c6ee8e lint 2021-03-18 15:49:28 +01:00
Astagor
6ac870b996
Disable simulcast if only 1 encoding profile defined (#722)
* Disable simulcast if only 1 encoding profile defined

* Make sure that encodings is set before checking length

* Fix consumer score race

* Hack to control bandwith for every resolution

* Hack for mediasoup error if 1 encoding defined
2021-03-17 17:41:07 +01:00
Vittorio Palmisano
89d74ece05 Merge branch 'feat-server-http-cache-header' into feat-local-develop-and-monitoring 2021-03-17 15:03:33 +01:00
Vittorio Palmisano
54084bd6f1 using cache control only for static files 2021-03-17 15:03:03 +01:00
Vittorio Palmisano
cda5be098e Merge branch 'feat-server-http-cache-header' into feat-local-develop-and-monitoring 2021-03-17 14:34:47 +01:00
Vittorio Palmisano
874bc6c8a9 fixed comparison 2021-03-17 14:33:51 +01:00
Vittorio Palmisano
d11eccefc0 added cache control header for GET requests 2021-03-17 14:32:14 +01:00
Vittorio Palmisano
6db39c2274 avoid calling collectStats in a timeout loop; set all values to 0 if the collect loop fails for some reason; 2021-03-17 13:03:20 +01:00
Vittorio Palmisano
876d8e19cc added rooms and peers count stats 2021-03-16 14:54:26 +01:00
Vittorio Palmisano
1583b779c2 added missing metrics arguments 2021-03-16 14:46:05 +01:00
Vittorio Palmisano
4c6a5f1ec4 added scores stats 2021-03-16 13:29:48 +01:00
Vittorio Palmisano
9916aef6ce added retransmissions and lost packets stats 2021-03-16 12:13:12 +01:00
Vittorio Palmisano
b5624f0c06 minors 2021-03-16 09:50:28 +01:00
Vittorio Palmisano
e2bb3bf626 Changed: server/lib/metrics/aggregated.js 2021-03-15 19:31:38 +01:00
Vittorio Palmisano
58bba527af fixed default metrics collector 2021-03-15 19:31:04 +01:00
Vittorio Palmisano
f8ffaf681f changed prometheus options 2021-03-15 19:27:54 +01:00
Vittorio Palmisano
3551186506 added aggregated metrics and grafana dashboard 2021-03-15 19:26:51 +01:00
Vittorio Palmisano
530c9ffc11 Merge branch 'develop' into feat-local-develop-and-monitoring 2021-03-15 14:09:32 +01:00
Vittorio Palmisano
edcfedbd37 upgraded to mediasoup 3.6.34 2021-03-11 21:49:44 +01:00
Vittorio Palmisano
70e1d1eefa upgraded to mediasoup 3.6.33 2021-03-10 13:07:32 +01:00
Vittorio Palmisano
59fdb95a58 switched to mediasoup tagged custom version 2021-03-10 11:34:10 +01:00
Stefan Otto
e8ceb3e5f0
Restoring https://github.com/edumeet/edumeet/pull/711/commits/721a80ff3e4ef321b36779ce3fce30b740dfe3aa since is had been eaten by https://github.com/edumeet/edumeet/pull/712 2021-03-09 22:11:40 +01:00
Stefan Otto
83b97059ef
Merge pull request #687 from Astagor/fix-closed-consumers-cleanup
Client removes consumers if server tells that they do not exist anymore
2021-03-08 11:40:25 +01:00
Stefan Otto
7b5126d593 Security fixes in depencies. New package-lock ( Run npm install ).
This includes electron update v9 to v12 as well - not tested! I think electron build might not work anymore!
2021-03-04 12:58:29 +01:00
Stefan Otto
e724f2ce99 Make newConsumer request to a notification to the client, so client can trigger all actions by himself and server don't have to wait for it. Thanks @hafvo for the hint. Should solve timeout related issus like https://github.com/edumeet/edumeet/issues/256 2021-03-04 10:27:24 +01:00
Vittorio Palmisano
5c35671e4f
distribute workers port ranges, closes #708 (#709)
* distribute workers port ranges, closes #708

* fixed i index increment
2021-03-03 13:41:26 +01:00
Vittorio Palmisano
953036dc3d using the default /metrics path 2021-02-25 13:05:45 +01:00
Mészáros Mihály
b7f07dcce9
Update promExporter.js
Await metrics data 
Fix docker issue:  UnhandledPromiseRejectionWarning at /opt/edumeet/server/lib/promExporter.js:272:8 
TODO: Maybe we need to add more error handling to make it more robust.
2021-02-22 10:36:22 +01:00
Vittorio Palmisano
62e2739306
Avoid crashing the server process when exiting interactive socket sessions
When using the interactive socket connection (`socat - UNIX-CONNECT:/tmp/edumeet-server.sock`), closing the command line session throws a not handled exception that crashes the server process.
2021-02-12 12:06:16 +01:00
Piotr Pawałowski
d31065d663 Client removes consumers if server tells that they do not exist anymore 2021-02-09 01:14:19 +01:00
Stefan Otto
1b1c7fea94
Merge pull request #658 from Astagor/feat-local-picture
Feat local picture
2021-02-08 01:07:55 +01:00
stefkamarton
85eb8d2d85 Fix Login Cache Issue 2021-01-28 21:04:17 +01:00
Piotr Pawałowski
8c0fa8a4f4 Add notification of peers on a transportclose event 2021-01-14 11:36:58 +01:00
N7Remus
c86b6d9187
Merge pull request #642 from jmencak/special-chars-634
Thanks. It works.
2020-12-18 14:51:25 +01:00
Piotr Pawałowski
ec47517660 Enable on server side 2020-12-18 10:51:50 +01:00
Piotr Pawałowski
6ecafd8e17 Added setting of a local picture to display if no video is sent 2020-12-18 10:10:50 +01:00
Stefan Otto
9fc80419f0
Merge pull request #631 from jmencak/rooms-unlocked
Optionally enforce moderated access to all rooms.
2020-12-07 16:53:36 +01:00