@tencent-rtc/mcp 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (286) hide show
  1. package/@tencent/aegis-node-sdk/CHANGELOG.md +8 -0
  2. package/@tencent/aegis-node-sdk/LICENSE +21 -0
  3. package/@tencent/aegis-node-sdk/README.md +562 -0
  4. package/@tencent/aegis-node-sdk/lib/aegis.min.js +1 -0
  5. package/@tencent/aegis-node-sdk/lib/packages/core/src/constant/config.d.ts +14 -0
  6. package/@tencent/aegis-node-sdk/lib/packages/core/src/constant/global.d.ts +1 -0
  7. package/@tencent/aegis-node-sdk/lib/packages/core/src/constant/index.d.ts +9 -0
  8. package/@tencent/aegis-node-sdk/lib/packages/core/src/constant/report-ignore.d.ts +2 -0
  9. package/@tencent/aegis-node-sdk/lib/packages/core/src/core.d.ts +85 -0
  10. package/@tencent/aegis-node-sdk/lib/packages/core/src/hooks/afterRequestHooks.d.ts +3 -0
  11. package/@tencent/aegis-node-sdk/lib/packages/core/src/hooks/beforeRequestHooks.d.ts +9 -0
  12. package/@tencent/aegis-node-sdk/lib/packages/core/src/hooks/modifyRequestHooks.d.ts +3 -0
  13. package/@tencent/aegis-node-sdk/lib/packages/core/src/index.d.ts +9 -0
  14. package/@tencent/aegis-node-sdk/lib/packages/core/src/interface/config.d.ts +62 -0
  15. package/@tencent/aegis-node-sdk/lib/packages/core/src/interface/env.d.ts +11 -0
  16. package/@tencent/aegis-node-sdk/lib/packages/core/src/interface/index.d.ts +4 -0
  17. package/@tencent/aegis-node-sdk/lib/packages/core/src/interface/log.d.ts +130 -0
  18. package/@tencent/aegis-node-sdk/lib/packages/core/src/interface/send.d.ts +34 -0
  19. package/@tencent/aegis-node-sdk/lib/packages/core/src/pipes/format.d.ts +2 -0
  20. package/@tencent/aegis-node-sdk/lib/packages/core/src/pipes/index.d.ts +18 -0
  21. package/@tencent/aegis-node-sdk/lib/packages/core/src/pipes/length-limit.d.ts +8 -0
  22. package/@tencent/aegis-node-sdk/lib/packages/core/src/pipes/pv.d.ts +8 -0
  23. package/@tencent/aegis-node-sdk/lib/packages/core/src/pipes/remove-payload.d.ts +2 -0
  24. package/@tencent/aegis-node-sdk/lib/packages/core/src/pipes/repeat-limit.d.ts +4 -0
  25. package/@tencent/aegis-node-sdk/lib/packages/core/src/pipes/report.d.ts +10 -0
  26. package/@tencent/aegis-node-sdk/lib/packages/core/src/pipes/sample.d.ts +3 -0
  27. package/@tencent/aegis-node-sdk/lib/packages/core/src/pipes/throttle.d.ts +3 -0
  28. package/@tencent/aegis-node-sdk/lib/packages/core/src/pipes/trace/index.d.ts +34 -0
  29. package/@tencent/aegis-node-sdk/lib/packages/core/src/pipes/trace/jwt.d.ts +12 -0
  30. package/@tencent/aegis-node-sdk/lib/packages/core/src/pipes/trace/ot-js.d.ts +14 -0
  31. package/@tencent/aegis-node-sdk/lib/packages/core/src/pipes/trace/uuid.d.ts +2 -0
  32. package/@tencent/aegis-node-sdk/lib/packages/core/src/pipes/whitelist.d.ts +12 -0
  33. package/@tencent/aegis-node-sdk/lib/packages/core/src/pipes/write-before.d.ts +3 -0
  34. package/@tencent/aegis-node-sdk/lib/packages/core/src/plugin.d.ts +33 -0
  35. package/@tencent/aegis-node-sdk/lib/packages/core/src/polyfill.d.ts +0 -0
  36. package/@tencent/aegis-node-sdk/lib/packages/core/src/util/destroy.d.ts +2 -0
  37. package/@tencent/aegis-node-sdk/lib/packages/core/src/util/event-emitter.d.ts +18 -0
  38. package/@tencent/aegis-node-sdk/lib/packages/core/src/util/index.d.ts +60 -0
  39. package/@tencent/aegis-node-sdk/lib/packages/node-sdk/src/index.d.ts +15 -0
  40. package/@tencent/aegis-node-sdk/lib/packages/node-sdk/src/interface/selector.d.ts +5 -0
  41. package/@tencent/aegis-node-sdk/lib/packages/node-sdk/src/pipes/batch-report-pipe.d.ts +6 -0
  42. package/@tencent/aegis-node-sdk/lib/packages/node-sdk/src/protocol/protocol_base.d.ts +18 -0
  43. package/@tencent/aegis-node-sdk/lib/packages/node-sdk/src/protocol/protocol_http.d.ts +12 -0
  44. package/@tencent/aegis-node-sdk/lib/packages/node-sdk/src/selector/ip_selector.d.ts +10 -0
  45. package/@tencent/aegis-node-sdk/lib/packages/node-sdk/src/selector/polaris_selector.d.ts +20 -0
  46. package/@tencent/aegis-node-sdk/lib/packages/node-sdk/src/selector/selector_base.d.ts +27 -0
  47. package/@tencent/aegis-node-sdk/lib/packages/node-sdk/src/util/eval_require.d.ts +2 -0
  48. package/@tencent/aegis-node-sdk/package.json +19 -0
  49. package/@tencent/polaris/README.md +407 -0
  50. package/@tencent/polaris/dist/consumer/health.d.ts +126 -0
  51. package/@tencent/polaris/dist/consumer/health.js +283 -0
  52. package/@tencent/polaris/dist/consumer/health.js.map +1 -0
  53. package/@tencent/polaris/dist/consumer/index.d.ts +120 -0
  54. package/@tencent/polaris/dist/consumer/index.js +348 -0
  55. package/@tencent/polaris/dist/consumer/index.js.map +1 -0
  56. package/@tencent/polaris/dist/consumer/monitor.d.ts +145 -0
  57. package/@tencent/polaris/dist/consumer/monitor.js +343 -0
  58. package/@tencent/polaris/dist/consumer/monitor.js.map +1 -0
  59. package/@tencent/polaris/dist/consumer/selector.d.ts +73 -0
  60. package/@tencent/polaris/dist/consumer/selector.js +316 -0
  61. package/@tencent/polaris/dist/consumer/selector.js.map +1 -0
  62. package/@tencent/polaris/dist/errors.d.ts +373 -0
  63. package/@tencent/polaris/dist/errors.js +154 -0
  64. package/@tencent/polaris/dist/errors.js.map +1 -0
  65. package/@tencent/polaris/dist/global.d.ts +16 -0
  66. package/@tencent/polaris/dist/global.js +18 -0
  67. package/@tencent/polaris/dist/global.js.map +1 -0
  68. package/@tencent/polaris/dist/index.d.ts +62 -0
  69. package/@tencent/polaris/dist/index.js +145 -0
  70. package/@tencent/polaris/dist/index.js.map +1 -0
  71. package/@tencent/polaris/dist/instance.d.ts +109 -0
  72. package/@tencent/polaris/dist/instance.js +38 -0
  73. package/@tencent/polaris/dist/instance.js.map +1 -0
  74. package/@tencent/polaris/dist/limiter/bucket.d.ts +51 -0
  75. package/@tencent/polaris/dist/limiter/bucket.js +152 -0
  76. package/@tencent/polaris/dist/limiter/bucket.js.map +1 -0
  77. package/@tencent/polaris/dist/limiter/index.d.ts +73 -0
  78. package/@tencent/polaris/dist/limiter/index.js +149 -0
  79. package/@tencent/polaris/dist/limiter/index.js.map +1 -0
  80. package/@tencent/polaris/dist/limiter/ratelimit.d.ts +27 -0
  81. package/@tencent/polaris/dist/limiter/ratelimit.js +134 -0
  82. package/@tencent/polaris/dist/limiter/ratelimit.js.map +1 -0
  83. package/@tencent/polaris/dist/limiter/ratelimiter/base.d.ts +17 -0
  84. package/@tencent/polaris/dist/limiter/ratelimiter/base.js +15 -0
  85. package/@tencent/polaris/dist/limiter/ratelimiter/base.js.map +1 -0
  86. package/@tencent/polaris/dist/limiter/ratelimiter/global.d.ts +59 -0
  87. package/@tencent/polaris/dist/limiter/ratelimiter/global.js +397 -0
  88. package/@tencent/polaris/dist/limiter/ratelimiter/global.js.map +1 -0
  89. package/@tencent/polaris/dist/limiter/ratelimiter/index.d.ts +3 -0
  90. package/@tencent/polaris/dist/limiter/ratelimiter/index.js +19 -0
  91. package/@tencent/polaris/dist/limiter/ratelimiter/index.js.map +1 -0
  92. package/@tencent/polaris/dist/limiter/ratelimiter/local.d.ts +17 -0
  93. package/@tencent/polaris/dist/limiter/ratelimiter/local.js +52 -0
  94. package/@tencent/polaris/dist/limiter/ratelimiter/local.js.map +1 -0
  95. package/@tencent/polaris/dist/location.d.ts +48 -0
  96. package/@tencent/polaris/dist/location.js +67 -0
  97. package/@tencent/polaris/dist/location.js.map +1 -0
  98. package/@tencent/polaris/dist/logging.d.ts +106 -0
  99. package/@tencent/polaris/dist/logging.js +130 -0
  100. package/@tencent/polaris/dist/logging.js.map +1 -0
  101. package/@tencent/polaris/dist/metadata.d.ts +78 -0
  102. package/@tencent/polaris/dist/metadata.js +119 -0
  103. package/@tencent/polaris/dist/metadata.js.map +1 -0
  104. package/@tencent/polaris/dist/plugins/breaker/polaris.d.ts +47 -0
  105. package/@tencent/polaris/dist/plugins/breaker/polaris.js +162 -0
  106. package/@tencent/polaris/dist/plugins/breaker/polaris.js.map +1 -0
  107. package/@tencent/polaris/dist/plugins/lb/base.d.ts +24 -0
  108. package/@tencent/polaris/dist/plugins/lb/base.js +32 -0
  109. package/@tencent/polaris/dist/plugins/lb/base.js.map +1 -0
  110. package/@tencent/polaris/dist/plugins/lb/edf.d.ts +24 -0
  111. package/@tencent/polaris/dist/plugins/lb/edf.js +77 -0
  112. package/@tencent/polaris/dist/plugins/lb/edf.js.map +1 -0
  113. package/@tencent/polaris/dist/plugins/lb/hashring.d.ts +24 -0
  114. package/@tencent/polaris/dist/plugins/lb/hashring.js +53 -0
  115. package/@tencent/polaris/dist/plugins/lb/hashring.js.map +1 -0
  116. package/@tencent/polaris/dist/plugins/lb/sticky.d.ts +31 -0
  117. package/@tencent/polaris/dist/plugins/lb/sticky.js +88 -0
  118. package/@tencent/polaris/dist/plugins/lb/sticky.js.map +1 -0
  119. package/@tencent/polaris/dist/plugins/lb/swrr.d.ts +25 -0
  120. package/@tencent/polaris/dist/plugins/lb/swrr.js +72 -0
  121. package/@tencent/polaris/dist/plugins/lb/swrr.js.map +1 -0
  122. package/@tencent/polaris/dist/plugins/lb/wr.d.ts +17 -0
  123. package/@tencent/polaris/dist/plugins/lb/wr.js +50 -0
  124. package/@tencent/polaris/dist/plugins/lb/wr.js.map +1 -0
  125. package/@tencent/polaris/dist/plugins/lb/wrr.d.ts +19 -0
  126. package/@tencent/polaris/dist/plugins/lb/wrr.js +81 -0
  127. package/@tencent/polaris/dist/plugins/lb/wrr.js.map +1 -0
  128. package/@tencent/polaris/dist/plugins/logging/console.d.ts +10 -0
  129. package/@tencent/polaris/dist/plugins/logging/console.js +38 -0
  130. package/@tencent/polaris/dist/plugins/logging/console.js.map +1 -0
  131. package/@tencent/polaris/dist/plugins/naming/local-server/index.d.ts +32 -0
  132. package/@tencent/polaris/dist/plugins/naming/local-server/index.js +88 -0
  133. package/@tencent/polaris/dist/plugins/naming/local-server/index.js.map +1 -0
  134. package/@tencent/polaris/dist/plugins/naming/polaris-server/adapter/base.d.ts +124 -0
  135. package/@tencent/polaris/dist/plugins/naming/polaris-server/adapter/base.js +398 -0
  136. package/@tencent/polaris/dist/plugins/naming/polaris-server/adapter/base.js.map +1 -0
  137. package/@tencent/polaris/dist/plugins/naming/polaris-server/adapter/discover.d.ts +27 -0
  138. package/@tencent/polaris/dist/plugins/naming/polaris-server/adapter/discover.js +287 -0
  139. package/@tencent/polaris/dist/plugins/naming/polaris-server/adapter/discover.js.map +1 -0
  140. package/@tencent/polaris/dist/plugins/naming/polaris-server/adapter/index.d.ts +15 -0
  141. package/@tencent/polaris/dist/plugins/naming/polaris-server/adapter/index.js +43 -0
  142. package/@tencent/polaris/dist/plugins/naming/polaris-server/adapter/index.js.map +1 -0
  143. package/@tencent/polaris/dist/plugins/naming/polaris-server/adapter/monitor.d.ts +28 -0
  144. package/@tencent/polaris/dist/plugins/naming/polaris-server/adapter/monitor.js +249 -0
  145. package/@tencent/polaris/dist/plugins/naming/polaris-server/adapter/monitor.js.map +1 -0
  146. package/@tencent/polaris/dist/plugins/naming/polaris-server/adapter/ratelimit.d.ts +19 -0
  147. package/@tencent/polaris/dist/plugins/naming/polaris-server/adapter/ratelimit.js +222 -0
  148. package/@tencent/polaris/dist/plugins/naming/polaris-server/adapter/ratelimit.js.map +1 -0
  149. package/@tencent/polaris/dist/plugins/naming/polaris-server/connector/grpc/bidi.d.ts +26 -0
  150. package/@tencent/polaris/dist/plugins/naming/polaris-server/connector/grpc/bidi.js +99 -0
  151. package/@tencent/polaris/dist/plugins/naming/polaris-server/connector/grpc/bidi.js.map +1 -0
  152. package/@tencent/polaris/dist/plugins/naming/polaris-server/connector/grpc/index.d.ts +60 -0
  153. package/@tencent/polaris/dist/plugins/naming/polaris-server/connector/grpc/index.js +259 -0
  154. package/@tencent/polaris/dist/plugins/naming/polaris-server/connector/grpc/index.js.map +1 -0
  155. package/@tencent/polaris/dist/plugins/naming/polaris-server/connector/grpc/pb/discover.proto +24 -0
  156. package/@tencent/polaris/dist/plugins/naming/polaris-server/connector/grpc/pb/monitor.proto +18 -0
  157. package/@tencent/polaris/dist/plugins/naming/polaris-server/connector/grpc/pb/ratelimit.proto +12 -0
  158. package/@tencent/polaris/dist/plugins/naming/polaris-server/connector/http/index.d.ts +39 -0
  159. package/@tencent/polaris/dist/plugins/naming/polaris-server/connector/http/index.js +115 -0
  160. package/@tencent/polaris/dist/plugins/naming/polaris-server/connector/http/index.js.map +1 -0
  161. package/@tencent/polaris/dist/plugins/naming/polaris-server/discover-pb/api.proto +24 -0
  162. package/@tencent/polaris/dist/plugins/naming/polaris-server/discover-pb/client.proto +22 -0
  163. package/@tencent/polaris/dist/plugins/naming/polaris-server/discover-pb/model.proto +28 -0
  164. package/@tencent/polaris/dist/plugins/naming/polaris-server/discover-pb/ratelimit.proto +80 -0
  165. package/@tencent/polaris/dist/plugins/naming/polaris-server/discover-pb/request.proto +18 -0
  166. package/@tencent/polaris/dist/plugins/naming/polaris-server/discover-pb/response.proto +65 -0
  167. package/@tencent/polaris/dist/plugins/naming/polaris-server/discover-pb/routing.proto +66 -0
  168. package/@tencent/polaris/dist/plugins/naming/polaris-server/discover-pb/service.proto +95 -0
  169. package/@tencent/polaris/dist/plugins/naming/polaris-server/discover-pb/types.d.ts +1568 -0
  170. package/@tencent/polaris/dist/plugins/naming/polaris-server/index.d.ts +36 -0
  171. package/@tencent/polaris/dist/plugins/naming/polaris-server/index.js +51 -0
  172. package/@tencent/polaris/dist/plugins/naming/polaris-server/index.js.map +1 -0
  173. package/@tencent/polaris/dist/plugins/naming/polaris-server/monitor-pb/api.proto +18 -0
  174. package/@tencent/polaris/dist/plugins/naming/polaris-server/monitor-pb/circuitbreak.proto +67 -0
  175. package/@tencent/polaris/dist/plugins/naming/polaris-server/monitor-pb/request.proto +82 -0
  176. package/@tencent/polaris/dist/plugins/naming/polaris-server/monitor-pb/response.proto +11 -0
  177. package/@tencent/polaris/dist/plugins/naming/polaris-server/monitor-pb/sdkcache.proto +46 -0
  178. package/@tencent/polaris/dist/plugins/naming/polaris-server/monitor-pb/sdkconfiguration.proto +16 -0
  179. package/@tencent/polaris/dist/plugins/naming/polaris-server/monitor-pb/sdktoken.proto +10 -0
  180. package/@tencent/polaris/dist/plugins/naming/polaris-server/monitor-pb/types.d.ts +1102 -0
  181. package/@tencent/polaris/dist/plugins/naming/polaris-server/pool.d.ts +29 -0
  182. package/@tencent/polaris/dist/plugins/naming/polaris-server/pool.js +77 -0
  183. package/@tencent/polaris/dist/plugins/naming/polaris-server/pool.js.map +1 -0
  184. package/@tencent/polaris/dist/plugins/naming/polaris-server/ratelimit-pb/api.proto +12 -0
  185. package/@tencent/polaris/dist/plugins/naming/polaris-server/ratelimit-pb/ratelimit.proto +28 -0
  186. package/@tencent/polaris/dist/plugins/naming/polaris-server/ratelimit-pb/types.d.ts +395 -0
  187. package/@tencent/polaris/dist/plugins/naming/polaris-server/rules.d.ts +13 -0
  188. package/@tencent/polaris/dist/plugins/naming/polaris-server/rules.js +116 -0
  189. package/@tencent/polaris/dist/plugins/naming/polaris-server/rules.js.map +1 -0
  190. package/@tencent/polaris/dist/plugins/naming/polaris-server/types.d.ts +67 -0
  191. package/@tencent/polaris/dist/plugins/naming/polaris-server/types.js +67 -0
  192. package/@tencent/polaris/dist/plugins/naming/polaris-server/types.js.map +1 -0
  193. package/@tencent/polaris/dist/plugins/naming/polaris-server/utils.d.ts +99 -0
  194. package/@tencent/polaris/dist/plugins/naming/polaris-server/utils.js +217 -0
  195. package/@tencent/polaris/dist/plugins/naming/polaris-server/utils.js.map +1 -0
  196. package/@tencent/polaris/dist/plugins/registry/memory.d.ts +10 -0
  197. package/@tencent/polaris/dist/plugins/registry/memory.js +50 -0
  198. package/@tencent/polaris/dist/plugins/registry/memory.js.map +1 -0
  199. package/@tencent/polaris/dist/plugins/router/polaris/nearby.d.ts +51 -0
  200. package/@tencent/polaris/dist/plugins/router/polaris/nearby.js +145 -0
  201. package/@tencent/polaris/dist/plugins/router/polaris/nearby.js.map +1 -0
  202. package/@tencent/polaris/dist/plugins/router/polaris/rule.d.ts +11 -0
  203. package/@tencent/polaris/dist/plugins/router/polaris/rule.js +174 -0
  204. package/@tencent/polaris/dist/plugins/router/polaris/rule.js.map +1 -0
  205. package/@tencent/polaris/dist/plugins/router/trpc/canary.d.ts +25 -0
  206. package/@tencent/polaris/dist/plugins/router/trpc/canary.js +36 -0
  207. package/@tencent/polaris/dist/plugins/router/trpc/canary.js.map +1 -0
  208. package/@tencent/polaris/dist/plugins/router/trpc/env.d.ts +10 -0
  209. package/@tencent/polaris/dist/plugins/router/trpc/env.js +34 -0
  210. package/@tencent/polaris/dist/plugins/router/trpc/env.js.map +1 -0
  211. package/@tencent/polaris/dist/plugins/router/trpc/set.d.ts +56 -0
  212. package/@tencent/polaris/dist/plugins/router/trpc/set.js +106 -0
  213. package/@tencent/polaris/dist/plugins/router/trpc/set.js.map +1 -0
  214. package/@tencent/polaris/dist/plugins/shaping/unirate.d.ts +31 -0
  215. package/@tencent/polaris/dist/plugins/shaping/unirate.js +124 -0
  216. package/@tencent/polaris/dist/plugins/shaping/unirate.js.map +1 -0
  217. package/@tencent/polaris/dist/plugins/shaping/warmup.d.ts +61 -0
  218. package/@tencent/polaris/dist/plugins/shaping/warmup.js +171 -0
  219. package/@tencent/polaris/dist/plugins/shaping/warmup.js.map +1 -0
  220. package/@tencent/polaris/dist/plugins/weight/polaris.d.ts +23 -0
  221. package/@tencent/polaris/dist/plugins/weight/polaris.js +159 -0
  222. package/@tencent/polaris/dist/plugins/weight/polaris.js.map +1 -0
  223. package/@tencent/polaris/dist/plugins.d.ts +619 -0
  224. package/@tencent/polaris/dist/plugins.js +91 -0
  225. package/@tencent/polaris/dist/plugins.js.map +1 -0
  226. package/@tencent/polaris/dist/polaris.d.ts +33 -0
  227. package/@tencent/polaris/dist/polaris.js +59 -0
  228. package/@tencent/polaris/dist/polaris.js.map +1 -0
  229. package/@tencent/polaris/dist/provider/index.d.ts +102 -0
  230. package/@tencent/polaris/dist/provider/index.js +168 -0
  231. package/@tencent/polaris/dist/provider/index.js.map +1 -0
  232. package/@tencent/polaris/dist/registry.d.ts +174 -0
  233. package/@tencent/polaris/dist/registry.js +660 -0
  234. package/@tencent/polaris/dist/registry.js.map +1 -0
  235. package/@tencent/polaris/dist/rules.d.ts +163 -0
  236. package/@tencent/polaris/dist/rules.js +24 -0
  237. package/@tencent/polaris/dist/rules.js.map +1 -0
  238. package/@tencent/polaris/dist/scripts/postinstall.d.ts +1 -0
  239. package/@tencent/polaris/dist/scripts/postinstall.js +71 -0
  240. package/@tencent/polaris/dist/scripts/postinstall.js.map +1 -0
  241. package/@tencent/polaris/dist/service.d.ts +18 -0
  242. package/@tencent/polaris/dist/service.js +3 -0
  243. package/@tencent/polaris/dist/service.js.map +1 -0
  244. package/@tencent/polaris/dist/skeleton.d.ts +87 -0
  245. package/@tencent/polaris/dist/skeleton.js +282 -0
  246. package/@tencent/polaris/dist/skeleton.js.map +1 -0
  247. package/@tencent/polaris/dist/utils.d.ts +36 -0
  248. package/@tencent/polaris/dist/utils.js +74 -0
  249. package/@tencent/polaris/dist/utils.js.map +1 -0
  250. package/@tencent/polaris/dist/weak.d.ts +11 -0
  251. package/@tencent/polaris/dist/weak.js +44 -0
  252. package/@tencent/polaris/dist/weak.js.map +1 -0
  253. package/@tencent/polaris/package.json +114 -0
  254. package/README.md +61 -0
  255. package/cursor-setting.png +0 -0
  256. package/index.js +16 -0
  257. package/index.js.map +1 -0
  258. package/mcp-server-prompt.png +0 -0
  259. package/mcp.json +8 -0
  260. package/package.json +49 -0
  261. package/resource/doc/tuicallkit/android/.gitkeep +0 -0
  262. package/resource/doc/tuicallkit/android/api_TUICallKit.md +610 -0
  263. package/resource/doc/tuicallkit/android/api_TUICallObserver.md +784 -0
  264. package/resource/doc/tuicallkit/android/how_to_integrated_android_callkit.md +286 -0
  265. package/resource/doc/tuicallkit/faq/faq.md +127 -0
  266. package/resource/doc/tuicallkit/flutter/api_TUICallDefine.md +938 -0
  267. package/resource/doc/tuicallkit/flutter/api_TUICallKit.md +469 -0
  268. package/resource/doc/tuicallkit/flutter/api_TUICallObserver.md +897 -0
  269. package/resource/doc/tuicallkit/flutter/how_to_integrated_flutter_callkit.md +226 -0
  270. package/resource/doc/tuicallkit/flutter/how_to_run_flutter_callkit_demo.md +101 -0
  271. package/resource/doc/tuicallkit/iOS/api_TUICallKit.md +398 -0
  272. package/resource/doc/tuicallkit/iOS/api_TUICallObserver.md +781 -0
  273. package/resource/doc/tuicallkit/iOS/how_to_integrated_iOS_callkit.md +268 -0
  274. package/resource/doc/tuicallkit/iOS/how_to_run_iOS_callkit_demo.md +98 -0
  275. package/resource/doc/tuicallkit/react/.gitkeep +0 -0
  276. package/resource/doc/tuicallkit/react/api_TUICallKit.md +354 -0
  277. package/resource/doc/tuicallkit/react/how_to_integrated_react_callkit.md +166 -0
  278. package/resource/doc/tuicallkit/react/how_to_run_react_callkit_demo.md +61 -0
  279. package/resource/doc/tuicallkit/vue/.gitkeep +0 -0
  280. package/resource/doc/tuicallkit/vue/api_TUICallKit.md +354 -0
  281. package/resource/doc/tuicallkit/vue/how_to_integrated_vue_callkit.md +187 -0
  282. package/resource/doc/tuicallkit/vue/how_to_run_vue_callkit_demo.md +61 -0
  283. package/server.js +132 -0
  284. package/server.js.map +1 -0
  285. package/streamableHttp.js +74 -0
  286. package/streamableHttp.js.map +1 -0
