Agora C++ API Reference for All Platforms
|
11 #include <unordered_set>
15 #define INTERNAL_KEY_NT_ET_AP_PORT "nt.et.ap_port"
16 #define INTERNAL_KEY_NT_ET_ET_PORT_LIST "nt.et.et_port_list"
17 #define INTERNAL_KEY_NT_ET_AP_LIST "nt.et.ap_list"
18 #define INTERNAL_KEY_NT_ET_ET_LIST "nt.et.et_list"
19 #define INTERNAL_KEY_NT_PT_PUBLIC_DOMAIN_LIST "nt.pt.public_domain_list"
20 #define INTERNAL_KEY_RTC_AUDIO_MUTE_ME "rtc.audio.mute_me"
21 #define INTERNAL_KEY_RTC_AUDIO_MUTE_PEERS "rtc.audio.mute_peers"
22 #define INTERNAL_KEY_RTC_AUDIO_SET_DEFAULT_MUTE_PEERS "rtc.audio.set_default_mute_peers"
23 #define INTERNAL_KEY_RTC_AUDIO_MUTE_PEER "rtc.audio.mute_peer"
24 #define INTERNAL_KEY_RTC_AUDIO_UPLINK_MAX_RETRY_TIMES "rtc.audio.uplink_max_retry_times"
25 #define INTERNAL_KEY_RTC_AUDIO_DOWNLINK_MAX_RETRY_TIMES "rtc.audio.downlink_max_retry_times"
26 #define INTERNAL_KEY_RTC_AUDIO_ENABLED "rtc.audio.enabled"
27 #define INTERNAL_KEY_RTC_AUDIO_PAUSED "rtc.audio.paused"
28 #define INTERNAL_KEY_RTC_AUDIO_CODEC "rtc.audio.codec"
29 #define INTERNAL_KEY_RTC_AUDIO_DTX "rtc.audio.dtx"
30 #define INTERNAL_KEY_RTC_AUDIO_OPTIONS "rtc.audio.options"
31 #define INTERNAL_KEY_RTC_AUDIO_FRAMES_PER_PACKET "rtc.audio.frames_per_packet"
32 #define INTERNAL_KEY_RTC_AUDIO_INTERLEAVES_PER_PACKET "rtc.audio.interleaves_per_packet"
33 #define INTERNAL_KEY_RTC_AUDIO_HIGH_QUALITY_MODE "rtc.audio.high.quality.mode"
34 #define INTERNAL_KEY_RTC_AUDIO_NETWORK_OPTIMIZED "rtc.audio.network_optimized"
35 #define INTERNAL_KEY_RTC_AUDIO_INSTANT_JOIN_OPTIMIZED "rtc.audio.instant_join_optimized"
36 #define INTERNAL_KEY_RTC_AUDIO_START_CALL "rtc.audio.start_call"
37 #define INTERNAL_KEY_RTC_AUDIO_APM_DUMP "rtc.audio.apm_dump"
38 #define INTERNAL_KEY_RTC_AUDIO_FRAME_DUMP "rtc.audio.frame_dump"
39 #define INTERNAL_KEY_RTC_AUDIO_ACM_PTIME "rtc.audio.acm_ptime"
40 #define INTERNAL_KEY_RTC_VIDEO_MUTE_ME "rtc.video.mute_me"
41 #define INTERNAL_KEY_RTC_VIDEO_MUTE_PEERS "rtc.video.mute_peers"
42 #define INTERNAL_KEY_RTC_VIDEO_SET_DEFAULT_MUTE_PEERS "rtc.video.set_default_mute_peers"
43 #define INTERNAL_KEY_RTC_VIDEO_MUTE_PEER "rtc.video.mute_peer"
44 #define INTERNAL_KEY_RTC_VIDEO_SET_REMOTE_VIDEO_STREAM "rtc.video.set_remote_video_stream"
45 #define INTERNAL_KEY_RTC_VIDEO_SET_REMOTE_DEFAULT_VIDEO_STREAM_TYPE "rtc.video.set_remote_default_video_stream_type"
46 #define INTERNAL_KEY_RTC_VIDEO_CAPTURE "rtc.video.capture"
47 #define INTERNAL_KEY_RTC_VIDEO_ENABLED "rtc.video.enabled"
48 #define INTERNAL_KEY_RTC_VIDEO_PREVIEW "rtc.video.preview"
49 #define INTERNAL_KEY_RTC_VIDEO_AUDIENCE_PREVIEW "rtc.video.audience_preview"
50 #define INTERNAL_KEY_RTC_VIDEO_LOCAL_MIRRORED "rtc.video.local_mirrored"
51 #define INTERNAL_KEY_RTC_VIDEO_BITRATE_LIMIT "rtc.video.bitrate_limit"
52 #define INTERNAL_KEY_RTC_VIDEO_PROFILE "rtc.video.profile"
53 #define INTERNAL_KEY_RTC_VIDEO_ENGINE_PROFILE "rtc.video.engine_profile"
54 #define INTERNAL_KEY_RTC_VIDEO_CACHE "rtc.video.cache"
55 #define INTERNAL_KEY_RTC_VIDEO_CODEC "rtc.video.codec"
56 #define INTERNAL_KEY_RTC_VIDEO_PREFER_FRAME_RATE "rtc.video.prefer_frame_rate"
57 #define INTERNAL_KEY_RTC_VIDEO_WEB_H264_INTEROP_ENABLE "rtc.video.web_h264_interop_enable"
58 #define INTERNAL_KEY_RTC_VIDEO_CUSTOM_PROFILE "rtc.video.custom_profile"
59 #define INTERNAL_KEY_RTC_VIDEO_UPLINK_MAX_RETRY_TIMES "rtc.video.uplink_max_retry_times"
60 #define INTERNAL_KEY_RTC_VIDEO_DOWNLINK_MAX_RETRY_TIMES "rtc.video.downlink_max_retry_times"
61 #define INTERNAL_KEY_RTC_VIDEO_RSFEC_MIN_LEVEL "rtc.video.rsfec_min_level"
62 #define INTERNAL_KEY_RTC_PEER_OFFLINE_PERIOD "rtc.peer.offline_period"
63 #define INTERNAL_KEY_RTC_CONNECTION_TIMEOUT_PERIOD "rtc.connection_timeout_period"
64 #define INTERNAL_KEY_RTC_CHANNEL_MODE "rtc.channel_mode"
65 #define INTERNAL_KEY_RTC_AP_PORT "rtc.ap_port"
66 #define INTERNAL_KEY_RTC_VOCS_PORT "rtc.vocs_port"
67 #define INTERNAL_KEY_RTC_STUN_PORT "rtc.stun_port"
68 #define INTERNAL_KEY_RTC_LASTMILE_PROBE_TEST "rtc.lastmile_probe_test"
69 #define INTERNAL_KEY_RTC_AP_LIST "rtc.ap_list"
70 #define INTERNAL_KEY_RTC_VOCS_LIST "rtc.vocs_list"
71 #define INTERNAL_KEY_RTC_VOS_IP_PORT_LIST "rtc.vos_list"
72 #define INTERNAL_KEY_RTC_PRIORITY_VOS_IP_PORT_LIST "rtc.priority_vos_list"
73 #define INTERNAL_KEY_RTC_STUN_PORT "rtc.stun_port"
74 #define INTERNAL_KEY_RTC_ICE_LIST "rtc.ice_list"
75 #define INTERNAL_KEY_RTC_STUN_LIST "rtc.stun_list"
76 #define INTERNAL_KEY_RTC_ICE_LIST2 "rtc.ice_list2"
77 #define INTERNAL_KEY_RTC_RENEW_TOKEN "rtc.renew_token"
78 #define INTERNAL_KEY_RTC_NETOB "rtc.netob"
79 #define INTERNAL_KEY_RTC_PROXY_SERVER "rtc.proxy_server"
80 #define INTERNAL_KEY_RTC_ENABLE_PROXY_SERVER "rtc.enable_proxy"
81 #define INTERNAL_KEY_RTC_CROSS_CHANNEL_PARAM "rtc.cross_channel_param"
82 #define INTERNAL_KEY_RTC_CROSS_CHANNEL_ENABLED "rtc.cross_channel_enabled"
83 #define INTERNAL_KEY_RTC_ACTIVE_VOS_LIST "rtc.active_vos_list"
84 #define INTERNAL_KEY_RTC_JOINED_VOS "rtc.joined.vos"
85 #define INTERNAL_KEY_RTC_LOCAL_PUBLISH_FALLBACK_OPTION "rtc.local_publish_fallback_option"
86 #define INTERNAL_KEY_RTC_REMOTE_SUBSCRIBE_FALLBACK_OPTION "rtc.remote_subscribe_fallback_option"
87 #define INTERNAL_KEY_RTC_PUBLIC_DOMAIN_LIST "rtc.public_domain_list"
88 #define INTERNAL_KEY_RTC_VOET_LIST "rtc.voet_list"
89 #define INTERNAL_KEY_RTC_VOET_PORT_LIST "rtc.voet_port_list"
90 #define INTERNAL_KEY_RTC_SIGNAL_DEBUG "rtc.signal_debug"
91 #define INTERNAL_KEY_RTC_AUDIO_QUALITY_INDICATION "rtc.audio_quality_indication"
92 #define INTERNAL_KEY_RTC_TRANSPORT_QUALITY_INDICATION "rtc.transport_quality_indication"
93 #define INTERNAL_KEY_RTC_COMPATIBLE_MODE "rtc.compatible_mode"
94 #define INTERNAL_KEY_RTC_CLIENT_TYPE "rtc.client_type"
95 #define INTERNAL_KEY_RTC_EXTENSIONID "rtc.extension_id"
96 #define INTERNAL_KEY_RTC_REPORT_LEVEL "rtc.report_level"
97 #define INTERNAL_KEY_RTC_CHANNEL_PROFILE "rtc.channel_profile"
98 #define INTERNAL_KEY_RTC_CLIENT_ROLE "rtc.client_role"
99 #define INTERNAL_KEY_RTC_DUAL_STREAM_MODE "rtc.dual_stream_mode"
100 #define INTERNAL_KEY_RTC_ENCRYPTION_MASTER_KEY "rtc.encryption.master_key"
101 #define INTERNAL_KEY_RTC_ENCRYPTION_MODE "rtc.encryption.mode"
102 #define INTERNAL_KEY_RTC_FORCE_UNIFIED_COMMUNICATION_MODE "rtc.force_unified_communication_mode"
103 #define INTERNAL_KEY_RTC_TRY_P2P_ONLY_ONCE "rtc.try_p2p_only_once"
104 #define INTERNAL_KEY_RTC_APPLY_DEFAULT_CONFIG "rtc.apply_default_config"
105 #define INTERNAL_KEY_RTC_CACHE_CONFIG "rtc.cache_config"
106 #define INTERNAL_KEY_RTC_DUAL_SIGNALING_MODE "rtc.dual_signaling_mode"
107 #define INTERNAL_KEY_RTC_LIVE_DUAL_LBS_MODE "rtc.live_dual_lbs_mode"
108 #define INTERNAL_KEY_RTC_GEN_NOTIFICATION_WITH_ID "rtc.gen_notification_with_id"
109 #define INTERNAL_KEY_RTC_UPLOAD_LOG "rtc.upload_log"
110 #define INTERNAL_KEY_RTC_EXTENSION_LIST "rtc.extension_list"
111 #define INTERNAL_KEY_RTC_REQ_JOIN_PUBLISHER "rtc.req.join_publisher"
112 #define INTERNAL_KEY_RTC_RES_JOIN_PUBLISHER "rtc.res.join_publisher"
113 #define INTERNAL_KEY_RTC_REQ_REMOVE_PUBLISHER "rtc.req.remove_publisher"
114 #define INTERNAL_KEY_RTC_ENABLE_API_TRACER "rtc.enable_api_tracer"
115 #define INTERNAL_KEY_RTC_RECORDING_CONFIG "rtc.recording.config"
116 #define INTERNAL_KEY_RTC_AUDIO_FEC "rtc.audio_fec"
117 #define INTERNAL_KEY_RTC_CAPABILITIES "rtc.capabilities"
118 #define INTERNAL_KEY_RTC_USER_ACCOUNT_SERVER_LIST "rtc.user_account_server_list"
119 #define INTERNAL_KEY_RTC_WORK_MANAGER_ACCOUNT_LIST "rtc.work_manager_account_list"
120 #define INTERNAL_KEY_RTC_WORK_MANAGER_ADDR_LIST "rtc.work_manager_addr_list"
121 #define INTERNAL_KEY_RTC_REPORT_TYPE "rtc.report_type"
122 #define INTERNAL_KEY_RTC_AUDIO_FROZEN_TYPE_IN_API "rtc.audio.frozen_type_in_api"
123 #define CONFIGURABLE_KEY_RTC_VIDEO_PLAYOUT_DELAY_MAX "rtc.video.playout_delay_max"
124 #define CONFIGURABLE_KEY_RTC_VIDEO_PLAYOUT_DELAY_MIN "rtc.video.playout_delay_min"
126 #define CONFIGURABLE_KEY_RTC_E2E_DELAY_MAX "rtc.video.e2e_delay_max"
127 #define CONFIGURABLE_KEY_RTC_DECODE_RENDER_DELAY "rtc.video.decoder_render_delay"
128 #define CONFIGURABLE_KEY_RTC_BUFFER_MODIFY_PACER "rtc.video.buffer_modify_pacer"
129 #define CONFIGURABLE_KEY_RTC_BUFFER_DELAY_MIN "rtc.video.buffer_delay_min"
130 #define CONFIGURABLE_KEY_RTC_ENABLE_SYNC_RENDER "rtc.video.enable_sync_render"
132 #define INTERNAL_KEY_RTC_DISABLE_INTRA_REQUEST "rtc.disable_intra_request"
133 #define CONFIGURABLE_KEY_RTC_UPLOAD_LOG_REQUEST "rtc.upload_log_request"
134 #define CONFIGURABLE_KEY_RTC_WIN_ALLOW_MAGNIFICATION "rtc.win_allow_magnification"
135 #define CONFIGURABLE_KEY_RTC_WIN_ALLOW_DIRECTX "rtc.win_allow_directx"
136 #define CONFIGURABLE_KEY_SDK_DEBUG_ENABLE "rtc.debug.enable"
137 #define INTERNAL_KEY_SDK_DEBUG_COMMAND "rtc.debug.command"
138 #define INTERNAL_KEY_RTC_TEST_CONFIG_SERVICE "rtc.test_config_service"
139 #define CONFIGURABLE_KEY_RTC_AEC3_ENABLE "rtc.aec3.enable"
140 #define CONFIGURABLE_KEY_RTC_AUDIO_ENABLE_OPENSL "rtc.audio.opensl"
141 #define CONFIGURABLE_KEY_RTC_AUDIO_BANNED_SL_LEVEL "rtc.audio.banned_sl_level"
142 #define CONFIGURABLE_KEY_RTC_AUDIO_HIGH_QUALITY_ENABLE_OPENSL_WITH_HEADSET "rtc.audio.highQuality.enableOpenSL.withHeadset"
143 #define CONFIGURABLE_KEY_RTC_AUDIO_IO_BUFFER_PERIOD_WITH_OPENSL "rtc.audio.io_buffer_period.withOpenSL"
144 #define CONFIGURABLE_KEY_RTC_AUDIO_ADM_LAYER "rtc.audio.admlayer"
145 #define CONFIGURABLE_KEY_RTC_REPORT_CONFIG "rtc.report_config"
146 #define CONFIGURABLE_KEY_RTC_AUDIO_PLAYBUFSIZE_FACTOR "rtc.audio.playbufsize_factor"
147 #define INTERNAL_KEY_CHE_AUDIO_PROFILE "che.audio.profile"
148 #define INTERNAL_KEY_CHE_AUDIO_USE_MEDIA_VOLUME_IN_HEADSET "che.audio.use_media_volume_in_headset"
149 #define INTERNAL_KEY_CHE_AUDIO_USE_MEDIA_VOLUME_IN_AUDIENCE "che.audio.use_media_volume_in_audience"
150 #define INTERNAL_KEY_CHE_AUDIO_USE_MEDIA_VOLUME_IN_SOLO "che.audio.use_media_volume_in_solo"
151 #define INTERNAL_KEY_CHE_AUDIO_UPLINK_MAX_FEC_FRAME "che.audio.uplink.max_fec_frame"
152 #define CONFIGURABLE_KEY_RTC_IP_AREACODE "rtc.ip_area_code"
153 #define CONFIGURABLE_KEY_RTC_IP_AREACODE_CN "rtc.ip_cn_area"
154 #define CONFIGURABLE_KEY_RTC_IP_AREACODE_NA "rtc.ip_na_area"
155 #define CONFIGURABLE_KEY_RTC_IP_AREACODE_EUR "rtc.ip_eur_area"
156 #define CONFIGURABLE_KEY_RTC_IP_AREACODE_AS "rtc.ip_as_area"
157 #define CONFIGURABLE_KEY_RTC_IP_AREACODE_JP "rtc.ip_jp_area"
158 #define CONFIGURABLE_KEY_RTC_IP_AREACODE_IN "rtc.ip_india_area"
159 #define CONFIGURABLE_KEY_RTC_IP_AREACODE_OCEANIA "rtc.ip_oceania_area"
160 #define CONFIGURABLE_KEY_RTC_IP_AREACODE_SA "rtc.ip_south_america_area"
161 #define CONFIGURABLE_KEY_RTC_IP_AREACODE_AFRICA "rtc.ip_africa_area"
162 #define CONFIGURABLE_KEY_RTC_IP_AREACODE_OVS "rtc.ip_oversea_area"
163 #define CONFIGURABLE_KEY_RTC_IP_TLS_AREACODE_CN "rtc.ip_tls_cn_area"
164 #define CONFIGURABLE_KEY_RTC_IP_TLS_AREACODE_NA "rtc.ip_tls_na_area"
165 #define CONFIGURABLE_KEY_RTC_IP_TLS_AREACODE_EUR "rtc.ip_tls_eur_area"
166 #define CONFIGURABLE_KEY_RTC_IP_TLS_AREACODE_AS "rtc.ip_tls_as_area"
167 #define CONFIGURABLE_KEY_RTC_IP_TLS_AREACODE_JP "rtc.ip_tls_jp_area"
168 #define CONFIGURABLE_KEY_RTC_IP_TLS_AREACODE_IN "rtc.ip_tls_indian_area"
169 #define CONFIGURABLE_KEY_RTC_IP_TLS_AREACODE_OC "rtc.ip_tls_oceania_area"
170 #define CONFIGURABLE_KEY_RTC_IP_TLS_AREACODE_SA "rtc.ip_tls_south_america_area"
171 #define CONFIGURABLE_KEY_RTC_IP_TLS_AREACODE_AF "rtc.ip_tls_africa_area"
172 #define CONFIGURABLE_KEY_RTC_IP_TLS_AREACODE_OVS "rtc.ip_tls_oversea_area"
173 #define CONFIGURABLE_KEY_RTC_PROXY_IP_AREACODE_CN "rtc.proxy.ip_cn_area"
174 #define CONFIGURABLE_KEY_RTC_PROXY_IP_AREACODE_NA "rtc.proxy.ip_na_area"
175 #define CONFIGURABLE_KEY_RTC_PROXY_IP_AREACODE_EUR "rtc.proxy.ip_eur_area"
176 #define CONFIGURABLE_KEY_RTC_PROXY_IP_AREACODE_AS "rtc.proxy.ip_as_area"
177 #define CONFIGURABLE_KEY_RTC_PROXY_IP_TLS_AREACODE_CN "rtc.proxy.ip_tls_cn_area"
178 #define CONFIGURABLE_KEY_RTC_PROXY_IP_TLS_AREACODE_NA "rtc.proxy.ip_tls_na_area"
179 #define CONFIGURABLE_KEY_RTC_PROXY_IP_TLS_AREACODE_EUR "rtc.proxy.ip_tls_eur_area"
180 #define CONFIGURABLE_KEY_RTC_PROXY_IP_TLS_AREACODE_AS "rtc.proxy.ip_tls_as_area"
181 #define CONFIGURABLE_KEY_RTC_ENABLE_DNS "rtc.enable_dns"
182 #define INTERNAL_KEY_RTC_PROXY_AP_PORTS "rtc.proxy.ap_ports"
183 #define INTERNAL_KEY_RTC_PROXY_AP_AUT_PORTS "rtc.proxy.ap_aut_ports"
184 #define INTERNAL_KEY_RTC_PROXY_AP_TLS_PORTS "rtc.proxy.ap_tls_ports"
185 #define INTERNAL_KEY_RTC_PROXY_AP_TLS_443_PORTS "rtc.proxy.tls_443_ports"
186 #define INTERNAL_KEY_RTC_JOIN_CHANNEL_TIMEOUT "rtc.join_channel_timeout"
187 #define CONFIGURABLE_KEY_RTC_FIRST_FRAME_DECODED_TIMEOUT "rtc.first_frame_decoded_timeout"
188 #define CONFIGURABLE_KEY_RTC_JOIN_TO_FIRST_DECODED_TIMEOUT "rtc.join_to_first_decoded_timeout"
189 #define CONFIGURABLE_KEY_RTC_VIDEO_ENABLED_HW_ENCODER KEY_RTC_VIDEO_ENABLED_HW_ENCODER
190 #define CONFIGURABLE_KEY_RTC_VIDEO_ENABLE_HW_DECODER KEY_RTC_VIDEO_ENABLED_HW_DECODER
191 #define INTERNAL_KEY_RTC_ENABLE_DEBUG_LOG "rtc.enable_debug_log"
192 #define CONFIGURABLE_VIDEO_QUICK_INTRA_HIGH_FEC "rtc.video.quickIntraHighFec"
193 #define CONFIGURABLE_VIDEO_LARGEST_REF_DISTANCE "rtc.video.largest_ref_distance"
194 #define CONFIGURABLE_ENABLE_NEW_RTO "rtc.enable_new_rto"
195 #define CONFIGURABLE_QUICK_REXFER_KEYFRAME "rtc.enable_quick_rexfer_keyframe"
196 #define CONFIGURABLE_KEY_RTC_P2P_SWITCH "rtc.enable_p2p"
197 #define INTERNAL_KEY_RTC_ENABLE_TWO_BYTE_RTP_EXTENSION "rtc.enable_two_byte_rtp_extension"
198 #define CONFIGURABLE_KEY_RTC_ENABLE_DUMP "rtc.enable_xdump"
199 #define CONFIGURABLE_KEY_RTC_ENABLE_DUMP_FILE "rtc.enable_xdump_file"
200 #define CONFIGURABLE_KEY_RTC_ENABLE_DUMP_UPLOAD "rtc.enable_xdump_upload"
201 #define INTERNAL_KEY_RTC_CRASH_FOR_TEST_PURPOSE "rtc.crash_for_test_purpose"
202 #define INTERNAL_KEY_RTC_THREAD_HANG_FOR_TEST_PURPOSE "rtc.thread_hang_for_test_purpose"
203 #define CONFIGURABLE_KEY_BITRATE_ADJUST_RATIO KEY_RTC_VIDEO_BITRATE_ADJUST_RATIO
204 #define CONFIGURABLE_KEY_MINBITRATE_RATIO KEY_RTC_VIDEO_MINBITRATE_RATIO
205 #define CONFIGURABLE_KEY_RTC_ENABLE_CAMERA_CAPTURE_YUV "rtc.enable_camera_capture_yuv"
206 #define CONFIGURABLE_KEY_CAMERA_OUTPUT_TYPE "che.video.android_camera_output_type"
207 #define CONFIGURABLE_KEY_RTC_CAMERA_ROTATION "rtc.camera_rotation"
208 #define CONFIGURABLE_KEY_RTC_SECONDARY_CAMERA_ROTATION "rtc.secondary_camera_rotation"
209 #define CONFIGURABLE_KEY_ENABLE_WEBRTC_PACER "rtc.enable_webrtc_pacer"
210 #define INTERNAL_KEY_RTC_GATEWAY_RTT "rtc.gateway_rtt"
211 #define INTERNAL_KEY_RTC_ENABLE_USERINFO_HIDDEN "rtc.enable_userinfo_hidden"
212 #define CONFIGURABLE_KEY_VIDEO_DEGRADATION_PREFERENCE KEY_RTC_VIDEO_DEGRADATION_PREFERENCE
213 #define CONFIGURABLE_KEY_VIDEO_DEGRADATION_FPS_DOWN_STEP KEY_RTC_VIDEO_DEGRADATION_FPS_DOWN_STEP
214 #define CONFIGURABLE_KEY_VIDEO_DEGRADATION_FPS_UP_STEP KEY_RTC_VIDEO_DEGRADATION_FPS_UP_STEP
215 #define CONFIGURABLE_KEY_RTC_VIDEO_CODEC_TYPE KEY_RTC_VIDEO_CODEC_TYPE
216 #define CONFIGURABLE_KEY_VIDEO_VQC_VERSION "rtc.video.vqc_version"
218 #define CONFIGURABLE_KEY_VIDEO_VQC_QUICK_ADAPT_NETWORK "che.video.quick_adapt_network"
219 #define CONFIGURABLE_KEY_VIDEO_VQC_MIN_HOLDTIME_AUTO_RESIZE_ZOOMIN "che.video.min_holdtime_auto_resize_zoomin"
220 #define CONFIGURABLE_KEY_VIDEO_VQC_MIN_HOLDTIME_AUTO_RESIZE_ZOOMOUT "che.video.min_holdtime_auto_resize_zoomout"
221 #define CONFIGURABLE_KEY_VIDEO_VQC_MIN_FRAMERATE "che.video.video_min_framerate"
222 #define CONFIGURABLE_KEY_VIDEO_VQC_QP_ADJUST "che.video.qpAdjust"
223 #define CONFIGURABLE_KEY_VIDEO_VQC_IOS_H265_QPADJUST "che.video.ios_h265_qpAdjust"
224 #define CONFIGURABLE_KEY_FEC_METHOD "rtc.fec_method"
225 #define CONFIGURABLE_KEY_DM_FEC_WSIZE "rtc.dm_wsize"
226 #define CONFIGURABLE_KEY_DM_FEC_MIN_LEVEL "rtc.video.dmfec_min_level"
227 #define CONFIGURABLE_KEY_RTC_PACKET_BUFFER_SIZE "rtc.video.packet_buffer_size"
228 #define CONFIGURABLE_KEY_RTC_REXFER_MAX_ADVANCE "rtc.net.rexfer_max_advance"
230 #define INTERNAL_KEY_RTC_NEW_VOS "rtc.new_vos"
231 #define CONFIGURABLE_KEY_AUDIO_PROCESS_BLACK_LIST "rtc.audio.process.black_list"
232 #define INTERNAL_KEY_RTC_AUDIO_CUSTOM_BITRATE "rtc.audio.custom_bitrate"
233 #define CONFIGURABLE_KEY_VIDEO_HAS_INTRA_REQUEST "che.video.has_intra_request"
234 #define CONFIGURABLE_KEY_ENABLE_VIDEO_SENDER_FRAME_DROPPER "che.video.enable_video_sender_frame_dropper"
235 #define CONFIGURABLE_KEY_RTC_VIDEO_QUALITY_SCALE_ONLY_ON_AVERAGE_QP KEY_RTC_VIDEO_QUALITY_SCALE_ONLY_ON_AVERAGE_QP
236 #define CONFIGURABLE_KEY_RTC_VIDEO_H264_QP_THRESHOLD_LOW KEY_RTC_VIDEO_H264_QP_THRESHOLD_LOW
237 #define CONFIGURABLE_KEY_RTC_VIDEO_H264_QP_THRESHOLD_HIGH KEY_RTC_VIDEO_H264_QP_THRESHOLD_HIGH
238 #define KEY_RTC_VIDEO_RATE_CONTROL_MODE "che.video.rate_control_mode"
239 #define INTERNAL_KEY_RTC_PRIMARY_FORCED_USING_SCREEN_CAPTURE "rtc.primary_screen.forced_using_screen_capture"
240 #define INTERNAL_KEY_RTC_SECONDARY_FORCED_USING_SCREEN_CAPTURE "rtc.secondary_screen.forced_using_screen_capture"
241 #define INTERNAL_KEY_RTC_DESENSITISE_IP "rtc.desensitize.Ip"
242 #define INTERNAL_KEY_RTC_AUDIO_CUSTOM_PAYLOAD_TYPE "rtc.audio.custom_payload_type"
243 #define INTERNAL_KEY_RTC_JOIN_VOS_TIMEOUT "rtc.join_vos_timeout"
245 #define CONFIGURABLE_VIDEO_FEC_PROTECTION_FACTOR "rtc.video.fec_protection_factor"
246 #define CONFIGURABLE_VIDEO_ENABLE_FEC_REXFER "rtc.enable_fec_rexfer"
247 #define CONFIGURABLE_VIDEO_FEC_PROTECTION_RATIO_LEVEL "rtc.video.fec_protection_ratio_level"
248 #define CONFIGURABLE_VIDEO_FEC_RATIO_LEVEL_RTT_THRESHOLD "rtc.video.fec_ratio_level_rtt_threshold"
249 #define CONFIGURABLE_VIDEO_ENABLE_PEC "che.video.enable_pec"
250 #define CONFIGURABLE_VIDEO_ANDROID_CAMERA_SELECT "che.video.android_camera_select"
251 #define CONFIGURABLE_VIDEO_ANDROID_YUVCONVERTER_ENABLE_PBO "rtc.video.yuvconverter_enable_pbo"
252 #define CONFIGURABLE_VIDEO_ANDROID_YUVCONVERTER_ENABLE_PERF "rtc.video.yuvconverter_enable_perf"
253 #define CONFIGURABLE_VIDEO_FREEZE_DIAGNOSE "rtc.video.freeze_diagnose"
254 #define INTERNAL_KEY_AUDIO_AQM_THRESHOLD "che.audio.aqm.threshold"
255 #define INTERNAL_KEY_CHE_AUDIO_BITRATE_LEVEL "che.audio.bitrate.level"
256 #define CONFIGURABLE_VIDEO_ANDROID_CAMERA_PQ_FIRST "che.video.android_camera_PQ_First"
257 #define INTERNAL_KEY_RTC_AUDIO_DWLINK_MAX_ARQ "rtc.audio.dwlink.max_arq"
259 #define CONFIGURABLE_KEY_VIDEO_H264_HW_MIN_RES_LEVEL "rtc.video.h264_hw_min_res_level"
260 #define CONFIGURABLE_KEY_VIDEO_ENC_MAX_SLICES "rtc.video.max_slices"
261 #define CONFIGURABLE_KEY_VIDEO_H264_PROFILE "rtc.video.h264_profile"
262 #define CONFIGURABLE_KEY_VIDEO_ENC_USR_A264 "che.video.a264_encode"
263 #define CONFIGURABLE_KEY_VIDEO_ENC_VMAF_CALC "che.video.vmafreport"
264 #define CONFIGURABLE_KEY_VIDEO_USE_SINGLE_SLICE "che.video.useSingleSliceParser"
266 #define CONFIGURABLE_KEY_RTC_NEW_VOS INTERNAL_KEY_RTC_NEW_VOS
268 #define CONFIGURABLE_KEY_RTC_PREFER_IPV6 "rtc.prefer_ipv6"
269 #define CONFIGURABLE_KEY_RTC_DISABLE_IPV6 "rtc.disable_ipv6"
270 #define CONFIGURABLE_KEY_RTC_ENABLE_AUDIO_RSFEC "rtc.enable_audio_rsfec"
272 #define CONFIGURABLE_KEY_VIDEO_VPR_ENABLE "che.video.vpr.enable"
273 #define CONFIGURABLE_KEY_VIDEO_VPR_INIT_SIZE "che.video.vpr.init_size"
274 #define CONFIGURABLE_KEY_VIDEO_VPR_MAX_SIZE "che.video.vpr.max_size"
275 #define CONFIGURABLE_KEY_VIDEO_VPR_FROZEN_MS_THRES "che.video.vpr.frozen_ms_thres"
276 #define CONFIGURABLE_KEY_VIDEO_VPR_FROZEN_RATE_THRES "che.video.vpr.frozen_rate_thres"
278 #define CONFIGURABLE_KEY_VIDEO_RETRANS_DETECT_ENABLE "che.video.retrans_detect_enable"
279 #define CONFIGURABLE_KEY_VIDEO_REXFER_DELAY_ENABLED "rtc.video.rexfer_delay_enabled"
280 #define CONFIGURABLE_KEY_VIDEO_AUDIENCE_REXFER_DALAY_MAX "rtc.video.audience_rexfer_delay_max_value"
281 #define CONFIGURABLE_KEY_VIDEO_BROADCASTER_REXFER_DALAY_MAX "rtc.video.broadcaster_rexfer_delay_max_value"
282 #define CONFIGURABLE_KEY_VIDEO_DOWN_MAX_RETRY_TIMES "rtc.video.downMaxRetryTimes"
283 #define CONFIGURABLE_KEY_VIDEO_HIGH_LOSS_THRESHOLD "rtc.video.high_loss_threshold"
284 #define CONFIGURABLE_KEY_VIDEO_MULTI_REXFER_MODE "rtc.video.multi_rexfer_mode"
285 #define CONFIGURABLE_KEY_RTC_VIDEO_ROTATION "rtc.video.rotation"
286 #define CONFIGURABLE_KEY_RTC_AUDIO_EXTRA_DELAY "rtc.audio.extra_delay"
287 #define CONFIGURABLE_KEY_RTC_VIDEO_CAPTURE_DELAY_TABLE "rtc.video.capture_delay_table"
289 #define CONFIGURABLE_KEY_VIDEO_ENABLE_NEWCC "che.video.enableNewCC"
291 #define CONFIGURABLE_KEY_VIDEO_FEC_CODEC "rtc.video.fec_codec"
292 #define CONFIGURABLE_DYNAMIC_AUDIO_MAX_BITRATE "rtc.audio.dynamic_audio_max_bitrate"
293 #define INTERNAL_KEY_RTC_VIDEO_ENCODER_WIDTH_ALIGNMENT "rtc.video.encoder_width_alignment"
294 #define INTERNAL_KEY_RTC_VIDEO_ENCODER_HEIGHT_ALIGNMENT "rtc.video.encoder_height_alignment"
295 #define INTERNAL_KEY_RTC_VIDEO_ENCODER_FORCE_ALIGNMENT "rtc.video.encoder_force_alignment"
296 #define CONFIGURABLE_KEY_RTC_VIDEO_DECODER_OUT_BYTE_FRAME "rtc.video.decoder_out_byte_frame"
386 to.
type = AnyValueType;
396 to.
type = AnyValueType;
403 virtual bool toUserId(
unsigned int uid, std::string& userId)
const = 0;
404 virtual bool toInternalUid(
const char* userId,
unsigned int& uid)
const = 0;
405 virtual bool hasUser(
unsigned int uid)
const = 0;
406 virtual bool hasUser(
const char* userId)
const = 0;
434 bool triggerOnConnect) = 0;
437 bool triggerOnConnect) = 0;
487 :
parameter_(engine.createParameter(key, valueType, paramType)) {}
565 for (
auto& param : parameters_) {
566 param->disconnectExternalObserver();
567 param->disconnectExternalFilter();
572 if (param) parameters_.insert(param);
576 std::unordered_set<IParameter*> parameters_;
582 typedef std::function<int(
const T&)> setter_type;
583 typedef std::function<int(T&)> getter_type;
593 getter_type&& getter =
nullptr,
bool triggerOnConnect =
false) {
595 this->setter_ = std::move(setter);
596 this->getter_ = std::move(getter);
604 return this->setter_(
612 if (this->getter_(tmp) == 0) {
628 typedef std::function<int(
const T&)> setter_type;
629 typedef std::function<int(T&)> getter_type;
639 getter_type&& getter =
nullptr,
bool triggerOnConnect =
false) {
641 this->setter_ = std::move(setter);
642 this->getter_ = std::move(getter);
649 return this->setter_ &&
656 if (this->getter_(tmp) == 0) {
673 typedef std::function<int(
const T&)> setter_type;
674 typedef std::function<int(T&)> getter_type;
684 getter_type&& getter =
nullptr,
bool triggerOnConnect =
false) {
686 this->setter_ = std::move(setter);
687 this->getter_ = std::move(getter);
695 return this->setter_(
703 if (this->getter_(tmp) == 0) {
static bool getValue(const AnyValue &value)
Definition: config_engine_i.h:366
Definition: config_engine_i.h:672
Definition: config_engine_i.h:478
virtual ~IParameterCollection()
Definition: config_engine_i.h:445
static void setValue(int from, AnyValue &to)
Definition: config_engine_i.h:329
virtual bool setValue(const AnyValue &value, bool storeOnly)=0
IParameter * parameter_
Definition: config_engine_i.h:494
bool setValue(T value, bool storeValue=true)
Definition: config_engine_i.h:521
Definition: config_engine_i.h:581
Definition: config_engine_i.h:410
bool connect(ExternalParameterHasSlots *om, setter_type &&setter, getter_type &&getter=nullptr, bool triggerOnConnect=false)
Definition: config_engine_i.h:592
static void setValue(unsigned int from, AnyValue &to)
Definition: config_engine_i.h:339
const char * val_cstr
Definition: config_engine_i.h:316
static std::string getValue(const AnyValue &value)
Definition: config_engine_i.h:375
Definition: config_engine_i.h:448
bool connect(ExternalParameterHasSlots *om, setter_type &&setter, getter_type &&getter=nullptr, bool triggerOnConnect=false)
Definition: config_engine_i.h:638
virtual bool disconnectExternalObserver()=0
@ BOOLEAN
Definition: config_engine_i.h:306
virtual bool onSetValue(const AnyValue &value) override
Definition: config_engine_i.h:602
bool val_bool
Definition: config_engine_i.h:314
virtual bool onSetValue(const AnyValue &value)=0
virtual IParameter * getParameter(const char *key)=0
@ HAS_EXTERNAL_OBSERVER
Definition: config_engine_i.h:453
int val_int
Definition: config_engine_i.h:312
@ INTEGER
Definition: config_engine_i.h:304
virtual bool connectExternalFilter(IFilter *filter, bool triggerOnConnect)=0
bool setValue(const AnyValue &value, bool storeValue=true)
Definition: config_engine_i.h:515
double val_double
Definition: config_engine_i.h:315
@ JSON
Definition: config_engine_i.h:309
virtual ~IParameter()
Definition: config_engine_i.h:439
virtual bool toInternalUid(const char *userId, unsigned int &uid) const =0
static void setValue(bool from, AnyValue &to)
Definition: config_engine_i.h:367
bool connect(ExternalParameterHasSlots *om, setter_type &&setter, getter_type &&getter=nullptr, bool triggerOnConnect=false)
Definition: config_engine_i.h:683
T value() const
Definition: config_engine_i.h:508
@ UNSPEC
Definition: config_engine_i.h:303
virtual bool onSetValue(const AnyValue &value) override
Definition: config_engine_i.h:648
Definition: config_engine_i.h:423
Definition: config_engine_i.h:416
static unsigned int getValue(const AnyValue &value)
Definition: config_engine_i.h:338
virtual ~IObserver()
Definition: config_engine_i.h:414
Definition: AgoraAtomicOps.h:21
static const char * getValue(const AnyValue &value)
Definition: config_engine_i.h:384
virtual bool disconnectExternalFilter()=0
virtual bool hasUser(unsigned int uid) const =0
virtual bool onGetValue(AnyValue &value) override
Definition: config_engine_i.h:700
virtual ~IConfigEngine()
Definition: config_engine_i.h:461
static const config::AnyValue::Type AnyValueType
Definition: config_engine_i.h:323
static const void * getValue(const AnyValue &value)
Definition: config_engine_i.h:394
const T & value() const
Definition: config_engine_i.h:468
Definition: config_engine_i.h:322
virtual ~IUserIdManager()
Definition: config_engine_i.h:407
ExternalParameterHelperWithObserver(IConfigEngine &engine, const char *key, const T &defValue, AnyValue::Type valueType=ExternalParameterHelperTypeTraits< T >::AnyValueType)
Definition: config_engine_i.h:586
@ CONFIG_POLICY_ALL
Definition: config_engine_i.h:719
virtual ~ExternalParameterHasSlots()
Definition: config_engine_i.h:563
CONFIG_POLICY_TYPE
Definition: config_engine_i.h:716
@ CONFIG_POLICY_CDS
Definition: config_engine_i.h:717
void addParameter(IParameter *param)
Definition: config_engine_i.h:571
ExternalParameterHelperWithFilter(IConfigEngine &engine, const char *key, const T &defValue, AnyValue::Type valueType=ExternalParameterHelperTypeTraits< T >::AnyValueType)
Definition: config_engine_i.h:632
InternalParameterHelper(const T &defValue)
Definition: config_engine_i.h:467
@ HAS_EXTERNAL_FILTER
Definition: config_engine_i.h:452
virtual bool onGetValue(AnyValue &value)
Definition: config_engine_i.h:419
virtual IParameter * createParameter(const char *key, AnyValue::Type valueType, PARAMETER_TYPE paramType)=0
virtual bool connectExternalObserver(IObserver *observer, bool triggerOnConnect)=0
void disconnectAll()
Definition: config_engine_i.h:564
virtual bool setOriginalValue(const AnyValue &value)=0
ExternalTriggerParameterHelper(IConfigEngine &engine, const char *key, AnyValue::Type valueType, IConfigEngine::PARAMETER_TYPE paramType)
Definition: config_engine_i.h:484
enum agora::config::AnyValue::Type type
@ HAS_ORIGINAL_VALUE
Definition: config_engine_i.h:455
Definition: config_engine_i.h:465
@ CONFIG_POLICY_TDS
Definition: config_engine_i.h:718
bool setValue(const T &value)
Definition: config_engine_i.h:469
Definition: config_engine_i.h:442
virtual bool toUserId(unsigned int uid, std::string &userId) const =0
@ HAS_EXTERNAL_TRIGGER
Definition: config_engine_i.h:454
ExternalParameterHelperWithOriginalValue(IConfigEngine &engine, const char *key, const T &defValue, AnyValue::Type valueType=ExternalParameterHelperTypeTraits< T >::AnyValueType, IConfigEngine::PARAMETER_TYPE paramType=IConfigEngine::VALUE_ONLY)
Definition: config_engine_i.h:532
virtual bool onGetValue(AnyValue &value) override
Definition: config_engine_i.h:653
virtual bool hasUser(const char *userId) const =0
static void setValue(double from, AnyValue &to)
Definition: config_engine_i.h:358
Definition: config_engine_i.h:627
static void setValue(uint16_t from, AnyValue &to)
Definition: config_engine_i.h:349
T value_
Definition: config_engine_i.h:475
virtual bool onSetValue(const AnyValue &value)=0
static void setValue(const std::string &from, AnyValue &to)
Definition: config_engine_i.h:376
static void setValue(const char *from, AnyValue &to)
Definition: config_engine_i.h:385
static uint16_t getValue(const AnyValue &value)
Definition: config_engine_i.h:348
virtual ~IFilter()
Definition: config_engine_i.h:420
bool setOriginalValue(const T &value)
Definition: config_engine_i.h:551
@ UNSIGNED_INTEGER
Definition: config_engine_i.h:305
virtual bool getOriginalValue(AnyValue &value) const =0
virtual bool onGetValue(AnyValue &value)
Definition: config_engine_i.h:413
Definition: AgoraOptional.h:881
static int getValue(const AnyValue &value)
Definition: config_engine_i.h:328
Definition: config_engine_i.h:561
Definition: config_engine_i.h:401
virtual bool onSetValue(const AnyValue &value) override
Definition: config_engine_i.h:693
unsigned int val_uint
Definition: config_engine_i.h:313
ExternalParameterHelper(IConfigEngine &engine, const char *key, const T &defValue, AnyValue::Type valueType=ExternalParameterHelperTypeTraits< T >::AnyValueType, IConfigEngine::PARAMETER_TYPE paramType=IConfigEngine::VALUE_ONLY)
Definition: config_engine_i.h:500
virtual bool getValue(AnyValue &value) const =0
Definition: config_engine_i.h:530
Definition: config_engine_i.h:498
@ CSTR
Definition: config_engine_i.h:308
const void * val_cjson
Definition: config_engine_i.h:317
bool getOriginalValue(T &v) const
Definition: config_engine_i.h:541
ExternalTriggerParameterHelperWithObserver(IConfigEngine &engine, const char *key, AnyValue::Type valueType=ExternalParameterHelperTypeTraits< T >::AnyValueType)
Definition: config_engine_i.h:677
@ VALUE_ONLY
Definition: config_engine_i.h:451
virtual int setParameters(const char *parameters)=0
static double getValue(const AnyValue &value)
Definition: config_engine_i.h:357
Definition: config_engine_i.h:301
virtual bool onGetValue(AnyValue &value) override
Definition: config_engine_i.h:609
Type
Definition: config_engine_i.h:302
@ DOUBLE
Definition: config_engine_i.h:307
static void setValue(const void *from, AnyValue &to)
Definition: config_engine_i.h:395
~ExternalTriggerParameterHelper()
Definition: config_engine_i.h:488
PARAMETER_TYPE
Definition: config_engine_i.h:450