/** * * Agora Real Time Engagement * Created by Liu Loulou in 2022-08. * Copyright (c) 2022 Agora IO. All rights reserved. * */ /** * rte-runtime-lite is a lightweight rte-runtime npm package specific for UI * usage. It mainly contains the types of rte-runtime required by UI, but does * not contain the implementations of rte-runtime. * * Although the JS/TS binding of RTE runtime has different implementations on * nodejs/electron and react-native, RTE runtime provides a consistent * interface for these two environments. Therefore, for rte-runtime-lite that * only contains types of rte-runtime, it can be used in nodejs/electron and * also in react-native. */ // The rte-runtime implementation is in the 'RteRuntime' namespace. const { RteRuntime } = globalThis as any; export default RteRuntime;