-
-
Notifications
You must be signed in to change notification settings - Fork 58
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[mirotalkc2c] - change home to leave room
- Loading branch information
1 parent
fceb4c9
commit 04848d5
Showing
5 changed files
with
15 additions
and
11 deletions.
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 |
---|---|---|
|
@@ -9,7 +9,7 @@ | |
* @license For private project or commercial purposes contact us at: [email protected] or purchase it directly via Code Canyon: | ||
* @license https://codecanyon.net/item/mirotalk-c2c-webrtc-real-time-cam-2-cam-video-conferences-and-screen-sharing/43383005 | ||
* @author Miroslav Pejic - [email protected] | ||
* @version 1.1.30 | ||
* @version 1.1.31 | ||
*/ | ||
|
||
require('dotenv').config(); | ||
|
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 |
---|---|---|
|
@@ -19,3 +19,7 @@ | |
::-webkit-scrollbar-track { | ||
background: #1a1b1f; | ||
} | ||
|
||
.red { | ||
color: red !important; | ||
} |
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 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 |
---|---|---|
|
@@ -9,7 +9,7 @@ | |
* @license For private project or commercial purposes contact us at: [email protected] or purchase it directly via Code Canyon: | ||
* @license https://codecanyon.net/item/mirotalk-c2c-webrtc-real-time-cam-2-cam-video-conferences-and-screen-sharing/43383005 | ||
* @author Miroslav Pejic - [email protected] | ||
* @version 1.1.30 | ||
* @version 1.1.31 | ||
*/ | ||
|
||
const roomId = new URLSearchParams(window.location.search).get('room'); | ||
|
@@ -24,15 +24,15 @@ const initAudioBtn = document.getElementById('initAudioBtn'); | |
const initVideoBtn = document.getElementById('initVideoBtn'); | ||
const initScreenShareBtn = document.getElementById('initScreenShareBtn'); | ||
const initSettingsBtn = document.getElementById('initSettingsBtn'); | ||
const initHomeBtn = document.getElementById('initHomeBtn'); | ||
const initLeaveBtn = document.getElementById('initLeaveBtn'); | ||
const buttonsBar = document.getElementById('buttonsBar'); | ||
const hideMeBtn = document.getElementById('hideMeBtn'); | ||
const audioBtn = document.getElementById('audioBtn'); | ||
const videoBtn = document.getElementById('videoBtn'); | ||
const swapCameraBtn = document.getElementById('swapCameraBtn'); | ||
const settingsBtn = document.getElementById('settingsBtn'); | ||
const screenShareBtn = document.getElementById('screenShareBtn'); | ||
const homeBtn = document.getElementById('homeBtn'); | ||
const leaveBtn = document.getElementById('leaveBtn'); | ||
const settings = document.getElementById('settings'); | ||
const settingsCloseBtn = document.getElementById('settingsCloseBtn'); | ||
const audioSource = document.getElementById('audioSource'); | ||
|
@@ -189,15 +189,15 @@ const tooltips = [ | |
{ element: initAudioBtn, text: 'Toggle audio', position: 'top' }, | ||
{ element: initScreenShareBtn, text: 'Toggle screen sharing', position: 'top' }, | ||
{ element: initSettingsBtn, text: 'Toggle settings', position: 'top' }, | ||
{ element: initHomeBtn, text: 'Go to home page', position: 'top' }, | ||
{ element: initLeaveBtn, text: 'Leave room', position: 'top' }, | ||
{ element: hideMeBtn, text: 'Hide myself', position: 'top' }, | ||
{ element: videoBtn, text: 'Toggle video', position: 'top' }, | ||
{ element: audioBtn, text: 'Toggle audio', position: 'top' }, | ||
{ element: swapCameraBtn, text: 'Swap camera', position: 'top' }, | ||
{ element: screenShareBtn, text: 'Toggle screen sharing', position: 'top' }, | ||
{ element: chatOpenBtn, text: 'Toggle chat', position: 'top' }, | ||
{ element: settingsBtn, text: 'Toggle settings', position: 'top' }, | ||
{ element: homeBtn, text: 'Go to home page', position: 'top' }, | ||
{ element: leaveBtn, text: 'Leave room', position: 'top' }, | ||
//... | ||
]; | ||
|
||
|
@@ -741,7 +741,7 @@ function handleIncomingDataChannelMessage(config) { | |
} | ||
|
||
function handleEvents() { | ||
initHomeBtn.onclick = () => { | ||
initLeaveBtn.onclick = () => { | ||
endCall(); | ||
}; | ||
copyRoomBtn.onclick = () => { | ||
|
@@ -901,7 +901,7 @@ function handleEvents() { | |
} | ||
checkLineBreaks(); | ||
}; | ||
homeBtn.onclick = () => { | ||
leaveBtn.onclick = () => { | ||
endCall(); | ||
}; | ||
} | ||
|
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