2017-06-10 01:44:31 +02:00
|
|
|
"use strict";
|
|
|
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
|
var Session_1 = require("./Session");
|
2018-01-27 19:39:49 +01:00
|
|
|
var OpenVidu = /** @class */ (function () {
|
2017-06-10 01:44:31 +02:00
|
|
|
function OpenVidu(urlOpenViduServer, secret) {
|
|
|
|
this.urlOpenViduServer = urlOpenViduServer;
|
|
|
|
this.secret = secret;
|
|
|
|
}
|
2018-01-27 19:39:49 +01:00
|
|
|
OpenVidu.prototype.createSession = function (properties) {
|
|
|
|
return new Session_1.Session(this.urlOpenViduServer, this.secret, properties);
|
|
|
|
};
|
|
|
|
OpenVidu.prototype.startArchive = function (sessionId) {
|
|
|
|
// TODO: REST POST to start recording in OpenVidu Server
|
|
|
|
};
|
|
|
|
OpenVidu.prototype.stopArchive = function (sessionId) {
|
|
|
|
// TODO: REST POST to end recording in OpenVidu Server
|
2017-06-10 01:44:31 +02:00
|
|
|
};
|
|
|
|
return OpenVidu;
|
|
|
|
}());
|
|
|
|
exports.OpenVidu = OpenVidu;
|
|
|
|
//# sourceMappingURL=OpenVidu.js.map
|