vMix Forums
»
General
»
General Discussion
»
Trigger event for Companion in vmix
Rank: Member
Groups: Registered
Joined: 10/20/2017(UTC) Posts: 23 Thanks: 5 times Was thanked: 2 time(s) in 1 post(s)
|
Is there a way to trigger an event in companion when vmix has finished playing a clip? I want to mute the input of my Behringer X32 after the clip has finished playing in vmix.
cheers Marcus
|
|
|
|
Rank: Member
Groups: Registered
Joined: 10/20/2017(UTC) Posts: 23 Thanks: 5 times Was thanked: 2 time(s) in 1 post(s)
|
so this is my answer to my question :-)
Dim webStream As Stream Dim webResponse = "" Dim req As HttpWebRequest Dim res As HttpWebResponse req = CType(WebRequest.Create("http://127.0.0.1:8000/press/bank/98/25"), HttpWebRequest) res = CType(req.GetResponse(), HttpWebResponse) webStream = res.GetResponseStream() ' Get Response Dim webStreamReader As New StreamReader(webStream) While webStreamReader.Peek >= 0 webResponse = webStreamReader.ReadToEnd() End While
|
2 users thanked narcus for this useful post.
|
|
|
Rank: Newbie
Groups: Registered
Joined: 8/5/2021(UTC) Posts: 1 Location: Athens, GA
|
Excuse my ignorance but where do I put this code? Thanks.
|
|
|
|
Rank: Member
Groups: Registered
Joined: 10/20/2017(UTC) Posts: 23 Thanks: 5 times Was thanked: 2 time(s) in 1 post(s)
|
Triggers script.png (106kb) downloaded 0 time(s).
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 12/27/2012(UTC) Posts: 5,224 Location: Belgium Thanks: 293 times Was thanked: 955 time(s) in 790 post(s)
|
@ Narcus
You put scripting code in the trigger settings ? ;-)
|
|
|
|
Rank: Member
Groups: Registered
Joined: 10/20/2017(UTC) Posts: 23 Thanks: 5 times Was thanked: 2 time(s) in 1 post(s)
|
first I create a script in Settings/scripting then I trigger the script in triggers
|
|
|
|
vMix Forums
»
General
»
General Discussion
»
Trigger event for Companion in vmix
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.
Important Information:
The vMix Forums uses cookies. By continuing to browse this site, you are agreeing to our use of cookies.
More Details
Close