SuperFlyTV / casparcg-connection

node.js Javascript/TypeScript library for CasparCG connection and commands.
https://www.npmjs.com/package/casparcg-connection
MIT License
86 stars 22 forks source link

bug on keyer command #202

Closed fgraux closed 5 months ago

fgraux commented 7 months ago

Hi there found a new bug I found while sending keyer command to a Channel / Layer: CasparCG only receives remove command.

Ex: Whether I send const { error, request } = await CasparCG_Connection.mixerKeyer({ channel: 1, layer: 1, value: true, duration: 25, tween: 'EaseInSine'}) or const { error, request } = await CasparCG_Connection.mixerKeyer({ channel: 1, layer: 1, value: false, duration: 25, tween: 'EaseInSine'}) CasparCG returns MIXER 1-1 KEYER 0\r\n where it is supposed to return alternatively MIXER 1-1 KEYER 1\r\n and MIXER 1-1 KEYER 0\r\n

My best

Julusian commented 7 months ago

I think it is expecting keyer: true instead of value: true

fgraux commented 5 months ago

exact & thx sorry