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
Advance Concepts, Inc.  
#1 Posted : Sunday, May 16, 2021 2:02:05 AM(UTC)
Advance Concepts, Inc.

Rank: Newbie

Groups: Registered
Joined: 5/16/2021(UTC)
Posts: 8
United States
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.
strato  
#2 Posted : Saturday, July 2, 2022 5:45:10 AM(UTC)
strato

Rank: Newbie

Groups: Registered
Joined: 7/16/2020(UTC)
Posts: 3
United States
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!
Advance Concepts, Inc.  
#3 Posted : Saturday, July 2, 2022 6:02:43 AM(UTC)
Advance Concepts, Inc.

Rank: Newbie

Groups: Registered
Joined: 5/16/2021(UTC)
Posts: 8
United States
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.
strato  
#4 Posted : Sunday, July 3, 2022 11:37:05 AM(UTC)
strato

Rank: Newbie

Groups: Registered
Joined: 7/16/2020(UTC)
Posts: 3
United States
Location: San Jose

Thank you very much! I'll look into that.
Users browsing this topic
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.