@@ -0,0 +1,938 @@
1
+ ## Common structures
2
+
3
+ ### TUIResult
4
+
5
+ The return value of calling the API.
6
+ <table>
7
+ <tr>
8
+ <td rowspan="1" colSpan="1" >Value</td>
9
+
10
+ <td rowspan="1" colSpan="1" >Type</td>
11
+
12
+ <td rowspan="1" colSpan="1" >Description</td>
13
+ </tr>
14
+
15
+ <tr>
16
+ <td rowspan="1" colSpan="1" >code</td>
17
+
18
+ <td rowspan="1" colSpan="1" >String</td>
19
+
20
+ <td rowspan="1" colSpan="1" >If the code is empty "", it means the call succeeded, if the code is not empty "", it means the call failed.</td>
21
+ </tr>
22
+
23
+ <tr>
24
+ <td rowspan="1" colSpan="1" >message</td>
25
+
26
+ <td rowspan="1" colSpan="1" >String?</td>
27
+
28
+ <td rowspan="1" colSpan="1" >Error message</td>
29
+ </tr>
30
+ </table>
31
+
32
+
33
+ ### TUIRoomId
34
+
35
+ Room ID for audio and video in a call.
36
+
37
+ **Note:**
38
+
39
+ (1) `intRoomId` and `strRoomId` are mutually exclusive. If you choose to use `strRoomId`, `intRoomId` needs to be filled in as 0. If both are filled in, the SDK will prioritize `intRoomId`.
40
+
41
+ (2) Do not mix `intRoomId` and `strRoomId` because they are not interchangeable. For example, the number 123 and the string "123" represent two completely different rooms.
42
+ <table>
43
+ <tr>
44
+ <td rowspan="1" colSpan="1" >Value</td>
45
+
46
+ <td rowspan="1" colSpan="1" >Type</td>
47
+
48
+ <td rowspan="1" colSpan="1" >Description</td>
49
+ </tr>
50
+
51
+ <tr>
52
+ <td rowspan="1" colSpan="1" >intRoomId</td>
53
+
54
+ <td rowspan="1" colSpan="1" >int</td>
55
+
56
+ <td rowspan="1" colSpan="1" >Numeric room ID.</td>
57
+ </tr>
58
+
59
+ <tr>
60
+ <td rowspan="1" colSpan="1" >strRoomId</td>
61
+
62
+ <td rowspan="1" colSpan="1" >String</td>
63
+
64
+ <td rowspan="1" colSpan="1" >String room number.</td>
65
+ </tr>
66
+ </table>
67
+
68
+
69
+ ### VideoRenderParams
70
+
71
+ Video render parameters.
72
+ <table>
73
+ <tr>
74
+ <td rowspan="1" colSpan="1" >Value</td>
75
+
76
+ <td rowspan="1" colSpan="1" >Type</td>
77
+
78
+ <td rowspan="1" colSpan="1" >Description</td>
79
+ </tr>
80
+
81
+ <tr>
82
+ <td rowspan="1" colSpan="1" >fillMode</td>
83
+
84
+ <td rowspan="1" colSpan="1" >[FillMode](https://write.woa.com/document/114033029832187904)</td>
85
+
86
+ <td rowspan="1" colSpan="1" >Video image fill mode</td>
87
+ </tr>
88
+
89
+ <tr>
90
+ <td rowspan="1" colSpan="1" >rotation</td>
91
+
92
+ <td rowspan="1" colSpan="1" >[Rotation](https://write.woa.com/document/114033029832187904)</td>
93
+
94
+ <td rowspan="1" colSpan="1" >Video image rotation direction</td>
95
+ </tr>
96
+ </table>
97
+
98
+
99
+ ### VideoEncoderParams
100
+
101
+ Video encoding parameters.
102
+ <table>
103
+ <tr>
104
+ <td rowspan="1" colSpan="1" >Value</td>
105
+
106
+ <td rowspan="1" colSpan="1" >Type</td>
107
+
108
+ <td rowspan="1" colSpan="1" >Description</td>
109
+ </tr>
110
+
111
+ <tr>
112
+ <td rowspan="1" colSpan="1" >resolution</td>
113
+
114
+ <td rowspan="1" colSpan="1" >[Resolution](https://write.woa.com/document/114033029832187904)</td>
115
+
116
+ <td rowspan="1" colSpan="1" >Video resolution</td>
117
+ </tr>
118
+
119
+ <tr>
120
+ <td rowspan="1" colSpan="1" >resolutionMode</td>
121
+
122
+ <td rowspan="1" colSpan="1" >[ResolutionMode](https://write.woa.com/document/114033029832187904)</td>
123
+
124
+ <td rowspan="1" colSpan="1" >Video aspect ratio mode</td>
125
+ </tr>
126
+ </table>
127
+
128
+
129
+ ### TUICallParams
130
+
131
+ Call params.
132
+ <table>
133
+ <tr>
134
+ <td rowspan="1" colSpan="1" >Value</td>
135
+
136
+ <td rowspan="1" colSpan="1" >Type</td>
137
+
138
+ <td rowspan="1" colSpan="1" >Description</td>
139
+ </tr>
140
+
141
+ <tr>
142
+ <td rowspan="1" colSpan="1" >roomId</td>
143
+
144
+ <td rowspan="1" colSpan="1" >[TUIRoomId](https://write.woa.com/document/114033029832187904)</td>
145
+
146
+ <td rowspan="1" colSpan="1" >Room Id.</td>
147
+ </tr>
148
+
149
+ <tr>
150
+ <td rowspan="1" colSpan="1" >offlinePushInfo</td>
151
+
152
+ <td rowspan="1" colSpan="1" >[TUIOfflinePushInfo](https://write.woa.com/document/114033029832187904)</td>
153
+
154
+ <td rowspan="1" colSpan="1" >Offline push vendor configuration information.</td>
155
+ </tr>
156
+
157
+ <tr>
158
+ <td rowspan="1" colSpan="1" >timeout</td>
159
+
160
+ <td rowspan="1" colSpan="1" >String</td>
161
+
162
+ <td rowspan="1" colSpan="1" >Call timeout period, default: 30s, unit: seconds.</td>
163
+ </tr>
164
+
165
+ <tr>
166
+ <td rowspan="1" colSpan="1" >userData</td>
167
+
168
+ <td rowspan="1" colSpan="1" >String</td>
169
+
170
+ <td rowspan="1" colSpan="1" >An additional parameter. </td>
171
+ </tr>
172
+
173
+ <tr>
174
+ <td rowspan="1" colSpan="1" >chatGroupId</td>
175
+
176
+ <td rowspan="1" colSpan="1" >String</td>
177
+
178
+ <td rowspan="1" colSpan="1" >Group ID.</td>
179
+ </tr>
180
+ </table>
181
+
182
+
183
+ ### TUIOfflinePushInfo
184
+
185
+ Offline push vendor configuration information,please refer to:[Offline call push](https://write.woa.com/document/95821638488313856).
186
+ <table>
187
+ <tr>
188
+ <td rowspan="1" colSpan="1" >Value</td>
189
+
190
+ <td rowspan="1" colSpan="1" >Type</td>
191
+
192
+ <td rowspan="1" colSpan="1" >Description</td>
193
+ </tr>
194
+
195
+ <tr>
196
+ <td rowspan="1" colSpan="1" >title</td>
197
+
198
+ <td rowspan="1" colSpan="1" >String</td>
199
+
200
+ <td rowspan="1" colSpan="1" >offlinepush notification title</td>
201
+ </tr>
202
+
203
+ <tr>
204
+ <td rowspan="1" colSpan="1" >desc</td>
205
+
206
+ <td rowspan="1" colSpan="1" >String</td>
207
+
208
+ <td rowspan="1" colSpan="1" >offlinepush notification description</td>
209
+ </tr>
210
+
211
+ <tr>
212
+ <td rowspan="1" colSpan="1" >ignoreIOSBadge</td>
213
+
214
+ <td rowspan="1" colSpan="1" >bool</td>
215
+
216
+ <td rowspan="1" colSpan="1" >Ignore badge count for offline push (only for iOS), if set to true, the message will not increase the unread count of the app icon on the iOS receiver's side.</td>
217
+ </tr>
218
+
219
+ <tr>
220
+ <td rowspan="1" colSpan="1" >iOSSound</td>
221
+
222
+ <td rowspan="1" colSpan="1" >String</td>
223
+
224
+ <td rowspan="1" colSpan="1" >Offline push sound setting (only for iOS). When<br>sound = IOS_OFFLINE_PUSH_NO_SOUND<br>, there will be no sound played when the message is received. When <br>sound = IOS_OFFLINE_PUSH_DEFAULT_SOUND<br>, the system sound will be played when the message is received. If you want to customize the iOSSound, you need to link the audio file into the Xcode project first, and then set the audio file name (with extension) to the iOSSound.</td>
225
+ </tr>
226
+
227
+ <tr>
228
+ <td rowspan="1" colSpan="1" >androidSound</td>
229
+
230
+ <td rowspan="1" colSpan="1" >String</td>
231
+
232
+ <td rowspan="1" colSpan="1" >Offline push sound setting (only for Android, supported by IMSDK 6.1 and above). Only Huawei and Google phones support setting sound prompts. For Xiaomi phones, please refer to: <br>Xiaomi custom ringtones<br>. In addition, for Google phones, in order to set sound prompts for FCM push on Android 8.0 and above systems, you must call <br>setAndroidFCMChannelID<br>to set the channelID for it to take effect.</td>
233
+ </tr>
234
+
235
+ <tr>
236
+ <td rowspan="1" colSpan="1" >androidOPPOChannelID</td>
237
+
238
+ <td rowspan="1" colSpan="1" >String</td>
239
+
240
+ <td rowspan="1" colSpan="1" >Set the channel ID for OPPO phones with Android 8.0 and above systems.</td>
241
+ </tr>
242
+
243
+ <tr>
244
+ <td rowspan="1" colSpan="1" >androidVIVOClassification</td>
245
+
246
+ <td rowspan="1" colSpan="1" >int</td>
247
+
248
+ <td rowspan="1" colSpan="1" >Classification of VIVO push messages (deprecated interface, VIVO push service will optimize message classification rules on April 3, 2023. It is recommended to use setAndroidVIVOCategory to set the message category). 0: Operational messages, 1: System messages. The default value is 1.</td>
249
+ </tr>
250
+
251
+ <tr>
252
+ <td rowspan="1" colSpan="1" >androidXiaoMiChannelID</td>
253
+
254
+ <td rowspan="1" colSpan="1" >String</td>
255
+
256
+ <td rowspan="1" colSpan="1" >Set the channel ID for Xiaomi phones with Android 8.0 and above systems.</td>
257
+ </tr>
258
+
259
+ <tr>
260
+ <td rowspan="1" colSpan="1" >androidFCMChannelID</td>
261
+
262
+ <td rowspan="1" colSpan="1" >String</td>
263
+
264
+ <td rowspan="1" colSpan="1" >Set the channel ID for google phones with Android 8.0 and above systems.</td>
265
+ </tr>
266
+
267
+ <tr>
268
+ <td rowspan="1" colSpan="1" >androidHuaWeiCategory</td>
269
+
270
+ <td rowspan="1" colSpan="1" >String</td>
271
+
272
+ <td rowspan="1" colSpan="1" >Classification of Huawei push messages, please refer to:<br>[Huawei message classification standard.](https://developer.huawei.com/consumer/cn/doc/development/HMSCore-Guides/message-classification-0000001149358835)</td>
273
+ </tr>
274
+
275
+ <tr>
276
+ <td rowspan="1" colSpan="1" >isDisablePush</td>
277
+
278
+ <td rowspan="1" colSpan="1" >bool</td>
279
+
280
+ <td rowspan="1" colSpan="1" >Whether to turn off push notifications (default is on).</td>
281
+ </tr>
282
+
283
+ <tr>
284
+ <td rowspan="1" colSpan="1" >iOSPushType</td>
285
+
286
+ <td rowspan="1" colSpan="1" >[TUICallIOSOfflinePushType](https://write.woa.com/document/114033029832187904)</td>
287
+
288
+ <td rowspan="1" colSpan="1" >iOS offline push type,default is APNs</td>
289
+ </tr>
290
+ </table>
291
+
292
+
293
+ ### TUICallRecords
294
+
295
+ Call recording information.
296
+ <table>
297
+ <tr>
298
+ <td rowspan="1" colSpan="1" >Value</td>
299
+
300
+ <td rowspan="1" colSpan="1" >Type</td>
301
+
302
+ <td rowspan="1" colSpan="1" >Description</td>
303
+ </tr>
304
+
305
+ <tr>
306
+ <td rowspan="1" colSpan="1" >callId</td>
307
+
308
+ <td rowspan="1" colSpan="1" >String</td>
309
+
310
+ <td rowspan="1" colSpan="1" >Call recording ID.</td>
311
+ </tr>
312
+
313
+ <tr>
314
+ <td rowspan="1" colSpan="1" >inviter</td>
315
+
316
+ <td rowspan="1" colSpan="1" >String</td>
317
+
318
+ <td rowspan="1" colSpan="1" >Inviter ID.</td>
319
+ </tr>
320
+
321
+ <tr>
322
+ <td rowspan="1" colSpan="1" >inviteList</td>
323
+
324
+ <td rowspan="1" colSpan="1" >List<String></td>
325
+
326
+ <td rowspan="1" colSpan="1" >List of invited user IDs.</td>
327
+ </tr>
328
+
329
+ <tr>
330
+ <td rowspan="1" colSpan="1" >scene</td>
331
+
332
+ <td rowspan="1" colSpan="1" >[TUICallScene](https://write.woa.com/document/114033029832187904)</td>
333
+
334
+ <td rowspan="1" colSpan="1" >Call scenario.</td>
335
+ </tr>
336
+
337
+ <tr>
338
+ <td rowspan="1" colSpan="1" >mediaType</td>
339
+
340
+ <td rowspan="1" colSpan="1" >[TUICallMediaType](https://write.woa.com/document/114033029832187904)</td>
341
+
342
+ <td rowspan="1" colSpan="1" >Media type.</td>
343
+ </tr>
344
+
345
+ <tr>
346
+ <td rowspan="1" colSpan="1" >groupId</td>
347
+
348
+ <td rowspan="1" colSpan="1" >String</td>
349
+
350
+ <td rowspan="1" colSpan="1" >Group ID.</td>
351
+ </tr>
352
+
353
+ <tr>
354
+ <td rowspan="1" colSpan="1" >role</td>
355
+
356
+ <td rowspan="1" colSpan="1" >[TUICallRole](https://write.woa.com/document/114033029832187904)</td>
357
+
358
+ <td rowspan="1" colSpan="1" >Role.</td>
359
+ </tr>
360
+
361
+ <tr>
362
+ <td rowspan="1" colSpan="1" >result</td>
363
+
364
+ <td rowspan="1" colSpan="1" >[TUICallResultType](https://write.woa.com/document/114033029832187904)</td>
365
+
366
+ <td rowspan="1" colSpan="1" >Call result type.</td>
367
+ </tr>
368
+
369
+ <tr>
370
+ <td rowspan="1" colSpan="1" >beginTime</td>
371
+
372
+ <td rowspan="1" colSpan="1" >int</td>
373
+
374
+ <td rowspan="1" colSpan="1" >Start time.</td>
375
+ </tr>
376
+
377
+ <tr>
378
+ <td rowspan="1" colSpan="1" >totalTime</td>
379
+
380
+ <td rowspan="1" colSpan="1" >int</td>
381
+
382
+ <td rowspan="1" colSpan="1" >Total time.</td>
383
+ </tr>
384
+ </table>
385
+
386
+
387
+ ### TUICallRecentCallsFilter
388
+
389
+ Call recording filtering conditions.
390
+ <table>
391
+ <tr>
392
+ <td rowspan="1" colSpan="1" >Value</td>
393
+
394
+ <td rowspan="1" colSpan="1" >Type</td>
395
+
396
+ <td rowspan="1" colSpan="1" >Description</td>
397
+ </tr>
398
+
399
+ <tr>
400
+ <td rowspan="1" colSpan="1" >begin</td>
401
+
402
+ <td rowspan="1" colSpan="1" >double</td>
403
+
404
+ <td rowspan="1" colSpan="1" >Start time.</td>
405
+ </tr>
406
+
407
+ <tr>
408
+ <td rowspan="1" colSpan="1" >end</td>
409
+
410
+ <td rowspan="1" colSpan="1" >double</td>
411
+
412
+ <td rowspan="1" colSpan="1" >End time.</td>
413
+ </tr>
414
+
415
+ <tr>
416
+ <td rowspan="1" colSpan="1" >resultType</td>
417
+
418
+ <td rowspan="1" colSpan="1" >[TUICallResultType](https://write.woa.com/document/114033029832187904)</td>
419
+
420
+ <td rowspan="1" colSpan="1" >Call result type.</td>
421
+ </tr>
422
+ </table>
423
+
424
+
425
+ ### CallObserverExtraInfo
426
+
427
+ Callback extended information.
428
+ <table>
429
+ <tr>
430
+ <td rowspan="1" colSpan="1" >Type</td>
431
+
432
+ <td rowspan="1" colSpan="1" >Type</td>
433
+
434
+ <td rowspan="1" colSpan="1" >Description</td>
435
+ </tr>
436
+
437
+ <tr>
438
+ <td rowspan="1" colSpan="1" >roomId</td>
439
+
440
+ <td rowspan="1" colSpan="1" >[TUIRoomId](https://write.woa.com/document/114033029832187904)</td>
441
+
442
+ <td rowspan="1" colSpan="1" >room ID</td>
443
+ </tr>
444
+
445
+ <tr>
446
+ <td rowspan="1" colSpan="1" >role</td>
447
+
448
+ <td rowspan="1" colSpan="1" >[TUICallRole](https://write.woa.com/document/114033029832187904)</td>
449
+
450
+ <td rowspan="1" colSpan="1" >Call role</td>
451
+ </tr>
452
+
453
+ <tr>
454
+ <td rowspan="1" colSpan="1" >userData</td>
455
+
456
+ <td rowspan="1" colSpan="1" >String</td>
457
+
458
+ <td rowspan="1" colSpan="1" >Custom extended field when initiating a call. For details, see [TUICallParams](https://write.woa.com/document/114033029832187904).</td>
459
+ </tr>
460
+
461
+ <tr>
462
+ <td rowspan="1" colSpan="1" >chatGroupId</td>
463
+
464
+ <td rowspan="1" colSpan="1" >String</td>
465
+
466
+ <td rowspan="1" colSpan="1" >Group ID</td>
467
+ </tr>
468
+ </table>
469
+
470
+
471
+ ## **enum definition**
472
+
473
+ ### TUICallMediaType
474
+
475
+ Call media type.
476
+ <table>
477
+ <tr>
478
+ <td rowspan="1" colSpan="1" >Type</td>
479
+
480
+ <td rowspan="1" colSpan="1" >Description</td>
481
+ </tr>
482
+
483
+ <tr>
484
+ <td rowspan="1" colSpan="1" >none</td>
485
+
486
+ <td rowspan="1" colSpan="1" >Unknown</td>
487
+ </tr>
488
+
489
+ <tr>
490
+ <td rowspan="1" colSpan="1" >audio</td>
491
+
492
+ <td rowspan="1" colSpan="1" >Audio call</td>
493
+ </tr>
494
+
495
+ <tr>
496
+ <td rowspan="1" colSpan="1" >video</td>
497
+
498
+ <td rowspan="1" colSpan="1" >Video call</td>
499
+ </tr>
500
+ </table>
501
+
502
+
503
+ ### TUICallRole
504
+
505
+ Call role.
506
+ <table>
507
+ <tr>
508
+ <td rowspan="1" colSpan="1" >Type</td>
509
+
510
+ <td rowspan="1" colSpan="1" >Description</td>
511
+ </tr>
512
+
513
+ <tr>
514
+ <td rowspan="1" colSpan="1" >none</td>
515
+
516
+ <td rowspan="1" colSpan="1" >Unknown</td>
517
+ </tr>
518
+
519
+ <tr>
520
+ <td rowspan="1" colSpan="1" >caller</td>
521
+
522
+ <td rowspan="1" colSpan="1" >Caller(inviter)</td>
523
+ </tr>
524
+
525
+ <tr>
526
+ <td rowspan="1" colSpan="1" >called</td>
527
+
528
+ <td rowspan="1" colSpan="1" >Callee(invitee)</td>
529
+ </tr>
530
+ </table>
531
+
532
+
533
+ ### TUICallStatus
534
+
535
+ Call status.
536
+ <table>
537
+ <tr>
538
+ <td rowspan="1" colSpan="1" >Type</td>
539
+
540
+ <td rowspan="1" colSpan="1" >Description</td>
541
+ </tr>
542
+
543
+ <tr>
544
+ <td rowspan="1" colSpan="1" >none</td>
545
+
546
+ <td rowspan="1" colSpan="1" >Unknown</td>
547
+ </tr>
548
+
549
+ <tr>
550
+ <td rowspan="1" colSpan="1" >waiting</td>
551
+
552
+ <td rowspan="1" colSpan="1" >The call is currently waiting</td>
553
+ </tr>
554
+
555
+ <tr>
556
+ <td rowspan="1" colSpan="1" >accept</td>
557
+
558
+ <td rowspan="1" colSpan="1" >The call has been accepted</td>
559
+ </tr>
560
+ </table>
561
+
562
+
563
+ ### TUICallScene
564
+
565
+ Call scene.
566
+ <table>
567
+ <tr>
568
+ <td rowspan="1" colSpan="1" >Type</td>
569
+
570
+ <td rowspan="1" colSpan="1" >Description</td>
571
+ </tr>
572
+
573
+ <tr>
574
+ <td rowspan="1" colSpan="1" >groupCall</td>
575
+
576
+ <td rowspan="1" colSpan="1" >Group call </td>
577
+ </tr>
578
+
579
+ <tr>
580
+ <td rowspan="1" colSpan="1" >singleCall</td>
581
+
582
+ <td rowspan="1" colSpan="1" >one to one call</td>
583
+ </tr>
584
+ </table>
585
+
586
+
587
+ ### TUINetworkQuality
588
+
589
+ Network quality.
590
+ <table>
591
+ <tr>
592
+ <td rowspan="1" colSpan="1" >Type</td>
593
+
594
+ <td rowspan="1" colSpan="1" >Description</td>
595
+ </tr>
596
+
597
+ <tr>
598
+ <td rowspan="1" colSpan="1" >unknown</td>
599
+
600
+ <td rowspan="1" colSpan="1" >Unknown</td>
601
+ </tr>
602
+
603
+ <tr>
604
+ <td rowspan="1" colSpan="1" >excellent</td>
605
+
606
+ <td rowspan="1" colSpan="1" >Excellent</td>
607
+ </tr>
608
+
609
+ <tr>
610
+ <td rowspan="1" colSpan="1" >good</td>
611
+
612
+ <td rowspan="1" colSpan="1" >Good</td>
613
+ </tr>
614
+
615
+ <tr>
616
+ <td rowspan="1" colSpan="1" >poor</td>
617
+
618
+ <td rowspan="1" colSpan="1" >Poor</td>
619
+ </tr>
620
+
621
+ <tr>
622
+ <td rowspan="1" colSpan="1" >bad</td>
623
+
624
+ <td rowspan="1" colSpan="1" >Bad</td>
625
+ </tr>
626
+
627
+ <tr>
628
+ <td rowspan="1" colSpan="1" >vBad</td>
629
+
630
+ <td rowspan="1" colSpan="1" >Very bad</td>
631
+ </tr>
632
+
633
+ <tr>
634
+ <td rowspan="1" colSpan="1" >down</td>
635
+
636
+ <td rowspan="1" colSpan="1" >Down</td>
637
+ </tr>
638
+ </table>
639
+
640
+
641
+ ### FillMode
642
+
643
+ If the aspect ratio of the video display area is not equal to that of the video image, you need to specify the fill mode:
644
+ <table>
645
+ <tr>
646
+ <td rowspan="1" colSpan="1" >Type</td>
647
+
648
+ <td rowspan="1" colSpan="1" >Description</td>
649
+ </tr>
650
+
651
+ <tr>
652
+ <td rowspan="1" colSpan="1" >fill</td>
653
+
654
+ <td rowspan="1" colSpan="1" >Fill mode: the video image will be centered and scaled to fill the entire display area, where parts that exceed the area will be cropped. The displayed image may be incomplete in this mode.</td>
655
+ </tr>
656
+
657
+ <tr>
658
+ <td rowspan="1" colSpan="1" >fit</td>
659
+
660
+ <td rowspan="1" colSpan="1" >Fit mode: the video image will be scaled based on its long side to fit the display area, where the short side will be filled with black bars. The displayed image is complete in this mode, but there may be black bars.</td>
661
+ </tr>
662
+ </table>
663
+
664
+
665
+ ### Rotation
666
+
667
+ We provides rotation angle setting APIs for local and remote images. The following rotation angles are all clockwise.
668
+ <table>
669
+ <tr>
670
+ <td rowspan="1" colSpan="1" >Type</td>
671
+
672
+ <td rowspan="1" colSpan="1" >Description</td>
673
+ </tr>
674
+
675
+ <tr>
676
+ <td rowspan="1" colSpan="1" >rotation_0</td>
677
+
678
+ <td rowspan="1" colSpan="1" >No rotation</td>
679
+ </tr>
680
+
681
+ <tr>
682
+ <td rowspan="1" colSpan="1" >rotation_90</td>
683
+
684
+ <td rowspan="1" colSpan="1" >Clockwise rotation by 90 degrees</td>
685
+ </tr>
686
+
687
+ <tr>
688
+ <td rowspan="1" colSpan="1" >rotation_180</td>
689
+
690
+ <td rowspan="1" colSpan="1" >Clockwise rotation by 180 degrees</td>
691
+ </tr>
692
+
693
+ <tr>
694
+ <td rowspan="1" colSpan="1" >rotation_270</td>
695
+
696
+ <td rowspan="1" colSpan="1" >Clockwise rotation by 270 degrees</td>
697
+ </tr>
698
+ </table>
699
+
700
+
701
+ ### ResolutionMode
702
+
703
+ Video aspect ratio mode.
704
+ <table>
705
+ <tr>
706
+ <td rowspan="1" colSpan="1" >Type</td>
707
+
708
+ <td rowspan="1" colSpan="1" >Description</td>
709
+ </tr>
710
+
711
+ <tr>
712
+ <td rowspan="1" colSpan="1" >landscape</td>
713
+
714
+ <td rowspan="1" colSpan="1" >Landscape resolution, such as Resolution.Resolution_640_360 + ResolutionMode.Landscape = 640 × 360.</td>
715
+ </tr>
716
+
717
+ <tr>
718
+ <td rowspan="1" colSpan="1" >portrait</td>
719
+
720
+ <td rowspan="1" colSpan="1" >Portrait resolution, such as Resolution.Resolution_640_360 + ResolutionMode.Portrait = 360 × 640.</td>
721
+ </tr>
722
+ </table>
723
+
724
+
725
+ ### Resolution
726
+
727
+ Video resolution.
728
+ <table>
729
+ <tr>
730
+ <td rowspan="1" colSpan="1" >Type</td>
731
+
732
+ <td rowspan="1" colSpan="1" >Description</td>
733
+ </tr>
734
+
735
+ <tr>
736
+ <td rowspan="1" colSpan="1" >resolution_640_360</td>
737
+
738
+ <td rowspan="1" colSpan="1" >Aspect ratio: 16:9;resolution: 640x360;recommended bitrate: 500kbps</td>
739
+ </tr>
740
+
741
+ <tr>
742
+ <td rowspan="1" colSpan="1" >resolution_960_540</td>
743
+
744
+ <td rowspan="1" colSpan="1" >Aspect ratio: 16:9;resolution: 960x540;recommended bitrate: 850kbps</td>
745
+ </tr>
746
+
747
+ <tr>
748
+ <td rowspan="1" colSpan="1" >resolution_1280_720</td>
749
+
750
+ <td rowspan="1" colSpan="1" >Aspect ratio: 16:9;resolution: 1280x720;recommended bitrate: 1200kbps</td>
751
+ </tr>
752
+
753
+ <tr>
754
+ <td rowspan="1" colSpan="1" >resolution_1920_1080</td>
755
+
756
+ <td rowspan="1" colSpan="1" >Aspect ratio: 16:9;resolution: 1920x1080;recommended bitrate: 2000kbps</td>
757
+ </tr>
758
+ </table>
759
+
760
+
761
+ ### TUICallIOSOfflinePushType
762
+
763
+ iOS offline push type.
764
+ <table>
765
+ <tr>
766
+ <td rowspan="1" colSpan="1" >Type</td>
767
+
768
+ <td rowspan="1" colSpan="1" >Description</td>
769
+ </tr>
770
+
771
+ <tr>
772
+ <td rowspan="1" colSpan="1" >APNs</td>
773
+
774
+ <td rowspan="1" colSpan="1" >APNs</td>
775
+ </tr>
776
+
777
+ <tr>
778
+ <td rowspan="1" colSpan="1" >VoIP</td>
779
+
780
+ <td rowspan="1" colSpan="1" >VoIP</td>
781
+ </tr>
782
+ </table>
783
+
784
+
785
+ ### TUICamera
786
+
787
+ Camera type.
788
+ <table>
789
+ <tr>
790
+ <td rowspan="1" colSpan="1" >Type</td>
791
+
792
+ <td rowspan="1" colSpan="1" >Description</td>
793
+ </tr>
794
+
795
+ <tr>
796
+ <td rowspan="1" colSpan="1" >front</td>
797
+
798
+ <td rowspan="1" colSpan="1" >Front camera.</td>
799
+ </tr>
800
+
801
+ <tr>
802
+ <td rowspan="1" colSpan="1" >back</td>
803
+
804
+ <td rowspan="1" colSpan="1" >Rear camera.</td>
805
+ </tr>
806
+ </table>
807
+
808
+
809
+ ### TUIAudioPlaybackDevice
810
+
811
+ Audio playback device.
812
+ <table>
813
+ <tr>
814
+ <td rowspan="1" colSpan="1" >Type</td>
815
+
816
+ <td rowspan="1" colSpan="1" >Description</td>
817
+ </tr>
818
+
819
+ <tr>
820
+ <td rowspan="1" colSpan="1" >speakerphone</td>
821
+
822
+ <td rowspan="1" colSpan="1" >Speaker</td>
823
+ </tr>
824
+
825
+ <tr>
826
+ <td rowspan="1" colSpan="1" >earpiece</td>
827
+
828
+ <td rowspan="1" colSpan="1" >Earpiece</td>
829
+ </tr>
830
+ </table>
831
+
832
+
833
+ ### TUICallResultType
834
+
835
+ Call recording type.
836
+ <table>
837
+ <tr>
838
+ <td rowspan="1" colSpan="1" >Type</td>
839
+
840
+ <td rowspan="1" colSpan="1" >Description</td>
841
+ </tr>
842
+
843
+ <tr>
844
+ <td rowspan="1" colSpan="1" >unknown</td>
845
+
846
+ <td rowspan="1" colSpan="1" >Unknown</td>
847
+ </tr>
848
+
849
+ <tr>
850
+ <td rowspan="1" colSpan="1" >missed</td>
851
+
852
+ <td rowspan="1" colSpan="1" >Missed</td>
853
+ </tr>
854
+
855
+ <tr>
856
+ <td rowspan="1" colSpan="1" >incoming</td>
857
+
858
+ <td rowspan="1" colSpan="1" >Incoming call</td>
859
+ </tr>
860
+
861
+ <tr>
862
+ <td rowspan="1" colSpan="1" >outgoing</td>
863
+
864
+ <td rowspan="1" colSpan="1" >Outgoing Call</td>
865
+ </tr>
866
+ </table>
867
+
868
+
869
+ ### CallEndReason
870
+
871
+ Call end reason.
872
+ <table>
873
+ <tr>
874
+ <td rowspan="1" colSpan="1" >Type</td>
875
+
876
+ <td rowspan="1" colSpan="1" >Description</td>
877
+ </tr>
878
+
879
+ <tr>
880
+ <td rowspan="1" colSpan="1" >unknown</td>
881
+
882
+ <td rowspan="1" colSpan="1" >Unknown</td>
883
+ </tr>
884
+
885
+ <tr>
886
+ <td rowspan="1" colSpan="1" >hangup</td>
887
+
888
+ <td rowspan="1" colSpan="1" >Hang up</td>
889
+ </tr>
890
+
891
+ <tr>
892
+ <td rowspan="1" colSpan="1" >reject</td>
893
+
894
+ <td rowspan="1" colSpan="1" >Deny</td>
895
+ </tr>
896
+
897
+ <tr>
898
+ <td rowspan="1" colSpan="1" >noResponse</td>
899
+
900
+ <td rowspan="1" colSpan="1" >No response</td>
901
+ </tr>
902
+
903
+ <tr>
904
+ <td rowspan="1" colSpan="1" >offline</td>
905
+
906
+ <td rowspan="1" colSpan="1" >Offline</td>
907
+ </tr>
908
+
909
+ <tr>
910
+ <td rowspan="1" colSpan="1" >lineBusy</td>
911
+
912
+ <td rowspan="1" colSpan="1" >Busy Line</td>
913
+ </tr>
914
+
915
+ <tr>
916
+ <td rowspan="1" colSpan="1" >canceled</td>
917
+
918
+ <td rowspan="1" colSpan="1" >Cancel call</td>
919
+ </tr>
920
+
921
+ <tr>
922
+ <td rowspan="1" colSpan="1" >otherDeviceAccepted</td>
923
+
924
+ <td rowspan="1" colSpan="1" >Other device answers</td>
925
+ </tr>
926
+
927
+ <tr>
928
+ <td rowspan="1" colSpan="1" >otherDeviceReject</td>
929
+
930
+ <td rowspan="1" colSpan="1" >Other device denies</td>
931
+ </tr>
932
+
933
+ <tr>
934
+ <td rowspan="1" colSpan="1" >endByServer</td>
935
+
936
+ <td rowspan="1" colSpan="1" >Backend ends</td>
937
+ </tr>
938
+ </table>