123456789101112131415 |
- import { tim } from './tim'
- import TRTCCalling from 'trtc-calling-js'
- import config from '../config.js'
- let options = {
- SDKAppID: config.sdkAppId, // 接入时需要将0替换为您的云通信应用的 SDKAppID
- tim: tim,
- }
- const trtcCalling = new TRTCCalling(options)
- // 4 无日志级别
- trtcCalling.setLogLevel(0)
- export default trtcCalling
|