[mirotalksfu] - refactoring
هذا الالتزام موجود في:
@@ -135,6 +135,7 @@ Embedding a meeting into a service or app using an iframe.
|
|||||||
```
|
```
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
## DigitalOcean
|
## DigitalOcean
|
||||||
|
|
||||||
This application is running just for `demonstration purposes` on [DigitalOcean](https://m.do.co/c/1070207afbb1) `droplet Ubuntu 20.04 (LTS) x64 [1 vCPU - 1GB Ram]`, with [Ngnix](https://www.nginx.com/) and [Let's Encrypt](https://letsencrypt.org/).
|
This application is running just for `demonstration purposes` on [DigitalOcean](https://m.do.co/c/1070207afbb1) `droplet Ubuntu 20.04 (LTS) x64 [1 vCPU - 1GB Ram]`, with [Ngnix](https://www.nginx.com/) and [Let's Encrypt](https://letsencrypt.org/).
|
||||||
|
|||||||
@@ -279,7 +279,7 @@ async function ngrokStart() {
|
|||||||
let pu0 = data.tunnels[0].public_url;
|
let pu0 = data.tunnels[0].public_url;
|
||||||
let pu1 = data.tunnels[1].public_url;
|
let pu1 = data.tunnels[1].public_url;
|
||||||
let tunnel = pu0.startsWith('https') ? pu0 : pu1;
|
let tunnel = pu0.startsWith('https') ? pu0 : pu1;
|
||||||
log.debug('Listening on', {
|
log.info('Listening on', {
|
||||||
hostConfig: hostCfg,
|
hostConfig: hostCfg,
|
||||||
announced_ip: announcedIP,
|
announced_ip: announcedIP,
|
||||||
server: host,
|
server: host,
|
||||||
@@ -300,7 +300,7 @@ async function ngrokStart() {
|
|||||||
// ####################################################
|
// ####################################################
|
||||||
|
|
||||||
httpsServer.listen(config.listenPort, () => {
|
httpsServer.listen(config.listenPort, () => {
|
||||||
log.debug(
|
log.info(
|
||||||
`%c
|
`%c
|
||||||
|
|
||||||
███████╗██╗ ██████╗ ███╗ ██╗ ███████╗███████╗██████╗ ██╗ ██╗███████╗██████╗
|
███████╗██╗ ██████╗ ███╗ ██╗ ███████╗███████╗██████╗ ██╗ ██╗███████╗██████╗
|
||||||
|
|||||||
@@ -16,3 +16,5 @@ rm csr.pem
|
|||||||
|
|
||||||
# https://www.sslchecker.com/certdecoder
|
# https://www.sslchecker.com/certdecoder
|
||||||
```
|
```
|
||||||
|
|
||||||
|
For trusted certificate, take a look at [Let's Encrypt](https://letsencrypt.org/i) and [Certbot](https://certbot.eff.org/).
|
||||||
@@ -14,7 +14,7 @@
|
|||||||
"url": "git+https://github.com/miroslavpejic85/mirotalksfu"
|
"url": "git+https://github.com/miroslavpejic85/mirotalksfu"
|
||||||
},
|
},
|
||||||
"author": "Miroslav Pejic",
|
"author": "Miroslav Pejic",
|
||||||
"license": "AGPLv3",
|
"license": "AGPL-3.0",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"compression": "1.7.4",
|
"compression": "1.7.4",
|
||||||
"cors": "2.8.5",
|
"cors": "2.8.5",
|
||||||
@@ -23,8 +23,8 @@
|
|||||||
"mediasoup": "3.9.9",
|
"mediasoup": "3.9.9",
|
||||||
"mediasoup-client": "3.6.51",
|
"mediasoup-client": "3.6.51",
|
||||||
"ngrok": "4.3.1",
|
"ngrok": "4.3.1",
|
||||||
"@sentry/node": "^6.19.4",
|
"@sentry/node": "6.19.6",
|
||||||
"@sentry/integrations": "^6.19.4",
|
"@sentry/integrations": "6.19.6",
|
||||||
"socket.io": "4.4.1",
|
"socket.io": "4.4.1",
|
||||||
"swagger-ui-express": "4.3.0",
|
"swagger-ui-express": "4.3.0",
|
||||||
"uuid": "8.3.2",
|
"uuid": "8.3.2",
|
||||||
|
|||||||
@@ -963,7 +963,7 @@ function handleRoomClientEvents() {
|
|||||||
show(stopVideoButton);
|
show(stopVideoButton);
|
||||||
});
|
});
|
||||||
rc.on(RoomClient.EVENTS.stopVideo, () => {
|
rc.on(RoomClient.EVENTS.stopVideo, () => {
|
||||||
console.log('Room Client stop audio');
|
console.log('Room Client stop video');
|
||||||
hide(stopVideoButton);
|
hide(stopVideoButton);
|
||||||
show(startVideoButton);
|
show(startVideoButton);
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -1137,7 +1137,6 @@ class RoomClient {
|
|||||||
this.getId(i.id).style.display = 'block';
|
this.getId(i.id).style.display = 'block';
|
||||||
handleAspectRatio();
|
handleAspectRatio();
|
||||||
console.log('[setVideoOff] Video-element-count', this.videoMediaContainer.childElementCount);
|
console.log('[setVideoOff] Video-element-count', this.videoMediaContainer.childElementCount);
|
||||||
this.sound('joined');
|
|
||||||
}
|
}
|
||||||
|
|
||||||
removeVideoOff(peer_id) {
|
removeVideoOff(peer_id) {
|
||||||
|
|||||||
المرجع في مشكلة جديدة
حظر مستخدم