[mirotalk] - restored pip and pip-document
This commit is contained in:
@@ -52,6 +52,7 @@ module.exports = {
|
||||
showWhiteboardBtn: true,
|
||||
showSnapshotRoomBtn: true,
|
||||
showFileShareBtn: true,
|
||||
showDocumentPipBtn: true,
|
||||
showMySettingsBtn: true,
|
||||
showAboutBtn: true, // Please keep me always true, Thank you!
|
||||
},
|
||||
@@ -87,6 +88,7 @@ module.exports = {
|
||||
showAudioVolume: true,
|
||||
audioBtnClickAllowed: true,
|
||||
videoBtnClickAllowed: true,
|
||||
showVideoPipBtn: true,
|
||||
showKickOutBtn: true,
|
||||
showSnapShotBtn: true,
|
||||
showFileShareBtn: true,
|
||||
@@ -96,6 +98,7 @@ module.exports = {
|
||||
showVideoFocusBtn: true,
|
||||
},
|
||||
local: {
|
||||
showVideoPipBtn: true,
|
||||
showSnapShotBtn: true,
|
||||
showVideoCircleBtn: true,
|
||||
showZoomInOutBtn: false,
|
||||
|
||||
+1
-1
@@ -39,7 +39,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.4.42
|
||||
* @version 1.4.43
|
||||
*
|
||||
*/
|
||||
|
||||
|
||||
+2
-2
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "mirotalk",
|
||||
"version": "1.4.42",
|
||||
"version": "1.4.43",
|
||||
"description": "A free WebRTC browser-based video call",
|
||||
"main": "server.js",
|
||||
"scripts": {
|
||||
@@ -55,7 +55,7 @@
|
||||
"js-yaml": "^4.1.0",
|
||||
"ngrok": "^5.0.0-beta.2",
|
||||
"nodemailer": "^6.9.16",
|
||||
"openai": "^4.78.0",
|
||||
"openai": "^4.78.1",
|
||||
"qs": "^6.13.1",
|
||||
"socket.io": "^4.8.1",
|
||||
"swagger-ui-express": "^5.0.1",
|
||||
|
||||
@@ -20,6 +20,7 @@ let buttons = {
|
||||
showWhiteboardBtn: true,
|
||||
showSnapshotRoomBtn: true,
|
||||
showFileShareBtn: true,
|
||||
showDocumentPipBtn: true,
|
||||
showMySettingsBtn: true,
|
||||
showAboutBtn: true, // Please keep me always true, Thank you!
|
||||
},
|
||||
@@ -55,6 +56,7 @@ let buttons = {
|
||||
showAudioVolume: true,
|
||||
audioBtnClickAllowed: true,
|
||||
videoBtnClickAllowed: true,
|
||||
showVideoPipBtn: true,
|
||||
showKickOutBtn: true,
|
||||
showSnapShotBtn: true,
|
||||
showFileShareBtn: true,
|
||||
@@ -64,6 +66,7 @@ let buttons = {
|
||||
showVideoFocusBtn: true,
|
||||
},
|
||||
local: {
|
||||
showVideoPipBtn: true,
|
||||
showSnapShotBtn: true,
|
||||
showVideoCircleBtn: true,
|
||||
showZoomInOutBtn: false,
|
||||
|
||||
+8
-6
@@ -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.4.42
|
||||
* @version 1.4.43
|
||||
*
|
||||
*/
|
||||
|
||||
@@ -3115,7 +3115,7 @@ async function loadLocalMedia(stream, kind) {
|
||||
|
||||
myVideoNavBar.appendChild(myVideoMirrorBtn);
|
||||
|
||||
buttons.local.showVideoPipBtn && myVideoNavBar.appendChild(myVideoPiPBtn);
|
||||
if (showVideoPipBtn && buttons.local.showVideoPipBtn) myVideoNavBar.appendChild(myVideoPiPBtn);
|
||||
|
||||
if (buttons.local.showZoomInOutBtn) {
|
||||
myVideoNavBar.appendChild(myVideoZoomInBtn);
|
||||
@@ -3174,7 +3174,8 @@ async function loadLocalMedia(stream, kind) {
|
||||
|
||||
handleVideoPinUnpin(myLocalMedia.id, myVideoPinBtn.id, myVideoWrap.id, myLocalMedia.id);
|
||||
|
||||
buttons.local.showVideoPipBtn && handlePictureInPicture(myVideoPiPBtn.id, myLocalMedia.id, myPeerId);
|
||||
if (showVideoPipBtn && buttons.local.showVideoPipBtn)
|
||||
handlePictureInPicture(myVideoPiPBtn.id, myLocalMedia.id, myPeerId);
|
||||
|
||||
ZOOM_IN_OUT_ENABLED && handleVideoZoomInOut(myVideoZoomInBtn.id, myVideoZoomOutBtn.id, myLocalMedia.id);
|
||||
|
||||
@@ -3429,7 +3430,7 @@ async function loadRemoteMediaStream(stream, peers, peer_id, kind) {
|
||||
|
||||
remoteVideoNavBar.appendChild(remoteVideoMirrorBtn);
|
||||
|
||||
buttons.remote.showVideoPipBtn && remoteVideoNavBar.appendChild(remoteVideoPiPBtn);
|
||||
if (showVideoPipBtn && buttons.remote.showVideoPipBtn) remoteVideoNavBar.appendChild(remoteVideoPiPBtn);
|
||||
|
||||
// Add to expand container div...
|
||||
if (buttons.remote.showZoomInOutBtn) {
|
||||
@@ -3502,7 +3503,8 @@ async function loadRemoteMediaStream(stream, peers, peer_id, kind) {
|
||||
handleVideoToggleMirror(remoteMedia.id, remoteVideoMirrorBtn.id);
|
||||
|
||||
// handle vide picture in picture
|
||||
buttons.remote.showVideoPipBtn && handlePictureInPicture(remoteVideoPiPBtn.id, remoteMedia.id, peer_id);
|
||||
if (showVideoPipBtn && buttons.remote.showVideoPipBtn)
|
||||
handlePictureInPicture(remoteVideoPiPBtn.id, remoteMedia.id, peer_id);
|
||||
|
||||
// handle video zoomIn/Out
|
||||
ZOOM_IN_OUT_ENABLED &&
|
||||
@@ -10992,7 +10994,7 @@ function showAbout() {
|
||||
Swal.fire({
|
||||
background: swBg,
|
||||
position: 'center',
|
||||
title: '<strong>WebRTC P2P v1.4.42</strong>',
|
||||
title: '<strong>WebRTC P2P v1.4.43</strong>',
|
||||
imageAlt: 'mirotalk-about',
|
||||
imageUrl: images.about,
|
||||
customClass: { image: 'img-about' },
|
||||
|
||||
Reference in New Issue
Block a user