logo

Live Production Software Forums


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

Notification

Icon
Error

2 Pages12>
Options
Go to last post Go to first unread
bpiddy  
#1 Posted : Saturday, April 4, 2020 12:11:48 AM(UTC)
bpiddy

Rank: Newbie

Groups: Registered
Joined: 4/3/2020(UTC)
Posts: 9

Was thanked: 5 time(s) in 1 post(s)
This is a personal effort as I've found it challenging to coordinate non-technical guests joining vMix Calls, but developed it so anyone can use it. Throwing it out here in case it's useful for anyone else.

Problems:

- It's been a lot of trouble/effort to establish a vMix Call for each remote guest, keep track of their vmix.at URL, and text it to each guest individually
- When calls / inputs change, it's difficult to get the remote guest to switch to a new call code, and they start to feel that it's too complicated or get frustrated

So I put together an experience that seeks to make this better:

- Creates 1 link that can be shared with all guests at once
- Assigns guests to the next available vMix Call input
- Holds guests in a "waiting" state if vMix is not running yet or if there are not enough available inputs
- Asks only for their name and doesn't confuse them with a password/call code

This is accomplished by running a "vMix Remote Agent" app that talks to vMix via the local API, and keeps the cloud side updated with the current inputs available in vMix.

Available here: https://vmix.brandonpotter.com

thanks 5 users thanked bpiddy for this useful post.
MickeyMJJ on 4/7/2020(UTC), dark_ata on 4/7/2020(UTC), billh2020 on 4/9/2020(UTC), Eric Marodon on 3/5/2021(UTC), danhoff on 4/7/2021(UTC)
mavik  
#2 Posted : Saturday, April 4, 2020 12:28:51 AM(UTC)
mavik

Rank: Advanced Member

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

Thanks: 3 times
Was thanked: 168 time(s) in 150 post(s)
Thanks for sharing.
Kovacika  
#3 Posted : Saturday, April 4, 2020 4:38:44 AM(UTC)
Kovacika

Rank: Member

Groups: Registered
Joined: 2/24/2020(UTC)
Posts: 11
United States

Hey, just installed your software and I am getting "Error: Error communicating with vMix (may not be started". vMix is started. Any tips for troubleshooting? Looks like it could be super cool, thanks for sharing!

-Aaron
bpiddy  
#4 Posted : Saturday, April 4, 2020 4:42:53 AM(UTC)
bpiddy

Rank: Newbie

Groups: Registered
Joined: 4/3/2020(UTC)
Posts: 9

Was thanked: 5 time(s) in 1 post(s)
Originally Posted by: Kovacika Go to Quoted Post
Hey, just installed your software and I am getting "Error: Error communicating with vMix (may not be started". vMix is started. Any tips for troubleshooting? Looks like it could be super cool, thanks for sharing!

-Aaron


It's trying to query the vMix API via localhost:8088/api/?

So you might get that error message if you have changed that port or whatever in vMix Settings > Web Controller.
Kovacika  
#5 Posted : Saturday, April 4, 2020 4:58:42 AM(UTC)
Kovacika

Rank: Member

Groups: Registered
Joined: 2/24/2020(UTC)
Posts: 11
United States

API is enabled on port 8088. I can access it via a browser.
bpiddy  
#6 Posted : Saturday, April 4, 2020 5:29:57 AM(UTC)
bpiddy

Rank: Newbie

Groups: Registered
Joined: 4/3/2020(UTC)
Posts: 9

Was thanked: 5 time(s) in 1 post(s)
Originally Posted by: Kovacika Go to Quoted Post
API is enabled on port 8088. I can access it via a browser.


Interesting, just double checked code and the exact URL it's trying to get is:

http://127.0.0.1:8088/api/

Are you able to reach that in a browser with no authentication and get a valid XML response?
Kovacika  
#7 Posted : Saturday, April 4, 2020 5:33:59 AM(UTC)
Kovacika

Rank: Member

Groups: Registered
Joined: 2/24/2020(UTC)
Posts: 11
United States

Yep, no issues getting to that address, or localhost.
bpiddy  
#8 Posted : Saturday, April 4, 2020 5:49:01 AM(UTC)
bpiddy

Rank: Newbie

Groups: Registered
Joined: 4/3/2020(UTC)
Posts: 9

Was thanked: 5 time(s) in 1 post(s)
Hmm, weird. I just uploaded v1.0.1 that displays a more explicit error when it can't reach vMix. Can you redownload and see if that provides more info?
Kovacika  
#9 Posted : Saturday, April 4, 2020 5:58:18 AM(UTC)
Kovacika

Rank: Member

Groups: Registered
Joined: 2/24/2020(UTC)
Posts: 11
United States

System.InvalidOperationException There is an error in XML document (1, 1246).
bpiddy  
#10 Posted : Saturday, April 4, 2020 6:14:09 AM(UTC)
bpiddy

Rank: Newbie

Groups: Registered
Joined: 4/3/2020(UTC)
Posts: 9

Was thanked: 5 time(s) in 1 post(s)
Originally Posted by: Kovacika Go to Quoted Post
System.InvalidOperationException There is an error in XML document (1, 1246).


Ah! So it's reaching the API but can't parse the response.

