@tencentcloud/sdk-mcp 1.2.6 → 1.2.8

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 (351) hide show
  1. package/package.json +1 -1
  2. package/resource/doc/chatuikit/faq/common/server_error_code.md +74 -0
  3. package/resource/doc/chatuikit/faq/{freq_qa.md → native_sdk/faq.md} +2 -1
  4. package/resource/doc/chatuikit/faq/web_sdk/error_code.md +47 -0
  5. package/resource/doc/chatuikit/faq/web_sdk/faq.md +115 -0
  6. package/resource/doc/chatuikit/flutter/faq.md +117 -0
  7. package/resource/doc/chatuikit/iOS/faq.md +117 -0
  8. package/resource/doc/chatuikit/react/faq.md +26 -0
  9. package/resource/doc/chatuikit/vue/faq.md +35 -0
  10. package/resource/doc/livekit/faq/common/error_code.md +89 -0
  11. package/resource/doc/roomkit/common/error_code.md +67 -0
  12. package/resource/doc/rtcengine/faq/web_sdk/.gitkeep +0 -0
  13. package/resource/doc/tuicallkit/android/faq.md +1000 -0
  14. package/resource/doc/tuicallkit/faq/common/error_code.md +47 -0
  15. package/resource/doc/tuicallkit/flutter/faq.md +981 -0
  16. package/resource/doc/tuicallkit/{faq → iOS}/faq.md +0 -72
  17. package/resource/doc/tuicallkit/react/faq.md +986 -0
  18. package/resource/doc/tuicallkit/vue/faq.md +986 -0
  19. package/tools/call/get-native-call-integration.js +4 -10
  20. package/tools/call/get-native-call-integration.js.map +1 -1
  21. package/tools/call/get-web-call-api.js +4 -7
  22. package/tools/call/get-web-call-api.js.map +1 -1
  23. package/tools/call/get-web-call-integration.js +4 -9
  24. package/tools/call/get-web-call-integration.js.map +1 -1
  25. package/tools/chat/get-native-chat-integration.js +4 -8
  26. package/tools/chat/get-native-chat-integration.js.map +1 -1
  27. package/tools/chat/get-web-chat-component-detail.js +5 -10
  28. package/tools/chat/get-web-chat-component-detail.js.map +1 -1
  29. package/tools/chat/get-web-chat-integration.js +4 -12
  30. package/tools/chat/get-web-chat-integration.js.map +1 -1
  31. package/tools/chat/get-web-chat-uikit-init.js +5 -6
  32. package/tools/chat/get-web-chat-uikit-init.js.map +1 -1
  33. package/tools/chat/get-web-chat-window-integration.js +4 -12
  34. package/tools/chat/get-web-chat-window-integration.js.map +1 -1
  35. package/tools/chat/{create-group.js → get-web-create-group-doc.js} +5 -6
  36. package/tools/chat/get-web-create-group-doc.js.map +1 -0
  37. package/tools/common/get-faq.js +93 -0
  38. package/tools/common/get-faq.js.map +1 -0
  39. package/tools/common/get-usersig.js +9 -18
  40. package/tools/common/get-usersig.js.map +1 -1
  41. package/tools/common/present-framework-choice.js +3 -10
  42. package/tools/common/present-framework-choice.js.map +1 -1
  43. package/tools/common/record-prompt.js +5 -12
  44. package/tools/common/record-prompt.js.map +1 -1
  45. package/tools/common/record-result.js +7 -11
  46. package/tools/common/record-result.js.map +1 -1
  47. package/tools/definitions/get_faq_def.js +28 -0
  48. package/tools/definitions/get_faq_def.js.map +1 -0
  49. package/tools/definitions/get_native_call_uikit_integration_def.js +21 -0
  50. package/tools/definitions/get_native_call_uikit_integration_def.js.map +1 -0
  51. package/tools/definitions/get_native_chat_uikit_integration_def.js +21 -0
  52. package/tools/definitions/get_native_chat_uikit_integration_def.js.map +1 -0
  53. package/tools/definitions/get_usersig_def.js +34 -0
  54. package/tools/definitions/get_usersig_def.js.map +1 -0
  55. package/tools/definitions/get_web_call_uikit_api_def.js +23 -0
  56. package/tools/definitions/get_web_call_uikit_api_def.js.map +1 -0
  57. package/tools/definitions/get_web_call_uikit_integration_def.js +20 -0
  58. package/tools/definitions/get_web_call_uikit_integration_def.js.map +1 -0
  59. package/tools/definitions/get_web_chat_uikit_component_detail_def.js +24 -0
  60. package/tools/definitions/get_web_chat_uikit_component_detail_def.js.map +1 -0
  61. package/tools/definitions/get_web_chat_uikit_init_def.js +23 -0
  62. package/tools/definitions/get_web_chat_uikit_init_def.js.map +1 -0
  63. package/tools/definitions/get_web_chat_uikit_integration_def.js +26 -0
  64. package/tools/definitions/get_web_chat_uikit_integration_def.js.map +1 -0
  65. package/tools/definitions/get_web_chat_window_integration_def.js +26 -0
  66. package/tools/definitions/get_web_chat_window_integration_def.js.map +1 -0
  67. package/tools/definitions/get_web_create_group_doc_def.js +18 -0
  68. package/tools/definitions/get_web_create_group_doc_def.js.map +1 -0
  69. package/tools/definitions/get_web_live_state_detail_def.js +19 -0
  70. package/tools/definitions/get_web_live_state_detail_def.js.map +1 -0
  71. package/tools/definitions/get_web_live_uikit_component_detail_def.js +21 -0
  72. package/tools/definitions/get_web_live_uikit_component_detail_def.js.map +1 -0
  73. package/tools/definitions/get_web_room_state_detail_def.js +19 -0
  74. package/tools/definitions/get_web_room_state_detail_def.js.map +1 -0
  75. package/tools/definitions/present_framework_choice_def.js +24 -0
  76. package/tools/definitions/present_framework_choice_def.js.map +1 -0
  77. package/tools/definitions/record_prompt_def.js +22 -0
  78. package/tools/definitions/record_prompt_def.js.map +1 -0
  79. package/tools/definitions/record_result_def.js +22 -0
  80. package/tools/definitions/record_result_def.js.map +1 -0
  81. package/tools/index.js +7 -9
  82. package/tools/index.js.map +1 -1
  83. package/tools/live/get-web-live-component-detail.js +5 -7
  84. package/tools/live/get-web-live-component-detail.js.map +1 -1
  85. package/tools/live/get-web-live-state-detail.js +5 -7
  86. package/tools/live/get-web-live-state-detail.js.map +1 -1
  87. package/tools/room/get-web-room-state-detail.js +5 -7
  88. package/tools/room/get-web-room-state-detail.js.map +1 -1
  89. package/utils/report-cls-client.js +1 -1
  90. package/utils/report-es-client.js +1 -1
  91. package/libs/@tencent/aegis-node-sdk/CHANGELOG.md +0 -8
  92. package/libs/@tencent/aegis-node-sdk/LICENSE +0 -21
  93. package/libs/@tencent/aegis-node-sdk/README.md +0 -562
  94. package/libs/@tencent/aegis-node-sdk/lib/aegis.min.js +0 -1
  95. package/libs/@tencent/aegis-node-sdk/lib/packages/core/src/constant/config.d.ts +0 -14
  96. package/libs/@tencent/aegis-node-sdk/lib/packages/core/src/constant/global.d.ts +0 -1
  97. package/libs/@tencent/aegis-node-sdk/lib/packages/core/src/constant/index.d.ts +0 -9
  98. package/libs/@tencent/aegis-node-sdk/lib/packages/core/src/constant/report-ignore.d.ts +0 -2
  99. package/libs/@tencent/aegis-node-sdk/lib/packages/core/src/core.d.ts +0 -85
  100. package/libs/@tencent/aegis-node-sdk/lib/packages/core/src/hooks/afterRequestHooks.d.ts +0 -3
  101. package/libs/@tencent/aegis-node-sdk/lib/packages/core/src/hooks/beforeRequestHooks.d.ts +0 -9
  102. package/libs/@tencent/aegis-node-sdk/lib/packages/core/src/hooks/modifyRequestHooks.d.ts +0 -3
  103. package/libs/@tencent/aegis-node-sdk/lib/packages/core/src/index.d.ts +0 -9
  104. package/libs/@tencent/aegis-node-sdk/lib/packages/core/src/interface/config.d.ts +0 -62
  105. package/libs/@tencent/aegis-node-sdk/lib/packages/core/src/interface/env.d.ts +0 -11
  106. package/libs/@tencent/aegis-node-sdk/lib/packages/core/src/interface/index.d.ts +0 -4
  107. package/libs/@tencent/aegis-node-sdk/lib/packages/core/src/interface/log.d.ts +0 -130
  108. package/libs/@tencent/aegis-node-sdk/lib/packages/core/src/interface/send.d.ts +0 -34
  109. package/libs/@tencent/aegis-node-sdk/lib/packages/core/src/pipes/format.d.ts +0 -2
  110. package/libs/@tencent/aegis-node-sdk/lib/packages/core/src/pipes/index.d.ts +0 -18
  111. package/libs/@tencent/aegis-node-sdk/lib/packages/core/src/pipes/length-limit.d.ts +0 -8
  112. package/libs/@tencent/aegis-node-sdk/lib/packages/core/src/pipes/pv.d.ts +0 -8
  113. package/libs/@tencent/aegis-node-sdk/lib/packages/core/src/pipes/remove-payload.d.ts +0 -2
  114. package/libs/@tencent/aegis-node-sdk/lib/packages/core/src/pipes/repeat-limit.d.ts +0 -4
  115. package/libs/@tencent/aegis-node-sdk/lib/packages/core/src/pipes/report.d.ts +0 -10
  116. package/libs/@tencent/aegis-node-sdk/lib/packages/core/src/pipes/sample.d.ts +0 -3
  117. package/libs/@tencent/aegis-node-sdk/lib/packages/core/src/pipes/throttle.d.ts +0 -3
  118. package/libs/@tencent/aegis-node-sdk/lib/packages/core/src/pipes/trace/index.d.ts +0 -34
  119. package/libs/@tencent/aegis-node-sdk/lib/packages/core/src/pipes/trace/jwt.d.ts +0 -12
  120. package/libs/@tencent/aegis-node-sdk/lib/packages/core/src/pipes/trace/ot-js.d.ts +0 -14
  121. package/libs/@tencent/aegis-node-sdk/lib/packages/core/src/pipes/trace/uuid.d.ts +0 -2
  122. package/libs/@tencent/aegis-node-sdk/lib/packages/core/src/pipes/whitelist.d.ts +0 -12
  123. package/libs/@tencent/aegis-node-sdk/lib/packages/core/src/pipes/write-before.d.ts +0 -3
  124. package/libs/@tencent/aegis-node-sdk/lib/packages/core/src/plugin.d.ts +0 -33
  125. package/libs/@tencent/aegis-node-sdk/lib/packages/core/src/util/destroy.d.ts +0 -2
  126. package/libs/@tencent/aegis-node-sdk/lib/packages/core/src/util/event-emitter.d.ts +0 -18
  127. package/libs/@tencent/aegis-node-sdk/lib/packages/core/src/util/index.d.ts +0 -60
  128. package/libs/@tencent/aegis-node-sdk/lib/packages/node-sdk/src/index.d.ts +0 -15
  129. package/libs/@tencent/aegis-node-sdk/lib/packages/node-sdk/src/interface/selector.d.ts +0 -5
  130. package/libs/@tencent/aegis-node-sdk/lib/packages/node-sdk/src/pipes/batch-report-pipe.d.ts +0 -6
  131. package/libs/@tencent/aegis-node-sdk/lib/packages/node-sdk/src/protocol/protocol_base.d.ts +0 -18
  132. package/libs/@tencent/aegis-node-sdk/lib/packages/node-sdk/src/protocol/protocol_http.d.ts +0 -12
  133. package/libs/@tencent/aegis-node-sdk/lib/packages/node-sdk/src/selector/ip_selector.d.ts +0 -10
  134. package/libs/@tencent/aegis-node-sdk/lib/packages/node-sdk/src/selector/polaris_selector.d.ts +0 -20
  135. package/libs/@tencent/aegis-node-sdk/lib/packages/node-sdk/src/selector/selector_base.d.ts +0 -27
  136. package/libs/@tencent/aegis-node-sdk/lib/packages/node-sdk/src/util/eval_require.d.ts +0 -2
  137. package/libs/@tencent/aegis-node-sdk/package.json +0 -19
  138. package/libs/@tencent/polaris/README.md +0 -407
  139. package/libs/@tencent/polaris/dist/consumer/health.d.ts +0 -126
  140. package/libs/@tencent/polaris/dist/consumer/health.js +0 -283
  141. package/libs/@tencent/polaris/dist/consumer/health.js.map +0 -1
  142. package/libs/@tencent/polaris/dist/consumer/index.d.ts +0 -120
  143. package/libs/@tencent/polaris/dist/consumer/index.js +0 -348
  144. package/libs/@tencent/polaris/dist/consumer/index.js.map +0 -1
  145. package/libs/@tencent/polaris/dist/consumer/monitor.d.ts +0 -145
  146. package/libs/@tencent/polaris/dist/consumer/monitor.js +0 -343
  147. package/libs/@tencent/polaris/dist/consumer/monitor.js.map +0 -1
  148. package/libs/@tencent/polaris/dist/consumer/selector.d.ts +0 -73
  149. package/libs/@tencent/polaris/dist/consumer/selector.js +0 -316
  150. package/libs/@tencent/polaris/dist/consumer/selector.js.map +0 -1
  151. package/libs/@tencent/polaris/dist/errors.d.ts +0 -373
  152. package/libs/@tencent/polaris/dist/errors.js +0 -154
  153. package/libs/@tencent/polaris/dist/errors.js.map +0 -1
  154. package/libs/@tencent/polaris/dist/global.d.ts +0 -16
  155. package/libs/@tencent/polaris/dist/global.js +0 -18
  156. package/libs/@tencent/polaris/dist/global.js.map +0 -1
  157. package/libs/@tencent/polaris/dist/index.d.ts +0 -62
  158. package/libs/@tencent/polaris/dist/index.js +0 -145
  159. package/libs/@tencent/polaris/dist/index.js.map +0 -1
  160. package/libs/@tencent/polaris/dist/instance.d.ts +0 -109
  161. package/libs/@tencent/polaris/dist/instance.js +0 -38
  162. package/libs/@tencent/polaris/dist/instance.js.map +0 -1
  163. package/libs/@tencent/polaris/dist/limiter/bucket.d.ts +0 -51
  164. package/libs/@tencent/polaris/dist/limiter/bucket.js +0 -152
  165. package/libs/@tencent/polaris/dist/limiter/bucket.js.map +0 -1
  166. package/libs/@tencent/polaris/dist/limiter/index.d.ts +0 -73
  167. package/libs/@tencent/polaris/dist/limiter/index.js +0 -149
  168. package/libs/@tencent/polaris/dist/limiter/index.js.map +0 -1
  169. package/libs/@tencent/polaris/dist/limiter/ratelimit.d.ts +0 -27
  170. package/libs/@tencent/polaris/dist/limiter/ratelimit.js +0 -134
  171. package/libs/@tencent/polaris/dist/limiter/ratelimit.js.map +0 -1
  172. package/libs/@tencent/polaris/dist/limiter/ratelimiter/base.d.ts +0 -17
  173. package/libs/@tencent/polaris/dist/limiter/ratelimiter/base.js +0 -15
  174. package/libs/@tencent/polaris/dist/limiter/ratelimiter/base.js.map +0 -1
  175. package/libs/@tencent/polaris/dist/limiter/ratelimiter/global.d.ts +0 -59
  176. package/libs/@tencent/polaris/dist/limiter/ratelimiter/global.js +0 -397
  177. package/libs/@tencent/polaris/dist/limiter/ratelimiter/global.js.map +0 -1
  178. package/libs/@tencent/polaris/dist/limiter/ratelimiter/index.d.ts +0 -3
  179. package/libs/@tencent/polaris/dist/limiter/ratelimiter/index.js +0 -19
  180. package/libs/@tencent/polaris/dist/limiter/ratelimiter/index.js.map +0 -1
  181. package/libs/@tencent/polaris/dist/limiter/ratelimiter/local.d.ts +0 -17
  182. package/libs/@tencent/polaris/dist/limiter/ratelimiter/local.js +0 -52
  183. package/libs/@tencent/polaris/dist/limiter/ratelimiter/local.js.map +0 -1
  184. package/libs/@tencent/polaris/dist/location.d.ts +0 -48
  185. package/libs/@tencent/polaris/dist/location.js +0 -67
  186. package/libs/@tencent/polaris/dist/location.js.map +0 -1
  187. package/libs/@tencent/polaris/dist/logging.d.ts +0 -106
  188. package/libs/@tencent/polaris/dist/logging.js +0 -130
  189. package/libs/@tencent/polaris/dist/logging.js.map +0 -1
  190. package/libs/@tencent/polaris/dist/metadata.d.ts +0 -78
  191. package/libs/@tencent/polaris/dist/metadata.js +0 -119
  192. package/libs/@tencent/polaris/dist/metadata.js.map +0 -1
  193. package/libs/@tencent/polaris/dist/plugins/breaker/polaris.d.ts +0 -47
  194. package/libs/@tencent/polaris/dist/plugins/breaker/polaris.js +0 -162
  195. package/libs/@tencent/polaris/dist/plugins/breaker/polaris.js.map +0 -1
  196. package/libs/@tencent/polaris/dist/plugins/lb/base.d.ts +0 -24
  197. package/libs/@tencent/polaris/dist/plugins/lb/base.js +0 -32
  198. package/libs/@tencent/polaris/dist/plugins/lb/base.js.map +0 -1
  199. package/libs/@tencent/polaris/dist/plugins/lb/edf.d.ts +0 -24
  200. package/libs/@tencent/polaris/dist/plugins/lb/edf.js +0 -77
  201. package/libs/@tencent/polaris/dist/plugins/lb/edf.js.map +0 -1
  202. package/libs/@tencent/polaris/dist/plugins/lb/hashring.d.ts +0 -24
  203. package/libs/@tencent/polaris/dist/plugins/lb/hashring.js +0 -53
  204. package/libs/@tencent/polaris/dist/plugins/lb/hashring.js.map +0 -1
  205. package/libs/@tencent/polaris/dist/plugins/lb/sticky.d.ts +0 -31
  206. package/libs/@tencent/polaris/dist/plugins/lb/sticky.js +0 -88
  207. package/libs/@tencent/polaris/dist/plugins/lb/sticky.js.map +0 -1
  208. package/libs/@tencent/polaris/dist/plugins/lb/swrr.d.ts +0 -25
  209. package/libs/@tencent/polaris/dist/plugins/lb/swrr.js +0 -72
  210. package/libs/@tencent/polaris/dist/plugins/lb/swrr.js.map +0 -1
  211. package/libs/@tencent/polaris/dist/plugins/lb/wr.d.ts +0 -17
  212. package/libs/@tencent/polaris/dist/plugins/lb/wr.js +0 -50
  213. package/libs/@tencent/polaris/dist/plugins/lb/wr.js.map +0 -1
  214. package/libs/@tencent/polaris/dist/plugins/lb/wrr.d.ts +0 -19
  215. package/libs/@tencent/polaris/dist/plugins/lb/wrr.js +0 -81
  216. package/libs/@tencent/polaris/dist/plugins/lb/wrr.js.map +0 -1
  217. package/libs/@tencent/polaris/dist/plugins/logging/console.d.ts +0 -10
  218. package/libs/@tencent/polaris/dist/plugins/logging/console.js +0 -38
  219. package/libs/@tencent/polaris/dist/plugins/logging/console.js.map +0 -1
  220. package/libs/@tencent/polaris/dist/plugins/naming/local-server/index.d.ts +0 -32
  221. package/libs/@tencent/polaris/dist/plugins/naming/local-server/index.js +0 -88
  222. package/libs/@tencent/polaris/dist/plugins/naming/local-server/index.js.map +0 -1
  223. package/libs/@tencent/polaris/dist/plugins/naming/polaris-server/adapter/base.d.ts +0 -124
  224. package/libs/@tencent/polaris/dist/plugins/naming/polaris-server/adapter/base.js +0 -398
  225. package/libs/@tencent/polaris/dist/plugins/naming/polaris-server/adapter/base.js.map +0 -1
  226. package/libs/@tencent/polaris/dist/plugins/naming/polaris-server/adapter/discover.d.ts +0 -27
  227. package/libs/@tencent/polaris/dist/plugins/naming/polaris-server/adapter/discover.js +0 -287
  228. package/libs/@tencent/polaris/dist/plugins/naming/polaris-server/adapter/discover.js.map +0 -1
  229. package/libs/@tencent/polaris/dist/plugins/naming/polaris-server/adapter/index.d.ts +0 -15
  230. package/libs/@tencent/polaris/dist/plugins/naming/polaris-server/adapter/index.js +0 -43
  231. package/libs/@tencent/polaris/dist/plugins/naming/polaris-server/adapter/index.js.map +0 -1
  232. package/libs/@tencent/polaris/dist/plugins/naming/polaris-server/adapter/monitor.d.ts +0 -28
  233. package/libs/@tencent/polaris/dist/plugins/naming/polaris-server/adapter/monitor.js +0 -249
  234. package/libs/@tencent/polaris/dist/plugins/naming/polaris-server/adapter/monitor.js.map +0 -1
  235. package/libs/@tencent/polaris/dist/plugins/naming/polaris-server/adapter/ratelimit.d.ts +0 -19
  236. package/libs/@tencent/polaris/dist/plugins/naming/polaris-server/adapter/ratelimit.js +0 -222
  237. package/libs/@tencent/polaris/dist/plugins/naming/polaris-server/adapter/ratelimit.js.map +0 -1
  238. package/libs/@tencent/polaris/dist/plugins/naming/polaris-server/connector/grpc/bidi.d.ts +0 -26
  239. package/libs/@tencent/polaris/dist/plugins/naming/polaris-server/connector/grpc/bidi.js +0 -99
  240. package/libs/@tencent/polaris/dist/plugins/naming/polaris-server/connector/grpc/bidi.js.map +0 -1
  241. package/libs/@tencent/polaris/dist/plugins/naming/polaris-server/connector/grpc/index.d.ts +0 -60
  242. package/libs/@tencent/polaris/dist/plugins/naming/polaris-server/connector/grpc/index.js +0 -259
  243. package/libs/@tencent/polaris/dist/plugins/naming/polaris-server/connector/grpc/index.js.map +0 -1
  244. package/libs/@tencent/polaris/dist/plugins/naming/polaris-server/connector/grpc/pb/discover.proto +0 -24
  245. package/libs/@tencent/polaris/dist/plugins/naming/polaris-server/connector/grpc/pb/monitor.proto +0 -18
  246. package/libs/@tencent/polaris/dist/plugins/naming/polaris-server/connector/grpc/pb/ratelimit.proto +0 -12
  247. package/libs/@tencent/polaris/dist/plugins/naming/polaris-server/connector/http/index.d.ts +0 -39
  248. package/libs/@tencent/polaris/dist/plugins/naming/polaris-server/connector/http/index.js +0 -115
  249. package/libs/@tencent/polaris/dist/plugins/naming/polaris-server/connector/http/index.js.map +0 -1
  250. package/libs/@tencent/polaris/dist/plugins/naming/polaris-server/discover-pb/api.proto +0 -24
  251. package/libs/@tencent/polaris/dist/plugins/naming/polaris-server/discover-pb/client.proto +0 -22
  252. package/libs/@tencent/polaris/dist/plugins/naming/polaris-server/discover-pb/model.proto +0 -28
  253. package/libs/@tencent/polaris/dist/plugins/naming/polaris-server/discover-pb/ratelimit.proto +0 -80
  254. package/libs/@tencent/polaris/dist/plugins/naming/polaris-server/discover-pb/request.proto +0 -18
  255. package/libs/@tencent/polaris/dist/plugins/naming/polaris-server/discover-pb/response.proto +0 -65
  256. package/libs/@tencent/polaris/dist/plugins/naming/polaris-server/discover-pb/routing.proto +0 -66
  257. package/libs/@tencent/polaris/dist/plugins/naming/polaris-server/discover-pb/service.proto +0 -95
  258. package/libs/@tencent/polaris/dist/plugins/naming/polaris-server/discover-pb/types.d.ts +0 -1568
  259. package/libs/@tencent/polaris/dist/plugins/naming/polaris-server/index.d.ts +0 -36
  260. package/libs/@tencent/polaris/dist/plugins/naming/polaris-server/index.js +0 -51
  261. package/libs/@tencent/polaris/dist/plugins/naming/polaris-server/index.js.map +0 -1
  262. package/libs/@tencent/polaris/dist/plugins/naming/polaris-server/monitor-pb/api.proto +0 -18
  263. package/libs/@tencent/polaris/dist/plugins/naming/polaris-server/monitor-pb/circuitbreak.proto +0 -67
  264. package/libs/@tencent/polaris/dist/plugins/naming/polaris-server/monitor-pb/request.proto +0 -82
  265. package/libs/@tencent/polaris/dist/plugins/naming/polaris-server/monitor-pb/response.proto +0 -11
  266. package/libs/@tencent/polaris/dist/plugins/naming/polaris-server/monitor-pb/sdkcache.proto +0 -46
  267. package/libs/@tencent/polaris/dist/plugins/naming/polaris-server/monitor-pb/sdkconfiguration.proto +0 -16
  268. package/libs/@tencent/polaris/dist/plugins/naming/polaris-server/monitor-pb/sdktoken.proto +0 -10
  269. package/libs/@tencent/polaris/dist/plugins/naming/polaris-server/monitor-pb/types.d.ts +0 -1102
  270. package/libs/@tencent/polaris/dist/plugins/naming/polaris-server/pool.d.ts +0 -29
  271. package/libs/@tencent/polaris/dist/plugins/naming/polaris-server/pool.js +0 -77
  272. package/libs/@tencent/polaris/dist/plugins/naming/polaris-server/pool.js.map +0 -1
  273. package/libs/@tencent/polaris/dist/plugins/naming/polaris-server/ratelimit-pb/api.proto +0 -12
  274. package/libs/@tencent/polaris/dist/plugins/naming/polaris-server/ratelimit-pb/ratelimit.proto +0 -28
  275. package/libs/@tencent/polaris/dist/plugins/naming/polaris-server/ratelimit-pb/types.d.ts +0 -395
  276. package/libs/@tencent/polaris/dist/plugins/naming/polaris-server/rules.d.ts +0 -13
  277. package/libs/@tencent/polaris/dist/plugins/naming/polaris-server/rules.js +0 -116
  278. package/libs/@tencent/polaris/dist/plugins/naming/polaris-server/rules.js.map +0 -1
  279. package/libs/@tencent/polaris/dist/plugins/naming/polaris-server/types.d.ts +0 -67
  280. package/libs/@tencent/polaris/dist/plugins/naming/polaris-server/types.js +0 -67
  281. package/libs/@tencent/polaris/dist/plugins/naming/polaris-server/types.js.map +0 -1
  282. package/libs/@tencent/polaris/dist/plugins/naming/polaris-server/utils.d.ts +0 -99
  283. package/libs/@tencent/polaris/dist/plugins/naming/polaris-server/utils.js +0 -217
  284. package/libs/@tencent/polaris/dist/plugins/naming/polaris-server/utils.js.map +0 -1
  285. package/libs/@tencent/polaris/dist/plugins/registry/memory.d.ts +0 -10
  286. package/libs/@tencent/polaris/dist/plugins/registry/memory.js +0 -50
  287. package/libs/@tencent/polaris/dist/plugins/registry/memory.js.map +0 -1
  288. package/libs/@tencent/polaris/dist/plugins/router/polaris/nearby.d.ts +0 -51
  289. package/libs/@tencent/polaris/dist/plugins/router/polaris/nearby.js +0 -145
  290. package/libs/@tencent/polaris/dist/plugins/router/polaris/nearby.js.map +0 -1
  291. package/libs/@tencent/polaris/dist/plugins/router/polaris/rule.d.ts +0 -11
  292. package/libs/@tencent/polaris/dist/plugins/router/polaris/rule.js +0 -174
  293. package/libs/@tencent/polaris/dist/plugins/router/polaris/rule.js.map +0 -1
  294. package/libs/@tencent/polaris/dist/plugins/router/trpc/canary.d.ts +0 -25
  295. package/libs/@tencent/polaris/dist/plugins/router/trpc/canary.js +0 -36
  296. package/libs/@tencent/polaris/dist/plugins/router/trpc/canary.js.map +0 -1
  297. package/libs/@tencent/polaris/dist/plugins/router/trpc/env.d.ts +0 -10
  298. package/libs/@tencent/polaris/dist/plugins/router/trpc/env.js +0 -34
  299. package/libs/@tencent/polaris/dist/plugins/router/trpc/env.js.map +0 -1
  300. package/libs/@tencent/polaris/dist/plugins/router/trpc/set.d.ts +0 -56
  301. package/libs/@tencent/polaris/dist/plugins/router/trpc/set.js +0 -106
  302. package/libs/@tencent/polaris/dist/plugins/router/trpc/set.js.map +0 -1
  303. package/libs/@tencent/polaris/dist/plugins/shaping/unirate.d.ts +0 -31
  304. package/libs/@tencent/polaris/dist/plugins/shaping/unirate.js +0 -124
  305. package/libs/@tencent/polaris/dist/plugins/shaping/unirate.js.map +0 -1
  306. package/libs/@tencent/polaris/dist/plugins/shaping/warmup.d.ts +0 -61
  307. package/libs/@tencent/polaris/dist/plugins/shaping/warmup.js +0 -171
  308. package/libs/@tencent/polaris/dist/plugins/shaping/warmup.js.map +0 -1
  309. package/libs/@tencent/polaris/dist/plugins/weight/polaris.d.ts +0 -23
  310. package/libs/@tencent/polaris/dist/plugins/weight/polaris.js +0 -159
  311. package/libs/@tencent/polaris/dist/plugins/weight/polaris.js.map +0 -1
  312. package/libs/@tencent/polaris/dist/plugins.d.ts +0 -619
  313. package/libs/@tencent/polaris/dist/plugins.js +0 -91
  314. package/libs/@tencent/polaris/dist/plugins.js.map +0 -1
  315. package/libs/@tencent/polaris/dist/polaris.d.ts +0 -33
  316. package/libs/@tencent/polaris/dist/polaris.js +0 -59
  317. package/libs/@tencent/polaris/dist/polaris.js.map +0 -1
  318. package/libs/@tencent/polaris/dist/provider/index.d.ts +0 -102
  319. package/libs/@tencent/polaris/dist/provider/index.js +0 -168
  320. package/libs/@tencent/polaris/dist/provider/index.js.map +0 -1
  321. package/libs/@tencent/polaris/dist/registry.d.ts +0 -174
  322. package/libs/@tencent/polaris/dist/registry.js +0 -660
  323. package/libs/@tencent/polaris/dist/registry.js.map +0 -1
  324. package/libs/@tencent/polaris/dist/rules.d.ts +0 -163
  325. package/libs/@tencent/polaris/dist/rules.js +0 -24
  326. package/libs/@tencent/polaris/dist/rules.js.map +0 -1
  327. package/libs/@tencent/polaris/dist/scripts/postinstall.d.ts +0 -1
  328. package/libs/@tencent/polaris/dist/scripts/postinstall.js +0 -71
  329. package/libs/@tencent/polaris/dist/scripts/postinstall.js.map +0 -1
  330. package/libs/@tencent/polaris/dist/service.d.ts +0 -18
  331. package/libs/@tencent/polaris/dist/service.js +0 -3
  332. package/libs/@tencent/polaris/dist/service.js.map +0 -1
  333. package/libs/@tencent/polaris/dist/skeleton.d.ts +0 -87
  334. package/libs/@tencent/polaris/dist/skeleton.js +0 -282
  335. package/libs/@tencent/polaris/dist/skeleton.js.map +0 -1
  336. package/libs/@tencent/polaris/dist/utils.d.ts +0 -36
  337. package/libs/@tencent/polaris/dist/utils.js +0 -74
  338. package/libs/@tencent/polaris/dist/utils.js.map +0 -1
  339. package/libs/@tencent/polaris/dist/weak.d.ts +0 -11
  340. package/libs/@tencent/polaris/dist/weak.js +0 -44
  341. package/libs/@tencent/polaris/dist/weak.js.map +0 -1
  342. package/libs/@tencent/polaris/package.json +0 -114
  343. package/resource/doc/chatuikit/faq/web_qa.md +0 -118
  344. package/tools/call/get-call-faq.js +0 -29
  345. package/tools/call/get-call-faq.js.map +0 -1
  346. package/tools/chat/create-group.js.map +0 -1
  347. package/tools/chat/get-chat-faq.js +0 -29
  348. package/tools/chat/get-chat-faq.js.map +0 -1
  349. /package/resource/doc/chatuikit/{faq/sdk_qa.md → android/faq.md} +0 -0
  350. /package/{libs/@tencent/aegis-node-sdk/lib/packages/core/src/polyfill.d.ts → resource/doc/livekit/vue/faq.md} +0 -0
  351. /package/resource/doc/{chatuikit/faq/vue_qa.md → roomkit/vue/faq.md} +0 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tencentcloud/sdk-mcp",
