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,

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