atem-connection
Version:
Typescript Node.js library for connecting with an ATEM switcher.
19 lines • 764 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.DownstreamKeyFillSourceCommand = void 0;
const CommandBase_1 = require("../CommandBase");
class DownstreamKeyFillSourceCommand extends CommandBase_1.BasicWritableCommand {
constructor(downstreamKeyerId, input) {
super({ input });
this.downstreamKeyerId = downstreamKeyerId;
}
serialize() {
const buffer = Buffer.alloc(4);
buffer.writeUInt8(this.downstreamKeyerId, 0);
buffer.writeUInt16BE(this.properties.input, 2);
return buffer;
}
}
exports.DownstreamKeyFillSourceCommand = DownstreamKeyFillSourceCommand;
DownstreamKeyFillSourceCommand.rawName = 'CDsF';
//# sourceMappingURL=DownstreamKeyFillSourceCommand.js.map