« Back to Knowledge Base

ScriptStartDynamic disabled in API

ScriptStartDynamic has been disabled in the vMix API as of version 24.0.0.60
This has been disabled for security reasons and users are advised to seek alternatives such as the ones noted below:
 

Calling multiple functions at a time 

There is no performance benefit to calling a dynamic script with multiple functions, vs calling them all separately via code.
In fact, since dynamic scripts need to be compiled each time it is faster to use the following method.
 
For example in VB.NET:
 
dim w as new System.Net.WebClient
w.DownloadString("http://127.0.0.1:8088/API/?Function=Function1")
w.DownloadString("http://127.0.0.1:8088/API/?Function=Function2")
w.DownloadString("http://127.0.0.1:8088/API/?Function=Function3")
 
and so on as needed.
 

Calling functions from a remote machine


This is similar to the previous example.
 
dim w as new System.Net.WebClient
w.DownloadString("http://remoteiporhostname:8088/API/?Function=Function1")

Last Updated: Monday, June 14, 2021 8:13:08 PM