applest / node-applest-atem Goto Github PK
View Code? Open in Web Editor NEWA module to control Blackmagic Design ATEM Switchers
A module to control Blackmagic Design ATEM Switchers
how Upstreamkeys works?
atem.changeUpstreamKeyState(1, 3);
The code should be updated to allow control of multiple M/E for larger ATEM switchers.
I'm running into issues using this library in my project. When I call prototype functions like autoTransitions() from a callback where this
is not the original ATEM object I get errors. Might be something having to do with CoffeeScript. It's making this library unusable in my project because I can't call prototype methods from outside the ATEM class context.
module.exports = function(otherThing){
var ATEM = require('applest-atem');
var atem = new ATEM();
atem.on('connect', function() {
setInterval(function() {
atem.autoTransition(); //THIS WORKS
}, 1000)
});
otherThing.on('someEvent',function(){
atem.autoTransition(); //DOES NOT WORK
});
return atem;
}
I'm using this library, and it is working great except for one thing. If I lose connection to the switcher, my script just hangs. There is no error, and no attempt to re-connect. Am I missing something simple here? Thank you.
I am using the actual version of this library. If I change e.g. the input of the programbus then the statechanged event seems to execute several times. It would be good to have the statechanged event execute only once.
Thankyou
Running macros and watching the net traffic with WireShark.
using:
connect('192.168.0.6')
runMacro(0)
Works but traffic continues from the NodeJS client to/from the host and after a while the vendor provided UI stops working. How to "disconnect" from the host and stop the net traffic?
I see that every time a connection is attempted a new udp socket is created. Should this be the case? Shouldn't the hello command just be sent out again only?
Also, I don't believe it's necessary do a manual bind since node auto-binds to a random port when you send out your first packets.
i got sh: build: command not found
error at postinstall
stage when i run npm i applest-atem
macOS and Raspbian both
The connection to the ATEM Mini Pro is working fine. Changing inputs etc works as expected but when I try to use the uploadFromPNGFile method, it doesn't seem to be working.
When I manually add an image in the media pool and run the code, it only removes the image I manually uploaded but the one I uploaded with code does not appear.
Path is correct and I'm not getting any errors.
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.
It would be nice if the plugin implemented all of the features of the ATEM protocol. Most of them are listed here: http://skaarhoj.com/fileadmin/BMDPROTOCOL.html
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.