Skip to content

Commit 2361cf6

Browse files
webrtc package by default
1 parent 36498a5 commit 2361cf6

7 files changed

Lines changed: 136 additions & 12 deletions

File tree

.dockerignore

Lines changed: 0 additions & 8 deletions
This file was deleted.

.github/workflows/build-docker.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ jobs:
1818
- cdn
1919
- api
2020
- gateway
21+
- webrtc
2122
- admin-api
2223
- cdn-cs
2324
- gateway-offload

extra/admin-api/outputs.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@ flake-utils.lib.eachSystem flake-utils.lib.allSystems (
221221
Spacebar-UApi = makeNupkg {
222222
name = "Spacebar.UApi";
223223
nugetDeps = Spacebar.UApi/deps.json;
224-
projectFile = "Spacebar.UApid.csproj";
224+
projectFile = "Spacebar.UApi.csproj";
225225
srcRoot = ./Spacebar.UApi;
226226
packNupkg = false;
227227
projectReferences = [

node-modules.nix

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ pkgs.buildNpmPackage {
3737

3838
dontNpmBuild = true;
3939
makeCacheWritable = true;
40+
4041
nativeBuildInputs = with pkgs; [
4142
(pkgs.python3.withPackages (ps: with ps; [ setuptools ]))
4243
];

package-lock.json

Lines changed: 131 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,7 @@
7878
"typescript-json-schema": "^0.65.1"
7979
},
8080
"dependencies": {
81+
"@spacebarchat/medooze-webrtc": "^1.0.10",
8182
"@toondepauw/node-zstd": "^1.2.0",
8283
"ajv": "^8.17.1",
8384
"ajv-formats": "^3.0.1",

src/webrtc/util/MediaServer.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ export const loadWebRtcLibrary = async () => {
5252
console.log(`[WebRTC] ${green(`Succesfully loaded ${selectedWrtcLibrary}`)}`);
5353
return Promise.resolve();
5454
} catch (error) {
55-
console.log(`[WebRTC] ${red(`Failed to import ${selectedWrtcLibrary}: ${error instanceof NoConfiguredLibraryError ? error.message : ""}`)}`);
55+
console.log(`[WebRTC] ${red(`Failed to import ${selectedWrtcLibrary}: ${error instanceof NoConfiguredLibraryError ? error.message : (error as Error).message}`)}`);
5656

5757
return Promise.reject();
5858
}

0 commit comments

Comments
 (0)