Skip to content

Commit

Permalink
[mirotalksfu] - imporvements
Browse files Browse the repository at this point in the history
  • Loading branch information
miroslavpejic85 committed Jan 3, 2025
1 parent 8460f30 commit 2ef2add
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions app/src/Server.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ dev dependencies: {
* @license For commercial or closed source, contact us at [email protected] or purchase directly via CodeCanyon
* @license CodeCanyon: https://codecanyon.net/item/mirotalk-sfu-webrtc-realtime-video-conferences/40769970
* @author Miroslav Pejic - [email protected]
* @version 1.6.76
* @version 1.6.77
*
*/

Expand Down Expand Up @@ -513,7 +513,7 @@ function startServer() {

log.debug('Direct Join', req.query);

// http://localhost:3010/join?room=test&roomPassword=0&name=mirotalksfu&audio=1&video=1&screen=0&hide=0&notify=1&duration=00:00:20
// http://localhost:3010/join?room=test&roomPassword=0&name=mirotalksfu&audio=1&video=1&screen=0&hide=0&notify=1&duration=00:00:30
// http://localhost:3010/join?room=test&roomPassword=0&name=mirotalksfu&audio=1&video=1&screen=0&hide=0&notify=0&token=token

const { room, roomPassword, name, audio, video, screen, hide, notify, duration, token, isPresenter } =
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "mirotalksfu",
"version": "1.6.76",
"version": "1.6.77",
"description": "WebRTC SFU browser-based video calls",
"main": "Server.js",
"scripts": {
Expand Down
6 changes: 3 additions & 3 deletions public/js/Room.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 [email protected] or purchase directly via CodeCanyon
* @license CodeCanyon: https://codecanyon.net/item/mirotalk-sfu-webrtc-realtime-video-conferences/40769970
* @author Miroslav Pejic - [email protected]
* @version 1.6.76
* @version 1.6.77
*
*/

Expand Down Expand Up @@ -866,7 +866,7 @@ function getRoomDuration() {
Swal.showLoading();
},
willClose: () => {
openURL('/');
rc.exitRoom(true);
},
});
}, timeLimit);
Expand Down Expand Up @@ -4676,7 +4676,7 @@ function showAbout() {
imageUrl: image.about,
customClass: { image: 'img-about' },
position: 'center',
title: 'WebRTC SFU v1.6.76',
title: 'WebRTC SFU v1.6.77',
html: `
<br />
<div id="about">
Expand Down
6 changes: 3 additions & 3 deletions public/js/RoomClient.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
* @license For commercial or closed source, contact us at [email protected] or purchase directly via CodeCanyon
* @license CodeCanyon: https://codecanyon.net/item/mirotalk-sfu-webrtc-realtime-video-conferences/40769970
* @author Miroslav Pejic - [email protected]
* @version 1.6.76
* @version 1.6.77
*
*/

Expand Down Expand Up @@ -2815,9 +2815,9 @@ class RoomClient {
}
}

exitRoom() {
exitRoom(disconnectAll = false) {
//...
if (isPresenter && switchDisconnectAllOnLeave.checked) {
if (isPresenter && (disconnectAll || switchDisconnectAllOnLeave.checked)) {
this.ejectAllOnLeave();
}
this.exit();
Expand Down

0 comments on commit 2ef2add

Please sign in to comment.