trtc-calling.js 352 B

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