Skip to content

Commit

Permalink
fixed telnet connection
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffmikels committed Nov 15, 2022
1 parent 9a65612 commit e04c0d4
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
Binary file modified go-version/vmix-snapshot-proxy.exe
Binary file not shown.
7 changes: 4 additions & 3 deletions go-version/vmix-snapshot-proxy.go
Original file line number Diff line number Diff line change
Expand Up @@ -161,9 +161,10 @@ func main() {
accum := []byte{}
for {
if conn == nil {
conn, telnetError = net.Dial("tcp", "localhost:8099")
if telnetError == nil {
fmt.Println("No connection to vMix Telent API: (localhost:8099)")
address := "localhost:8099"
conn, telnetError = net.Dial("tcp", address)
if telnetError != nil {
fmt.Printf("No connection to vMix Telent API: (%s)\r\n", address)
continue
}
conn.Write([]byte("SUBSCRIBE TALLY\r\n"))
Expand Down
Binary file modified go-version/vmix-snapshot-proxy.zip
Binary file not shown.

0 comments on commit e04c0d4

Please sign in to comment.