// 错误码
export const ErrorCode: any = {
  SWITCH_TO_AUDIO_CALL_FAILED: 60001,
  SWITCH_TO_VIDEO_CALL_FAILED: 60002,
  MICROPHONE_UNAVAILABLE: 60003,
  CAMERA_UNAVAILABLE: 60004,
  BAN_DEVICE: 60005,
  NOT_SUPPORTED_WEBRTC: 60006,
  ERROR_BLACKLIST: 20007,
} as const;

export const ErrorMessage: any = {
  SWITCH_TO_AUDIO_CALL_FAILED: 'switchToAudioCall-call-failed',
  SWITCH_TO_VIDEO_CALL_FAILED: 'switchToVideoCall-call-failed',
  MICROPHONE_UNAVAILABLE: 'microphone-unavailable',
  CAMERA_UNAVAILABLE: 'camera-unavailable',
  BAN_DEVICE: 'ban-device',
  NOT_SUPPORTED_WEBRTC: 'not-supported-webrtc',
  ERROR_BLACKLIST: 'blacklist-user-tips'
} as const;
