Rank: Newbie
Groups: Registered
Joined: 12/18/2019(UTC) Posts: 3 Location: Rio das Ostras
|
Hi,
I`m trying to use a RS232 input as a data surce JSON.
I`m encoding the serial string as this to be in json style: {"name":"***"}
Passing this string to a Serial-TCP who create a localhost with that string.
But on Vmix when I select Json and use the url http:/10.20.36.10:1001 I got the following error: The server committed a protocol violation.
Is there any thing that I could do to fix this issue?Vmix is blocked to accept unsecure url?
Thank you all.
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 2/23/2017(UTC) Posts: 189 Thanks: 1 times Was thanked: 52 time(s) in 42 post(s)
|
First of all, your JSON will not work with vMix. You need object inside array. Like so: If you want to have more than 1 entry, you just add objects: Code:[
{
"name":"***"
},
{
"name":"###"
}
]
Could you share output of the http:/10.20.36.10:1001 when you open it in the browser? Does Chrome open it nicely, if it does without errors, this should not be HTTPS/HTTP case. Probably related to your software not providing correct headers.
|
|
|
|
Rank: Newbie
Groups: Registered
Joined: 12/18/2019(UTC) Posts: 3 Location: Rio das Ostras
|
Hi, thank you for your response I change the string to : [{ "name":"***" }] like you told. Sorry I type the wrong IP the correct is http://10.20.36.125:1001/ I`m trying to connect on the browser but with no success: ERR_INVALID_HTTP_RESPONSE No connction.PNG (14kb) downloaded 0 time(s).I`m testing with the CommFront Serial-TCP program to generate the server.
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 2/23/2017(UTC) Posts: 189 Thanks: 1 times Was thanked: 52 time(s) in 42 post(s)
|
I believe that this software does not work as you need it to work. It probably creates TCP server which vMix can not use. vMix needs HTTP server for data source. I have used Node.JS for serial reading and express for outputting that data on the HTTP server. You may contact me at mart.leib.estonia@gmail.com
|
|
|
|
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