applest / node-applest-atem

A module to control Blackmagic Design ATEM Switchers
88 stars 30 forks source link

ATEM dead if send command quickly #24

Closed sxd1140 closed 6 years ago

sxd1140 commented 6 years ago

If setInterval send atem.changeTransitionPosition(num) quickly like 15ms after a few minutes, The ATEM dead.

If change transition position by hand on the blackmagic's Broadcast Panel, the interval is faster than 15ms, but The ATEM is fine.

I don't test other command have same issue.

sxd1140 commented 6 years ago

Finally I fixed that. It's about reconnect time, If send command while reconnecting, ATEM dead by wrong _receivePacket handle logic.

I rewrite _receivePacket part. But I can't create pull request because I don't understand Coffee. Sorry about that.

PimHaarsma commented 5 years ago

Hello Sxd1140,

Can you send me information what you have changed? So I can apply same changes to my code. It would be helpful for me.

sxd1140 commented 5 years ago

I read skaarhoj's arduino code port to JS. https://github.com/kasperskaarhoj/SKAARHOJ-Open-Engineering/tree/master/ArduinoLibs

OrionTheGiant commented 4 years ago

@sxd1140 I think I'm running into the same problem. I know this is pretty old at this point but can you give any more detail on what you changed?

sxd1140 commented 4 years ago

Hope helps