UNPKG

@tencentcloud/roomkit-web-vue3

Version:

<h1 align="center"> TUIRoomKit</h1> Conference (TUIRoomKit) is a product suitable for multi-person audio and video conversation scenarios such as business meetings, webinars, and online education. By integrating this product, you can add room management,

21 lines (20 loc) 790 B
"use strict"; var __defProp = Object.defineProperty; var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value; var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value); Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" }); class TrackingManager { constructor() { __publicField(this, "provider"); __publicField(this, "registerProvider", (provider) => { this.provider = provider; }); __publicField(this, "sendMessage", (cmd) => { if (this.provider) { this.provider.sendMessage(cmd, {}); } }); this.provider = null; } } exports.TrackingManager = TrackingManager;