-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
refactor: migrate mediasoup WebRTC server from JavaScript to TypeScript #29
Open
gabrielmatau79
wants to merge
8
commits into
main
Choose a base branch
from
refactor/webrtc-server-ts
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 1 commit
Commits
Show all changes
8 commits
Select commit
Hold shift + click to select a range
4ac60e3
refactor: Initial commit migrate mediasoup WebRTC server from JavaScr…
gabrielmatau79 61b35d3
feat: Unify the Protoo server with the REST API Room module service
gabrielmatau79 59ab73b
feat: support TLS certificates for webrtc server
gabrielmatau79 c57cc50
feat:
gabrielmatau79 d022de0
test: Add test unit and fix features rooms module and change node ver…
gabrielmatau79 dc4fa69
feat: add check-types command to eslint verification and ignore demo …
gabrielmatau79 c8e9227
test: Add test e2e and modify onModuleInit and onModuleDestroy into …
gabrielmatau79 e75ad74
fix: check-types variables never used into test e2e and rooms.service
gabrielmatau79 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
module.exports = { | ||
parser: '@typescript-eslint/parser', | ||
parserOptions: { | ||
project: 'tsconfig.json', | ||
tsconfigRootDir: __dirname, | ||
sourceType: 'module', | ||
}, | ||
plugins: ['@typescript-eslint/eslint-plugin'], | ||
extends: [ | ||
'plugin:@typescript-eslint/recommended', | ||
'plugin:prettier/recommended', | ||
], | ||
root: true, | ||
env: { | ||
node: true, | ||
jest: true, | ||
}, | ||
ignorePatterns: ['.eslintrc.js'], | ||
rules: { | ||
'@typescript-eslint/interface-name-prefix': 'off', | ||
'@typescript-eslint/explicit-function-return-type': 'off', | ||
'@typescript-eslint/explicit-module-boundary-types': 'off', | ||
'@typescript-eslint/no-explicit-any': 'off', | ||
}, | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,36 @@ | ||
node_modules | ||
certs | ||
# compiled output | ||
/dist | ||
/node_modules | ||
/certs | ||
|
||
# Logs | ||
logs | ||
*.log | ||
npm-debug.log* | ||
pnpm-debug.log* | ||
yarn-debug.log* | ||
yarn-error.log* | ||
lerna-debug.log* | ||
|
||
# OS | ||
.DS_Store | ||
|
||
# Tests | ||
/coverage | ||
/.nyc_output | ||
|
||
# IDEs and editors | ||
/.idea | ||
.project | ||
.classpath | ||
.c9/ | ||
*.launch | ||
.settings/ | ||
*.sublime-workspace | ||
|
||
# IDE - VSCode | ||
.vscode/* | ||
!.vscode/settings.json | ||
!.vscode/tasks.json | ||
!.vscode/launch.json | ||
!.vscode/extensions.json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{ | ||
"printWidth": 120, | ||
"semi": false, | ||
"singleQuote": true | ||
} |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
-----BEGIN CERTIFICATE----- | ||
MIIDnTCCAoWgAwIBAgIUF4Z3Z6DCBcVl15JMrUpr/8zGK2UwDQYJKoZIhvcNAQEL | ||
BQAwXjELMAkGA1UEBhMCQ0gxDTALBgNVBAgMBFZhdWQxETAPBgNVBAcMCExhdXNh | ||
bm5lMQwwCgYDVQQKDANESEMxCzAJBgNVBAsMAklUMRIwEAYDVQQDDAlsb2NhbGhv | ||
c3QwHhcNMjMwODIyMTExNzQ5WhcNMjQwODIxMTExNzQ5WjBeMQswCQYDVQQGEwJD | ||
SDENMAsGA1UECAwEVmF1ZDERMA8GA1UEBwwITGF1c2FubmUxDDAKBgNVBAoMA0RI | ||
QzELMAkGA1UECwwCSVQxEjAQBgNVBAMMCWxvY2FsaG9zdDCCASIwDQYJKoZIhvcN | ||
AQEBBQADggEPADCCAQoCggEBALOyS9XZXPDZuGFJ/Ah25ceCK1UOoJnkHzyK5R+r | ||
g0MW2lIRR37eFcx7jgNRo6b+HdqxT9WEZROUzumvfFw3dLlwpup8rBcNtcKI9tNT | ||
nkatl5CrBdgngPtbnm6IVxalUR+c7VjtvtNWQL68URF6H95fnLciMoTpLD8b7xXr | ||
w/OuHtA1tkxavQTrfXYW8UVjlaA5s/BCshIsuIIEc6jDx0RtwCK5cx9GeJAfiy60 | ||
Id6zq5Aa/qb9cHqUC+K3VNUHMXUx7V4lcG+G3o6lbbjoussvh2ZlWyWE7zN+r1W/ | ||
cVWDbEKLBCBgNI+/asxMaMCCWOgqshhBX/8w02O4WoOGMscCAwEAAaNTMFEwHQYD | ||
VR0OBBYEFCpLophcXv2eGwnMmCiTdn95koAvMB8GA1UdIwQYMBaAFCpLophcXv2e | ||
GwnMmCiTdn95koAvMA8GA1UdEwEB/wQFMAMBAf8wDQYJKoZIhvcNAQELBQADggEB | ||
AItAnIciWZFmV8SUZyPAHw4R74Fro2KbxwSqCAt4wvUx0MkXJjYTxkVoSugX5XXQ | ||
Ivsp/o0G52Mf0cSn7EFxXZwfNMzJtIld4NvFC66nKQxeVi65JfKwK3gFA/qijpZq | ||
5+ePoi3l/KR4jbbPsuVMs7aYx4NJQbTvdKLk6zOIpZKC7hC9mh88LgeQRjAK+0YM | ||
yREdx1SNKofPHlhthvRpbBnAoSYabft1yUx6Ymf49HNB/avKjU1AFmkGsqjzBm1c | ||
e8kumChkeQttV4aeUYr6UtLxBEptm8YIaYoPgCz1POKcnjaAEpvou/UWTYrhTPVx | ||
BHN1BMYLiB/UZo6TwGYdkYs= | ||
-----END CERTIFICATE----- |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If you don’t need to update this file, avoiding unnecessary changes is a good practice. Keep in mind that during a refactor, you may have many important changes, and this can make the review process more difficult.