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) • 510 B
JavaScript
var _a, _b;
import { getPlatform } from "@tencentcloud/universal-api";
const isPC = getPlatform() === "pc";
getPlatform() === "h5";
const isWeChat = getPlatform() === "wechat";
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;
export {
isElectron,
isMobile,
isPC,
isWeChat
};