From 27bfb3984a7e276940787ef31e7fe52eac939e0d Mon Sep 17 00:00:00 2001 From: Dmitry Zlygin Date: Sun, 11 Dec 2022 11:21:32 +0400 Subject: [PATCH 1/2] raised rollup version --- .gitignore | 2 ++ single-page/package.json | 10 +++++----- single-page/{rollup.config.js => rollup.config.mjs} | 6 +++--- 3 files changed, 10 insertions(+), 8 deletions(-) rename single-page/{rollup.config.js => rollup.config.mjs} (74%) diff --git a/.gitignore b/.gitignore index aac85ce..7d05e9e 100644 --- a/.gitignore +++ b/.gitignore @@ -7,3 +7,5 @@ package-lock.json *.pem *.crt *.key +.idea +.vscode diff --git a/single-page/package.json b/single-page/package.json index d4c459f..fdc29ed 100644 --- a/single-page/package.json +++ b/single-page/package.json @@ -17,10 +17,10 @@ "mediasoup-client": "^3.6.21" }, "devDependencies": { - "rollup": "^1.12.4", - "rollup-plugin-commonjs": "^10.0.0", - "rollup-plugin-json": "^4.0.0", - "rollup-plugin-node-builtins": "^2.1.2", - "rollup-plugin-node-resolve": "^5.0.0" + "@rollup/plugin-commonjs": "^23.0.4", + "@rollup/plugin-json": "^5.0.2", + "@rollup/plugin-node-resolve": "^15.0.1", + "rollup": "^3.7.0", + "rollup-plugin-node-builtins": "^2.1.2" } } diff --git a/single-page/rollup.config.js b/single-page/rollup.config.mjs similarity index 74% rename from single-page/rollup.config.js rename to single-page/rollup.config.mjs index 88f02c3..a202b1c 100644 --- a/single-page/rollup.config.js +++ b/single-page/rollup.config.mjs @@ -1,7 +1,7 @@ import builtins from 'rollup-plugin-node-builtins'; -import resolve from 'rollup-plugin-node-resolve'; -import commonJS from 'rollup-plugin-commonjs' -import json from 'rollup-plugin-json'; +import resolve from '@rollup/plugin-node-resolve'; +import commonJS from '@rollup/plugin-commonjs'; +import json from '@rollup/plugin-json'; export default [ { From c33cf72ef1285682c0875febadf20b2be25bea15 Mon Sep 17 00:00:00 2001 From: Dmitry Zlygin Date: Tue, 27 Dec 2022 16:58:02 +0400 Subject: [PATCH 2/2] config change --- single-page/config.js | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/single-page/config.js b/single-page/config.js index 2578dfd..8765533 100644 --- a/single-page/config.js +++ b/single-page/config.js @@ -7,8 +7,8 @@ module.exports = { // ssl certs. we'll start as http instead of https if we don't have // these - sslCrt: "local.crt", - sslKey: "local.key", + sslCrt: "localhost.crt", + sslKey: "localhost.key", mediasoup: { worker: { @@ -22,10 +22,10 @@ module.exports = { "rtp", "srtp", "rtcp", - // 'rtx', + 'rtx', // 'bwe', // 'score', - // 'simulcast', + 'simulcast', // 'svc' ], }, @@ -37,15 +37,15 @@ module.exports = { clockRate: 48000, channels: 2, }, - { + /*{ kind: "video", mimeType: "video/VP8", clockRate: 90000, parameters: { // 'x-google-start-bitrate': 1000 }, - }, - { + },*/ + /*{ kind: "video", mimeType: "video/h264", clockRate: 90000, @@ -55,7 +55,7 @@ module.exports = { "level-asymmetry-allowed": 1, // 'x-google-start-bitrate' : 1000 }, - }, + },*/ { kind: "video", mimeType: "video/h264",