[mirotalk] - add init exit room, update dep
This commit is contained in:
+1
-1
@@ -1,5 +1,5 @@
|
||||
# ====================================================
|
||||
# MiroTalk P2P v.1.6.87 - Environment Configuration
|
||||
# MiroTalk P2P v.1.6.88 - Environment Configuration
|
||||
# ====================================================
|
||||
|
||||
# App environment
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
/**
|
||||
* ==============================================
|
||||
* MiroTalk P2P v.1.6.87 - Configuration File
|
||||
* MiroTalk P2P v.1.6.88 - Configuration File
|
||||
* ==============================================
|
||||
*
|
||||
* Branding and customizations require a license:
|
||||
|
||||
+1
-1
@@ -45,7 +45,7 @@ dependencies: {
|
||||
* @license For commercial use or closed source, contact us at license.mirotalk@gmail.com or purchase directly from CodeCanyon
|
||||
* @license CodeCanyon: https://codecanyon.net/item/mirotalk-p2p-webrtc-realtime-video-conferences/38376661
|
||||
* @author Miroslav Pejic - miroslav.pejic.85@gmail.com
|
||||
* @version 1.6.87
|
||||
* @version 1.6.88
|
||||
*
|
||||
*/
|
||||
|
||||
|
||||
Generated
+21
-21
@@ -1,17 +1,17 @@
|
||||
{
|
||||
"name": "mirotalk",
|
||||
"version": "1.6.87",
|
||||
"version": "1.6.88",
|
||||
"lockfileVersion": 3,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "mirotalk",
|
||||
"version": "1.6.87",
|
||||
"version": "1.6.88",
|
||||
"license": "AGPL-3.0",
|
||||
"dependencies": {
|
||||
"@mattermost/client": "11.2.0",
|
||||
"@ngrok/ngrok": "1.7.0",
|
||||
"@sentry/node": "^10.31.0",
|
||||
"@sentry/node": "^10.32.0",
|
||||
"axios": "^1.13.2",
|
||||
"chokidar": "^5.0.0",
|
||||
"colors": "^1.4.0",
|
||||
@@ -1107,18 +1107,18 @@
|
||||
"license": "Apache-2.0"
|
||||
},
|
||||
"node_modules/@sentry/core": {
|
||||
"version": "10.31.0",
|
||||
"resolved": "https://registry.npmjs.org/@sentry/core/-/core-10.31.0.tgz",
|
||||
"integrity": "sha512-VTSXdyhnu3CNaSwhp/CchZRCKh1fa7byP+KClApthsppQ57w7OjXN8dDUf38K1ZCsfdTEvdEU4qCL/WnAEbd+g==",
|
||||
"version": "10.32.0",
|
||||
"resolved": "https://registry.npmjs.org/@sentry/core/-/core-10.32.0.tgz",
|
||||
"integrity": "sha512-E+ihb8+5PBfYMamnXHalgsmxkcG2YQqhRdgYf3yWJ5dJvi4njh1VWK3kNVj1GvsU6ktaielAx4Rg5dwEFMnbZg==",
|
||||
"license": "MIT",
|
||||
"engines": {
|
||||
"node": ">=18"
|
||||
}
|
||||
},
|
||||
"node_modules/@sentry/node": {
|
||||
"version": "10.31.0",
|
||||
"resolved": "https://registry.npmjs.org/@sentry/node/-/node-10.31.0.tgz",
|
||||
"integrity": "sha512-xdQQEj5Xo6zjQ0cXs9qT+ANyE+c3p8DJBbXdkM3c0h//5wkWBXvbTPofpUJy+ojf7Ek5SDza62ith+b1y4Lwgw==",
|
||||
"version": "10.32.0",
|
||||
"resolved": "https://registry.npmjs.org/@sentry/node/-/node-10.32.0.tgz",
|
||||
"integrity": "sha512-KENGLH34gUlrNd9QVJFp37w64DZmorWarm67sFJ2J+VmBII0JMkbIJy1SdHyHxGtgitbokotMTjjf9isVnWwlw==",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"@opentelemetry/api": "^1.9.0",
|
||||
@@ -1151,9 +1151,9 @@
|
||||
"@opentelemetry/sdk-trace-base": "^2.2.0",
|
||||
"@opentelemetry/semantic-conventions": "^1.37.0",
|
||||
"@prisma/instrumentation": "6.19.0",
|
||||
"@sentry/core": "10.31.0",
|
||||
"@sentry/node-core": "10.31.0",
|
||||
"@sentry/opentelemetry": "10.31.0",
|
||||
"@sentry/core": "10.32.0",
|
||||
"@sentry/node-core": "10.32.0",
|
||||
"@sentry/opentelemetry": "10.32.0",
|
||||
"import-in-the-middle": "^2",
|
||||
"minimatch": "^9.0.0"
|
||||
},
|
||||
@@ -1162,14 +1162,14 @@
|
||||
}
|
||||
},
|
||||
"node_modules/@sentry/node-core": {
|
||||
"version": "10.31.0",
|
||||
"resolved": "https://registry.npmjs.org/@sentry/node-core/-/node-core-10.31.0.tgz",
|
||||
"integrity": "sha512-l05kK8Uj6WbIMvDq2bZNy3i2gU2d0s9ZqjLcSawWdjdqYSIplWSuK5/iDWBoNspQaPKHVE3/pQJfVw/IAbh+HA==",
|
||||
"version": "10.32.0",
|
||||
"resolved": "https://registry.npmjs.org/@sentry/node-core/-/node-core-10.32.0.tgz",
|
||||
"integrity": "sha512-O+TVuF1fO0j37W6IzdHCpTIr4uUkFzcSKgxNmH9ihYpRzkQgfLDZJWVxtov+H8/1pC5lkvl2VZhWmY+SWj2kHA==",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"@apm-js-collab/tracing-hooks": "^0.3.1",
|
||||
"@sentry/core": "10.31.0",
|
||||
"@sentry/opentelemetry": "10.31.0",
|
||||
"@sentry/core": "10.32.0",
|
||||
"@sentry/opentelemetry": "10.32.0",
|
||||
"import-in-the-middle": "^2"
|
||||
},
|
||||
"engines": {
|
||||
@@ -1186,12 +1186,12 @@
|
||||
}
|
||||
},
|
||||
"node_modules/@sentry/opentelemetry": {
|
||||
"version": "10.31.0",
|
||||
"resolved": "https://registry.npmjs.org/@sentry/opentelemetry/-/opentelemetry-10.31.0.tgz",
|
||||
"integrity": "sha512-3Xg8m4leB6rIOMmHMrn5cjWArKVDwDrryHZmi5Ci40x2KFpj36BnVKcmXOjx0rhKbSn03dzbue1Zx+/+FcsCKQ==",
|
||||
"version": "10.32.0",
|
||||
"resolved": "https://registry.npmjs.org/@sentry/opentelemetry/-/opentelemetry-10.32.0.tgz",
|
||||
"integrity": "sha512-owGL94JAgbwxgaeUNLktJWMShZPo04ZKTaQhhLz3YmVDJFj8VFOQXdWBMqv1Gv6T6/fCuTlwzJ3rvpSOImxXUQ==",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"@sentry/core": "10.31.0"
|
||||
"@sentry/core": "10.32.0"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=18"
|
||||
|
||||
+2
-2
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "mirotalk",
|
||||
"version": "1.6.87",
|
||||
"version": "1.6.88",
|
||||
"description": "A free WebRTC browser-based video call",
|
||||
"main": "server.js",
|
||||
"scripts": {
|
||||
@@ -43,7 +43,7 @@
|
||||
"dependencies": {
|
||||
"@mattermost/client": "11.2.0",
|
||||
"@ngrok/ngrok": "1.7.0",
|
||||
"@sentry/node": "^10.31.0",
|
||||
"@sentry/node": "^10.32.0",
|
||||
"axios": "^1.13.2",
|
||||
"chokidar": "^5.0.0",
|
||||
"colors": "^1.4.0",
|
||||
|
||||
+1
-1
@@ -77,7 +77,7 @@ let brand = {
|
||||
},
|
||||
about: {
|
||||
imageUrl: '../images/mirotalk-logo.gif',
|
||||
title: 'WebRTC P2P v1.6.87',
|
||||
title: 'WebRTC P2P v1.6.88',
|
||||
html: `
|
||||
<button
|
||||
id="support-button"
|
||||
|
||||
+15
-2
@@ -15,7 +15,7 @@
|
||||
* @license For commercial use or closed source, contact us at license.mirotalk@gmail.com or purchase directly from CodeCanyon
|
||||
* @license CodeCanyon: https://codecanyon.net/item/mirotalk-p2p-webrtc-realtime-video-conferences/38376661
|
||||
* @author Miroslav Pejic - miroslav.pejic.85@gmail.com
|
||||
* @version 1.6.87
|
||||
* @version 1.6.88
|
||||
*
|
||||
*/
|
||||
|
||||
@@ -175,6 +175,7 @@ const initAudioBtn = getId('initAudioBtn');
|
||||
const initScreenShareBtn = getId('initScreenShareBtn');
|
||||
const initVideoMirrorBtn = getId('initVideoMirrorBtn');
|
||||
const initUsernameEmojiButton = getId('initUsernameEmojiButton');
|
||||
const initExitBtn = getId('initExitBtn');
|
||||
const initVideoSelect = getId('initVideoSelect');
|
||||
const initMicrophoneSelect = getId('initMicrophoneSelect');
|
||||
const initSpeakerSelect = getId('initSpeakerSelect');
|
||||
@@ -776,6 +777,8 @@ function setButtonsToolTip() {
|
||||
setTippy(initScreenShareBtn, 'Toggle screen sharing', 'top');
|
||||
setTippy(initVideoMirrorBtn, 'Toggle video mirror', 'top');
|
||||
setTippy(initUsernameEmojiButton, 'Toggle username emoji', 'top');
|
||||
setTippy(initExitBtn, 'Leave room', 'top');
|
||||
|
||||
// Main buttons
|
||||
refreshMainButtonsToolTipPlacement();
|
||||
// Chat room buttons
|
||||
@@ -1648,6 +1651,9 @@ async function whoAreYou() {
|
||||
getId('usernameInput').value = '';
|
||||
toggleUsernameEmoji();
|
||||
};
|
||||
initExitBtn.onclick = (e) => {
|
||||
initExitRoom();
|
||||
};
|
||||
|
||||
await loadLocalStorage();
|
||||
|
||||
@@ -13494,7 +13500,7 @@ function showAbout() {
|
||||
Swal.fire({
|
||||
background: swBg,
|
||||
position: 'center',
|
||||
title: brand.about?.title && brand.about.title.trim() !== '' ? brand.about.title : 'WebRTC P2P v1.6.87',
|
||||
title: brand.about?.title && brand.about.title.trim() !== '' ? brand.about.title : 'WebRTC P2P v1.6.88',
|
||||
imageUrl: brand.about?.imageUrl && brand.about.imageUrl.trim() !== '' ? brand.about.imageUrl : images.about,
|
||||
customClass: { image: 'img-about' },
|
||||
html: `
|
||||
@@ -13540,6 +13546,13 @@ function showAbout() {
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Init Exit Room
|
||||
*/
|
||||
function initExitRoom() {
|
||||
openURL('/');
|
||||
}
|
||||
|
||||
/**
|
||||
* Leave the Room and create a new one
|
||||
*/
|
||||
|
||||
@@ -120,6 +120,7 @@ access to use this app.
|
||||
<button id="initScreenShareBtn" class="fas fa-desktop"></button>
|
||||
<button id="initVideoMirrorBtn" class="fas fa-arrow-right-arrow-left"></button>
|
||||
<button id="initUsernameEmojiButton" class="fas fa-smile"></button>
|
||||
<button id="initExitBtn" class="fas fa-sign-out-alt red"></button>
|
||||
<select id="initVideoSelect" class="form-select text-light bg-dark"></select>
|
||||
<select id="initMicrophoneSelect" class="form-select text-light bg-dark"></select>
|
||||
<select id="initSpeakerSelect" class="form-select text-light bg-dark"></select>
|
||||
|
||||
Reference in New Issue
Block a user