3
- "version": "1.2.6",
3
+ "version": "1.2.8",
4
4
  "description": "Tencent Cloud MCP Server for SDK",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -0,0 +1,74 @@
1
+ ---
2
+ product: 'Chat'
3
+ tech_stack: 'server'
4
+ framework: 'common'
5
+ title: '服务端错误码大全'
6
+ keywords: ['错误码', '报错', '登录失败', '70001']
7
+ ---
8
+
9
+ # 服务端错误码大全
10
+
11
+ ## 服务端错误码 (Topic: Server)
12
+
13
+ ## 错误码 70001
14
+ **原因:** userSig 已过期。
15
+ **解决方案:** 请重新生成。建议 userSig 有效期设置不小于24小时。
16
+
17
+ ## 错误码 70003
18
+ **原因:** userSig 非法。
19
+ **解决方案:** 请重新生成,生成方式可参考官网文档:https://cloud.tencent.com/document/product/269/32688。
20
+
21
+ ## 错误码 70009
22
+ **原因:** userSig 验证失败,怀疑 UserSig 是用其他 SDKAppID 的密钥或私钥生成的。
23
+ **解决方案:** 请检查请求的 SDKAppID 和生成 UserSig 的密钥或私钥是否一致。
24
+
25
+ ## 错误码 70013
26
+ **原因:** 请求中的 userID 与生成 userSig 时使用的 userID 不一致。
27
+ **解决方案:** 建议检查一下您登录 im 的 userID 和 生成 userSig 的 userID 是否一致。
28
+
29
+ ## 错误码 70014
30
+ **原因:** 请求中的 SDKAppID 与生成 UserSig 时使用的 SDKAppID 不一致。
31
+ **解决方案:** 您可以使用【即时通信 IM 控制台 > 开发工具 > UserSig生成&校验】(https://console.cloud.tencent.com/im/tool-usersig)校验 UserSig。
32
+
33
+ ## 错误码 20003
34
+ **原因:** 消息发送方或接收方 userID 无效或不存在。
35
+ **解决方案:** 请确认一下您使用的 userID 是否已经在您使用的 sdkappid 下登录过即时通信 IM。
36
+
37
+ ## 错误码 20009
38
+ **原因:** 收发双方非好友,禁止发送。
39
+ **解决方案:** 消息发送双方互相不是好友,禁止发送(配置单聊消息校验好友关系才会出现),如果需要给非好友发送消息,需要在控制台进行配置,或者先加对方为好友。
40
+
41
+ ## 错误码 20010
42
+ **原因:** 发送方不是接收方好友,禁止发送。
43
+ **解决方案:** 发送单聊消息,自己不是对方的好友(单向关系),禁止发送。
44
+
45
+ ## 错误码 3122
46
+ **原因:** 您当前购买使用的套餐包暂未不支持此功能。
47
+ **解决方案:** 您可以升级到套餐为【旗舰版】(https://buy.cloud.tencent.com/avc)。
48
+
49
+ ## 错误码 60020
50
+ **原因:** 您当前购买使用的套餐包暂未开通云端搜索功能。
51
+ **解决方案:** 您可以开通【云端搜索】(https://cloud.tencent.com/document/product/269/101046)
52
+
53
+ ## 错误码 60018
54
+ **原因:** 云端搜索请求超过后台频率限制,单用户一秒内允许2次搜索请求。
55
+ **解决方案:** 请调整请求频率,稍后再试。
56
+
57
+ ## 错误码 80004
58
+ **原因:** 消息或者资料中文本存在敏感内容。
59
+ **解决方案:** 请检查消息或者资料中是否存在敏感信息。
60
+
61
+ ## 错误码 10021
62
+ **原因:** 群组 ID 已被使用。
63
+ **解决方案:** 请选择其他的群组 ID。
64
+
65
+ ## 错误码 10007
66
+ **原因:** 常见的原因有:
67
+ - 操作的群默认不支持此操作,请检查当前群类型。
68
+ - 操作账号的权限不够(例如封禁操作中,管理员可以封禁普通成员但不能封禁群主)。
69
+ - 调用 RestAPI 的账号不是 SDKAppID 的管理员账号。
70
+ **解决方案:** 请检查群组类型或者群成员角色,如果是 restapi 调用报错,请检查账号是不是对应 sdkappid 的管理员账号。
71
+
72
+ ## 错误码 60010
73
+ **原因:** 请求需要 App 管理员权限。
74
+ **解决方案:** 请检查请求的账号是否为 sdkappid 的管理员。
@@ -34,8 +34,9 @@
34
34
 
35
35
  - [群组系统有哪些基本能力?](https://cloud.tencent.com/document/product/269/1502)
36
36
 
37
+ - [消息回应怎么实现](https://cloud.tencent.com/document/product/269/96241)
37
38
 
38
- 更多问题,请参见 [消息相关问题](https://cloud.tencent.com/document/product/269/32486) 和 [群组相关问题](https://cloud.tencent.com/document/product/269/32487)。
39
+ 更多问题,请参见 [消息相关问题](https://cloud.tencent.com/document/product/269/32486) 和 [群组相关问题](https://cloud.tencent.com/document/product/269/32487)。
39
40
 
40
41
 
41
42
  ## 推送相关
@@ -0,0 +1,47 @@
1
+ ---
2
+ product: 'Chat'
3
+ tech_stack: 'web_js_sdk'
4
+ framework: 'sdk'
5
+ title: 'web js sdk 错误码大全'
6
+ keywords: ['错误码', '报错', '登录失败']
7
+ ---
8
+
9
+ # Web JS SDK 错误码大全
10
+
11
+ ## Web JS SDK 错误码 (Topic: SDK Error Code)
12
+
13
+ ## 错误码 2024
14
+ **原因:** 用户未登录。
15
+ **解决方案:** 检查是否正确调用了登录接口。
16
+
17
+ ## 错误码 2025
18
+ **原因:** 重复登录,15s 内连续触发了多次 login 请求,SDK 会进行拦截。
19
+ **解决方案:** 检查调用登录接口的时机和触发机制。
20
+
21
+ ## 错误码 2301
22
+ **原因:** 语音大小超出了限制。
23
+ **解决方案:** 发送语音,最大限制是 20MB。
24
+
25
+ ## 错误码 2252
26
+ **原因:** 图片消息发送失败,无效的图片格式。
27
+ **解决方案:** 图片格式支持:'jpg', 'jpeg', 'gif', 'png', 'bmp', 'image', 'webp'。
28
+
29
+ ## 错误码 2253
30
+ **原因:** 图片大小超出了限制。
31
+ **解决方案:** 发送图片消息,最大限制是 20MB。
32
+
33
+ ## 错误码 2351
34
+ **原因:** 视频大小超出了限制。
35
+ **解决方案:** 发送视频消息,最大限制是 100MB。
36
+
37
+ ## 错误码 2352
38
+ **原因:** 视频消息发送失败,无效的视频格式。
39
+ **解决方案:** 图片格式支持:'mp4', 'quicktime', 'mov'。
40
+
41
+ ## 错误码 2401
42
+ **原因:** 文件不存在。
43
+ **解决方案:** 请检查文件路径是否正确。
44
+
45
+ ## 错误码 2402
46
+ **原因:** 文件大小超出了限制。
47
+ **解决方案:** 发送文件消息,最大限制是 100MB。
@@ -0,0 +1,115 @@
1
+ ---
2
+ product: 'Chat'
3
+ tech_stack: 'web_js_sdk'
4
+ framework: 'sdk'
5
+ title: 'web js sdk 常见问题'
6
+ keywords: ['sdk 集成', '登录 API', '创建群组']
7
+ ---
8
+
9
+ # Web js SDK 常见问题
10
+
11
+ ## 重要提醒
12
+ **SDK 版本说明:**
13
+ - v2:`tim-js-sdk` 和 `tim-wx-sdk`
14
+ - v3: `@tencentcloud/chat`
15
+ - v4: `@tencentcloud/lite-chat`
16
+ 如果需要输出示例代码,必须使用最新版本 `@tencentcloud/lite-chat` 进行展示
17
+
18
+ ## Web JS SDK 常见问题解决方案 (Topic: SDK FAQ)
19
+
20
+ ### Q: chat SDK v3 怎么升级 v4 版本?
21
+ **A:** v4 [集成指引](https://web.sdk.qcloud.com/im/doc/v3/zh-cn/tutorial-03-integration-v4.html),具体操作如下:
22
+ 安装 v4 SDK
23
+ ```bash
24
+ npm install @tencentcloud/lite-chat --save
25
+ ```
26
+ 更新代码中引用 v3 SDK 的逻辑,把 `import TencentCloudChat from '@tencentcloud/chat';` 更新为 `import TencentCloudChat from '@tencentcloud/lite-chat';`。
27
+
28
+ ### Q: chat restapi 发送流式消息(https://cloud.tencent.com/document/product/269/104537), 怎么通过 SDK 接收流式消息?
29
+ **A:** SDK 通过消息接收事件[TencentCloudChat.EVENT.MESSAGE_RECEIVED](https://web.sdk.qcloud.com/im/doc/v3/zh-cn/module-EVENT.html#.MESSAGE_RECEIVED)和消息修改事件[TencentCloudChat.EVENT.MESSAGE_MODIFIED](https://web.sdk.qcloud.com/im/doc/v3/zh-cn/module-EVENT.html#.MESSAGE_MODIFIED)来处理,restapi 发送第一个片段时 SDK 通过消息接收事件通知接入侧,后续通过消息修改事件通知接入侧。
30
+
31
+ ### Q: SDK 登录失败是什么问题?
32
+ **A:** 请提供报错信息或错误码。
33
+
34
+ ### Q: 为什么调用 off 接口取消监听事件后,仍然能监听到 SDK 派发的事件?
35
+ **A:** 对于同一个事件,如 [TencentCloudChat.EVENT.MESSAGE_RECEIVED](https://web.sdk.qcloud.com/im/doc/v3/zh-cn/module-EVENT.html#.MESSAGE_RECEIVED),调用 [on](https://web.sdk.qcloud.com/im/doc/v3/zh-cn/SDK.html#on) 接口监听事件和调用 [off](https://web.sdk.qcloud.com/im/doc/v3/zh-cn/SDK.html#off) 接口取消监听事件,handler 参数应当指向同一个 function 。按照推荐的写法绑定事件写法如下:
36
+
37
+ ``` typescript
38
+ // 推荐写法
39
+ tim.on(TencentCloudChat.EVENT.MESSAGE_RECEIVED, onMessageReceived, this);
40
+ tim.off(TencentCloudChat.EVENT.MESSAGE_RECEIVED, onMessageReceived);
41
+
42
+ // 注意!以下代码有 bug,无法取消监听 TencentCloudChat.EVENT.MESSAGE_RECEIVED,因为 bind() 方法每次会返回一个新的函数
43
+ tim.on(TencentCloudChat.EVENT.MESSAGE_RECEIVED, this.onMessageReceived.bind(this));
44
+ tim.off(TencentCloudChat.EVENT.MESSAGE_RECEIVED, this.onMessageReceived.bind(this));
45
+ ```
46
+
47
+ ### Q: 调用 logout 接口,SDK 会自动取消监听接入侧通过调用 on 接口已监听的事件吗?
48
+ **A:** 不会。取消监听事件,需接入侧主动调用 [off](https://web.sdk.qcloud.com/im/doc/v3/zh-cn/SDK.html#off) 接口。
49
+
50
+ ### Q: 登录成功后不能发送消息,提示接口调用时机不合理?
51
+ **A:** SDK 的 API 需要在监听到 SDK ready 后才能调用,监听事件 [TencentCloudChat.EVENT.SDK_READY](https://web.sdk.qcloud.com/im/doc/v3/zh-cn/module-EVENT.html#.SDK_READY),待 SDK ready 后再调用发送消息等需要鉴权的接口。
52
+
53
+ ### Q: 我想在音视频聊天室实现点赞,送鲜花的功能,请问该怎么办?
54
+ **A:** 通过 [createCustomMessage](https://web.sdk.qcloud.com/im/doc/v3/zh-cn/SDK.html#createCustomMessage) 和 [sendMessage](https://web.sdk.qcloud.com/im/doc/v3/zh-cn/SDK.html#sendMessage) 接口实现。
55
+
56
+ ### Q: Web IM SDK v2.x/v3.x/v4.x 如何兼容 REST API 或 旧版 IM 发送的组合消息?
57
+ **A:** 组合消息的内容存储在 Message 实例的 _elements 属性,接入侧需自主解析,解析请参见 [消息格式](https://cloud.tencent.com/document/product/269/2720)。
58
+ 非组合消息,请使用推荐做法:使用 [Message](https://web.sdk.qcloud.com/im/doc/v3/zh-cn/Message.html) 实例的 type 和 payload 属性。
59
+
60
+ ### Q: 为什么 Web IM SDK 调用 sendMessage 发消息成功后,未收到 TencentCloudChat.EVENT.MESSAGE_RECEIVED 事件?
61
+ **A:** 自己发送的消息不会通过 `TencentCloudChat.EVENT.MESSAGE_RECEIVED` 通知给业务侧。[sendMessage](https://web.sdk.qcloud.com/im/doc/v3/zh-cn/SDK.html#sendMessage) 接口返回 `Promise`,接入侧通过 `Promise.then` 或 `Promise.catch` 处理发送消息成功或失败后的业务逻辑。
62
+
63
+ ### Q: 通过 getMessageList 拉取到的消息列表和通过监听 TencentCloudChat.EVENT.MESSAGE_RECEIVED 事件收到的消息合并后,发现有时会消息乱序,为什么?
64
+ **A:** 接入侧维护会话的消息列表时,请注意保证消息入列的顺序正确,若消息列表从旧到新排列,则通过 [getMessageList](https://web.sdk.qcloud.com/im/doc/v3/zh-cn/SDK.html#getMessageList) 拉取到的历史消息应该从头部入列,通过监听 [TencentCloudChat.EVENT.MESSAGE_RECEIVED](https://web.sdk.qcloud.com/im/doc/v3/zh-cn/module-EVENT.html#.MESSAGE_RECEIVED) 事件收到的实时消息应该从尾部入列。
65
+
66
+ ### Q: 调用 createGroup 接口创建直播群后,收不到消息?
67
+ **A:** 直播群需要业务侧主动加群,启动长轮询消息通道。调用 [createGroup](https://web.sdk.qcloud.com/im/doc/v3/zh-cn/SDK.html#createGroup) 接口创建直播群后,需调用 [joinGroup](https://web.sdk.qcloud.com/im/doc/v3/zh-cn/SDK.html#joinGroup) 接口加入群组,才能进行消息收发流程。
68
+ ``` typescript
69
+ let promise = tim.joinGroup({ groupID: 'group1' });
70
+ promise.then(function(imResponse) {
71
+ switch (imResponse.data.status) {
72
+ case TencentCloudChat.TYPES.JOIN_STATUS_WAIT_APPROVAL:
73
+ break;
74
+ case TencentCloudChat.TYPES.JOIN_STATUS_SUCCESS:
75
+ console.log(imResponse.data.group); // 加入的群组资料
76
+ break;
77
+ case TencentCloudChat.TYPES.JOIN_STATUS_ALREADY_IN_GROUP:
78
+ break;
79
+ default:
80
+ break;
81
+ }
82
+ }).catch(function(imError){
83
+ console.warn('joinGroup error:', imError);
84
+ });
85
+ ```
86
+
87
+ ### Q: 直播群怎么没有未读消息计数?为什么拉取不到历史消息?
88
+ **A:** 已定的产品策略:直播群不支持未读消息计数,也不支持查看入群前历史消息,详细请参见 [群组系统](https://cloud.tencent.com/document/product/269/1502)。旗舰版或企业版支持直播群新成员查看入群前历史消息(SDK 请升级到v2.16.0或更高版本)。
89
+
90
+ ### Q: 可以同时加入两个或多个直播群吗?
91
+ **A:** 不可以,同一用户同时只能加入一个直播群,同时加入多个直播群会启动多个长轮询消息通道,对 web/H5 或者小程序的性能消耗比较大。
92
+
93
+ ### Q: SDK 怎么实现消息回应?
94
+ **A:** SDK 支持消息回应能力,您需要购买旗舰版或企业版套餐,具体实现 API 可参考官方文档:https://cloud.tencent.com/document/product/269/98758。
95
+
96
+ ### Q: 单聊消息怎么标记已读?
97
+ **A:** 如果您需要标记单聊消息已读同时清空会话未读数,可以使用 [setMessageRead](https://cloud.tencent.com/document/product/269/75373)。
98
+
99
+ ### Q: 群聊消息怎么清空未读数?
100
+ **A:** 如果您需要清空群聊会话未读数,可以使用 [setMessageRead](https://cloud.tencent.com/document/product/269/75373)。
101
+
102
+ ### Q: 单聊和群聊消息怎么实现单条消息已读?
103
+ **A:** 如果您需要实现单条消息已读功能,需要使用消息已读回执能力。 如何开启已读回执、如何发送已读回执等详细信息可以参考: https://cloud.tencent.com/document/product/269/75344。
104
+
105
+ ### Q: Web SDK 怎么发送图片消息?
106
+ **A:** 可以使用 [createImageMessage](https://cloud.tencent.com/document/product/269/75316#.E5.88.9B.E5.BB.BA.E5.9B.BE.E7.89.87.E6.B6.88.E6.81.AF) 创建图片消息实例,然后使用 [sendMessage](https://cloud.tencent.com/document/product/269/75316#.E5.8F.91.E9.80.81.E6.B6.88.E6.81.AF) 发送图片消息。
107
+
108
+ ### Q: Web SDK 怎么发送视频消息?
109
+ **A:** 可以使用 [createVideoMessage](https://cloud.tencent.com/document/product/269/75316#.E5.88.9B.E5.BB.BA.E8.A7.86.E9.A2.91.E6.B6.88.E6.81.AF) 创建视频消息实例,然后使用 [sendMessage](https://cloud.tencent.com/document/product/269/75316#.E5.8F.91.E9.80.81.E6.B6.88.E6.81.AF) 发送视频消息。
110
+
111
+ ### Q: Web SDK 怎么发送语音消息?
112
+ **A:** 可以使用 [createAudioMessage](https://cloud.tencent.com/document/product/269/75316#.E5.88.9B.E5.BB.BA.E9.9F.B3.E9.A2.91.E6.B6.88.E6.81.AF) 创建语音消息实例,然后使用 [sendMessage](https://cloud.tencent.com/document/product/269/75316#.E5.8F.91.E9.80.81.E6.B6.88.E6.81.AF) 发送语音消息。
113
+
114
+ ### Q: Web SDK 怎么发送文件消息?
115
+ **A:** 可以使用 [createFileMessage](https://cloud.tencent.com/document/product/269/75316#.E5.88.9B.E5.BB.BA.E6.96.87.E4.BB.B6.E6.B6.88.E6.81.AF) 创建文件消息实例,然后使用 [sendMessage](https://cloud.tencent.com/document/product/269/75316#.E5.8F.91.E9.80.81.E6.B6.88.E6.81.AF) 发送文件消息。
@@ -0,0 +1,117 @@
1
+ ### TUIKit 源码是否支持 Androidx?
2
+
3
+ TUIKit 最新源码已经支持 Androidx。
4
+
5
+ ### 登录报错 6012 或 TLSSDK exchange ticket fail ?
6
+
7
+ 如果您当前是即时通信 IM 体验版,需要升级为专业版,升级后可正常登录,可以到 [即时通信 IM 购买页面](https://buy.cloud.tencent.com/avc) 进行购买升级,详细价格说明请参阅 [产品价格](https://cloud.tencent.com/document/product/269/11673)。
8
+
9
+ ### 出现 6013 SDK 未初始化错误?
10
+
11
+ 如果出现 6013 SDK 未初始化错误,您可以尝试以下方式排查:
12
+ 1. 查看是否没有登录成功就进行收发消息等其他操作;
13
+
14
+ 2. 查看是否登录时被其它终端踢掉,IM SDK 默认一个账号仅能在一个终端上登录。处理方式请参考 [多终端同时登录](https://cloud.tencent.com/document/product/269/3665#.E5.A4.9A.E7.AB.AF.E7.99.BB.E5.BD.95) 文档;
15
+
16
+ 3. Android 请关注库文件是否未能全部加载,或是使用过程中被系统回收。
17
+
18
+
19
+ ### code: 6205 desc: QALSERVICE not ready?
20
+
21
+ 在初始化后调用了 `stopQALService` 导致此错误,可以参考客户分享的 [配置方法](https://blog.csdn.net/qq_16131393/article/details/54895733)。
22
+
23
+ ### 发送表情,消息列表显示为空、或者乱码?
24
+
25
+ 即时通信 IM 不提供表情包,具体的解析需要自己对齐。
26
+ 表情使用方式有两种方式:
27
+ - 一种是使用 TIMFaceElem 中的 index,标识表情的索引,例如 Android 和 iOS 两端都有同一套表情图,索引2为笑脸,index=2 就表示笑脸,两端发送和接收都显示同一张索引表情图片即可。
28
+
29
+ - 另一种是使用 TIMFaceElem 中的 data,例如表情图片是由字符串命名,smile 表示笑脸,可在 data 中存储 smile,iOS 和 Android 两端都通过 data 作为 key 找到对应表情图片进行显示。
30
+
31
+
32
+ 另外也可以两个字段都使用,如 data 表示哪一套表情,index 表示这套表情的哪个索引,可以实现类似 QQ 的多种不同表情效果。甚至可以在 data 数据中存储更为复杂的数据结构,只要多端解析规则一致即可。
33
+
34
+
35
+ ### 有时进行操作时返回错误码:10002?
36
+
37
+ 在需要进行服务端验证的操作时,如果网络异常、超时或者票据切换失败,就会返回此状态码,遇到此状态码时稍后重试即可。
38
+
39
+ ### 收发消息时,收到错误码 6200 或 6201?
40
+
41
+ 返回此状态码时,是客户端在网络离线、超时或无网络访问时出现,6200 的定义为请求时没有网络,6201 的定义为响应时没有网络,遇到此状态码时,请检查网络或等待网络恢复后重试。
42
+
43
+ ### 收发消息时返回错误码:20003?
44
+
45
+ 请检查用户账号(UserID)是否已在腾讯云导入,当 UserID 无效或 UserID 未导入腾讯即时通信 IM 时,会返回此错误码。
46
+
47
+ ### 语音消息播放语音时返回错误码:6010?
48
+
49
+ 通常情况是语音消息超过了漫游保存有效期,请求失败导致,可 [延长漫游消息时间](https://cloud.tencent.com/document/product/269/38656#.E5.8E.86.E5.8F.B2.E6.B6.88.E6.81.AF.E5.AD.98.E5.82.A8.E6.97.B6.E9.95.BF.E9.85.8D.E7.BD.AE) 或获取语音文件到本地播放(已过期的文件无法恢复)。但不同版本的 SDK 支持延长历史消息存储时长的消息类型不同,详情请参见 [消息存储](https://cloud.tencent.com/document/product/269/3571#MsgType)。
50
+
51
+ ### 账号鉴权时返回错误码 70001 或 70003 或 70009 或 70013?
52
+
53
+ 这些状态码对应的原因是 UserID 与 UserSig 不匹配,请检查 UserID 及 UserSig 的有效性。其中,70001 定义为 UserSig 已过期,70003 定义为 UserSig 被截断导致校验失败,70009 定义为 UserSig 验证失败(可能是因为生成 UserSig 时混用了其他 SDKAppID 的密钥或私钥导致),70013 定义为 UserID 不匹配。
54
+
55
+ ### Web 端使用 IM SDK 时返回错误码-2或-5?
56
+ - -2:Web 端请求服务器失败,通常为网络问题,Web 端使用 HTTP Long Polling 方式向服务端请求,网络存在问题时会返回此状态码,请检查网络或重试。
57
+
58
+ - -5:登录操作未完成,SDK 未获取到服务器返回的 a2key 和 tinyID 时,直接调用其它接口会出现“tinyid或a2为空”的错误提示信息和-5的错误码。
59
+
60
+
61
+ ### 在 armeabi 平台上 SDK 报"java.lang.UnsatisfiedLinkError: No implementation found for"错误该如何处理?
62
+
63
+ 拷贝 imsdk 的 aar 里面的 jni/armeabi-v7a/libImSDK.so 到源码工程的 src/main/jniLibs/armeabi 目录里,并在 build.gradle 中加载即可。
64
+
65
+ ### 上架 App Store 时,出现 x86_64, i386 架构错误该如何解决?
66
+
67
+ 该问题是由于 App Store 不支持 x86_64, i386 架构引起的,具体解决方法如下:
68
+ 1. 清空项目编译缓存:
69
+ 选择**Product**>**clean**,按住Alt变成 clean build Folder...,等待操作完成。
70
+
71
+ 2. 剔除 App Store 不支持的 x86_64 和 i386 架构:
72
+ a. 选择**TARGETS**>**Build Phases**。
73
+ b. 单击加号,选择**New Run Script Phase**。
74
+ c. 添加如下代码:
75
+
76
+ ``` bash
77
+ APP_PATH="${TARGET_BUILD_DIR}/${WRAPPER_NAME}"
78
+
79
+ # This script loops through the frameworks embedded in the application and
80
+
81
+ # removes unused architectures.
82
+
83
+ find "$APP_PATH" -name '*.framework' -type d | while read -r FRAMEWORK
84
+ do
85
+ FRAMEWORK_EXECUTABLE_NAME=$(defaults read "$FRAMEWORK/Info.plist" CFBundleExecutable)
86
+ FRAMEWORK_EXECUTABLE_PATH="$FRAMEWORK/$FRAMEWORK_EXECUTABLE_NAME"
87
+ echo "Executable is $FRAMEWORK_EXECUTABLE_PATH"
88
+
89
+ EXTRACTED_ARCHS=()
90
+
91
+ for ARCH in $ARCHS
92
+ do
93
+ echo "Extracting $ARCH from $FRAMEWORK_EXECUTABLE_NAME"
94
+ lipo -extract "$ARCH" "$FRAMEWORK_EXECUTABLE_PATH" -o "$FRAMEWORK_EXECUTABLE_PATH-$ARCH"
95
+ EXTRACTED_ARCHS+=("$FRAMEWORK_EXECUTABLE_PATH-$ARCH")
96
+ done
97
+
98
+ echo "Merging extracted architectures: ${ARCHS}"
99
+ lipo -o "$FRAMEWORK_EXECUTABLE_PATH-merged" -create "${EXTRACTED_ARCHS[@]}"
100
+ rm "${EXTRACTED_ARCHS[@]}"
101
+
102
+ echo "Replacing original executable with thinned version"
103
+ rm "$FRAMEWORK_EXECUTABLE_PATH"
104
+ mv "$FRAMEWORK_EXECUTABLE_PATH-merged" "$FRAMEWORK_EXECUTABLE_PATH"
105
+
106
+ done
107
+ ```
108
+ ![](https://write-document-release-1258344699.cos.ap-guangzhou.tencentcos.cn/100025598411/f7592364ceda11edb580525400088f3a.png)
109
+
110
+ 3. 重新打包上传。
111
+
112
+
113
+ ### IM 各端 Demo/TUIKit 工程中演示用的表情包,开发者是否可以直接使用?
114
+
115
+ 为了尊重版权,IM Demo/TUIKit 工程中默认不包含大表情元素切图。在正式上线商用前,请您替换为自己设计或拥有版权的其他表情包。请注意,下图所示的**默认小黄脸表情包版权属于腾讯云**,您可以通过升级至 [IM 企业版套餐](https://buy.cloud.tencent.com/avc) 免费使用该表情包。
116
+
117
+ ![](https://write-document-release-1258344699.cos.ap-guangzhou.tencentcos.cn/100027937867/7e1754a0391611ef9c9c525400d5f8ef.png)
@@ -0,0 +1,117 @@
1
+ ### TUIKit 源码是否支持 Androidx?
2
+
3
+ TUIKit 最新源码已经支持 Androidx。
4
+
5
+ ### 登录报错 6012 或 TLSSDK exchange ticket fail ?
6
+
7
+ 如果您当前是即时通信 IM 体验版,需要升级为专业版,升级后可正常登录,可以到 [即时通信 IM 购买页面](https://buy.cloud.tencent.com/avc) 进行购买升级,详细价格说明请参阅 [产品价格](https://cloud.tencent.com/document/product/269/11673)。
8
+
9
+ ### 出现 6013 SDK 未初始化错误?
10
+
11
+ 如果出现 6013 SDK 未初始化错误,您可以尝试以下方式排查:
12
+ 1. 查看是否没有登录成功就进行收发消息等其他操作;
13
+
14
+ 2. 查看是否登录时被其它终端踢掉,IM SDK 默认一个账号仅能在一个终端上登录。处理方式请参考 [多终端同时登录](https://cloud.tencent.com/document/product/269/3665#.E5.A4.9A.E7.AB.AF.E7.99.BB.E5.BD.95) 文档;
15
+
16
+ 3. Android 请关注库文件是否未能全部加载,或是使用过程中被系统回收。
17
+
18
+
19
+ ### code: 6205 desc: QALSERVICE not ready?
20
+
21
+ 在初始化后调用了 `stopQALService` 导致此错误,可以参考客户分享的 [配置方法](https://blog.csdn.net/qq_16131393/article/details/54895733)。
22
+
23
+ ### 发送表情,消息列表显示为空、或者乱码?
24
+
25
+ 即时通信 IM 不提供表情包,具体的解析需要自己对齐。
26
+ 表情使用方式有两种方式:
27
+ - 一种是使用 TIMFaceElem 中的 index,标识表情的索引,例如 Android 和 iOS 两端都有同一套表情图,索引2为笑脸,index=2 就表示笑脸,两端发送和接收都显示同一张索引表情图片即可。
28
+
29
+ - 另一种是使用 TIMFaceElem 中的 data,例如表情图片是由字符串命名,smile 表示笑脸,可在 data 中存储 smile,iOS 和 Android 两端都通过 data 作为 key 找到对应表情图片进行显示。
30
+
31
+
32
+ 另外也可以两个字段都使用,如 data 表示哪一套表情,index 表示这套表情的哪个索引,可以实现类似 QQ 的多种不同表情效果。甚至可以在 data 数据中存储更为复杂的数据结构,只要多端解析规则一致即可。
33
+
34
+
35
+ ### 有时进行操作时返回错误码:10002?
36
+
37
+ 在需要进行服务端验证的操作时,如果网络异常、超时或者票据切换失败,就会返回此状态码,遇到此状态码时稍后重试即可。
38
+
39
+ ### 收发消息时,收到错误码 6200 或 6201?
40
+
41
+ 返回此状态码时,是客户端在网络离线、超时或无网络访问时出现,6200 的定义为请求时没有网络,6201 的定义为响应时没有网络,遇到此状态码时,请检查网络或等待网络恢复后重试。
42
+
43
+ ### 收发消息时返回错误码:20003?
44
+
45
+ 请检查用户账号(UserID)是否已在腾讯云导入,当 UserID 无效或 UserID 未导入腾讯即时通信 IM 时,会返回此错误码。
46
+
47
+ ### 语音消息播放语音时返回错误码:6010?
48
+
49
+ 通常情况是语音消息超过了漫游保存有效期,请求失败导致,可 [延长漫游消息时间](https://cloud.tencent.com/document/product/269/38656#.E5.8E.86.E5.8F.B2.E6.B6.88.E6.81.AF.E5.AD.98.E5.82.A8.E6.97.B6.E9.95.BF.E9.85.8D.E7.BD.AE) 或获取语音文件到本地播放(已过期的文件无法恢复)。但不同版本的 SDK 支持延长历史消息存储时长的消息类型不同,详情请参见 [消息存储](https://cloud.tencent.com/document/product/269/3571#MsgType)。
50
+
51
+ ### 账号鉴权时返回错误码 70001 或 70003 或 70009 或 70013?
52
+
53
+ 这些状态码对应的原因是 UserID 与 UserSig 不匹配,请检查 UserID 及 UserSig 的有效性。其中,70001 定义为 UserSig 已过期,70003 定义为 UserSig 被截断导致校验失败,70009 定义为 UserSig 验证失败(可能是因为生成 UserSig 时混用了其他 SDKAppID 的密钥或私钥导致),70013 定义为 UserID 不匹配。
54
+
55
+ ### Web 端使用 IM SDK 时返回错误码-2或-5?
56
+ - -2:Web 端请求服务器失败,通常为网络问题,Web 端使用 HTTP Long Polling 方式向服务端请求,网络存在问题时会返回此状态码,请检查网络或重试。
57
+
58
+ - -5:登录操作未完成,SDK 未获取到服务器返回的 a2key 和 tinyID 时,直接调用其它接口会出现“tinyid或a2为空”的错误提示信息和-5的错误码。
59
+
60
+
61
+ ### 在 armeabi 平台上 SDK 报"java.lang.UnsatisfiedLinkError: No implementation found for"错误该如何处理?
62
+
63
+ 拷贝 imsdk 的 aar 里面的 jni/armeabi-v7a/libImSDK.so 到源码工程的 src/main/jniLibs/armeabi 目录里,并在 build.gradle 中加载即可。
64
+
65
+ ### 上架 App Store 时,出现 x86_64, i386 架构错误该如何解决?
66
+
67
+ 该问题是由于 App Store 不支持 x86_64, i386 架构引起的,具体解决方法如下:
68
+ 1. 清空项目编译缓存:
69
+ 选择**Product**>**clean**,按住Alt变成 clean build Folder...,等待操作完成。
70
+
71
+ 2. 剔除 App Store 不支持的 x86_64 和 i386 架构:
72
+ a. 选择**TARGETS**>**Build Phases**。
73
+ b. 单击加号,选择**New Run Script Phase**。
74
+ c. 添加如下代码:
75
+
76
+ ``` bash
77
+ APP_PATH="${TARGET_BUILD_DIR}/${WRAPPER_NAME}"
78
+
79
+ # This script loops through the frameworks embedded in the application and
80
+
81
+ # removes unused architectures.
82
+
83
+ find "$APP_PATH" -name '*.framework' -type d | while read -r FRAMEWORK
84
+ do
85
+ FRAMEWORK_EXECUTABLE_NAME=$(defaults read "$FRAMEWORK/Info.plist" CFBundleExecutable)
86
+ FRAMEWORK_EXECUTABLE_PATH="$FRAMEWORK/$FRAMEWORK_EXECUTABLE_NAME"
87
+ echo "Executable is $FRAMEWORK_EXECUTABLE_PATH"
88
+
89
+ EXTRACTED_ARCHS=()
90
+
91
+ for ARCH in $ARCHS
92
+ do
93
+ echo "Extracting $ARCH from $FRAMEWORK_EXECUTABLE_NAME"
94
+ lipo -extract "$ARCH" "$FRAMEWORK_EXECUTABLE_PATH" -o "$FRAMEWORK_EXECUTABLE_PATH-$ARCH"
95
+ EXTRACTED_ARCHS+=("$FRAMEWORK_EXECUTABLE_PATH-$ARCH")
96
+ done
97
+
98
+ echo "Merging extracted architectures: ${ARCHS}"
99
+ lipo -o "$FRAMEWORK_EXECUTABLE_PATH-merged" -create "${EXTRACTED_ARCHS[@]}"
100
+ rm "${EXTRACTED_ARCHS[@]}"
101
+
102
+ echo "Replacing original executable with thinned version"
103
+ rm "$FRAMEWORK_EXECUTABLE_PATH"
104
+ mv "$FRAMEWORK_EXECUTABLE_PATH-merged" "$FRAMEWORK_EXECUTABLE_PATH"
105
+
106
+ done
107
+ ```
108
+ ![](https://write-document-release-1258344699.cos.ap-guangzhou.tencentcos.cn/100025598411/f7592364ceda11edb580525400088f3a.png)
109
+
110
+ 3. 重新打包上传。
111
+
112
+
113
+ ### IM 各端 Demo/TUIKit 工程中演示用的表情包,开发者是否可以直接使用?
114
+
115
+ 为了尊重版权,IM Demo/TUIKit 工程中默认不包含大表情元素切图。在正式上线商用前,请您替换为自己设计或拥有版权的其他表情包。请注意,下图所示的**默认小黄脸表情包版权属于腾讯云**,您可以通过升级至 [IM 企业版套餐](https://buy.cloud.tencent.com/avc) 免费使用该表情包。
116
+
117
+ ![](https://write-document-release-1258344699.cos.ap-guangzhou.tencentcos.cn/100027937867/7e1754a0391611ef9c9c525400d5f8ef.png)
@@ -0,0 +1,26 @@
1
+ ---
2
+ product: 'Chat'
3
+ tech_stack: 'web_js_sdk'
4
+ framework: 'react'
5
+ title: 'react uikit 集成和常见问题解决方案'
6
+ keywords: ['react', '初始化', '组件', '集成', 'TUIKit']
7
+ ---
8
+
9
+ # React TUIKit 集成与常见问题解决方案
10
+
11
+ ## 模块一:环境准备与快速初始化 (Topic: Setup)
12
+
13
+ ### Q: 如何在 React 项目中安装 TUIKit?
14
+
15
+ **A:** TUIKit 是基于 Web SDK 开发的,您需要安装 `@tencentcloud/chat-uikit-react`
16
+
17
+ ```bash
18
+ # 安装 TUIKit React 版本
19
+ npm install @tencentcloud/chat-uikit-react@latest
20
+ ```
21
+
22
+ ## 模块二:常见问题解决方案 (Topic: Question)
23
+
24
+ ### Q: 是否支持 react 17/19 版本?
25
+
26
+ **A:** 目前不支持 17.x/19.x 版本,仅支持 React v18。
@@ -0,0 +1,35 @@
1
+ ---
2
+ product: 'Chat'
3
+ tech_stack: 'web_js_sdk'
4
+ framework: 'vue'
5
+ title: 'vue uikit 集成和常见问题解决方案'
6
+ keywords: ['vue', '初始化', '组件', '集成', 'TUIKit']
7
+ ---
8
+
9
+ # Vue TUIKit 集成与常见问题解决方案
10
+
11
+ ## 模块一:环境准备与快速初始化 (Topic: Setup)
12
+
13
+ ### Q: 如何在 Vue 项目中安装 TUIKit?
14
+
15
+ **A:** TUIKit 是基于 Web SDK 开发的,您需要安装 `@tencentcloud/chat-uikit-vue3`。
16
+
17
+ ```bash
18
+ # 安装 TUIKit Vue 版本
19
+ npm install @tencentcloud/chat-uikit-vue3@latest
20
+ ```
21
+
22
+ ## 模块二:常见问题解决方案 (Topic: Question)
23
+
24
+ ### Q: 我能不能在 TUIKit 中使用第三方组件库,例如 Element-Plus?
25
+
26
+ **A:** 核心组件之间的粘连代码可以使用其他组件库,这一点在示例代码中也可以看到,例如您可以将 <ChatSetting /> 封装成全屏抽屉组件。但是核心组件内部已经存在的组件暂时不支持修改。
27
+ ```typescript
28
+ const isChatSettingShow = ref(false);
29
+ <el-drawer
30
+ v-model="isChatSettingShow"
31
+ title="设置"
32
+ >
33
+ <ChatSetting />
34
+ </el-drawer>
35
+ ```
@@ -0,0 +1,89 @@
1
+ ---
2
+ product: 'Live'
3
+ tech_stack: 'liveKit'
4
+ framework: 'common'
5
+ title: 'liveKit 错误码大全'
6
+ keywords: ['错误码', '报错', 'live', 'liveKit', '直播间异常', 'pk 报错', '连麦报错']
7
+ ---
8
+
9
+ # LiveKit 错误码大全
10
+
11
+ ## LiveKit 错误码 (Topic: LiveKit Error Code)
12
+
13
+ ## 错误码 100002
14
+ **原因:** 可能原因如下:
15
+ - 您当前的套餐包不支持开播,可能是套餐包过期、未开通等原因。
16
+ - 直播间名称不能超过100个字节,一个汉字占2字节。
17
+ - 直播间 ID 不能超过 48 个字符。
18
+ - 直播间 ID 只能包含字母、数字、下划线。
19
+ - 只有 live 类型的房间支持该接口。
20
+ - 当前布局模板无需改变。
21
+ - PK请求时长超过了最大限制(默认为 5 分钟)。
22
+ **解决方案:**
23
+ - 检查您使用的套餐,首次使用,可以[开通体验版](https://cloud.tencent.com/document/product/647/105439);也可以前往[腾讯云控制台](https://buy.cloud.tencent.com/trtc)购买或者升级套餐包。
24
+ - 检查直播间名称、直播间ID是否符合要求,确认房间类型是否为 live。
25
+ - 检查布局模板参数,确认是否需要更改布局。
26
+ - 检查PK请求时长,缩短 PK 的时间。
27
+
28
+ ## 错误码 70001
29
+ **原因:** 用户签名已过期。
30
+ **解决方案:** 建议生成的签名有效期不少于 24 小时。可参阅[生成 UserSig(用户鉴权)](https://cloud.tencent.com/document/product/269/32688)</a>。
31
+
32
+ ## 错误码 70003
33
+ **原因:** 非法的用户签名。
34
+ **解决方案:** 建议重新生成的签名,可参阅[生成 UserSig(用户鉴权)](https://cloud.tencent.com/document/product/269/32688)</a>。
35
+
36
+ ## 错误码 70013
37
+ **原因:** 用户 ID 与用户签名不匹配。
38
+ **解决方案:** 请检查用户 ID 与用户签名是否匹配,。可前往[腾讯云控制台](https://console.cloud.tencent.com/trtc/usersigtool)验证签名。
39
+
40
+ ## 错误码 100004
41
+ **原因:** 房间不存在。
42
+ **解决方案:** 请检查使用的房间号是否正确。
43
+
44
+ ## 错误码 100006
45
+ **原因:** 没有操作权限。
46
+ **解决方案:** 请检查当前角色是否有该权限。
47
+
48
+ ## 错误码 100007
49
+ **原因:** 可能原因如下:
50
+ - 未购买套餐包或者已欠费。
51
+ - 直播间之间的跨房间连麦功能不可用。
52
+ - 直播间之间的PK功能不可用。
53
+ **解决方案:**
54
+ - 套餐问题请前往[腾讯云控制台](https://buy.cloud.tencent.com/trtc)购买。首次使用,可以[开通体验版](https://cloud.tencent.com/document/product/647/105439)。
55
+ - 直播间之间的跨房间连麦功能不可用问题,请前往[腾讯云控制台](https://buy.cloud.tencent.com/trtc)购买或者升级套餐包。
56
+ - 直播间之间的PK功能不可用问题,请前往[腾讯云控制台](https://buy.cloud.tencent.com/trtc)购买或者升级套餐包。
57
+
58
+
59
+ ## 错误码 100012
60
+ **原因:** 请求频繁。
61
+ **解决方案:** 请求频繁,请稍后再试。
62
+
63
+ ## 错误码 100203
64
+ **原因:** 您已经在麦位上。
65
+ **解决方案:** 请检查当前用户是否已经在麦位上。
66
+
67
+ ## 错误码 100206
68
+ **原因:** 用户不在麦位上。
69
+ **解决方案:** 请检查用户是否在麦上。
70
+
71
+ ## 错误码 100400
72
+ **原因:** 当前房间未开启直播间连麦。
73
+ **解决方案:** 需要请先进行直播间连麦后再操作。
74
+
75
+ ## 错误码 100418
76
+ **原因:** 当前房间还未开启 PK。
77
+ **解决方案:** 当前房间需要请先进行 PK 后再操作。
78
+
79
+ ## 错误码 100419
80
+ **原因:** 当前房间正在 PK 中。
81
+ **解决方案:** 当前房间正在 PK 中,无法进行该操作,请稍后再试。
82
+
83
+ ## 错误码 100421
84
+ **原因:** 当前房间 PK 已结束。
85
+ **解决方案:** 当前房间 PK 已结束,无法进行该操作,请稍后再试。
86
+
87
+ ## 错误码 101011
88
+ **原因:** 当前房间人数已达到套餐上限。
89
+ **解决方案:** 请前往[腾讯云控制台](https://buy.cloud.tencent.com/trtc)购买或者升级套餐包。