diff --git a/app/src/Server.js b/app/src/Server.js
index 18c9f1a6..9fb8caee 100644
--- a/app/src/Server.js
+++ b/app/src/Server.js
@@ -44,7 +44,7 @@ dependencies: {
* @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
* @author Miroslav Pejic - miroslav.pejic.85@gmail.com
- * @version 1.5.34
+ * @version 1.5.35
*
*/
diff --git a/package.json b/package.json
index b4da81a5..67dcdf2e 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "mirotalksfu",
- "version": "1.5.34",
+ "version": "1.5.35",
"description": "WebRTC SFU browser-based video calls",
"main": "Server.js",
"scripts": {
diff --git a/public/css/Room.css b/public/css/Room.css
index 0c710f41..19c5ad66 100644
--- a/public/css/Room.css
+++ b/public/css/Room.css
@@ -442,6 +442,10 @@ th {
width: 180px;
}
+#VideoMirrorDiv {
+ margin-top: 10px;
+}
+
/*--------------------------------------------------------------
# RTMP settings
--------------------------------------------------------------*/
diff --git a/public/js/Room.js b/public/js/Room.js
index 503c204f..91a1b0bc 100644
--- a/public/js/Room.js
+++ b/public/js/Room.js
@@ -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 CodeCanyon: https://codecanyon.net/item/mirotalk-sfu-webrtc-realtime-video-conferences/40769970
* @author Miroslav Pejic - miroslav.pejic.85@gmail.com
- * @version 1.5.34
+ * @version 1.5.35
*
*/
@@ -2277,6 +2277,11 @@ function handleSelects() {
lS.setSettings(localStorageSettings);
e.target.blur();
};
+ switchVideoMirror.onchange = (e) => {
+ rc.toggleVideoMirror();
+ rc.roomMessage('toggleVideoMirror', e.currentTarget.checked);
+ e.target.blur();
+ };
switchSounds.onchange = (e) => {
isSoundEnabled = e.currentTarget.checked;
rc.roomMessage('sounds', isSoundEnabled);
@@ -2783,6 +2788,7 @@ function handleRoomClientEvents() {
show(stopVideoButton);
setColor(startVideoButton, 'red');
setVideoButtonsDisabled(false);
+ switchVideoMirror.disabled = false;
// if (isParticipantsListOpen) getRoomParticipants();
});
rc.on(RoomClient.EVENTS.pauseVideo, () => {
@@ -2805,6 +2811,7 @@ function handleRoomClientEvents() {
show(startVideoButton);
setVideoButtonsDisabled(false);
isVideoPrivacyActive = false;
+ switchVideoMirror.disabled = true;
// if (isParticipantsListOpen) getRoomParticipants();
});
rc.on(RoomClient.EVENTS.startScreen, () => {
@@ -4325,7 +4332,7 @@ function showAbout() {
imageUrl: image.about,
customClass: { image: 'img-about' },
position: 'center',
- title: 'WebRTC SFU v1.5.34',
+ title: 'WebRTC SFU v1.5.35',
html: `
Video Source:
Toggle mirror
+Camera FPS:
@@ -608,7 +617,6 @@ access to use this app.Speaker: