[mirotalk] - allow video resolution up to 8K

This commit is contained in:
Miroslav Pejic
2024-07-29 12:48:05 +02:00
parent e8f22ef258
commit 9b2aae556e
4 changed files with 20 additions and 4 deletions
+1 -1
View File
@@ -40,7 +40,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.3.58
* @version 1.3.59
*
*/
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "mirotalk",
"version": "1.3.58",
"version": "1.3.59",
"description": "A free WebRTC browser-based video call",
"main": "server.js",
"scripts": {
+16 -2
View File
@@ -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.3.58
* @version 1.3.59
*
*/
@@ -5566,6 +5566,20 @@ async function getVideoConstraints(videoQuality) {
frameRate: frameRate,
}; // video cam constraints ultra high bandwidth
break;
case '6kVideo':
constraints = {
width: { exact: 6144 },
height: { exact: 3456 },
frameRate: frameRate,
}; // video cam constraints Very ultra high bandwidth
break;
case '8kVideo':
constraints = {
width: { exact: 7680 },
height: { exact: 4320 },
frameRate: frameRate,
}; // video cam constraints Very ultra high bandwidth
break;
default:
break;
}
@@ -10144,7 +10158,7 @@ function showAbout() {
Swal.fire({
background: swBg,
position: 'center',
title: '<strong>WebRTC P2P v1.3.58</strong>',
title: '<strong>WebRTC P2P v1.3.59</strong>',
imageAlt: 'mirotalk-about',
imageUrl: images.about,
customClass: { image: 'img-about' },
+2
View File
@@ -398,6 +398,8 @@ access to use this app.
<option value="fhdVideo">FULL HD</option>
<option value="2kVideo">2k</option>
<option value="4kVideo">4K</option>
<option value="6kVideo">6K</option>
<option value="8kVideo">8K</option>
</select>
<br />
<div class="title">