Object.defineProperty(exports, "__esModule", { value: true });
var WirecastConnection_1 = require("./WirecastConnection");
//TODO: --------------- TO IMPLEMENT ---------------
//TODO: Transition speed
module.exports = function (api) {
    api.registerAction('setLiveByName', require('./actions/setLiveByName'));
    api.registerAction('clearLayer', require('./actions/clearLayer'));
    api.registerAction('multiShot', require('./actions/multiShot'));
    api.registerAction('clearIfLive', require('./actions/clearIfLive'));
    api.registerAction('transitionSpeed', require('./actions/transitionSpeed'));
    api.registerAction('go', require('./actions/go'));
    api.registerAction('setBroadcasting', require('./actions/setBroadcasting'));
    api.registerAction('setRecording', require('./actions/setRecording'));
    api.registerAction('setAutoLive', require('./actions/setAutoLive'));
    api.registerConnectionValidator('wirecast-bridge', function (ValidatorAPI) {
        var instance = ValidatorAPI.instance;
        if (instance == undefined) {
            instance = new WirecastConnection_1.WirecastConnection();
        }
        instance.setHost(ValidatorAPI.properties.ip, ValidatorAPI.properties.port);
        ValidatorAPI.setInstance(instance);
        instance.ping(function (state) {
            ValidatorAPI.callback(state, state ? null : 'Unable to reach Wirecast-Bridge');
        });
    });
};
//# sourceMappingURL=wirecast.js.map