vMix Forums
»
General
»
Feature Requests
»
HTTPS for API and web controller access
Rank: Newbie
Groups: Registered
Joined: 5/16/2021(UTC) Posts: 9 Location: DC Metro Area Was thanked: 2 time(s) in 2 post(s)
|
It would be great if we could access the API and web controller securely with HTTPS.
Background: we are an events company that uses vMix to produce virtual conferences. We have set up an automated "training" vMix instance that conference participants dial into via vMix Call, for the dual purpose of training them in the use of our platform and vMix call operation, and to test their browser/camera/mic to ensure they are able to connect and there are no firewall issues on their end. The training consists of participants watching a video playlist, and seeing their camera and audio meters to verify their camera/mic are working.
Use case: currently, the training video playlist runs on a loop, so if the participant calls in in the middle, they have to wait for the video to restart to see the whole thing. The idea is that we would like to embed the vMix call page in an HTML frame side-by-side with a control frame that has buttons so the user can pause, resume, or seek through the playlist. Also the page that houses these two components would send an API command to vMix to restart the playlist on page load, so the user always starts at the beginning of the video.
We've already built the proof-of-concept and it works - as long as the page is insecure (HTTP), for instance if the page is run locally. Problem is, once the page is then hosted securely (HTTPS), no modern browser will allow a secure page to send insecure commands. In other words, we can't send HTTP commands to vMix from an HTTPS page.
I know vMix wasn't designed to be controlled over the internet, but with the pandemic wholly remaking the landscape and remote work becoming the normal, the ability to send remote commands to vMix would be a very useful feature.
|
|
|
|
Rank: Newbie
Groups: Registered
Joined: 7/16/2020(UTC) Posts: 3 Location: San Jose
|
Have you ever found a solution to this? We are running Nginx https web service inside the firewall but we have several vmix machines and we have yet to figure out how to address the other vmix machines. Thanks!
|
|
|
|
Rank: Newbie
Groups: Registered
Joined: 5/16/2021(UTC) Posts: 9 Location: DC Metro Area Was thanked: 2 time(s) in 2 post(s)
|
Actually yes. The newest version of Companion supports HTTPS control of its admin and API. So you map your desired vMix functions to Companion buttons, forward a port on your router to wherever you're running Companion, then send HTTPS commands to Companion's API to push the appropriate button. Drawbacks: it's not all that secure and won't fly in a high-security IT environment. And if the end use-case is user-facing, you'll need to set up a certificate so the user doesn't get any browser warnings trying to connect. Also, the Companion devs explicitly say "you probably shouldn't try to use this through a firewall". That being said, it does work, but user beware.
|
|
|
|
Rank: Newbie
Groups: Registered
Joined: 7/16/2020(UTC) Posts: 3 Location: San Jose
|
Thank you very much! I'll look into that.
|
|
|
|
vMix Forums
»
General
»
Feature Requests
»
HTTPS for API and web controller access
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