[mirotalksfu] - fix typo, update dep
هذا الالتزام موجود في:
@@ -7,15 +7,18 @@ module.exports = class Peer {
|
|||||||
constructor(socket_id, data) {
|
constructor(socket_id, data) {
|
||||||
const { peer_info } = data;
|
const { peer_info } = data;
|
||||||
|
|
||||||
|
const { peer_name, peer_presenter, peer_audio, peer_video, peer_video_privacy, peer_recording, peer_hand } =
|
||||||
|
peer_info;
|
||||||
|
|
||||||
this.id = socket_id;
|
this.id = socket_id;
|
||||||
this.peer_info = peer_info;
|
this.peer_info = peer_info;
|
||||||
this.peer_name = peer_info.peer_name;
|
this.peer_name = peer_name;
|
||||||
this.peer_presenter = peer_info.peer_presenter;
|
this.peer_presenter = peer_presenter;
|
||||||
this.peer_audio = peer_info.peer_audio;
|
this.peer_audio = peer_audio;
|
||||||
this.peer_video = peer_info.peer_video;
|
this.peer_video = peer_video;
|
||||||
this.peer_video_privacy = peer_info.peer_video_privacy;
|
this.peer_video_privacy = peer_video_privacy;
|
||||||
this.peer_recording = peer_info.peer_recording;
|
this.peer_recording = peer_recording;
|
||||||
this.peer_hand = peer_info.peer_hand;
|
this.peer_hand = peer_hand;
|
||||||
|
|
||||||
this.transports = new Map();
|
this.transports = new Map();
|
||||||
this.consumers = new Map();
|
this.consumers = new Map();
|
||||||
@@ -150,7 +153,7 @@ module.exports = class Peer {
|
|||||||
|
|
||||||
producer.on('transportclose', () => {
|
producer.on('transportclose', () => {
|
||||||
log.debug('Producer transport closed', {
|
log.debug('Producer transport closed', {
|
||||||
peer_name: this.peer_info?.peer_name,
|
peer_name: this.peer_name,
|
||||||
producer_id: id,
|
producer_id: id,
|
||||||
});
|
});
|
||||||
this.closeProducer(id);
|
this.closeProducer(id);
|
||||||
@@ -237,7 +240,7 @@ module.exports = class Peer {
|
|||||||
|
|
||||||
consumer.on('transportclose', () => {
|
consumer.on('transportclose', () => {
|
||||||
log.debug('Consumer transport close', {
|
log.debug('Consumer transport close', {
|
||||||
peer_name: this.peer_info?.peer_name,
|
peer_name: this.peer_name,
|
||||||
consumer_id: id,
|
consumer_id: id,
|
||||||
});
|
});
|
||||||
this.removeConsumer(id);
|
this.removeConsumer(id);
|
||||||
|
|||||||
@@ -41,7 +41,7 @@ dependencies: {
|
|||||||
* @license For commercial or closed source, contact us at license.mirotalk@gmail.com or purchase directly via CodeCanyon
|
* @license For commercial or closed source, contact us at license.mirotalk@gmail.com or purchase directly via CodeCanyon
|
||||||
* @license CodeCanyon: https://codecanyon.net/item/mirotalk-sfu-webrtc-realtime-video-conferences/40769970
|
* @license CodeCanyon: https://codecanyon.net/item/mirotalk-sfu-webrtc-realtime-video-conferences/40769970
|
||||||
* @author Miroslav Pejic - miroslav.pejic.85@gmail.com
|
* @author Miroslav Pejic - miroslav.pejic.85@gmail.com
|
||||||
* @version 1.4.11
|
* @version 1.4.12
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "mirotalksfu",
|
"name": "mirotalksfu",
|
||||||
"version": "1.4.11",
|
"version": "1.4.12",
|
||||||
"description": "WebRTC SFU browser-based video calls",
|
"description": "WebRTC SFU browser-based video calls",
|
||||||
"main": "Server.js",
|
"main": "Server.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
@@ -52,7 +52,7 @@
|
|||||||
"mediasoup": "3.13.24",
|
"mediasoup": "3.13.24",
|
||||||
"mediasoup-client": "3.7.6",
|
"mediasoup-client": "3.7.6",
|
||||||
"ngrok": "^5.0.0-beta.2",
|
"ngrok": "^5.0.0-beta.2",
|
||||||
"openai": "^4.30.0",
|
"openai": "^4.32.2",
|
||||||
"qs": "6.12.0",
|
"qs": "6.12.0",
|
||||||
"socket.io": "4.7.5",
|
"socket.io": "4.7.5",
|
||||||
"swagger-ui-express": "5.0.0",
|
"swagger-ui-express": "5.0.0",
|
||||||
|
|||||||
@@ -11,7 +11,7 @@ if (location.href.substr(0, 5) !== 'https') location.href = 'https' + location.h
|
|||||||
* @license For commercial or closed source, contact us at license.mirotalk@gmail.com or purchase directly via CodeCanyon
|
* @license For commercial or closed source, contact us at license.mirotalk@gmail.com or purchase directly via CodeCanyon
|
||||||
* @license CodeCanyon: https://codecanyon.net/item/mirotalk-sfu-webrtc-realtime-video-conferences/40769970
|
* @license CodeCanyon: https://codecanyon.net/item/mirotalk-sfu-webrtc-realtime-video-conferences/40769970
|
||||||
* @author Miroslav Pejic - miroslav.pejic.85@gmail.com
|
* @author Miroslav Pejic - miroslav.pejic.85@gmail.com
|
||||||
* @version 1.4.11
|
* @version 1.4.12
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|||||||
المرجع في مشكلة جديدة
حظر مستخدم