vMix Forums
»
General
»
General Discussion
»
Script to enable 1080p vMix caller video
Rank: Advanced Member
Groups: Registered
Joined: 2/23/2023(UTC) Posts: 46 Thanks: 10 times Was thanked: 11 time(s) in 4 post(s)
|
Have the caller install the TamperMonkey extension in their browser. Then the following script can be used to enable 1920x1080 video from their camera: Code:// ==UserScript==
// @name vMix Call 1080p
// @namespace https://example.com/
// @version 2025-01-07
// @description Enable up to 1080p guest video in vMix call.
// @match https://advanced.vmixcall.com/call.htm*
// @match https://vmixcall.com/call.htm*
// @match https://www.vmixcall.com/call.htm*
// @grant none
// @run-at document-end
// ==/UserScript==
(function() {
"use strict";
Object.defineProperty(vMixCall.prototype, "getConstraints", {
value: function() {
const constraints = {
audio: true,
video: {
width: 1920,
height: 1080,
}
}
if (navigator.userAgent.match(/Android/i)) {
constraints = {
audio: true,
video: { width: 640, height: 360 }
}
this.mobile = true;
}
this.configureVideoConstraints(constraints);
this.configureAudioConstraints(constraints);
this.trace(JSON.stringify(constraints));
return constraints;
}
});
})();
|
1 user thanked ryxyz for this useful post.
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 4/23/2017(UTC) Posts: 1,242 Location: Germany Thanks: 3 times Was thanked: 170 time(s) in 152 post(s)
|
|
|
|
|
vMix Forums
»
General
»
General Discussion
»
Script to enable 1080p vMix caller video
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.
Important Information:
The vMix Forums uses cookies. By continuing to browse this site, you are agreeing to our use of cookies.
More Details
Close