UNPKG

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,

16 lines (15 loc) 706 B
"use strict"; var _a, _b; Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" }); const universalApi = require("@tencentcloud/universal-api"); const isPC = universalApi.getPlatform() === "pc"; universalApi.getPlatform() === "h5"; const isWeChat = universalApi.getPlatform() === "wechat"; universalApi.getPlatform() === "app"; const isMobile = true; const isElectron = ((_a = navigator.userAgent) == null ? void 0 : _a.toLowerCase().indexOf(" electron/")) > -1; navigator && ((_b = navigator.userAgent) == null ? void 0 : _b.toLocaleLowerCase().indexOf("micromessenger")) > -1; exports.isElectron = isElectron; exports.isMobile = isMobile; exports.isPC = isPC; exports.isWeChat = isWeChat;