Newer
Older
XinYang_SanWei+RongYun / src / util / setting.js
@张强云笔记本 张强云笔记本 on 17 Dec 2021 718 bytes 融云通话接入
(function (global, factory) {
  if (typeof exports === 'object' && module !== 'undefined') {
    module.exports = factory();
  } else if (typeof define === 'function' && (define.amd || define.cmd)) {
    define(factory);
  } else {
    global.RongCall = global.RongCall || {};
    global.RongCall.setting = factory();
  }
})(window, function () {

  var ENUM = {};

  ENUM.Events = {
    INVITE: 'invite',
    ACCEPT: 'accept',
    HUNGUP: 'hungup',
    MEDIA_MODIFY: 'media_modify',
    MEMBER_MODIFY: 'member_modify',

    RTC_ADDED: 'added',
    RTC_REMOVED: 'removed',
    RTC_LEAVE: 'leave'
  };

  return {
    appkey: 'lmxuhwagl6sfd',
    navi: '',
    server: 'http://localhost:9929',

    ENUM: ENUM
  };
});