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
narcus  
#1 Posted : Tuesday, May 18, 2021 12:42:55 AM(UTC)
narcus

Rank: Member

Groups: Registered
Joined: 10/20/2017(UTC)
Posts: 23
Austria

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
narcus  
#2 Posted : Wednesday, May 19, 2021 3:48:56 PM(UTC)
narcus

Rank: Member

Groups: Registered
Joined: 10/20/2017(UTC)
Posts: 23
Austria

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
thanks 2 users thanked narcus for this useful post.
stevespaw on 5/19/2021(UTC), RTE on 2/14/2022(UTC)
JamesDunn  
#3 Posted : Thursday, August 5, 2021 5:34:56 AM(UTC)
JamesDunn

Rank: Newbie

Groups: Registered
Joined: 8/5/2021(UTC)
Posts: 1
United States
Location: Athens, GA

Excuse my ignorance but where do I put this code? Thanks.
narcus  
#4 Posted : Thursday, August 19, 2021 10:13:45 PM(UTC)
narcus

Rank: Member

Groups: Registered
Joined: 10/20/2017(UTC)
Posts: 23
Austria

Thanks: 5 times
Was thanked: 2 time(s) in 1 post(s)
Triggers script.png (106kb) downloaded 0 time(s).
doggy  
#5 Posted : Thursday, August 19, 2021 10:16:36 PM(UTC)
doggy

Rank: Advanced Member

Groups: Registered
Joined: 12/27/2012(UTC)
Posts: 5,218
Belgium
Location: Belgium

Thanks: 291 times
Was thanked: 955 time(s) in 790 post(s)
@ Narcus

You put scripting code in the trigger settings ? ;-)
narcus  
#6 Posted : Thursday, August 19, 2021 10:27:30 PM(UTC)
narcus

Rank: Member

Groups: Registered
Joined: 10/20/2017(UTC)
Posts: 23
Austria

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