diff options
author | developomp <developomp@gmail.com> | 2021-10-20 09:17:25 +0900 |
---|---|---|
committer | developomp <developomp@gmail.com> | 2021-10-20 09:17:25 +0900 |
commit | 26e8081400fa1e14f875596bb0f4a7d0d70495a9 (patch) | |
tree | 58dc4194cb50e71678b17b3d4f026fe693689948 /webrtc | |
parent | prettier formatted /util (diff) | |
download | server-26e8081400fa1e14f875596bb0f4a7d0d70495a9.tar.xz |
prettier formatted /webrtc
Diffstat (limited to 'webrtc')
-rw-r--r-- | webrtc/README.md | 1 | ||||
-rw-r--r-- | webrtc/src/Server.ts | 6 | ||||
-rw-r--r-- | webrtc/tsconfig.json | 8 |
3 files changed, 12 insertions, 3 deletions
diff --git a/webrtc/README.md b/webrtc/README.md index 026dae9d..c18ef54b 100644 --- a/webrtc/README.md +++ b/webrtc/README.md @@ -1,2 +1,3 @@ # fosscord-rtc-js + A javascript fosscord webrtc server for voice and video communication diff --git a/webrtc/src/Server.ts b/webrtc/src/Server.ts index 41ca65d1..6591691c 100644 --- a/webrtc/src/Server.ts +++ b/webrtc/src/Server.ts @@ -23,7 +23,11 @@ export class Server { ssrc: 1, ip: "127.0.0.1", port: 3004, - modes: ["xsalsa20_poly1305", "xsalsa20_poly1305_suffix", "xsalsa20_poly1305_lite"], + modes: [ + "xsalsa20_poly1305", + "xsalsa20_poly1305_suffix", + "xsalsa20_poly1305_lite", + ], heartbeat_interval: 1, }, }) diff --git a/webrtc/tsconfig.json b/webrtc/tsconfig.json index 70631fca..77353db0 100644 --- a/webrtc/tsconfig.json +++ b/webrtc/tsconfig.json @@ -7,7 +7,9 @@ // "incremental": true, /* Enable incremental compilation */ "target": "ESNext" /* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017', 'ES2018', 'ES2019', 'ES2020', or 'ESNEXT'. */, "module": "commonjs" /* Specify module code generation: 'none', 'commonjs', 'amd', 'system', 'umd', 'es2015', 'es2020', or 'ESNext'. */, - "lib": ["ES2021"] /* Specify library files to be included in the compilation. */, + "lib": [ + "ES2021" + ] /* Specify library files to be included in the compilation. */, "allowJs": true /* Allow javascript files to be compiled. */, "checkJs": true /* Report errors in .js files. */, // "jsx": "preserve", /* Specify JSX code generation: 'preserve', 'react-native', or 'react'. */ @@ -45,7 +47,9 @@ // "moduleResolution": "node", /* Specify module resolution strategy: 'node' (Node.js) or 'classic' (TypeScript pre-1.6). */ // "rootDirs": [], /* List of root folders whose combined content represents the structure of the project at runtime. */ // "typeRoots": [], /* List of folders to include type definitions from. */ - "types": ["node"] /* Type declaration files to be included in compilation. */, + "types": [ + "node" + ] /* Type declaration files to be included in compilation. */, // "allowSyntheticDefaultImports": true, /* Allow default imports from modules with no default export. This does not affect code emit, just typechecking. */ "esModuleInterop": true /* Enables emit interoperability between CommonJS and ES Modules via creation of namespace objects for all imports. Implies 'allowSyntheticDefaultImports'. */, // "preserveSymlinks": true, /* Do not resolve the real path of symlinks. */ |