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
tsioukas  
#1 Posted : Sunday, November 7, 2021 8:24:19 AM(UTC)
tsioukas

Rank: Member

Groups: Registered
Joined: 7/10/2020(UTC)
Posts: 24
Greece

Thanks: 3 times
Was thanked: 2 time(s) in 2 post(s)
Is it possible to change the content of a Mix input using REST or TCP Api?

For example can I change the Preview and the Output selected input from a Mix type input?

Also can I execute Cut/Fade and other transitions?

Thank you in advance.

P.S. Also a small feature request, if it’s possible allow us to select main output as input in a Mix. This could be useful in some situations. I know that I can do that with NDI but it’s heavy.
tsioukas  
#2 Posted : Wednesday, November 10, 2021 6:51:32 AM(UTC)
tsioukas

Rank: Member

Groups: Registered
Joined: 7/10/2020(UTC)
Posts: 24
Greece

Thanks: 3 times
Was thanked: 2 time(s) in 2 post(s)
I found the solution. There is a parameter called MIX. This was a little bit tricky because we can’t select the mix by name, only with order on input list (at first, I thought that you must put Input Name on parameters). But this isn’t problem because we usually put them on positions 1,2,3.

So, if someone set these parameters
Quote:
http://127.0.0.1:8088/api/?Function=Fade&Duration=1000&MIX=0

it will be executed on Main Mix and it’s equal with this
Quote:
http://127.0.0.1:8088/api/?Function=Fade&Duration=1000

But if someone execute this
Quote:
http://127.0.0.1:8088/api/?Function=Fade&Duration=1000&MIX=1

It will be executed on 1st Mix into the input mix. We can add up to 3 Mix inputs so if we set MIX=2, MIX=3 it will executed on 2nd and 3rd Mix on list. We can’t execute everything but the basic are enough.

For example, these parameters,
Quote:
http://127.0.0.1:8088/api/?Function=PreviewInput&Input=CAMERA&MIX=1

set input with name CAMERA on 1st Mix in input list.

Of course, we can use the same parameter on TCP API (as I do)
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.