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
tubbis_2  
#1 Posted : Thursday, November 28, 2013 12:37:43 PM(UTC)
tubbis_2

Rank: Advanced Member

Groups: Registered
Joined: 11/21/2013(UTC)
Posts: 32
Location: Stockholm

Thanks: 2 times
Was thanked: 5 time(s) in 5 post(s)
I try to make a vmixcontroller in livecode and I open a socket connection with localhost:8088
What is the syntax of the api when I have a connection?

So I've been messin around a little bit and i can connect to various servers (among them some ftp and the vidblaster api) but I cant seem to work vmix out. If someone could give me a tip on the way would be great.
MrFreeze  
#2 Posted : Friday, November 29, 2013 7:32:44 PM(UTC)
MrFreeze

Rank: Member

Groups: Registered
Joined: 2/18/2012(UTC)
Posts: 29
Location: Sydney

Thanks: 5 times
Was thanked: 2 time(s) in 2 post(s)
have you looked at http://www.vmix.com.au/help11/DeveloperAPI.html

also have you started the Web server in Vmix?
tubbis_2  
#3 Posted : Saturday, November 30, 2013 9:43:47 AM(UTC)
tubbis_2

Rank: Advanced Member

Groups: Registered
Joined: 11/21/2013(UTC)
Posts: 32
Location: Stockholm

Thanks: 2 times
Was thanked: 5 time(s) in 5 post(s)
Yes I have started the webserver in vmix and i have read about the api. Sending the commands thru the webbrowser works but sending via "write to socket " gets no response.
davesuemcbride  
#4 Posted : Saturday, November 30, 2013 7:37:56 PM(UTC)
davesuemcbride

Rank: Advanced Member

Groups: Registered
Joined: 5/28/2013(UTC)
Posts: 54
Location: USA

Thanks: 4 times
Was thanked: 3 time(s) in 3 post(s)
You'd have to mimic the entire http protocol - the vMix command would follow the 'GET' verb, and you'd likely need at least some headers as well. if you have an API tailored to http available (i.e. above 'raw sockets') that'd be a much easier way to go.
curtismacd31  
#5 Posted : Monday, September 1, 2014 6:31:03 PM(UTC)
curtismacd31

Rank: Advanced Member

Groups: Registered
Joined: 7/18/2014(UTC)
Posts: 84

Was thanked: 10 time(s) in 8 post(s)
@tubbis_2 were you able to get connection to vMix using livecode? I am looking to make a controller too using livecode but haven't been able to connect to it via socket connection.
tubbis_2  
#6 Posted : Wednesday, September 3, 2014 1:33:17 AM(UTC)
tubbis_2

Rank: Advanced Member

Groups: Registered
Joined: 11/21/2013(UTC)
Posts: 32
Location: Stockholm

Thanks: 2 times
Was thanked: 5 time(s) in 5 post(s)
No. I gave up
tubbis_2  
#7 Posted : Tuesday, December 15, 2015 9:37:26 AM(UTC)
tubbis_2

Rank: Advanced Member

Groups: Registered
Joined: 11/21/2013(UTC)
Posts: 32
Location: Stockholm

Thanks: 2 times
Was thanked: 5 time(s) in 5 post(s)
I recently found out what to do in order to send commands to the vmixwebserver so now I'm making an external control in livecode that actually works almost flawlessly. Just have to learn how to connect to a database of some kind. Being not a programmer I'm quite impressed of what one can do in livecode.
Speegs  
#8 Posted : Tuesday, December 15, 2015 5:53:25 PM(UTC)
Speegs

Rank: Advanced Member

Groups: Registered
Joined: 8/3/2013(UTC)
Posts: 405
Location: Gold Coast, Australia

Thanks: 27 times
Was thanked: 76 time(s) in 58 post(s)
tubbis_2 wrote:
I recently found out what to do in order to send commands to the vmixwebserver so now I'm making an external control in livecode that actually works almost flawlessly. Just have to learn how to connect to a database of some kind. Being not a programmer I'm quite impressed of what one can do in livecode.


I have code for Javascript and HTML if that helps. See the last post on this thread.

http://forums.vmix.com/d....aspx?g=posts&t=5281

Simple, JQuery, Javascript plus HTML. Works on tablets/phones very well or computers. Great starting point to build your own custom web controls to do something special. Not that anything is wrong with the VMix built in one. My use case was to "restrict" that and make only specific functions available to the user.

Enjoy!
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.