@dolbyio/dolbyio-rest-apis-client
Version:
Node.JS wrapper for the Dolby.io REST APIs
27 lines (26 loc) • 913 B
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.initialize = exports.getRtsHostname = exports.getRtsDirectorHostname = exports.getMapiHostname = exports.getApiHostname = void 0;
var hostnames = {
api: 'api.dolby.io',
rts: 'api.millicast.com',
rtsDirector: 'director.millicast.com',
mapi: 'api.dolby.com'
};
var initialize = exports.initialize = function initialize(newHostnames) {
Object.assign(hostnames, newHostnames);
};
var getApiHostname = exports.getApiHostname = function getApiHostname() {
return hostnames.api;
};
var getRtsHostname = exports.getRtsHostname = function getRtsHostname() {
return hostnames.rts;
};
var getRtsDirectorHostname = exports.getRtsDirectorHostname = function getRtsDirectorHostname() {
return hostnames.rtsDirector;
};
var getMapiHostname = exports.getMapiHostname = function getMapiHostname() {
return hostnames.mapi;
};