@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
package/index.js.map ADDED
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;AAEA,wEAAiF;AACjF,2CAA2C;AAE3C,KAAK,UAAU,IAAI;IACjB,MAAM,MAAM,GAAc,IAAA,wBAAY,GAAE,CAAC;IACzC,MAAM,SAAS,GAAG,IAAI,+BAAoB,EAAE,CAAC;IAC7C,MAAM,MAAM,CAAC,OAAO,CAAC,SAAS,CAAC,CAAC;IAChC,OAAO,CAAC,KAAK,CAAC,yCAAyC,CAAC,CAAC;AAC3D,CAAC;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,CAAC,KAAK,EAAE,EAAE;IACrB,OAAO,CAAC,KAAK,CAAC,wBAAwB,EAAE,KAAK,CAAC,CAAC;IAC/C,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;AAClB,CAAC,CAAC,CAAC"}
Binary file
package/mcp.json ADDED
@@ -0,0 +1,8 @@
1
+ {
2
+ "mcpServers": {
3
+ "tencent-rtc": {
4
+ "command": "npx",
5
+ "args": ["-y", "@tencent-rtc/mcp"]
6
+ }
7
+ }
8
+ }
package/package.json ADDED
@@ -0,0 +1,49 @@
1
+ {
2
+ "name": "@tencent-rtc/mcp",
3
+ "version": "1.0.0",
4
+ "description": "Tencent Cloud MCP Server for SDK",
5
+ "main": "index.js",
6
+ "bin": "index.js",
7
+ "repository": {
8
+ "type": "git",
9
+ "url": "xx"
10
+ },
11
+ "dependencies": {
12
+ "@grpc/grpc-js": "^1.5.1",
13
+ "@grpc/proto-loader": "^0.6.6",
14
+ "@modelcontextprotocol/sdk": "^1.10.1",
15
+ "@tencentcloud/sdk-mcp": "^1.0.3",
16
+ "@types/express": "^5.0.1",
17
+ "@types/hashring": "^3.2.1",
18
+ "@types/node": "^22.15.32",
19
+ "agentkeepalive": "^4.1.4",
20
+ "axios": "^0.25.0",
21
+ "debug": "^4.3.1",
22
+ "express": "^5.1.0",
23
+ "hashring": "^3.2.0",
24
+ "protobufjs": "^6.11.2",
25
+ "semver": "^7.3.5",
26
+ "shx": "^0.3.4",
27
+ "typescript": "^5.8.2",
28
+ "uuid": "^8.3.2",
29
+ "zod": "^3.24.2"
30
+ },
31
+ "author": "Tencent Cloud Terminal R&D Center",
32
+ "keywords": [
33
+ "mcp",
34
+ "mcp Server",
35
+ "call",
36
+ "video call",
37
+ "audio call",
38
+ "video",
39
+ "audio",
40
+ "TRTC",
41
+ "camera",
42
+ "microphone",
43
+ "webrtc",
44
+ "real-time communication",
45
+ "javascript",
46
+ "rtc"
47
+ ],
48
+ "license": "ISC"
49
+ }
File without changes
@@ -0,0 +1,610 @@
1
+ ## TUICallKit APIs
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. For directions on integration, see [Integrating TUICallKit](https://www.tencentcloud.com/document/product/647/50991).
4
+
5
+ ## API Overview
6
+ <table>
7
+ <tr>
8
+ <td rowspan="1" colSpan="1" >API</td>
9
+
10
+ <td rowspan="1" colSpan="1" >Description</td>
11
+ </tr>
12
+
13
+ <tr>
14
+ <td rowspan="1" colSpan="1" >[createInstance](https://write.woa.com/document/95824745037205504)</td>
15
+
16
+ <td rowspan="1" colSpan="1" >Creates a `TUICallKit` instance (singleton mode).</td>
17
+ </tr>
18
+
19
+ <tr>
20
+ <td rowspan="1" colSpan="1" >[setSelfInfo](https://write.woa.com/document/95824745037205504)</td>
21
+
22
+ <td rowspan="1" colSpan="1" >Sets the alias and profile photo.</td>
23
+ </tr>
24
+
25
+ <tr>
26
+ <td rowspan="1" colSpan="1" >[calls](https://write.woa.com/document/95824745037205504)</td>
27
+
28
+ <td rowspan="1" colSpan="1" >Initiate a one-to-one or multi-person call.</td>
29
+ </tr>
30
+
31
+ <tr>
32
+ <td rowspan="1" colSpan="1" >[join](https://write.woa.com/document/95824745037205504)</td>
33
+
34
+ <td rowspan="1" colSpan="1" >Proactively join a call.</td>
35
+ </tr>
36
+
37
+ <tr>
38
+ <td rowspan="1" colSpan="1" >[setCallingBell](https://write.woa.com/document/95824745037205504)</td>
39
+
40
+ <td rowspan="1" colSpan="1" >Sets the ringtone.</td>
41
+ </tr>
42
+
43
+ <tr>
44
+ <td rowspan="1" colSpan="1" >[enableMuteMode](https://write.woa.com/document/95824745037205504)</td>
45
+
46
+ <td rowspan="1" colSpan="1" >Sets whether to turn on the mute mode.</td>
47
+ </tr>
48
+
49
+ <tr>
50
+ <td rowspan="1" colSpan="1" >[enableFloatWindow](https://write.woa.com/document/95824745037205504)</td>
51
+
52
+ <td rowspan="1" colSpan="1" >Sets whether to enable floating windows.</td>
53
+ </tr>
54
+
55
+ <tr>
56
+ <td rowspan="1" colSpan="1" >[enableIncomingBanner](https://write.woa.com/document/95824745037205504)</td>
57
+
58
+ <td rowspan="1" colSpan="1" >Sets whether to display incoming banner.</td>
59
+ </tr>
60
+ </table>
61
+
62
+
63
+ ## Details
64
+
65
+ ### createInstance
66
+
67
+ This API is used to create a `TUICallKit` singleton.
68
+
69
+
70
+
71
+
72
+ 【Kotlin】
73
+ ``` java
74
+ fun createInstance(context: Context): TUICallKit
75
+ ```
76
+
77
+
78
+ 【Java】
79
+ ``` java
80
+ TUICallKit createInstance(Context context)
81
+ ```
82
+
83
+ ### setSelfInfo
84
+
85
+ This API is used to set the alias and profile photo. The alias cannot exceed 500 bytes, and the profile photo is specified by a URL.
86
+
87
+
88
+
89
+
90
+ 【Kotlin】
91
+ ``` java
92
+ fun setSelfInfo(nickname: String?, avatar: String?, callback: TUICommonDefine.Callback?)
93
+ ```
94
+
95
+
96
+ 【Java】
97
+ ``` java
98
+ void setSelfInfo(String nickname, String avatar, TUICommonDefine.Callback callback)
99
+ ```
100
+
101
+ The parameters are described below:
102
+ <table>
103
+ <tr>
104
+ <td rowspan="1" colSpan="1" >Parameter</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" >userIdList</td>
113
+
114
+ <td rowspan="1" colSpan="1" >List<String></td>
115
+
116
+ <td rowspan="1" colSpan="1" >The target user IDs.</td>
117
+ </tr>
118
+
119
+ <tr>
120
+ <td rowspan="1" colSpan="1" >callMediaType</td>
121
+
122
+ <td rowspan="1" colSpan="1" >[TUICallDefine.MediaType](https://write.woa.com/document/114029061195374592)</td>
123
+
124
+ <td rowspan="1" colSpan="1" >The call type, which can be video or audio.</td>
125
+ </tr>
126
+
127
+ <tr>
128
+ <td rowspan="1" colSpan="1" >params</td>
129
+
130
+ <td rowspan="1" colSpan="1" >[TUICallDefine.CallParams](https://write.woa.com/document/114029061195374592)</td>
131
+
132
+ <td rowspan="1" colSpan="1" >An additional parameter. such as roomID, call timeout, offline push info,etc</td>
133
+ </tr>
134
+ </table>
135
+
136
+
137
+ ### calls
138
+
139
+ Initiate a one-to-one or multi-person call.
140
+
141
+
142
+
143
+
144
+ 【kotlin】
145
+ ``` java
146
+ fun calls(
147
+ userIdList: List<String?>?, mediaType: TUICallDefine.MediaType?,
148
+ params: TUICallDefine.CallParams?, callback: TUICommonDefine.Callback?
149
+ )
150
+ ```
151
+
152
+
153
+ 【Java】
154
+ ``` java
155
+ void calls(List<String> userIdList, TUICallDefine.MediaType mediaType,
156
+ TUICallDefine.CallParams params, TUICommonDefine.Callback callback)
157
+ ```
158
+
159
+ The parameters are described below:
160
+ <table>
161
+ <tr>
162
+ <td rowspan="1" colSpan="1" >Parameter</td>
163
+
164
+ <td rowspan="1" colSpan="1" >Type</td>
165
+
166
+ <td rowspan="1" colSpan="1" >Description</td>
167
+ </tr>
168
+
169
+ <tr>
170
+ <td rowspan="1" colSpan="1" >userIdList</td>
171
+
172
+ <td rowspan="1" colSpan="1" >List<String></td>
173
+
174
+ <td rowspan="1" colSpan="1" >The target user IDs.</td>
175
+ </tr>
176
+
177
+ <tr>
178
+ <td rowspan="1" colSpan="1" >callMediaType</td>
179
+
180
+ <td rowspan="1" colSpan="1" >[TUICallDefine.MediaType](https://write.woa.com/document/114029061195374592)</td>
181
+
182
+ <td rowspan="1" colSpan="1" >The call type, which can be video or audio.</td>
183
+ </tr>
184
+
185
+ <tr>
186
+ <td rowspan="1" colSpan="1" >params</td>
187
+
188
+ <td rowspan="1" colSpan="1" >[TUICallDefine.CallParams](https://write.woa.com/document/114029061195374592)</td>
189
+
190
+ <td rowspan="1" colSpan="1" >An additional parameter. such as roomID, call timeout, offline push info,etc</td>
191
+ </tr>
192
+ </table>
193
+
194
+
195
+ ### join
196
+
197
+ Proactively join a call.
198
+
199
+
200
+
201
+
202
+ 【Kotlin】
203
+ ``` java
204
+ fun join(callId: String?, callback: TUICommonDefine.Callback?)
205
+ ```
206
+
207
+
208
+ 【Java】
209
+ ``` java
210
+ void join(String callId, TUICommonDefine.Callback callback)
211
+ ```
212
+
213
+ The parameters are described below:
214
+ <table>
215
+ <tr>
216
+ <td rowspan="1" colSpan="1" >Parameter</td>
217
+
218
+ <td rowspan="1" colSpan="1" >Type</td>
219
+
220
+ <td rowspan="1" colSpan="1" >Description</td>
221
+ </tr>
222
+
223
+ <tr>
224
+ <td rowspan="1" colSpan="1" >callId</td>
225
+
226
+ <td rowspan="1" colSpan="1" >String</td>
227
+
228
+ <td rowspan="1" colSpan="1" >Unique ID for this call</td>
229
+ </tr>
230
+ </table>
231
+
232
+
233
+ ### setCallingBell
234
+
235
+ This API is used to set the ringtone. `filePath` must be an accessible local file URL.
236
+
237
+ The ringtone set is associated with the device and does not change with user.
238
+
239
+ To reset the ringtone, pass in an empty string for `filePath`.
240
+
241
+
242
+
243
+
244
+ 【Kotlin】
245
+ ``` java
246
+ fun setCallingBell(filePath: String?)
247
+ ```
248
+
249
+
250
+ 【Java】
251
+ ``` java
252
+ void setCallingBell(String filePath);
253
+ ```
254
+
255
+ ### enableMuteMode
256
+
257
+ This API is used to set whether to play the music when user received a call.
258
+
259
+
260
+
261
+
262
+ 【Kotlin】
263
+ ``` java
264
+ fun enableMuteMode(enable: Boolean)
265
+ ```
266
+
267
+
268
+ 【Java】
269
+ ``` java
270
+ void enableMuteMode(boolean enable);
271
+ ```
272
+
273
+ ### enableFloatWindow
274
+
275
+ This API is used to set whether to enable floating windows.
276
+
277
+ The default value is `false`, and the floating window button in the top left corner of the call view is hidden. If it is set to `true`, the button will become visible.
278
+
279
+
280
+
281
+
282
+ 【Kotlin】
283
+ ``` java
284
+ fun enableFloatWindow(enable: Boolean)
285
+ ```
286
+
287
+
288
+ 【Java】
289
+ ``` java
290
+ void enableFloatWindow(boolean enable);
291
+ ```
292
+
293
+ ### enableIncomingBanner
294
+
295
+ The API is used to set whether show incoming banner when user received a new call invitation.
296
+
297
+ The default value is `false`, The callee will pop up a full-screen call view by default when receiving the invitation. If it is set to `true`, the callee will display a banner first.
298
+ ``` java
299
+ fun enableIncomingBanner(enable: Boolean)
300
+ ```
301
+
302
+ ## Deprecated Interface
303
+
304
+ ### call
305
+
306
+ This API is used to make a (one-to-one) call. **Note: it is recommended to use the calls API.**
307
+
308
+
309
+
310
+
311
+ 【Kotlin】
312
+ ``` java
313
+ fun call(userId: String, callMediaType: TUICallDefine.MediaType)
314
+ ```
315
+
316
+
317
+ 【Java】
318
+ ``` java
319
+ void call(String userId, TUICallDefine.MediaType callMediaType)
320
+ ```
321
+
322
+ The parameters are described below:
323
+ <table>
324
+ <tr>
325
+ <td rowspan="1" colSpan="1" >Parameter</td>
326
+
327
+ <td rowspan="1" colSpan="1" >Type</td>
328
+
329
+ <td rowspan="1" colSpan="1" >Description</td>
330
+ </tr>
331
+
332
+ <tr>
333
+ <td rowspan="1" colSpan="1" >userId</td>
334
+
335
+ <td rowspan="1" colSpan="1" >String</td>
336
+
337
+ <td rowspan="1" colSpan="1" >The target user ID.</td>
338
+ </tr>
339
+
340
+ <tr>
341
+ <td rowspan="1" colSpan="1" >callMediaType</td>
342
+
343
+ <td rowspan="1" colSpan="1" >[TUICallDefine.MediaType](https://write.woa.com/document/114029061195374592)</td>
344
+
345
+ <td rowspan="1" colSpan="1" >The call type, which can be video or audio.</td>
346
+ </tr>
347
+ </table>
348
+
349
+
350
+ ### call
351
+
352
+ This API is used to make a (one-to-one) call, Support for custom room ID, call timeout, offline push content, etc. **Note: it is recommended to use the calls API.**
353
+
354
+
355
+
356
+
357
+ 【Kotlin】
358
+ ``` java
359
+ fun call(
360
+ userId: String, callMediaType: TUICallDefine.MediaType,
361
+ params: CallParams?, callback: TUICommonDefine.Callback?
362
+ )
363
+ ```
364
+
365
+
366
+ 【Java】
367
+ ``` java
368
+ void call(String userId, TUICallDefine.MediaType callMediaType,
369
+ TUICallDefine.CallParams params, TUICommonDefine.Callback callback)
370
+ ```
371
+
372
+ The parameters are described below:
373
+ <table>
374
+ <tr>
375
+ <td rowspan="1" colSpan="1" >Parameter</td>
376
+
377
+ <td rowspan="1" colSpan="1" >Type</td>
378
+
379
+ <td rowspan="1" colSpan="1" >Description</td>
380
+ </tr>
381
+
382
+ <tr>
383
+ <td rowspan="1" colSpan="1" >userId</td>
384
+
385
+ <td rowspan="1" colSpan="1" >String</td>
386
+
387
+ <td rowspan="1" colSpan="1" >The target user ID.</td>
388
+ </tr>
389
+
390
+ <tr>
391
+ <td rowspan="1" colSpan="1" >callMediaType</td>
392
+
393
+ <td rowspan="1" colSpan="1" >[TUICallDefine.MediaType](https://write.woa.com/document/114029061195374592)</td>
394
+
395
+ <td rowspan="1" colSpan="1" >The call type, which can be video or audio.</td>
396
+ </tr>
397
+
398
+ <tr>
399
+ <td rowspan="1" colSpan="1" >params</td>
400
+
401
+ <td rowspan="1" colSpan="1" >[TUICallDefine.CallParams](https://write.woa.com/document/114029061195374592)</td>
402
+
403
+ <td rowspan="1" colSpan="1" >Call extension parameters, such as roomID, call timeout, offline push info,etc</td>
404
+ </tr>
405
+ </table>
406
+
407
+
408
+ ### groupCall
409
+
410
+ This API is used to make a group call. **Note: it is recommended to use the calls API.**
411
+
412
+ > **Note:**
413
+ >
414
+
415
+ > Before making a group call, you need to create an Chat group first.
416
+ >
417
+
418
+ > For details about how to create a group, see [Chat Group Management](https://www.tencentcloud.com/zh/document/product/1047/48466#.E5.88.9B.E5.BB.BA.E7.BE.A4.E7.BB.84), or you can use [Chat UIKit](https://www.tencentcloud.com/zh/document/product/1047/60520) to integrate chat, call and other scenarios.
419
+ >
420
+
421
+
422
+
423
+
424
+
425
+ 【Kotlin】
426
+ ``` java
427
+ fun groupCall(groupId: String, userIdList: List<String?>?, callMediaType: TUICallDefine.MediaType)
428
+ ```
429
+
430
+
431
+ 【Java】
432
+ ``` java
433
+ void groupCall(String groupId, List<String> userIdList, TUICallDefine.MediaType callMediaType);
434
+ ```
435
+
436
+ The parameters are described below:
437
+ <table>
438
+ <tr>
439
+ <td rowspan="1" colSpan="1" >Parameter</td>
440
+
441
+ <td rowspan="1" colSpan="1" >Type</td>
442
+
443
+ <td rowspan="1" colSpan="1" >Description</td>
444
+ </tr>
445
+
446
+ <tr>
447
+ <td rowspan="1" colSpan="1" >groupId</td>
448
+
449
+ <td rowspan="1" colSpan="1" >String</td>
450
+
451
+ <td rowspan="1" colSpan="1" >The group ID.</td>
452
+ </tr>
453
+
454
+ <tr>
455
+ <td rowspan="1" colSpan="1" >userIdList</td>
456
+
457
+ <td rowspan="1" colSpan="1" >List</td>
458
+
459
+ <td rowspan="1" colSpan="1" >The target user IDs.</td>
460
+ </tr>
461
+
462
+ <tr>
463
+ <td rowspan="1" colSpan="1" >callMediaType</td>
464
+
465
+ <td rowspan="1" colSpan="1" >[TUICallDefine.MediaType](https://write.woa.com/document/114029061195374592)</td>
466
+
467
+ <td rowspan="1" colSpan="1" >The call type, which can be video or audio.</td>
468
+ </tr>
469
+ </table>
470
+
471
+
472
+ ### groupCall
473
+
474
+ This API is used to make a group call, Support for custom room ID, call timeout, offline push content, etc. **Note: it is recommended to use the calls API.**
475
+
476
+ > **Note:**
477
+ >
478
+
479
+ > Before making a group call, you need to create an Chat group first.
480
+ >
481
+
482
+ > For details about how to create a group, see [Chat Group Management](https://www.tencentcloud.com/zh/document/product/1047/48466#.E5.88.9B.E5.BB.BA.E7.BE.A4.E7.BB.84), or you can use [Chat UIKit](https://www.tencentcloud.com/zh/document/product/1047/60520) to integrate chat, call and other scenarios.
483
+ >
484
+
485
+
486
+
487
+
488
+
489
+ 【Kotlin】
490
+ ``` java
491
+ fun groupCall(
492
+ groupId: String, userIdList: List<String?>?,
493
+ callMediaType: TUICallDefine.MediaType, params: CallParams?,
494
+ callback: TUICommonDefine.Callback?
495
+ )
496
+ ```
497
+
498
+
499
+ 【Java】
500
+ ``` java
501
+ void groupCall(String groupId, List<String> userIdList, TUICallDefine.MediaType callMediaType,
502
+ TUICallDefine.CallParams params, TUICommonDefine.Callback callback);
503
+ ```
504
+
505
+ The parameters are described below:
506
+ <table>
507
+ <tr>
508
+ <td rowspan="1" colSpan="1" >Parameter</td>
509
+
510
+ <td rowspan="1" colSpan="1" >Type</td>
511
+
512
+ <td rowspan="1" colSpan="1" >Description</td>
513
+ </tr>
514
+
515
+ <tr>
516
+ <td rowspan="1" colSpan="1" >groupId</td>
517
+
518
+ <td rowspan="1" colSpan="1" >String</td>
519
+
520
+ <td rowspan="1" colSpan="1" >The group ID.</td>
521
+ </tr>
522
+
523
+ <tr>
524
+ <td rowspan="1" colSpan="1" >userIdList</td>
525
+
526
+ <td rowspan="1" colSpan="1" >List</td>
527
+
528
+ <td rowspan="1" colSpan="1" >The target user IDs.</td>
529
+ </tr>
530
+
531
+ <tr>
532
+ <td rowspan="1" colSpan="1" >callMediaType</td>
533
+
534
+ <td rowspan="1" colSpan="1" >[TUICallDefine.MediaType](https://write.woa.com/document/114029061195374592)</td>
535
+
536
+ <td rowspan="1" colSpan="1" >The call type, which can be video or audio.</td>
537
+ </tr>
538
+
539
+ <tr>
540
+ <td rowspan="1" colSpan="1" >params</td>
541
+
542
+ <td rowspan="1" colSpan="1" >[TUICallDefine.CallParams](https://write.woa.com/document/114029061195374592)</td>
543
+
544
+ <td rowspan="1" colSpan="1" >Call extension parameters, such as roomID, call timeout, offline push info,etc</td>
545
+ </tr>
546
+ </table>
547
+
548
+
549
+ ### joinInGroupCall
550
+
551
+ This API is used to join a group call. **Note: it is recommended to use the join API.**
552
+
553
+ > **Note:**
554
+ >
555
+
556
+ > Before joining a group call, you need to create or join an Chat group in advance, and there are already users in the group who are in the call.
557
+ >
558
+
559
+ > For details about how to create a group, see [Chat Group Management](https://www.tencentcloud.com/zh/document/product/1047/48466#.E5.88.9B.E5.BB.BA.E7.BE.A4.E7.BB.84), or you can use [Chat UIKit](https://www.tencentcloud.com/zh/document/product/1047/60520) to integrate chat, call and other scenarios.
560
+ >
561
+
562
+
563
+
564
+
565
+
566
+ 【Kotlin】
567
+ ``` java
568
+ fun joinInGroupCall(roomId: RoomId?, groupId: String?, callMediaType: TUICallDefine.MediaType?)
569
+ ```
570
+
571
+
572
+ 【Java】
573
+ ``` java
574
+ void joinInGroupCall(TUICommonDefine.RoomId roomId, String groupId, TUICallDefine.MediaType callMediaType);
575
+ ```
576
+
577
+ The parameters are described below:
578
+ <table>
579
+ <tr>
580
+ <td rowspan="1" colSpan="1" >Parameter</td>
581
+
582
+ <td rowspan="1" colSpan="1" >Type</td>
583
+
584
+ <td rowspan="1" colSpan="1" >Description</td>
585
+ </tr>
586
+
587
+ <tr>
588
+ <td rowspan="1" colSpan="1" >roomId</td>
589
+
590
+ <td rowspan="1" colSpan="1" >[TUICommonDefine.RoomId](https://write.woa.com/document/114029061195374592)</td>
591
+
592
+ <td rowspan="1" colSpan="1" >The room ID.</td>
593
+ </tr>
594
+
595
+ <tr>
596
+ <td rowspan="1" colSpan="1" >groupId</td>
597
+
598
+ <td rowspan="1" colSpan="1" >String</td>
599
+
600
+ <td rowspan="1" colSpan="1" >The group ID.</td>
601
+ </tr>
602
+
603
+ <tr>
604
+ <td rowspan="1" colSpan="1" >callMediaType</td>
605
+
606
+ <td rowspan="1" colSpan="1" >[TUICallDefine.MediaType](https://write.woa.com/document/114029061195374592)</td>
607
+
608
+ <td rowspan="1" colSpan="1" >The call type, which can be video or audio.</td>
609
+ </tr>
610
+ </table>