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
MikeBenke  
#1 Posted : Thursday, October 11, 2018 8:16:49 AM(UTC)
MikeBenke

Rank: Advanced Member

Groups: Registered
Joined: 2/7/2018(UTC)
Posts: 45
Location: Saint Louis

Thanks: 4 times
Was thanked: 4 time(s) in 3 post(s)
Is it possible to send multiple variables in a command through the Web API (GET) commands? I'm doing it wrong if it is possible... see below example that is attempting to turn off a running overlay and resume play on a replay clip.

http://127.0.0.1:8088/api?Function=OverlayInput1&Input=2;Play&Input=-1
DWAM  
#2 Posted : Thursday, October 11, 2018 8:18:49 AM(UTC)
DWAM

Rank: Advanced Member

Groups: Registered
Joined: 3/20/2014(UTC)
Posts: 2,721
Man
France
Location: Bordeaux, France

Thanks: 243 times
Was thanked: 794 time(s) in 589 post(s)
No
But you can send multiple commands as a sequence. Same effect

http://127.0.0.1:8088/api?Function=command1&Input=x
http://127.0.0.1:8088/api?Function=command2&Input=x
http://127.0.0.1:8088/api?Function=command3&Input=x
MikeBenke  
#3 Posted : Thursday, October 11, 2018 8:29:59 AM(UTC)
MikeBenke

Rank: Advanced Member

Groups: Registered
Joined: 2/7/2018(UTC)
Posts: 45
Location: Saint Louis

Thanks: 4 times
Was thanked: 4 time(s) in 3 post(s)
stupid question.. how do you send a sequence?
DWAM  
#4 Posted : Thursday, October 11, 2018 9:29:24 AM(UTC)
DWAM

Rank: Advanced Member

Groups: Registered
Joined: 3/20/2014(UTC)
Posts: 2,721
Man
France
Location: Bordeaux, France

Thanks: 243 times
Was thanked: 794 time(s) in 589 post(s)
From any code for example... ASP, VB, PHP, Ruby, Java and so on... or simply from a script using shell, terminal, etc...

Or you can use special tools like vMix UTC or vMix Panel Builder...

Or you can use internal vMix scripting feature as well as triggers and shortcuts in some cases.

If you're thinking about sending commands from within your own tools, I don't know which programming interface you're using but anyway it's just a matter of code

Guillaume
thanks 1 user thanked DWAM for this useful post.
MikeBenke on 10/12/2018(UTC)
MikeBenke  
#5 Posted : Friday, October 12, 2018 8:34:11 AM(UTC)
MikeBenke

Rank: Advanced Member

Groups: Registered
Joined: 2/7/2018(UTC)
Posts: 45
Location: Saint Louis

Thanks: 4 times
Was thanked: 4 time(s) in 3 post(s)
Thanks for the Direction DWAM! I'll share it with the guys who write the code!
Mike
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.