Live Production Software Forums

Welcome Guest! To enable all features please Login or Register.



Go to last post Go to first unread
#1 Posted : Wednesday, August 7, 2019 11:54:23 PM(UTC)

Rank: Newbie

Groups: Registered
Joined: 8/7/2019(UTC)
Posts: 1
Czech Republic

I use GT Titles and following code to update text values:

Public Class Form1
Private vMIX As Net.WebClient
Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
Dim postValues As New System.Collections.Specialized.NameValueCollection
Dim adr As String
Dim command As String
Dim res As Byte()
postValues.Add("Function", "ScriptStartDynamic")
adr = ""
command = "Function=SetText&Input=HP_jeden_team&SelectedName=t_soutez.Text&Value=" & TextBox1.Text & vbCrLf & "Function=OverlayInput4In&Input=HP_jeden_team" & vbCrLf
postValues.Add("Value", command)

res = vMIX.UploadValues(adr, "POST", postValues)

End Sub

Private Sub Form1_Load(sender As Object, e As EventArgs) Handles MyBase.Load
vMIX = New Net.WebClient()
End Sub
End Class

My problem is that title is shown before the value is updated. It means that you can see in the video title with old text for a couple of frames and then the text is changed.
I've tried to separate this command into two. First one to update all the values, then timeout (waiting) and the second command to show Overlay.
This sometimes works when the delay is 100ms but sometimes even 100ms is too short. But even 100ms is not an option for me.

Do you have an idea how to resolve this issue?

BTW> Which is the frequency in which I can send TCP API commands to vMIX? I would like to have two threads:
1. Update stopwatch
2. Update titles
How could I avoid vMIX overloading and be sure that command is correctly delivered?

Thank you very much for your support

Users browsing this topic
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.