Hi there
here is a report about a bug I found while sending transformation commands to a Channel / Layer:
It seems that duration & tween params are swapped in your exellent module.
Ex:
When I send const { error, request } = await CasparCG_Connection.mixerFill({ channel: ccgC, layer: ccgL, x: options[0], y: options[1], xScale: options[2], yScale: options[2], duration: 25, tween: 'EaseInSine'}) (where options is an array containing geometrical stuff)
CasparCG returns "Exception: Dynamic exception type: class std::invalid_argument"
And when I send const { error, request } = await CasparCG_Connection.mixerFill({ channel: ccgC, layer: ccgL, x: options[0], y: options[1], xScale: options[2], yScale: options[2], duration: 'EaseInSine', tween: 25}), it works perfectly.
Therefore I gess both params "tween" & "duration" are inverted somewhere in the code.
My best
Hi there here is a report about a bug I found while sending transformation commands to a Channel / Layer: It seems that duration & tween params are swapped in your exellent module.
Ex: When I send
const { error, request } = await CasparCG_Connection.mixerFill({ channel: ccgC, layer: ccgL, x: options[0], y: options[1], xScale: options[2], yScale: options[2], duration: 25, tween: 'EaseInSine'})
(where options is an array containing geometrical stuff) CasparCG returns "Exception: Dynamic exception type: class std::invalid_argument"And when I send
const { error, request } = await CasparCG_Connection.mixerFill({ channel: ccgC, layer: ccgL, x: options[0], y: options[1], xScale: options[2], yScale: options[2], duration: 'EaseInSine', tween: 25})
, it works perfectly.Therefore I gess both params "tween" & "duration" are inverted somewhere in the code. My best