What version of vMix are you on? If you access it in browser, does the response start with
Quote:
<vmix>
? Also do you have any HTTP proxies enabled on your machine that might be intercepting and returning a different response?
Kovacika  
#11 Posted : Saturday, April 4, 2020 6:20:00 AM(UTC)
Kovacika

Rank: Member

Groups: Registered
Joined: 2/24/2020(UTC)
Posts: 11
United States

Using vMix 23.0.0.50. No proxies. When I access in browser the response starts with the version #, then show name, then shortcuts<--I lied, inputs, not shortcuts.
Kovacika  
#12 Posted : Saturday, April 4, 2020 7:16:19 AM(UTC)
Kovacika

Rank: Member

Groups: Registered
Joined: 2/24/2020(UTC)
Posts: 11
United States

Just tried on another machine running 23.0.0.46, works great. Might be a .50 issue?
bpiddy  
#13 Posted : Saturday, April 4, 2020 7:38:21 AM(UTC)
bpiddy

Rank: Newbie

Groups: Registered
Joined: 4/3/2020(UTC)
Posts: 9

Was thanked: 5 time(s) in 1 post(s)
Originally Posted by: Kovacika Go to Quoted Post
Just tried on another machine running 23.0.0.46, works great. Might be a .50 issue?


Ah! I'm on 49, you might be right - maybe there's an API change in 50. Will try 50 later and see what happens...
Kovacika  
#14 Posted : Sunday, April 5, 2020 12:32:48 AM(UTC)
Kovacika

Rank: Member

Groups: Registered
Joined: 2/24/2020(UTC)
Posts: 11
United States

Do you have any plans to release the webserver/backend portion of this? I would love to be able to build custom landing pages and have custom URLs. A way to include a password to prevent unauthorized access would be good too. Id even be happy to pay if I got those features.
roverradio  
#15 Posted : Monday, April 6, 2020 8:52:10 AM(UTC)
roverradio

Rank: Advanced Member

Groups: Registered
Joined: 5/6/2016(UTC)
Posts: 83
United States

Was thanked: 5 time(s) in 5 post(s)
Same problem on .50 unfortunately.

I haven't specifically checked, but there were some vmix call changes made in the most recent versions. For instance, the peer-to-peer only option.

Not sure if that's exposing itself via API. If so, .50 may be presenting some new data via API that your app is unprepared for?

Anyhow, very curious to check this out once you get it resolved.

Thanks!
gre2gor  
#16 Posted : Wednesday, April 8, 2020 5:38:07 PM(UTC)
gre2gor

Rank: Advanced Member

Groups: Registered
Joined: 12/14/2018(UTC)
Posts: 81
Slovenia

Was thanked: 17 time(s) in 6 post(s)
Tested on .50, it does not work either. But will wait ;)

grega
bpiddy  
#17 Posted : Thursday, April 9, 2020 2:33:26 PM(UTC)
bpiddy

Rank: Newbie

Groups: Registered
Joined: 4/3/2020(UTC)
Posts: 9

Was thanked: 5 time(s) in 1 post(s)
.50 should be fixed now (requires re-downloading the remote agent)

Some types in the XML weren't mapped correctly that I guess .50 started using.

bpiddy  
#18 Posted : Thursday, April 9, 2020 2:41:03 PM(UTC)
bpiddy

Rank: Newbie

Groups: Registered
Joined: 4/3/2020(UTC)
Posts: 9

Was thanked: 5 time(s) in 1 post(s)
Originally Posted by: Kovacika Go to Quoted Post
Do you have any plans to release the webserver/backend portion of this? I would love to be able to build custom landing pages and have custom URLs. A way to include a password to prevent unauthorized access would be good too. Id even be happy to pay if I got those features.


Couple things here --

1) Not necessarily opposed to either releasing/open sourcing the backend or allowing customization of the landing page HTML. Now that the .50 bug is (hopefully) out of the way, I'll certainly give this some thought!

2) Interesting you brought up the password topic/feedback - I was going for a high-entropy "just works" URL, so that it's more or less un-guessable (or at least a lot less guessable than the vMix Call passwords themselves), and the only thing a caller needs to do is click a link and not worry about anything else, then you can reset the keys/URLs after your event is over to invalidate the links for that event/day. Curious what use case(s) make a password add value here..

Awesome feedback - thanks!
B
umek  
#19 Posted : Thursday, April 9, 2020 8:52:51 PM(UTC)
umek

Rank: Advanced Member

Groups: Registered
Joined: 4/8/2015(UTC)
Posts: 31
Location: Zagreb

Thanks: 4 times
Was thanked: 1 time(s) in 1 post(s)
Just tried it and i'm impressed!

The only thing that i see as a problem is the timeout of a ended call. But probably that's a internal vmix problem.

Really nice job! Also wiling to see a package for deploying your own customized instance!
dark_ata  
#20 Posted : Thursday, April 9, 2020 9:17:40 PM(UTC)
dark_ata

Rank: Advanced Member

Groups: Registered
Joined: 8/10/2015(UTC)
Posts: 129
Location: Tenerife

Thanks: 11 times
Was thanked: 18 time(s) in 13 post(s)
Hi the idea is great, but still crash at least in the only machine that i have now online (.51), connect to api work and stop and work again.
Users browsing this topic
Guest (2)
2 Pages12>
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.