import { IDefault, IOPERATE_MAP, IRoster, IFeatureConfig, StreamStatus, StreamType, ILoggerConfig, FacingMode, StreamResolution, TemplateMode, ContentTemplateMode, LayoutConfig, IMediaConfig, IMakeCall, ContentTrackConfig, PeopleTrackConfig, SwitchDeviceConfig, DEVICE_KIND, CustomizedMode } from '../type/index'; export * from './constraints'; export * from './analyser'; /** * 日志最大缓存条数 */ export declare const LOG_CACHE_COUNT = 10; /** * 日志表的数量 */ export declare const DB_TABLE_COUNT = 10; /** * 信令服务名称 */ export declare const DETECT_LOCATOR_SERVER_NAME = "WebrtcSigGW"; /** * 视频Codec协议 */ export declare const MIME_TYPE = "video/H264"; /** * 音频Codec协议 */ export declare const MIME_AUDIO_TYPE = "audio/opus"; /** * WebRTC 设备类型 */ export declare const DEVICE_TYPE = 17; /** * 自定义roster中自己的pid数据 */ export declare const SELF_MOCK_PID = 9999999999; /** * peer 9+2路画面通道数量(包含两路content画面) */ export declare const STREAM_11_CHANNEL_COUNT = 11; /** * peer 20+2路画面通道数量(包含两路content画面) */ export declare const STREAM_20_CHANNEL_COUNT = 34; /** * peer 屏幕外声音通道数量 */ export declare const STREAM_OUTSIDE_CHANNEL_COUNT = 3; /** * 最多翻页Layout数量 */ export declare const MAX_PARTICIPANT_COUNT = 112; /** * 用户自定义消息,最大Length长度 * 大小为1030kb,转化计算:1030 * 1000 / 0.75 * 大小为1.3MB,转化计算:1385 * 1000 / 0.75 * export const MAX_CUSTOM_MESSAGE_LEN = 1373333; */ export declare const MAX_CUSTOM_MESSAGE_LEN = 1846666; /** * 用户自定义消息,最大Length长度,10KB大小 */ export declare const MAX_CUSTOM_MESSAGE_LOG_LEN = 13333; /** * 采集流错误码 * * XYSDK:950401 摄像头或者麦克风设备缺失 * XYSDK:950402 摄像头或麦克风设备无法访问 * XYSDK:950403 约束设置无法被满足 * XYSDK:950404 麦克风或摄像头使用权限被拒绝 * XYSDK:950405 采集流约束设置为空 * XYSDK:950406 创建媒体流失败 */ export declare const STREAM_ERROR_CODE_MAP: string[]; /** * 采集流重创建错误码 * * XYSDK:950403 约束设置无法被满足 * XYSDK:950405 采集流约束设置为空 * XYSDK:950406 创建媒体流失败 */ export declare const STREAM_RECREATE_CODE_MAP: string[]; /** * 失效的StreamStatus列表 */ export declare const DISENABLED_STREAM_STATUS_MAP: StreamStatus[]; /** * 支持采集视频流的StreamStatus列表 */ export declare const ENABLE_STREAM_STATUS_MAP: StreamStatus[]; /** * 可用的StreamStatus列表 */ export declare const NORMAL_STREAM_STATUS_MAP: StreamStatus[]; /** * 可用于发送的Stream Type列表 */ export declare const NORMAL_STREAM_TYPE_MAP: StreamType[]; /** * 支持呼叫的会议室类型 */ export declare const SUPPORT_DEVICE_TYPE: string[]; /** * media类型 * 0: people * 1: content */ export declare const MEDIAGROUPID: number[]; /** * 请流质量, 帧率还受带宽、发送端能力综合决定 * 0: people 720P 15帧、1080P 15帧 / content 720P 5帧、 1080P 15帧 * 1: people 720P 30帧、1080P 60帧 / content 720P 30帧、 1080P 30帧 */ export declare const QUALITY_TYPE: number[]; /** * 分辨率 * */ export declare const RESOLUTION_TYPE: number[]; /** * 每页最大显示终端数 */ export declare const MAX_PAGE_SIZE = 9; /** * 移动端 对称布局 最大请流数量 */ export declare const MAX_MOBILE_PAGE_SIZE = 6; /** * 网络信息 */ export declare const NETWORK_TYPE_MAP: { [key: string]: number; }; /** * 音视频状态 */ export declare const OPERATE_MAP: IOPERATE_MAP; export declare const CONFIGURATION: RTCConfiguration; /** * stop call 对应错误码 */ export declare const NEW_CODE_MAP: { [key: string]: string; }; /** * roster数据 */ export declare const DEFAULT_ROSTER: IRoster; /** * 初始化数据 */ export declare const DEFAULT: IDefault; /** * 非content 默认模版类型数组 */ export declare const TEMPLATE_MODE_LIST: TemplateMode[]; /** * content 模板类型数组 */ export declare const CONTENT_TEMPLATE_MODE_LIST: ContentTemplateMode[]; /** * 非content 默认模板类型 */ export declare const TEMPLATE_DEFAULT_MODE = TemplateMode.SPEAKER; /** * content 模板类型 */ export declare const CONTENT_DEFAULT_TEMPLATE_MODE = ContentTemplateMode.MULTI_PIC_CONTENT_HIGH_PRIORITY; /** * 用户类型 */ export declare const APP_NAME: { STANDARD_WEBRTC: string; THIRD_WEBRTC: string; }; /** * 音视频事件类型 */ export declare const EVENT_TYPE_MAP: { [key: string]: string; }; /** * 隐身入会 * * @enum * * @property { number } HIDE 隐身入会 * @property { number } SDKMonitor+hide sdk监会 */ export declare const SDKMonitor: { [key: string]: string; }; /** * 可支持的监会方式 */ export declare const SDKMonitorList: string[]; /** * 通话字幕: 本地支持的语言 */ export declare const SupportLocalLanguages: readonly ["Chinese", "English"]; /** * 日志中需要隐藏的关键词 */ export declare const HIDE_KEY_INFOS: string[]; /** * SDK功能控制开关 */ export declare const DEFAULT_FEATURE_CONFIG: IFeatureConfig; /** * Steam模块init方法config参数默认值 */ export declare const DEFAULT_STREAM_CONFIG_DEVICES: { audioInputValue: string; videoInValue: string; }; /** * 默认数据库版本 */ export declare const DEF_DB_VERSION = 1; /** * 默认数据表的起始索引序列 */ export declare const DEF_TABLE_INDEX = 1; /** * 需要过滤的最小声量数据 */ export declare const MIN_AUDIO_LEVEL = 9; /** * 声量设备缓存时间 */ export declare const SPEAKER_KEEP_INTERVAL = 3000; /** * 默认数据库配置 */ export declare const DEFAULT_LOGGER_CONFIG: ILoggerConfig; /** * 相机方向 */ export declare const FACING_MODE_LIST: readonly [FacingMode.FRONT, FacingMode.BACK]; /** * 企业配置信息 * * @property downLinkCeilingRate - 下行带宽配置 * @property upLinkCeilingRate - 上行带宽配置(暂不支持) * @property pvrxResolution - 下行最大分辨率配置 * @property pvtxResolution - 上行最大分辨率配置 * @property bwMode - 带宽模式配置 * 高低带宽模式设置路径:manager-开发者-客户端功能管理-自定义终端功能-mediaConfig-bwMode,支持:0/4 * 最大带宽设置路径:console-会议设置-带宽控制-默认带宽,最大支持20MB设置 * 最大带宽设置路径2:manager-开发者-客户端功能管理-自定义终端功能-RemoteSDKConfig-downLinkCeilingRate,可以输入自定义带宽,会合并到console平台 * 需求文档:https://nones.xylink.com/wiki/#/team/AQzvsooq/space/WctinJ2n/page/Aoro2gn1 * 0-本地带宽表;未配置带宽模式时,终端默认使用0-本地带宽表 * 1-极限模式----暂时不支持 * 2-低带宽模式----暂时不支持 * 3-普通模式----暂时不支持 * 4-高带宽模式-----20260327支持 */ export declare const ENTERPRISE_CONFIG: { downLinkCeilingRate: { clientConfigName: string; configName: string; }; upLinkCeilingRate: { clientConfigName: string; configName: string; }; pvrxResolution: { clientConfigName: string; configName: string; }; pvtxResolution: { clientConfigName: string; configName: string; }; bwMode: { clientConfigName: string; configName: string; }; }; /** * 枚举会控平台 */ export declare const MEETING_CONTROL_PLATFORM: { PC: string; MOBILE: string; SIDE: string; PROFESSIONAL: string; }; export declare const LOCAL_SHARED_MAX_VIEW_COUNT = 4; /** * 布局相关默认配置 */ export declare const DEFAULT_LAYOUT_CONFIG: Required; /** * Web支持的轮询画面 */ export declare const MULTI_IMAGE: CustomizedMode[]; /** * 高分辨率配置 */ export declare const HIGH_RESOLUTION = StreamResolution.RS1080; /** * 低分辨率配置 */ export declare const LM_CONFIG: { peopleRecResolution: StreamResolution; peopleSendResolution: StreamResolution; contentRecResolution: StreamResolution; contentSendResolution: StreamResolution; }; /** * 流畅模式下视频发送和接收配置 * * 理论上,如果需要配置带宽配置,不应该启用配置流畅模式 * * 注意:可能出现NConsole配置的比流畅模式还低的情况,这种情况可以暂时忽略,不做考虑 * people默认发送和接收360P画面 * content模式发送和接收720P画面 * 后期如果觉得不太合适,可以随时调整此配置 */ export declare const SM_CONFIG: { peopleRecResolution: StreamResolution; peopleSendResolution: StreamResolution; contentRecResolution: StreamResolution; contentSendResolution: StreamResolution; }; /** * 默认SDK视频发送和接收配置 */ export declare const NM_CONFIG: { peopleRecResolution: StreamResolution; peopleSendResolution: StreamResolution; contentRecResolution: StreamResolution; contentSendResolution: StreamResolution; }; /** * 默认媒体配置表 */ export declare const DEFAULT_MEDIA_CONFIG: IMediaConfig; /** * 默认MakeCall参数 */ export declare const DEFAULT_MAKE_CALL_PARAMS: IMakeCall; /** * 默认People Track配置 */ export declare const DEFAULT_INIT_TRACK_CONFIG: PeopleTrackConfig; /** * 默认Content Track配置 */ export declare const DEFAULT_CONTENT_TRACK_CONFIG: ContentTrackConfig; /** * 默认约束配置 */ export declare const BASE_SUPPORTS_CONSTRAINTS: any; /** * 切换设备,默认设备配置 */ export declare const DEFAULT_DEVICE_CONFIG: SwitchDeviceConfig; /** * 设备Kind转为中文描述 */ export declare const DEFAULT_KIND_MAP: { [key in DEVICE_KIND]: string; }; /** * SDK内部上报退会消息时,标记内部的消息type,用来区分和服务端的退会消息 */ export declare const DEFAULT_CUSTOM_MSG_TYPE = "XYSDK_CUSTOM_MSG"; export declare const INIT_CONTENT_STREAMS: {}; /** * 匹配除了大小写字母、数字、汉字以及空格、特定的标点符号((-_--.))和特殊字符之外的任何字符 */ export declare const SPECIAL_CHARACTERS_REGEX: RegExp; /** * 视频编解码器优先级规则 */ export declare const VIDEO_CODEC_MAP: string[]; /** * 音频编解码器优先级规则 */ export declare const AUDIO_CODEC_MAP: string[];