@joergmittaglawo/dmvconfig
Version:
DMV Configuration scripts for Lawo V__matrix Distributed Multiviewers.
519 lines (518 loc) • 24.1 kB
JavaScript
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.Enums = exports.ClusterSourcesLocalRuntime = exports.ClusterSourcesGlobalRuntime = exports.ClusterMetadataSourceRuntimeAsTableRow = exports.ClusterMetadataSourceRuntime = exports.ClusterMetadataSourceLocalRuntime = exports.ClusterMetadataSourceCC = exports.ClusterAudioSourceRuntimeAsTableRow = exports.ClusterAudioSourceRuntime = exports.ClusterAudioSourceRuntimeLocal = exports.ClusterVideoSourceRuntimeAsTableRow = exports.ClusterVideoSourceRuntime = exports.ClusterVideoSourceRuntimeLocal = exports.ClusterVideoSourceRuntimeResolutionLevelAsArrayRow = exports.ClusterVideoSourceRuntimeResolutionLevel = exports.ClusterMetadataSourceIDAsTableRow = exports.ClusterMetadataSourceID = exports.ClusterAudioSourceIDAsTableRow = exports.ClusterAudioSourceID = exports.ClusterVideoSourceIDAsTableRow = exports.ClusterVideoSourceID = exports.ClusterMetadataSourceLocalConfigurationAsNamedTableRow = exports.ClusterMetadataSourceLocalConfiguration = exports.ClusterAudioSourceLocalConfigurationAsNamedTableRow = exports.ClusterAudioSourceLocalConfiguration = exports.ClusterVideoSourceLocalConfigurationAsNamedTableRow = exports.ClusterVideoSourceLocalConfiguration = exports.ClusterSourcesGlobalConfiguration = exports.ClusterIPSourcesGlobalConfiguration = exports.ClusterIPSourceConfigurationAsNamedTableRow = exports.ClusterIPSourceConfiguration = exports.ClusterSourceLabelDualAsArrayRow = exports.ClusterSourceLabelDual = exports.lower = exports.lift = void 0;
const VScript = require("vscript");
const _Time = require("./Time");
const _Audio = require("./Audio");
const _Video = require("./Video");
exports.lift = {
ClusterSourcesLocalRuntime: (kwl, socket) => kwl ? (new ClusterSourcesLocalRuntime(new VScript.Subtree(socket, kwl))) : null,
ClusterSourcesGlobalRuntime: (kwl, socket) => kwl ? (new ClusterSourcesGlobalRuntime(new VScript.Subtree(socket, kwl))) : null,
ClusterMetadataSourceRuntime: (kwl, socket) => kwl ? (new ClusterMetadataSourceRuntime(new VScript.Subtree(socket, kwl))) : null,
TimestampedTimecode: (x, _) => { return x ? { ltc: x[0], vtc1: x[1], vtc2: x[2] } : null; },
ClusterMetadataSourceLocalRuntime: (kwl, socket) => kwl ? (new ClusterMetadataSourceLocalRuntime(new VScript.Subtree(socket, kwl))) : null,
ClusterMetadataSourceCC: (kwl, socket) => kwl ? (new ClusterMetadataSourceCC(new VScript.Subtree(socket, kwl))) : null,
ClusterAudioSourceRuntime: (kwl, socket) => kwl ? (new ClusterAudioSourceRuntime(new VScript.Subtree(socket, kwl))) : null,
ClusterAudioSourceRuntimeLocal: (kwl, socket) => kwl ? (new ClusterAudioSourceRuntimeLocal(new VScript.Subtree(socket, kwl))) : null,
ClusterVideoSourceRuntime: (kwl, socket) => kwl ? (new ClusterVideoSourceRuntime(new VScript.Subtree(socket, kwl))) : null,
ClusterVideoSourceRuntimeLocal: (kwl, socket) => kwl ? (new ClusterVideoSourceRuntimeLocal(new VScript.Subtree(socket, kwl))) : null,
ClusterVideoSourceRuntimeResolutionLevel: (kwl, socket) => kwl ? (new ClusterVideoSourceRuntimeResolutionLevel(new VScript.Subtree(socket, kwl))) : null,
ClusterMetadataSourceID: (kwl, socket) => kwl ? (new ClusterMetadataSourceID(new VScript.Subtree(socket, kwl))) : null,
ClusterAudioSourceID: (kwl, socket) => kwl ? (new ClusterAudioSourceID(new VScript.Subtree(socket, kwl))) : null,
ClusterVideoSourceID: (kwl, socket) => kwl ? (new ClusterVideoSourceID(new VScript.Subtree(socket, kwl))) : null,
ClusterVideoSourceIDInfo: (x, _) => { return x ? { source_id: x[0], rl_mask: x[1] } : null; },
ClusterMetadataSourceLocalConfiguration: (kwl, socket) => kwl ? (new ClusterMetadataSourceLocalConfiguration(new VScript.Subtree(socket, kwl))) : null,
ClusterAudioSourceLocalConfiguration: (kwl, socket) => kwl ? (new ClusterAudioSourceLocalConfiguration(new VScript.Subtree(socket, kwl))) : null,
ClusterVideoSourceLocalConfiguration: (kwl, socket) => kwl ? (new ClusterVideoSourceLocalConfiguration(new VScript.Subtree(socket, kwl))) : null,
ClusterSourcesGlobalConfiguration: (kwl, socket) => kwl ? (new ClusterSourcesGlobalConfiguration(new VScript.Subtree(socket, kwl))) : null,
ClusterIPSourcesGlobalConfiguration: (kwl, socket) => kwl ? (new ClusterIPSourcesGlobalConfiguration(new VScript.Subtree(socket, kwl))) : null,
ClusterIPSourceConfiguration: (kwl, socket) => kwl ? (new ClusterIPSourceConfiguration(new VScript.Subtree(socket, kwl))) : null,
ClusterSourceLabelDual: (kwl, socket) => kwl ? (new ClusterSourceLabelDual(new VScript.Subtree(socket, kwl))) : null
};
exports.lower = {
ClusterSourcesLocalRuntime: (ref) => ref ? ref.raw.kwl : null,
ClusterSourcesGlobalRuntime: (ref) => ref ? ref.raw.kwl : null,
ClusterMetadataSourceRuntime: (ref) => ref ? ref.raw.kwl : null,
TimestampedTimecode: (x) => x ? [x.ltc, x.vtc1, x.vtc2] : null,
ClusterMetadataSourceLocalRuntime: (ref) => ref ? ref.raw.kwl : null,
ClusterMetadataSourceCC: (ref) => ref ? ref.raw.kwl : null,
ClusterAudioSourceRuntime: (ref) => ref ? ref.raw.kwl : null,
ClusterAudioSourceRuntimeLocal: (ref) => ref ? ref.raw.kwl : null,
ClusterVideoSourceRuntime: (ref) => ref ? ref.raw.kwl : null,
ClusterVideoSourceRuntimeLocal: (ref) => ref ? ref.raw.kwl : null,
ClusterVideoSourceRuntimeResolutionLevel: (ref) => ref ? ref.raw.kwl : null,
ClusterMetadataSourceID: (ref) => ref ? ref.raw.kwl : null,
ClusterAudioSourceID: (ref) => ref ? ref.raw.kwl : null,
ClusterVideoSourceID: (ref) => ref ? ref.raw.kwl : null,
ClusterVideoSourceIDInfo: (x) => x ?
[x.source_id, x.rl_mask] : null,
ClusterMetadataSourceLocalConfiguration: (ref) => ref ? ref.raw.kwl : null,
ClusterAudioSourceLocalConfiguration: (ref) => ref ? ref.raw.kwl : null,
ClusterVideoSourceLocalConfiguration: (ref) => ref ? ref.raw.kwl : null,
ClusterSourcesGlobalConfiguration: (ref) => ref ? ref.raw.kwl : null,
ClusterIPSourcesGlobalConfiguration: (ref) => ref ? ref.raw.kwl : null,
ClusterIPSourceConfiguration: (ref) => ref ? ref.raw.kwl : null,
ClusterSourceLabelDual: (ref) => ref ? ref.raw.kwl : null
};
class ClusterSourceLabelDual {
constructor(raw) {
this.raw = raw;
}
get string_default() {
return new VScript.rwKeyword(this, "string_default");
}
get string_user() {
return new VScript.rwKeyword(this, "string_user");
}
}
exports.ClusterSourceLabelDual = ClusterSourceLabelDual;
class ClusterSourceLabelDualAsArrayRow extends ClusterSourceLabelDual {
constructor(st, index, parent) {
super(st);
this.index = index;
this.parent = parent;
}
}
exports.ClusterSourceLabelDualAsArrayRow = ClusterSourceLabelDualAsArrayRow;
class ClusterIPSourceConfiguration {
constructor(raw) {
this.raw = raw;
}
get sdp() {
return new VScript.rwKeyword(this, "sdp");
}
}
exports.ClusterIPSourceConfiguration = ClusterIPSourceConfiguration;
class ClusterIPSourceConfigurationAsNamedTableRow extends ClusterIPSourceConfiguration {
constructor(raw_row, enclosing_table) {
super(new VScript.Subtree(raw_row.socket, raw_row.kwl));
this.raw_row = raw_row;
this.enclosing_table = enclosing_table;
this.index = raw_row.index;
}
async rename(name, opts) { await this.raw_row.rename(name, opts); }
async delete(opts) { await this.raw_row.delete(opts); }
}
exports.ClusterIPSourceConfigurationAsNamedTableRow = ClusterIPSourceConfigurationAsNamedTableRow;
class ClusterIPSourcesGlobalConfiguration {
constructor(raw) {
this.raw = raw;
}
get video() {
return new VScript.StronglyTypedNamedTable(new VScript.NamedTable(this.raw.socket, this.raw.full_kwl("video")), (row, enclosing_table) => new ClusterIPSourceConfigurationAsNamedTableRow(row, enclosing_table));
}
get audio() {
return new VScript.StronglyTypedNamedTable(new VScript.NamedTable(this.raw.socket, this.raw.full_kwl("audio")), (row, enclosing_table) => new ClusterIPSourceConfigurationAsNamedTableRow(row, enclosing_table));
}
get metadata() {
return new VScript.StronglyTypedNamedTable(new VScript.NamedTable(this.raw.socket, this.raw.full_kwl("metadata")), (row, enclosing_table) => new ClusterIPSourceConfigurationAsNamedTableRow(row, enclosing_table));
}
}
exports.ClusterIPSourcesGlobalConfiguration = ClusterIPSourcesGlobalConfiguration;
class ClusterSourcesGlobalConfiguration {
constructor(raw) {
this.raw = raw;
}
get ip() {
return new ClusterIPSourcesGlobalConfiguration(this.raw.find("ip"));
}
}
exports.ClusterSourcesGlobalConfiguration = ClusterSourcesGlobalConfiguration;
class ClusterVideoSourceLocalConfiguration {
constructor(raw) {
this.raw = raw;
}
get source_id() {
return new VScript.rwKeyword(this, "source_id");
}
}
exports.ClusterVideoSourceLocalConfiguration = ClusterVideoSourceLocalConfiguration;
class ClusterVideoSourceLocalConfigurationAsNamedTableRow extends ClusterVideoSourceLocalConfiguration {
constructor(raw_row, enclosing_table) {
super(new VScript.Subtree(raw_row.socket, raw_row.kwl));
this.raw_row = raw_row;
this.enclosing_table = enclosing_table;
this.index = raw_row.index;
}
async rename(name, opts) { await this.raw_row.rename(name, opts); }
async delete(opts) { await this.raw_row.delete(opts); }
}
exports.ClusterVideoSourceLocalConfigurationAsNamedTableRow = ClusterVideoSourceLocalConfigurationAsNamedTableRow;
class ClusterAudioSourceLocalConfiguration {
constructor(raw) {
this.raw = raw;
}
get source_id() {
return new VScript.rwKeyword(this, "source_id");
}
}
exports.ClusterAudioSourceLocalConfiguration = ClusterAudioSourceLocalConfiguration;
class ClusterAudioSourceLocalConfigurationAsNamedTableRow extends ClusterAudioSourceLocalConfiguration {
constructor(raw_row, enclosing_table) {
super(new VScript.Subtree(raw_row.socket, raw_row.kwl));
this.raw_row = raw_row;
this.enclosing_table = enclosing_table;
this.index = raw_row.index;
}
async rename(name, opts) { await this.raw_row.rename(name, opts); }
async delete(opts) { await this.raw_row.delete(opts); }
}
exports.ClusterAudioSourceLocalConfigurationAsNamedTableRow = ClusterAudioSourceLocalConfigurationAsNamedTableRow;
class ClusterMetadataSourceLocalConfiguration {
constructor(raw) {
this.raw = raw;
}
get source_id() {
return new VScript.rwKeyword(this, "source_id");
}
}
exports.ClusterMetadataSourceLocalConfiguration = ClusterMetadataSourceLocalConfiguration;
class ClusterMetadataSourceLocalConfigurationAsNamedTableRow extends ClusterMetadataSourceLocalConfiguration {
constructor(raw_row, enclosing_table) {
super(new VScript.Subtree(raw_row.socket, raw_row.kwl));
this.raw_row = raw_row;
this.enclosing_table = enclosing_table;
this.index = raw_row.index;
}
async rename(name, opts) { await this.raw_row.rename(name, opts); }
async delete(opts) { await this.raw_row.delete(opts); }
}
exports.ClusterMetadataSourceLocalConfigurationAsNamedTableRow = ClusterMetadataSourceLocalConfigurationAsNamedTableRow;
class ClusterVideoSourceID {
constructor(raw) {
this.raw = raw;
}
get info() {
return new VScript.rKeyword(this, "info", { lift: exports.lift.ClusterVideoSourceIDInfo, lower: exports.lower.ClusterVideoSourceIDInfo });
}
}
exports.ClusterVideoSourceID = ClusterVideoSourceID;
class ClusterVideoSourceIDAsTableRow extends ClusterVideoSourceID {
constructor(raw_row, enclosing_table) {
super(new VScript.Subtree(raw_row.socket, raw_row.kwl));
this.enclosing_table = enclosing_table;
this.index = raw_row.index;
}
}
exports.ClusterVideoSourceIDAsTableRow = ClusterVideoSourceIDAsTableRow;
class ClusterAudioSourceID {
constructor(raw) {
this.raw = raw;
}
get source_id() {
return new VScript.rKeyword(this, "source_id");
}
}
exports.ClusterAudioSourceID = ClusterAudioSourceID;
class ClusterAudioSourceIDAsTableRow extends ClusterAudioSourceID {
constructor(raw_row, enclosing_table) {
super(new VScript.Subtree(raw_row.socket, raw_row.kwl));
this.enclosing_table = enclosing_table;
this.index = raw_row.index;
}
}
exports.ClusterAudioSourceIDAsTableRow = ClusterAudioSourceIDAsTableRow;
class ClusterMetadataSourceID {
constructor(raw) {
this.raw = raw;
}
get source_id() {
return new VScript.rKeyword(this, "source_id");
}
}
exports.ClusterMetadataSourceID = ClusterMetadataSourceID;
class ClusterMetadataSourceIDAsTableRow extends ClusterMetadataSourceID {
constructor(raw_row, enclosing_table) {
super(new VScript.Subtree(raw_row.socket, raw_row.kwl));
this.enclosing_table = enclosing_table;
this.index = raw_row.index;
}
}
exports.ClusterMetadataSourceIDAsTableRow = ClusterMetadataSourceIDAsTableRow;
class ClusterVideoSourceRuntimeResolutionLevel {
constructor(raw) {
this.raw = raw;
}
/**
Destination IP address of the mipmap RTP stream
*/
get dest_ip_address() {
return new VScript.rKeyword(this, "dest_ip_address");
}
/**
Destination IP address of the mipmap RTP stream
*/
get secondary_dest_ip_address() {
return new VScript.rKeyword(this, "secondary_dest_ip_address");
}
get width() {
return new VScript.rKeyword(this, "width");
}
get height() {
return new VScript.rKeyword(this, "height");
}
get bytes_per_second() {
return new VScript.rKeyword(this, "bytes_per_second");
}
get sdp() {
return new VScript.rKeyword(this, "sdp");
}
}
exports.ClusterVideoSourceRuntimeResolutionLevel = ClusterVideoSourceRuntimeResolutionLevel;
class ClusterVideoSourceRuntimeResolutionLevelAsArrayRow extends ClusterVideoSourceRuntimeResolutionLevel {
constructor(st, index, parent) {
super(st);
this.index = index;
this.parent = parent;
}
}
exports.ClusterVideoSourceRuntimeResolutionLevelAsArrayRow = ClusterVideoSourceRuntimeResolutionLevelAsArrayRow;
class ClusterVideoSourceRuntimeLocal {
constructor(raw) {
this.raw = raw;
}
get video_essence() {
return new VScript.rKeyword(this, "video_essence", { lift: _Video.lift.Essence, lower: _Video.lower.Essence });
}
get bad_sdp() {
return new VScript.rKeyword(this, "bad_sdp");
}
}
exports.ClusterVideoSourceRuntimeLocal = ClusterVideoSourceRuntimeLocal;
class ClusterVideoSourceRuntime {
constructor(raw) {
this.raw = raw;
}
get global_source_id() {
return new VScript.rKeyword(this, "global_source_id");
}
get brief() {
return new VScript.rKeyword(this, "brief");
}
get transport_format() {
return new VScript.rKeyword(this, "transport_format");
}
get video_standard() {
return new VScript.rKeyword(this, "video_standard");
}
get ip_configuration() {
return new VScript.rKeyword(this, "ip_configuration", { lift: exports.lift.ClusterIPSourceConfiguration, lower: exports.lower.ClusterIPSourceConfiguration });
}
/**
Source IP address of the mipmap RTP stream
*/
get resolution_levels_src_ip_address() {
return new VScript.rKeyword(this, "resolution_levels_src_ip_address");
}
/**
Source IP address of the mipmap RTP stream
*/
get secondary_resolution_levels_src_ip_address() {
return new VScript.rKeyword(this, "secondary_resolution_levels_src_ip_address");
}
get tally_mask() {
return new VScript.rwKeyword(this, "tally_mask");
}
get lifeness_count() {
return new VScript.rKeyword(this, "lifeness_count");
}
get resolution_levels() {
return new VScript.StronglyTypedArray(this, "resolution_levels", (st, index, parent) => new ClusterVideoSourceRuntimeResolutionLevelAsArrayRow(st, index, parent));
}
get local() {
return new ClusterVideoSourceRuntimeLocal(this.raw.find("local"));
}
get label() { return new ClusterSourceLabelDual(this.raw.find("label")); }
}
exports.ClusterVideoSourceRuntime = ClusterVideoSourceRuntime;
class ClusterVideoSourceRuntimeAsTableRow extends ClusterVideoSourceRuntime {
constructor(raw_row, enclosing_table) {
super(new VScript.Subtree(raw_row.socket, raw_row.kwl));
this.enclosing_table = enclosing_table;
this.index = raw_row.index;
}
}
exports.ClusterVideoSourceRuntimeAsTableRow = ClusterVideoSourceRuntimeAsTableRow;
class ClusterAudioSourceRuntimeLocal {
constructor(raw) {
this.raw = raw;
}
get audio_essence() {
return new VScript.rKeyword(this, "audio_essence", { lift: _Audio.lift.Essence, lower: _Audio.lower.Essence });
}
get bad_sdp() {
return new VScript.rKeyword(this, "bad_sdp");
}
get used_channel_id_start() {
return new VScript.rKeyword(this, "used_channel_id_start");
}
get used_channels_num() {
return new VScript.rKeyword(this, "used_channels_num");
}
}
exports.ClusterAudioSourceRuntimeLocal = ClusterAudioSourceRuntimeLocal;
class ClusterAudioSourceRuntime {
constructor(raw) {
this.raw = raw;
}
get brief() {
return new VScript.rKeyword(this, "brief");
}
get transport_format() {
return new VScript.rKeyword(this, "transport_format");
}
get num_channels() {
return new VScript.rKeyword(this, "num_channels");
}
get peak_meters() {
return new VScript.rKeyword(this, "peak_meters");
}
get ip_configuration() {
return new VScript.rKeyword(this, "ip_configuration", { lift: exports.lift.ClusterIPSourceConfiguration, lower: exports.lower.ClusterIPSourceConfiguration });
}
get tally_mask() {
return new VScript.rwKeyword(this, "tally_mask");
}
get lifeness_count() {
return new VScript.rKeyword(this, "lifeness_count");
}
get bytes_per_second() {
return new VScript.rKeyword(this, "bytes_per_second");
}
get local() {
return new ClusterAudioSourceRuntimeLocal(this.raw.find("local"));
}
get label() { return new ClusterSourceLabelDual(this.raw.find("label")); }
}
exports.ClusterAudioSourceRuntime = ClusterAudioSourceRuntime;
class ClusterAudioSourceRuntimeAsTableRow extends ClusterAudioSourceRuntime {
constructor(raw_row, enclosing_table) {
super(new VScript.Subtree(raw_row.socket, raw_row.kwl));
this.enclosing_table = enclosing_table;
this.index = raw_row.index;
}
}
exports.ClusterAudioSourceRuntimeAsTableRow = ClusterAudioSourceRuntimeAsTableRow;
class ClusterMetadataSourceCC {
constructor(raw) {
this.raw = raw;
}
get screen() {
return new VScript.rKeyword(this, "screen");
}
}
exports.ClusterMetadataSourceCC = ClusterMetadataSourceCC;
class ClusterMetadataSourceLocalRuntime {
constructor(raw) {
this.raw = raw;
}
get bad_sdp() {
return new VScript.rKeyword(this, "bad_sdp");
}
get time_source() {
return new VScript.rKeyword(this, "time_source", { lift: _Time.lift.Source, lower: _Time.lower.Source });
}
get closed_caption() {
return new VScript.rKeyword(this, "closed_caption", { lift: _Video.lift.ClosedCaption, lower: _Video.lower.ClosedCaption });
}
}
exports.ClusterMetadataSourceLocalRuntime = ClusterMetadataSourceLocalRuntime;
class ClusterMetadataSourceRuntime {
constructor(raw) {
this.raw = raw;
}
get global_source_id() {
return new VScript.rKeyword(this, "global_source_id");
}
get brief() {
return new VScript.rKeyword(this, "brief");
}
get transport_format() {
return new VScript.rKeyword(this, "transport_format");
}
/**
Source IP address of the metadata RTP stream
*/
get src_ip_address() {
return new VScript.rKeyword(this, "src_ip_address");
}
/**
Source IP address of the metadata RTP stream
*/
get secondary_src_ip_address() {
return new VScript.rKeyword(this, "secondary_src_ip_address");
}
/**
Destination IP address of the metadata RTP stream
*/
get dest_ip_address() {
return new VScript.rKeyword(this, "dest_ip_address");
}
/**
Destination IP address of the metadata RTP stream
*/
get secondary_dest_ip_address() {
return new VScript.rKeyword(this, "secondary_dest_ip_address");
}
get ip_configuration() {
return new VScript.rKeyword(this, "ip_configuration", { lift: exports.lift.ClusterIPSourceConfiguration, lower: exports.lower.ClusterIPSourceConfiguration });
}
get lifeness_count() {
return new VScript.rKeyword(this, "lifeness_count");
}
get time_code() {
return new VScript.rKeyword(this, "time_code", { lift: exports.lift.TimestampedTimecode, lower: exports.lower.TimestampedTimecode });
}
get local() {
return new ClusterMetadataSourceLocalRuntime(this.raw.find("local"));
}
get closed_caption() {
return new ClusterMetadataSourceCC(this.raw.find("closed_caption"));
}
}
exports.ClusterMetadataSourceRuntime = ClusterMetadataSourceRuntime;
class ClusterMetadataSourceRuntimeAsTableRow extends ClusterMetadataSourceRuntime {
constructor(raw_row, enclosing_table) {
super(new VScript.Subtree(raw_row.socket, raw_row.kwl));
this.enclosing_table = enclosing_table;
this.index = raw_row.index;
}
}
exports.ClusterMetadataSourceRuntimeAsTableRow = ClusterMetadataSourceRuntimeAsTableRow;
class ClusterSourcesGlobalRuntime {
constructor(raw) {
this.raw = raw;
}
get video() {
return new VScript.StronglyTypedTable(new VScript.Table(this.raw.socket, this.raw.full_kwl("video")), (row, enclosing_table) => new ClusterVideoSourceRuntimeAsTableRow(row, enclosing_table));
}
get audio() {
return new VScript.StronglyTypedTable(new VScript.Table(this.raw.socket, this.raw.full_kwl("audio")), (row, enclosing_table) => new ClusterAudioSourceRuntimeAsTableRow(row, enclosing_table));
}
get metadata() {
return new VScript.StronglyTypedTable(new VScript.Table(this.raw.socket, this.raw.full_kwl("metadata")), (row, enclosing_table) => new ClusterMetadataSourceRuntimeAsTableRow(row, enclosing_table));
}
}
exports.ClusterSourcesGlobalRuntime = ClusterSourcesGlobalRuntime;
class ClusterSourcesLocalRuntime {
constructor(raw) {
this.raw = raw;
}
get video() {
return new VScript.StronglyTypedNamedTable(new VScript.NamedTable(this.raw.socket, this.raw.full_kwl("video")), (row, enclosing_table) => new ClusterVideoSourceLocalConfigurationAsNamedTableRow(row, enclosing_table));
}
get audio() {
return new VScript.StronglyTypedNamedTable(new VScript.NamedTable(this.raw.socket, this.raw.full_kwl("audio")), (row, enclosing_table) => new ClusterAudioSourceLocalConfigurationAsNamedTableRow(row, enclosing_table));
}
get metadata() {
return new VScript.StronglyTypedNamedTable(new VScript.NamedTable(this.raw.socket, this.raw.full_kwl("metadata")), (row, enclosing_table) => new ClusterMetadataSourceLocalConfigurationAsNamedTableRow(row, enclosing_table));
}
get video_full_size() {
return new VScript.StronglyTypedNamedTable(new VScript.NamedTable(this.raw.socket, this.raw.full_kwl("video_full_size")), (row, enclosing_table) => new ClusterVideoSourceLocalConfigurationAsNamedTableRow(row, enclosing_table));
}
}
exports.ClusterSourcesLocalRuntime = ClusterSourcesLocalRuntime;
exports.Enums = {
Ports: ["PORT_1", "PORT_2", "PORTS_ALL_SPS", "PORTS_ALL"],
SourceTransportFormat: ["IP_2022", "IP_2110", "SDI", "INTERNAL", "EXTERNAL_MIPMAPS"]
};