@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,398 @@
1
+ ## TUICallKit (UI Included)
2
+
3
+ TUICallKit is an audio/video call component that **includes UI elements**. You can use its APIs to quickly implement an audio/video call application similar to WeChat.
4
+ <table>
5
+ <tr>
6
+ <td rowspan="1" colSpan="1" >API</td>
7
+
8
+ <td rowspan="1" colSpan="1" >Description</td>
9
+ </tr>
10
+
11
+ <tr>
12
+ <td rowspan="1" colSpan="1" >[createInstance](https://www.tencentcloud.com/document/product/647/51011#createInstance)</td>
13
+
14
+ <td rowspan="1" colSpan="1" >Create a TUICallKit instance (singleton mode).</td>
15
+ </tr>
16
+
17
+ <tr>
18
+ <td rowspan="1" colSpan="1" >[setSelfInfo](https://www.tencentcloud.com/document/product/647/51011#setSelfInfo)</td>
19
+
20
+ <td rowspan="1" colSpan="1" >Set the user's profile picture and nickname.</td>
21
+ </tr>
22
+
23
+ <tr>
24
+ <td rowspan="1" colSpan="1" >[calls](https://www.tencentcloud.com/document/product/647/51011#calls)</td>
25
+
26
+ <td rowspan="1" colSpan="1" >Initiate a one-to-one or multi-person call</td>
27
+ </tr>
28
+
29
+ <tr>
30
+ <td rowspan="1" colSpan="1" >[join](https://www.tencentcloud.com/document/product/647/51011#join)</td>
31
+
32
+ <td rowspan="1" colSpan="1" >Proactively join a call</td>
33
+ </tr>
34
+
35
+ <tr>
36
+ <td rowspan="1" colSpan="1" >[setCallingBell](https://www.tencentcloud.com/document/product/647/51011#setCallingBell)</td>
37
+
38
+ <td rowspan="1" colSpan="1" >Set the ringtone.</td>
39
+ </tr>
40
+
41
+ <tr>
42
+ <td rowspan="1" colSpan="1" >[enableMuteMode](https://www.tencentcloud.com/document/product/647/51011#enableMuteMode)</td>
43
+
44
+ <td rowspan="1" colSpan="1" >Set whether to turn on the mute mode.</td>
45
+ </tr>
46
+
47
+ <tr>
48
+ <td rowspan="1" colSpan="1" >[enableFloatWindow](https://www.tencentcloud.com/document/product/647/51011#enableFloatWindow)</td>
49
+
50
+ <td rowspan="1" colSpan="1" >Set whether to enable floating windows.</td>
51
+ </tr>
52
+
53
+ <tr>
54
+ <td rowspan="1" colSpan="1" >[enableIncomingBanner](https://www.tencentcloud.com/document/product/647/51011#enableIncomingBanner)</td>
55
+
56
+ <td rowspan="1" colSpan="1" >Set whether to display incoming banner.</td>
57
+ </tr>
58
+ </table>
59
+
60
+
61
+ ## TUICallEngine (No UI)
62
+
63
+ `TUICallEngine` is an audio/video call component that **does not include UI elements**. If `TUICallKit` does not meet your requirements, you can use the APIs of `TUICallEngine` to customize your project.
64
+ <table>
65
+ <tr>
66
+ <td rowspan="1" colSpan="1" >API</td>
67
+
68
+ <td rowspan="1" colSpan="1" >Description</td>
69
+ </tr>
70
+
71
+ <tr>
72
+ <td rowspan="1" colSpan="1" >[createInstance](https://www.tencentcloud.com/document/product/647/51012#createInstance)</td>
73
+
74
+ <td rowspan="1" colSpan="1" >Create a TUICallEngine instance (singleton).</td>
75
+ </tr>
76
+
77
+ <tr>
78
+ <td rowspan="1" colSpan="1" >[destroyInstance](https://www.tencentcloud.com/document/product/647/51012#destroyInstance)</td>
79
+
80
+ <td rowspan="1" colSpan="1" >Destroy TUICallEngine instance (singleton).</td>
81
+ </tr>
82
+
83
+ <tr>
84
+ <td rowspan="1" colSpan="1" >[Init](https://www.tencentcloud.com/document/product/647/51012#Init)</td>
85
+
86
+ <td rowspan="1" colSpan="1" >Authenticates the basic audio/video call capabilities.</td>
87
+ </tr>
88
+
89
+ <tr>
90
+ <td rowspan="1" colSpan="1" >[addObserver](https://www.tencentcloud.com/document/product/647/51012#addObserver)</td>
91
+
92
+ <td rowspan="1" colSpan="1" >Add listener.</td>
93
+ </tr>
94
+
95
+ <tr>
96
+ <td rowspan="1" colSpan="1" >[removeObserver](https://www.tencentcloud.com/document/product/647/51012#removeObserver)</td>
97
+
98
+ <td rowspan="1" colSpan="1" >Remove listener.</td>
99
+ </tr>
100
+
101
+ <tr>
102
+ <td rowspan="1" colSpan="1" >[calls](https://www.tencentcloud.com/document/product/647/51012#calls)</td>
103
+
104
+ <td rowspan="1" colSpan="1" >Initiate a one-to-one or multi-person call</td>
105
+ </tr>
106
+
107
+ <tr>
108
+ <td rowspan="1" colSpan="1" >[join](https://www.tencentcloud.com/document/product/647/51012#join)</td>
109
+
110
+ <td rowspan="1" colSpan="1" >Proactively join a call</td>
111
+ </tr>
112
+
113
+ <tr>
114
+ <td rowspan="1" colSpan="1" >[accept](https://www.tencentcloud.com/document/product/647/51012#accept)</td>
115
+
116
+ <td rowspan="1" colSpan="1" >Accept call.</td>
117
+ </tr>
118
+
119
+ <tr>
120
+ <td rowspan="1" colSpan="1" >[reject](https://www.tencentcloud.com/document/product/647/51012#reject)</td>
121
+
122
+ <td rowspan="1" colSpan="1" >Reject call.</td>
123
+ </tr>
124
+
125
+ <tr>
126
+ <td rowspan="1" colSpan="1" >[hangup](https://www.tencentcloud.com/document/product/647/51012#hangup)</td>
127
+
128
+ <td rowspan="1" colSpan="1" >Hang up call.</td>
129
+ </tr>
130
+
131
+ <tr>
132
+ <td rowspan="1" colSpan="1" >[ignore](https://www.tencentcloud.com/document/product/647/51012#hangup)</td>
133
+
134
+ <td rowspan="1" colSpan="1" >Ignore call.</td>
135
+ </tr>
136
+
137
+ <tr>
138
+ <td rowspan="1" colSpan="1" >[inviteUser](https://www.tencentcloud.com/document/product/647/51012#inviteUser)</td>
139
+
140
+ <td rowspan="1" colSpan="1" >Invite users to the current call.</td>
141
+ </tr>
142
+
143
+ <tr>
144
+ <td rowspan="1" colSpan="1" >[switchCallMediaType](https://www.tencentcloud.com/document/product/647/51012#switchCallMediaType)</td>
145
+
146
+ <td rowspan="1" colSpan="1" >Switch the call media type, such as from video call to audio call.</td>
147
+ </tr>
148
+
149
+ <tr>
150
+ <td rowspan="1" colSpan="1" >[startRemoteView](https://www.tencentcloud.com/document/product/647/51012#startRemoteView)</td>
151
+
152
+ <td rowspan="1" colSpan="1" >Subscribe to the video stream of a remote user.</td>
153
+ </tr>
154
+
155
+ <tr>
156
+ <td rowspan="1" colSpan="1" >[stopRemoteView](https://www.tencentcloud.com/document/product/647/51012#stopRemoteView)</td>
157
+
158
+ <td rowspan="1" colSpan="1" >Unsubscribe from the video stream of a remote user.</td>
159
+ </tr>
160
+
161
+ <tr>
162
+ <td rowspan="1" colSpan="1" >[openCamera](https://www.tencentcloud.com/document/product/647/51012#openCamera)</td>
163
+
164
+ <td rowspan="1" colSpan="1" >Turn on the camera.</td>
165
+ </tr>
166
+
167
+ <tr>
168
+ <td rowspan="1" colSpan="1" >[closeCamera](https://www.tencentcloud.com/document/product/647/51012#closeCamera)</td>
169
+
170
+ <td rowspan="1" colSpan="1" >Turn off the camera.</td>
171
+ </tr>
172
+
173
+ <tr>
174
+ <td rowspan="1" colSpan="1" >[switchCamera](https://www.tencentcloud.com/document/product/647/51012#switchCamera)</td>
175
+
176
+ <td rowspan="1" colSpan="1" >Switch camera.</td>
177
+ </tr>
178
+
179
+ <tr>
180
+ <td rowspan="1" colSpan="1" >[openMicrophone](https://www.tencentcloud.com/document/product/647/51012#openMicrophone)</td>
181
+
182
+ <td rowspan="1" colSpan="1" >Enable microphone.</td>
183
+ </tr>
184
+
185
+ <tr>
186
+ <td rowspan="1" colSpan="1" >[closeMicrophone](https://www.tencentcloud.com/document/product/647/51012#closeMicrophone)</td>
187
+
188
+ <td rowspan="1" colSpan="1" >Disable the microphone.</td>
189
+ </tr>
190
+
191
+ <tr>
192
+ <td rowspan="1" colSpan="1" >[selectAudioPlaybackDevice](https://www.tencentcloud.com/document/product/647/51012#selectAudioPlaybackDevice)</td>
193
+
194
+ <td rowspan="1" colSpan="1" >Select the audio playback device (Earpiece/Speakerphone).</td>
195
+ </tr>
196
+
197
+ <tr>
198
+ <td rowspan="1" colSpan="1" >[setSelfInfo](https://www.tencentcloud.com/document/product/647/51012#setSelfInfo)</td>
199
+
200
+ <td rowspan="1" colSpan="1" >Set the user's profile picture and nickname.</td>
201
+ </tr>
202
+
203
+ <tr>
204
+ <td rowspan="1" colSpan="1" >[enableMultiDeviceAbility](https://www.tencentcloud.com/document/product/647/51012#enableMultiDeviceAbility)</td>
205
+
206
+ <td rowspan="1" colSpan="1" >Sets whether to enable multi-device login for TUICallEngine (supported by the [Group Call package](https://trtc.io/document/54632?platform=ios&product=call&menulabel=web)).</td>
207
+ </tr>
208
+
209
+ <tr>
210
+ <td rowspan="1" colSpan="1" >[setVideoRenderParams](https://www.tencentcloud.com/document/product/647/51012#setVideoRenderParams)</td>
211
+
212
+ <td rowspan="1" colSpan="1" >Set the rendering mode of video.</td>
213
+ </tr>
214
+
215
+ <tr>
216
+ <td rowspan="1" colSpan="1" >[setVideoEncoderParams](https://www.tencentcloud.com/document/product/647/51012#setVideoEncoderParams)</td>
217
+
218
+ <td rowspan="1" colSpan="1" >Set the encoding parameters of video encoder.</td>
219
+ </tr>
220
+
221
+ <tr>
222
+ <td rowspan="1" colSpan="1" >[getTRTCCloudInstance](https://www.tencentcloud.com/document/product/647/51012#getTRTCCloudInstance)</td>
223
+
224
+ <td rowspan="1" colSpan="1" >Advanced features.</td>
225
+ </tr>
226
+
227
+ <tr>
228
+ <td rowspan="1" colSpan="1" >[setBeautyLevel](https://www.tencentcloud.com/document/product/647/51012#setBeautyLevel)</td>
229
+
230
+ <td rowspan="1" colSpan="1" >Set beauty level, support turning off default beauty.</td>
231
+ </tr>
232
+ </table>
233
+
234
+
235
+ ### TUICallObserver
236
+
237
+ `TUICallObserver` is the callback class of `TUICallEngine`. You can use it to listen for events.
238
+ <table>
239
+ <tr>
240
+ <td rowspan="1" colSpan="1" >API</td>
241
+
242
+ <td rowspan="1" colSpan="1" >Description</td>
243
+ </tr>
244
+
245
+ <tr>
246
+ <td rowspan="1" colSpan="1" >[onError](https://www.tencentcloud.com/document/product/647/51013#onError)</td>
247
+
248
+ <td rowspan="1" colSpan="1" >An error occurred during the call.</td>
249
+ </tr>
250
+
251
+ <tr>
252
+ <td rowspan="1" colSpan="1" >[onCallReceived](https://www.tencentcloud.com/document/product/647/51013#onCallReceived)</td>
253
+
254
+ <td rowspan="1" colSpan="1" >A call was received.</td>
255
+ </tr>
256
+
257
+ <tr>
258
+ <td rowspan="1" colSpan="1" >[onCallCancelled](https://www.tencentcloud.com/document/product/647/51013#onCallCancelled)</td>
259
+
260
+ <td rowspan="1" colSpan="1" >The call was canceled.</td>
261
+ </tr>
262
+
263
+ <tr>
264
+ <td rowspan="1" colSpan="1" >[onCallBegin](https://www.tencentcloud.com/document/product/647/51013#onCallBegin)</td>
265
+
266
+ <td rowspan="1" colSpan="1" >The call was connected.</td>
267
+ </tr>
268
+
269
+ <tr>
270
+ <td rowspan="1" colSpan="1" >[onCallEnd](https://www.tencentcloud.com/document/product/647/51013#onCallEnd)</td>
271
+
272
+ <td rowspan="1" colSpan="1" >The call ended.</td>
273
+ </tr>
274
+
275
+ <tr>
276
+ <td rowspan="1" colSpan="1" >[onCallMediaTypeChanged](https://www.tencentcloud.com/document/product/647/51013#onCallMediaTypeChanged)</td>
277
+
278
+ <td rowspan="1" colSpan="1" >The call type changed.</td>
279
+ </tr>
280
+
281
+ <tr>
282
+ <td rowspan="1" colSpan="1" >[onUserReject](https://www.tencentcloud.com/document/product/647/51013#onUserReject)</td>
283
+
284
+ <td rowspan="1" colSpan="1" >A user declined the call.</td>
285
+ </tr>
286
+
287
+ <tr>
288
+ <td rowspan="1" colSpan="1" >[onUserNoResponse](https://www.tencentcloud.com/document/product/647/51013#onUserNoResponse)</td>
289
+
290
+ <td rowspan="1" colSpan="1" >A user didn't respond.</td>
291
+ </tr>
292
+
293
+ <tr>
294
+ <td rowspan="1" colSpan="1" >[onUserLineBusy](https://www.tencentcloud.com/document/product/647/51013#onUserLineBusy)</td>
295
+
296
+ <td rowspan="1" colSpan="1" >A user was busy.</td>
297
+ </tr>
298
+
299
+ <tr>
300
+ <td rowspan="1" colSpan="1" >[onUserJoin](https://www.tencentcloud.com/document/product/647/51013#onUserJoin)</td>
301
+
302
+ <td rowspan="1" colSpan="1" >A user joined the call.</td>
303
+ </tr>
304
+
305
+ <tr>
306
+ <td rowspan="1" colSpan="1" >[onUserLeave](https://www.tencentcloud.com/document/product/647/51013#onUserLeave)</td>
307
+
308
+ <td rowspan="1" colSpan="1" >A user left the call.</td>
309
+ </tr>
310
+
311
+ <tr>
312
+ <td rowspan="1" colSpan="1" >[onUserVideoAvailable](https://www.tencentcloud.com/document/product/647/51013#onUserVideoAvailable)</td>
313
+
314
+ <td rowspan="1" colSpan="1" >Whether a user has a video stream.</td>
315
+ </tr>
316
+
317
+ <tr>
318
+ <td rowspan="1" colSpan="1" >[onUserAudioAvailable](https://www.tencentcloud.com/document/product/647/51013#onUserAudioAvailable)</td>
319
+
320
+ <td rowspan="1" colSpan="1" >Whether a user has an audio stream.</td>
321
+ </tr>
322
+
323
+ <tr>
324
+ <td rowspan="1" colSpan="1" >[onUserVoiceVolumeChanged](https://www.tencentcloud.com/document/product/647/51013#onUserVoiceVolumeChanged)</td>
325
+
326
+ <td rowspan="1" colSpan="1" >The volume levels of all users.</td>
327
+ </tr>
328
+
329
+ <tr>
330
+ <td rowspan="1" colSpan="1" >[onUserNetworkQualityChanged](https://www.tencentcloud.com/document/product/647/51013#onUserNetworkQualityChanged)</td>
331
+
332
+ <td rowspan="1" colSpan="1" >The network quality of all users.</td>
333
+ </tr>
334
+
335
+ <tr>
336
+ <td rowspan="1" colSpan="1" >[onKickedOffline](https://www.tencentcloud.com/document/product/647/51013#onKickedOffline)</td>
337
+
338
+ <td rowspan="1" colSpan="1" >The current user was kicked offline.</td>
339
+ </tr>
340
+
341
+ <tr>
342
+ <td rowspan="1" colSpan="1" >[onUserSigExpired](https://www.tencentcloud.com/document/product/647/51013#onUserSigExpired)</td>
343
+
344
+ <td rowspan="1" colSpan="1" >The user sig is expired.</td>
345
+ </tr>
346
+ </table>
347
+
348
+
349
+ ## Definitions of Key Typ
350
+ <table>
351
+ <tr>
352
+ <td rowspan="1" colSpan="1" >API</td>
353
+
354
+ <td rowspan="1" colSpan="1" >Description</td>
355
+ </tr>
356
+
357
+ <tr>
358
+ <td rowspan="1" colSpan="1" >[TUICallMediaType](https://write.woa.com/document/114219413111934976)</td>
359
+
360
+ <td rowspan="1" colSpan="1" >Call media type, Enumeration type: Unknown, Video, and Audio.</td>
361
+ </tr>
362
+
363
+ <tr>
364
+ <td rowspan="1" colSpan="1" >[TUICallRole](https://write.woa.com/document/114219413111934976)</td>
365
+
366
+ <td rowspan="1" colSpan="1" >Call role, Enumeration type: None, Call, and Called.</td>
367
+ </tr>
368
+
369
+ <tr>
370
+ <td rowspan="1" colSpan="1" >[TUICallStatus](https://write.woa.com/document/114219413111934976)</td>
371
+
372
+ <td rowspan="1" colSpan="1" >Call status, Enumeration type: None, Waiting, and Accept.</td>
373
+ </tr>
374
+
375
+ <tr>
376
+ <td rowspan="1" colSpan="1" >[TUIRoomId](https://write.woa.com/document/114219413111934976)</td>
377
+
378
+ <td rowspan="1" colSpan="1" >The room ID, which can be a number or string.</td>
379
+ </tr>
380
+
381
+ <tr>
382
+ <td rowspan="1" colSpan="1" >[TUICallCamera](https://write.woa.com/document/114219413111934976)</td>
383
+
384
+ <td rowspan="1" colSpan="1" >The camera type. Enumeration type: Front camera and Back camera.</td>
385
+ </tr>
386
+
387
+ <tr>
388
+ <td rowspan="1" colSpan="1" >[TUIAudioPlaybackDevice](https://write.woa.com/document/114219413111934976)</td>
389
+
390
+ <td rowspan="1" colSpan="1" >The audio playback device type. Enumeration type: Earpiece and Speakerphone.</td>
391
+ </tr>
392
+
393
+ <tr>
394
+ <td rowspan="1" colSpan="1" >[TUINetworkQualityInfo](https://write.woa.com/document/114219413111934976)</td>
395
+
396
+ <td rowspan="1" colSpan="1" >The current network quality.</td>
397
+ </tr>
398
+ </table>