diff --git a/.dockerignore b/.dockerignore deleted file mode 100644 index 05356c09d..000000000 --- a/.dockerignore +++ /dev/null @@ -1,8 +0,0 @@ -.github/ -.husky/ -.idea/ -.vscode/ - -node_modules/ -dist/ -files/ diff --git a/.github/workflows/build-docker.yml b/.github/workflows/build-docker.yml index 3df58d7de..1019af784 100644 --- a/.github/workflows/build-docker.yml +++ b/.github/workflows/build-docker.yml @@ -18,6 +18,7 @@ jobs: - cdn - api - gateway + - webrtc - admin-api - cdn-cs - gateway-offload diff --git a/extra/admin-api/outputs.nix b/extra/admin-api/outputs.nix index fa80b39bf..511b92f47 100644 --- a/extra/admin-api/outputs.nix +++ b/extra/admin-api/outputs.nix @@ -221,7 +221,7 @@ flake-utils.lib.eachSystem flake-utils.lib.allSystems ( Spacebar-UApi = makeNupkg { name = "Spacebar.UApi"; nugetDeps = Spacebar.UApi/deps.json; - projectFile = "Spacebar.UApid.csproj"; + projectFile = "Spacebar.UApi.csproj"; srcRoot = ./Spacebar.UApi; packNupkg = false; projectReferences = [ diff --git a/node-modules.nix b/node-modules.nix index aa75d6cd4..b064ee0a0 100644 --- a/node-modules.nix +++ b/node-modules.nix @@ -37,6 +37,7 @@ pkgs.buildNpmPackage { dontNpmBuild = true; makeCacheWritable = true; + nativeBuildInputs = with pkgs; [ (pkgs.python3.withPackages (ps: with ps; [ setuptools ])) ]; diff --git a/package-lock.json b/package-lock.json index 612c59e99..286a07788 100644 Binary files a/package-lock.json and b/package-lock.json differ diff --git a/package.json b/package.json index e9a103e8a..e3bc55e2b 100644 --- a/package.json +++ b/package.json @@ -78,6 +78,7 @@ "typescript-json-schema": "^0.65.1" }, "dependencies": { + "@spacebarchat/medooze-webrtc": "^1.0.10", "@toondepauw/node-zstd": "^1.2.0", "ajv": "^8.17.1", "ajv-formats": "^3.0.1", diff --git a/src/webrtc/util/MediaServer.ts b/src/webrtc/util/MediaServer.ts index 0f64bc04d..eb1663220 100644 --- a/src/webrtc/util/MediaServer.ts +++ b/src/webrtc/util/MediaServer.ts @@ -52,7 +52,7 @@ export const loadWebRtcLibrary = async () => { console.log(`[WebRTC] ${green(`Succesfully loaded ${selectedWrtcLibrary}`)}`); return Promise.resolve(); } catch (error) { - console.log(`[WebRTC] ${red(`Failed to import ${selectedWrtcLibrary}: ${error instanceof NoConfiguredLibraryError ? error.message : ""}`)}`); + console.log(`[WebRTC] ${red(`Failed to import ${selectedWrtcLibrary}: ${error instanceof NoConfiguredLibraryError ? error.message : (error as Error).message}`)}`); return Promise.reject(); }