logo

Live Production Software Forums


Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
ryxyz  
#1 Posted : Wednesday, January 8, 2025 5:35:33 AM(UTC)
ryxyz

Rank: Advanced Member

Groups: Registered
Joined: 2/23/2023(UTC)
Posts: 46
United States

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;
        }
    });
})();
thanks 1 user thanked ryxyz for this useful post.
Nguyendung on 1/10/2025(UTC)
mavik  
#2 Posted : Wednesday, January 8, 2025 5:56:19 AM(UTC)
mavik

Rank: Advanced Member

Groups: Registered
Joined: 4/23/2017(UTC)
Posts: 1,242
Man
Location: Germany

Thanks: 3 times
Was thanked: 170 time(s) in 152 post(s)
Thanks for sharing
Users browsing this topic
Guest
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.