vani-meeting-client 1.7.7 → 1.7.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/base/Base.js
CHANGED
|
@@ -1 +1,17 @@
|
|
|
1
|
-
|
|
1
|
+
var Base = /** @class */ (function () {
|
|
2
|
+
function Base(_meetingStartRequest, _communicationHandler) {
|
|
3
|
+
this.meetingStartRequest = _meetingStartRequest;
|
|
4
|
+
this.communicationHandler = _communicationHandler;
|
|
5
|
+
this.onObjectCreated();
|
|
6
|
+
}
|
|
7
|
+
Base.prototype.onObjectCreated = function () {
|
|
8
|
+
// this.meetingStartRequest && this.meetingStartRequest.logLevel === LogLevel.Debug && log.info("Object created")
|
|
9
|
+
};
|
|
10
|
+
Base.prototype.cleanup = function () {
|
|
11
|
+
this.communicationHandler = undefined;
|
|
12
|
+
this.meetingStartRequest = undefined;
|
|
13
|
+
// this.meetingStartRequest && this.meetingStartRequest.logLevel === LogLevel.Debug &&log.info("cleanup");
|
|
14
|
+
};
|
|
15
|
+
return Base;
|
|
16
|
+
}());
|
|
17
|
+
export { Base };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { Base } from "../base/Base";
|
|
2
1
|
import { Track } from "../model/Track";
|
|
3
2
|
import { WebSocketMessageBody } from "../websocket-handler/WebsocketHandler";
|
|
3
|
+
import { Base } from "../base/Base";
|
|
4
4
|
export declare abstract class BaseVideoCallHandler extends Base {
|
|
5
5
|
protected onObjectCreated(): void;
|
|
6
6
|
abstract init(): Promise<void>;
|
|
@@ -49,9 +49,9 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
|
49
49
|
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
|
|
50
50
|
}
|
|
51
51
|
};
|
|
52
|
-
import { Base } from "../base/Base";
|
|
53
52
|
import log from 'loglevel';
|
|
54
53
|
import { LogLevel } from "../model/MeetingStartRequest";
|
|
54
|
+
import { Base } from "../base/Base";
|
|
55
55
|
var BaseVideoCallHandler = /** @class */ (function (_super) {
|
|
56
56
|
__extends(BaseVideoCallHandler, _super);
|
|
57
57
|
function BaseVideoCallHandler() {
|
|
@@ -51,8 +51,8 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
|
51
51
|
};
|
|
52
52
|
import axios from 'axios';
|
|
53
53
|
import { LogLevel, MeetingType, VaniEvent } from '..';
|
|
54
|
-
import { Base } from '../base/Base';
|
|
55
54
|
import * as log from 'loglevel';
|
|
55
|
+
import { Base } from '../base/Base';
|
|
56
56
|
export var WebSocketBasicEvents;
|
|
57
57
|
(function (WebSocketBasicEvents) {
|
|
58
58
|
WebSocketBasicEvents["Config"] = "config";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "vani-meeting-client",
|
|
3
|
-
"version": "1.7.
|
|
3
|
+
"version": "1.7.8",
|
|
4
4
|
"description": "Vani Meeting Clinet SDK",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"types": "lib/index.d.ts",
|
|
@@ -46,8 +46,7 @@
|
|
|
46
46
|
"analytics": "^0.7.21",
|
|
47
47
|
"axios": "^0.24.0",
|
|
48
48
|
"loglevel": "^1.8.0",
|
|
49
|
-
"mediasoup-client": "^3.7.16"
|
|
50
|
-
|
|
51
|
-
},
|
|
49
|
+
"mediasoup-client": "^3.7.16"
|
|
50
|
+
},
|
|
52
51
|
"optionalDependencies": {}
|
|
53
52
|
}
|