@tencent-rtc/mcp 1.4.7 → 1.6.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 (553) hide show
  1. package/cursor-setting.png +0 -0
  2. package/index.js +0 -1
  3. package/knowledge/bm25-cache.js +73 -0
  4. package/knowledge/bm25.js +147 -0
  5. package/knowledge/build-index.js +69 -0
  6. package/knowledge/chunker.js +167 -0
  7. package/knowledge/content-loader.js +39 -0
  8. package/knowledge/doc-url-resolver.js +142 -0
  9. package/knowledge/extractors.js +25 -0
  10. package/knowledge/path-meta.js +184 -0
  11. package/knowledge/search/exact-lookup.js +497 -0
  12. package/knowledge/search/filter-pool.js +104 -0
  13. package/knowledge/search/product-scope-intent.js +40 -0
  14. package/knowledge/search/requires-framework.js +81 -0
  15. package/knowledge/search/search-knowledge.js +229 -0
  16. package/mcp-server-prompt.png +0 -0
  17. package/package.json +1 -1
  18. package/resource/_schema/feature-aliases.yaml +10 -0
  19. package/resource/_schema/goal-tags.yaml +72 -0
  20. package/resource/_schema/products.yaml +19 -0
  21. package/resource/_schema/trtc-intents.yaml +27 -0
  22. package/resource/_schema/types.yaml +43 -0
  23. package/resource/index/component-slugs.json +1 -0
  24. package/resource/index/doc-source-urls.json +1 -0
  25. package/resource/index/manifest.json +1 -0
  26. package/resource/{doc → integration}/callkit/preset/android/integration.md +34 -28
  27. package/resource/integration/callkit/preset/flutter/integration.md +346 -0
  28. package/resource/integration/callkit/preset/ios/integration.md +408 -0
  29. package/resource/integration/callkit/preset/react/integration.md +362 -0
  30. package/resource/integration/callkit/preset/vue/integration.md +356 -0
  31. package/resource/integration/chat/preset/android/integration.md +500 -0
  32. package/resource/integration/chat/preset/flutter/integration.md +370 -0
  33. package/resource/integration/chat/preset/ios/integration.md +566 -0
  34. package/resource/integration/chat/preset/react/integration.md +490 -0
  35. package/resource/integration/chat/preset/vue/integration.md +504 -0
  36. package/resource/{doc → integration}/livekit/preset/live/vue/live-list-integration.md +26 -22
  37. package/resource/{doc → integration}/livekit/preset/live/vue/live-player-desk-integration.md +22 -18
  38. package/resource/integration/livekit/preset/live/vue/live-player-h5-integration.md +309 -0
  39. package/resource/{doc → integration}/livekit/preset/live/vue/live-pusher-integration.md +47 -39
  40. package/resource/integration/roomkit/preset/vue/integration.md +562 -0
  41. package/resource/knowledge/callkit/core-sdk/android/answer-call.md +828 -0
  42. package/resource/knowledge/callkit/core-sdk/android/make-call.md +897 -0
  43. package/resource/knowledge/callkit/core-sdk/android/offline-push.md +363 -0
  44. package/resource/knowledge/callkit/core-sdk/flutter/answer-call.md +1111 -0
  45. package/resource/knowledge/callkit/core-sdk/flutter/make-call.md +1132 -0
  46. package/resource/{doc → knowledge}/callkit/core-sdk/flutter/offline-push.md +174 -151
  47. package/resource/knowledge/callkit/core-sdk/ios/answer-call.md +1084 -0
  48. package/resource/knowledge/callkit/core-sdk/ios/make-call.md +1252 -0
  49. package/resource/knowledge/callkit/core-sdk/ios/offline-push.md +534 -0
  50. package/resource/knowledge/callkit/core-sdk/uni-app/answer-call.md +953 -0
  51. package/resource/knowledge/callkit/core-sdk/uni-app/make-call.md +1061 -0
  52. package/resource/knowledge/callkit/faq/android.md +92 -0
  53. package/resource/{doc/callkit/faq/android-faq.md → knowledge/callkit/faq/common.md} +11 -12
  54. package/resource/knowledge/callkit/faq/error-code.md +67 -0
  55. package/resource/knowledge/callkit/faq/flutter.md +52 -0
  56. package/resource/knowledge/callkit/faq/ios.md +104 -0
  57. package/resource/knowledge/callkit/faq/web.md +74 -0
  58. package/resource/knowledge/callkit/preset/android/api.md +412 -0
  59. package/resource/knowledge/callkit/preset/flutter/api.md +22 -0
  60. package/resource/knowledge/callkit/preset/ios/api.md +234 -0
  61. package/resource/knowledge/callkit/preset/web/api.md +83 -0
  62. package/resource/knowledge/chat/preset/android/features/chat-setting.md +74 -0
  63. package/resource/knowledge/chat/preset/android/features/contact-list.md +43 -0
  64. package/resource/knowledge/chat/preset/android/features/conversation-list.md +117 -0
  65. package/resource/knowledge/chat/preset/android/features/language.md +136 -0
  66. package/resource/knowledge/chat/preset/android/features/message-input.md +57 -0
  67. package/resource/knowledge/chat/preset/android/features/message-list.md +142 -0
  68. package/resource/knowledge/chat/preset/android/features/search.md +64 -0
  69. package/resource/knowledge/chat/preset/android/features/theme.md +222 -0
  70. package/resource/knowledge/chat/preset/android-view/integration.md +300 -0
  71. package/resource/knowledge/chat/preset/flutter/features/chat-setting.md +64 -0
  72. package/resource/knowledge/chat/preset/flutter/features/contact-list.md +40 -0
  73. package/resource/knowledge/chat/preset/flutter/features/conversation-list.md +129 -0
  74. package/resource/knowledge/chat/preset/flutter/features/language.md +104 -0
  75. package/resource/knowledge/chat/preset/flutter/features/message-input.md +54 -0
  76. package/resource/knowledge/chat/preset/flutter/features/message-list.md +158 -0
  77. package/resource/knowledge/chat/preset/flutter/features/search.md +59 -0
  78. package/resource/knowledge/chat/preset/flutter/features/theme.md +261 -0
  79. package/resource/knowledge/chat/preset/ios/features/chat-setting.md +94 -0
  80. package/resource/knowledge/chat/preset/ios/features/contact-list.md +119 -0
  81. package/resource/knowledge/chat/preset/ios/features/conversation-list.md +134 -0
  82. package/resource/knowledge/chat/preset/ios/features/language.md +125 -0
  83. package/resource/knowledge/chat/preset/ios/features/message-input.md +69 -0
  84. package/resource/knowledge/chat/preset/ios/features/message-list.md +162 -0
  85. package/resource/knowledge/chat/preset/ios/features/search.md +93 -0
  86. package/resource/knowledge/chat/preset/ios/features/theme.md +270 -0
  87. package/resource/{doc/chatkit/ios → knowledge/chat/preset/ios-uikit}/integration.md +160 -158
  88. package/resource/knowledge/chat/preset/react/features/chat-setting.md +101 -0
  89. package/resource/{doc/chatkit/react/components → knowledge/chat/preset/react/features}/contact-list.md +43 -41
  90. package/resource/knowledge/chat/preset/react/features/conversation-actions.md +215 -0
  91. package/resource/knowledge/chat/preset/react/features/conversation-list.md +339 -0
  92. package/resource/knowledge/chat/preset/react/features/conversation-preview.md +101 -0
  93. package/resource/knowledge/chat/preset/react/features/conversation-search.md +61 -0
  94. package/resource/{doc/chatkit/react/components → knowledge/chat/preset/react/features}/message-input.md +117 -156
  95. package/resource/knowledge/chat/preset/react/features/message-list.md +297 -0
  96. package/resource/{doc/chatkit/react/components → knowledge/chat/preset/react/features}/search.md +65 -59
  97. package/resource/knowledge/chat/preset/react/features/theme.md +93 -0
  98. package/resource/knowledge/chat/preset/vue/features/chat-header.md +331 -0
  99. package/resource/knowledge/chat/preset/vue/features/chat-setting.md +79 -0
  100. package/resource/knowledge/chat/preset/vue/features/contact-list.md +277 -0
  101. package/resource/knowledge/chat/preset/vue/features/conversation-actions.md +234 -0
  102. package/resource/knowledge/chat/preset/vue/features/conversation-list.md +331 -0
  103. package/resource/knowledge/chat/preset/vue/features/conversation-preview.md +216 -0
  104. package/resource/{doc/chatkit/vue/components → knowledge/chat/preset/vue/features}/conversation-search.md +13 -13
  105. package/resource/knowledge/chat/preset/vue/features/message-input.md +551 -0
  106. package/resource/knowledge/chat/preset/vue/features/message-list.md +350 -0
  107. package/resource/{doc/chatkit/vue/components → knowledge/chat/preset/vue/features}/search.md +79 -73
  108. package/resource/knowledge/chat/preset/vue/features/theme.md +136 -0
  109. package/resource/knowledge/chat/urls/error-code.md +17 -0
  110. package/resource/knowledge/chat/urls/product.md +43 -0
  111. package/resource/knowledge/chat/urls/restapi.md +204 -0
  112. package/resource/knowledge/chat/urls/sdk/android.md +80 -0
  113. package/resource/knowledge/chat/urls/sdk/flutter.md +71 -0
  114. package/resource/knowledge/chat/urls/sdk/ios.md +80 -0
  115. package/resource/knowledge/chat/urls/sdk/web.md +80 -0
  116. package/resource/knowledge/chat/urls/webhook.md +68 -0
  117. package/resource/knowledge/livekit/core-sdk/api-reference/android/AudioEffectStore.md +286 -0
  118. package/resource/knowledge/livekit/core-sdk/api-reference/android/BarrageStore.md +174 -0
  119. package/resource/knowledge/livekit/core-sdk/api-reference/android/BattleStore.md +329 -0
  120. package/resource/knowledge/livekit/core-sdk/api-reference/android/CameraView.md +55 -0
  121. package/resource/knowledge/livekit/core-sdk/api-reference/android/CoGuestStore.md +434 -0
  122. package/resource/knowledge/livekit/core-sdk/api-reference/android/CoHostStore.md +362 -0
  123. package/resource/knowledge/livekit/core-sdk/api-reference/android/DeviceStore.md +466 -0
  124. package/resource/knowledge/livekit/core-sdk/api-reference/android/GiftStore.md +173 -0
  125. package/resource/knowledge/livekit/core-sdk/api-reference/android/LikeStore.md +51 -0
  126. package/resource/knowledge/livekit/core-sdk/api-reference/android/LiveAudienceStore.md +291 -0
  127. package/resource/knowledge/livekit/core-sdk/api-reference/android/LiveCoreView.md +78 -0
  128. package/resource/knowledge/livekit/core-sdk/api-reference/android/LiveSeatStore.md +488 -0
  129. package/resource/knowledge/livekit/core-sdk/api-reference/android/LoginStore.md +219 -0
  130. package/resource/knowledge/livekit/core-sdk/api-reference/flutter/AudioEffectStore.md +282 -0
  131. package/resource/knowledge/livekit/core-sdk/api-reference/flutter/BarrageStore.md +212 -0
  132. package/resource/knowledge/livekit/core-sdk/api-reference/flutter/BaseBeautyStore.md +153 -0
  133. package/resource/knowledge/livekit/core-sdk/api-reference/flutter/BattleStore.md +312 -0
  134. package/resource/knowledge/livekit/core-sdk/api-reference/flutter/CoGuestStore.md +404 -0
  135. package/resource/knowledge/livekit/core-sdk/api-reference/flutter/CoHostStore.md +334 -0
  136. package/resource/knowledge/livekit/core-sdk/api-reference/flutter/DeviceStore.md +426 -0
  137. package/resource/knowledge/livekit/core-sdk/api-reference/flutter/GiftStore.md +166 -0
  138. package/resource/knowledge/livekit/core-sdk/api-reference/flutter/LikeStore.md +52 -0
  139. package/resource/knowledge/livekit/core-sdk/api-reference/flutter/LiveAudienceStore.md +281 -0
  140. package/resource/knowledge/livekit/core-sdk/api-reference/flutter/LiveCoreView.md +150 -0
  141. package/resource/knowledge/livekit/core-sdk/api-reference/flutter/LiveSeatStore.md +438 -0
  142. package/resource/knowledge/livekit/core-sdk/api-reference/flutter/LoginStore.md +190 -0
  143. package/resource/knowledge/livekit/core-sdk/api-reference/ios/AudioEffectStore.md +291 -0
  144. package/resource/knowledge/livekit/core-sdk/api-reference/ios/BarrageStore.md +192 -0
  145. package/resource/knowledge/livekit/core-sdk/api-reference/ios/BaseBeautyStore.md +146 -0
  146. package/resource/knowledge/livekit/core-sdk/api-reference/ios/BattleStore.md +309 -0
  147. package/resource/knowledge/livekit/core-sdk/api-reference/ios/CoGuestStore.md +370 -0
  148. package/resource/knowledge/livekit/core-sdk/api-reference/ios/CoHostStore.md +339 -0
  149. package/resource/knowledge/livekit/core-sdk/api-reference/ios/DeviceStore.md +503 -0
  150. package/resource/knowledge/livekit/core-sdk/api-reference/ios/GiftStore.md +188 -0
  151. package/resource/knowledge/livekit/core-sdk/api-reference/ios/LikeStore.md +51 -0
  152. package/resource/knowledge/livekit/core-sdk/api-reference/ios/LiveAudienceStore.md +289 -0
  153. package/resource/knowledge/livekit/core-sdk/api-reference/ios/LiveCoreView.md +78 -0
  154. package/resource/knowledge/livekit/core-sdk/api-reference/ios/LiveSeatStore.md +487 -0
  155. package/resource/knowledge/livekit/core-sdk/api-reference/ios/LoginStore.md +183 -0
  156. package/resource/knowledge/livekit/core-sdk/api-reference/web/index.md +736 -0
  157. package/resource/{doc → knowledge}/livekit/core-sdk/live/android/live-audience-list.md +53 -47
  158. package/resource/{doc → knowledge}/livekit/core-sdk/live/android/live-audio-effect.md +28 -24
  159. package/resource/{doc → knowledge}/livekit/core-sdk/live/android/live-barrage.md +22 -18
  160. package/resource/{doc → knowledge}/livekit/core-sdk/live/android/live-base-beauty.md +17 -15
  161. package/resource/{doc → knowledge}/livekit/core-sdk/live/android/live-co-guest-interaction.md +19 -18
  162. package/resource/{doc → knowledge}/livekit/core-sdk/live/android/live-gift.md +102 -89
  163. package/resource/{doc → knowledge}/livekit/core-sdk/live/android/live-host-interaction.md +41 -37
  164. package/resource/{doc → knowledge}/livekit/core-sdk/live/android/live-integration.md +45 -43
  165. package/resource/{doc → knowledge}/livekit/core-sdk/live/android/live-live-list.md +23 -20
  166. package/resource/{doc → knowledge}/livekit/core-sdk/live/flutter/live-audience-list.md +41 -41
  167. package/resource/{doc → knowledge}/livekit/core-sdk/live/flutter/live-audio-effect.md +70 -69
  168. package/resource/{doc → knowledge}/livekit/core-sdk/live/flutter/live-barrage.md +68 -71
  169. package/resource/{doc → knowledge}/livekit/core-sdk/live/flutter/live-base-beauty.md +43 -47
  170. package/resource/{doc → knowledge}/livekit/core-sdk/live/flutter/live-co-guest-interaction.md +59 -56
  171. package/resource/{doc → knowledge}/livekit/core-sdk/live/flutter/live-gift.md +103 -105
  172. package/resource/knowledge/livekit/core-sdk/live/flutter/live-host-interaction.md +869 -0
  173. package/resource/{doc → knowledge}/livekit/core-sdk/live/flutter/live-integration.md +84 -87
  174. package/resource/{doc → knowledge}/livekit/core-sdk/live/flutter/live-live-list.md +43 -40
  175. package/resource/{doc → knowledge}/livekit/core-sdk/live/ios/live-audience-list.md +11 -10
  176. package/resource/{doc → knowledge}/livekit/core-sdk/live/ios/live-audio-effect.md +28 -24
  177. package/resource/{doc → knowledge}/livekit/core-sdk/live/ios/live-barrage.md +22 -18
  178. package/resource/{doc → knowledge}/livekit/core-sdk/live/ios/live-base-beauty.md +15 -14
  179. package/resource/{doc → knowledge}/livekit/core-sdk/live/ios/live-co-guest-interaction.md +19 -18
  180. package/resource/{doc → knowledge}/livekit/core-sdk/live/ios/live-gift.md +54 -50
  181. package/resource/{doc → knowledge}/livekit/core-sdk/live/ios/live-host-interaction.md +41 -37
  182. package/resource/{doc → knowledge}/livekit/core-sdk/live/ios/live-integration.md +40 -40
  183. package/resource/{doc → knowledge}/livekit/core-sdk/live/ios/live-live-list.md +19 -18
  184. package/resource/{doc → knowledge}/livekit/core-sdk/voice/android/voice-audience-list.md +53 -47
  185. package/resource/{doc → knowledge}/livekit/core-sdk/voice/android/voice-audio-effect.md +28 -24
  186. package/resource/{doc → knowledge}/livekit/core-sdk/voice/android/voice-barrage.md +22 -18
  187. package/resource/{doc → knowledge}/livekit/core-sdk/voice/android/voice-co-guest-interaction.md +41 -33
  188. package/resource/{doc → knowledge}/livekit/core-sdk/voice/android/voice-gift.md +94 -81
  189. package/resource/{doc → knowledge}/livekit/core-sdk/voice/android/voice-host-interaction.md +35 -30
  190. package/resource/{doc → knowledge}/livekit/core-sdk/voice/android/voice-integration.md +45 -42
  191. package/resource/{doc → knowledge}/livekit/core-sdk/voice/android/voice-room-list.md +23 -20
  192. package/resource/knowledge/livekit/core-sdk/voice/flutter/voice-audience-list.md +260 -0
  193. package/resource/knowledge/livekit/core-sdk/voice/flutter/voice-audio-effect.md +598 -0
  194. package/resource/knowledge/livekit/core-sdk/voice/flutter/voice-barrage.md +490 -0
  195. package/resource/{doc → knowledge}/livekit/core-sdk/voice/flutter/voice-co-guest-interaction.md +65 -59
  196. package/resource/knowledge/livekit/core-sdk/voice/flutter/voice-gift.md +424 -0
  197. package/resource/{doc → knowledge}/livekit/core-sdk/voice/flutter/voice-integration.md +69 -76
  198. package/resource/knowledge/livekit/core-sdk/voice/flutter/voice-room-list.md +726 -0
  199. package/resource/{doc → knowledge}/livekit/core-sdk/voice/ios/voice-audience-list.md +11 -10
  200. package/resource/{doc → knowledge}/livekit/core-sdk/voice/ios/voice-audio-effect.md +28 -24
  201. package/resource/{doc → knowledge}/livekit/core-sdk/voice/ios/voice-barrage.md +22 -18
  202. package/resource/{doc → knowledge}/livekit/core-sdk/voice/ios/voice-co-guest-interaction.md +41 -33
  203. package/resource/{doc → knowledge}/livekit/core-sdk/voice/ios/voice-gift.md +54 -50
  204. package/resource/{doc → knowledge}/livekit/core-sdk/voice/ios/voice-host-interaction.md +35 -30
  205. package/resource/{doc → knowledge}/livekit/core-sdk/voice/ios/voice-integration.md +49 -46
  206. package/resource/{doc → knowledge}/livekit/core-sdk/voice/ios/voice-room-list.md +19 -18
  207. package/resource/knowledge/livekit/faq/error-code.md +193 -0
  208. package/resource/{doc/livekit/preset/live/vue/components → knowledge/livekit/preset/live/vue/features}/barrage.md +56 -53
  209. package/resource/{doc/livekit/preset/live/vue/components → knowledge/livekit/preset/live/vue/features}/live-audience-list.md +22 -21
  210. package/resource/{doc/livekit/preset/live/vue/components → knowledge/livekit/preset/live/vue/features}/live-view.md +34 -32
  211. package/resource/knowledge/push/config/android.md +92 -0
  212. package/resource/knowledge/push/config/harmonyos.md +83 -0
  213. package/resource/knowledge/push/config/ios.md +254 -0
  214. package/resource/knowledge/push/config/react-native.md +254 -0
  215. package/resource/knowledge/push/config/unity.md +209 -0
  216. package/resource/knowledge/push/config/unreal-engine.md +194 -0
  217. package/resource/knowledge/push/integration/android.md +404 -0
  218. package/resource/knowledge/push/integration/flutter.md +465 -0
  219. package/resource/knowledge/push/integration/harmonyos.md +63 -0
  220. package/resource/knowledge/push/integration/ios.md +246 -0
  221. package/resource/knowledge/push/integration/react-native.md +366 -0
  222. package/resource/knowledge/push/integration/uni-app.md +208 -0
  223. package/resource/knowledge/push/integration/unity.md +389 -0
  224. package/resource/knowledge/push/integration/unreal-engine.md +390 -0
  225. package/resource/knowledge/push/overview/prepare.md +60 -0
  226. package/resource/knowledge/roomkit/core-sdk/android/call-user-to-room.md +241 -0
  227. package/resource/knowledge/roomkit/core-sdk/android/room-participant-state.md +588 -0
  228. package/resource/knowledge/roomkit/core-sdk/android/room-state.md +364 -0
  229. package/resource/knowledge/roomkit/core-sdk/android/schedule-room.md +340 -0
  230. package/resource/knowledge/roomkit/core-sdk/flutter/call-user-to-room.md +230 -0
  231. package/resource/knowledge/roomkit/core-sdk/flutter/room-participant-state.md +797 -0
  232. package/resource/knowledge/roomkit/core-sdk/flutter/room-state.md +325 -0
  233. package/resource/knowledge/roomkit/core-sdk/flutter/schedule-room.md +325 -0
  234. package/resource/knowledge/roomkit/core-sdk/ios/call-user-to-room.md +233 -0
  235. package/resource/knowledge/roomkit/core-sdk/ios/room-participant-state.md +569 -0
  236. package/resource/knowledge/roomkit/core-sdk/ios/room-state.md +325 -0
  237. package/resource/knowledge/roomkit/core-sdk/ios/schedule-room.md +322 -0
  238. package/resource/knowledge/roomkit/core-sdk/vue/call-user-to-room.md +221 -0
  239. package/resource/{doc/roomkit/vue/features → knowledge/roomkit/core-sdk/vue}/device-detection.md +49 -48
  240. package/resource/knowledge/roomkit/core-sdk/vue/device-state.md +461 -0
  241. package/resource/knowledge/roomkit/core-sdk/vue/free-beauty-panel.md +216 -0
  242. package/resource/knowledge/roomkit/core-sdk/vue/room-chat.md +370 -0
  243. package/resource/{doc/roomkit/vue/features → knowledge/roomkit/core-sdk/vue}/room-participant-state.md +61 -60
  244. package/resource/knowledge/roomkit/core-sdk/vue/room-state.md +280 -0
  245. package/resource/{doc/roomkit/vue/features → knowledge/roomkit/core-sdk/vue}/room-view.md +57 -56
  246. package/resource/knowledge/roomkit/core-sdk/vue/schedule-room.md +319 -0
  247. package/resource/knowledge/roomkit/core-sdk/vue/screen-share.md +267 -0
  248. package/resource/knowledge/roomkit/core-sdk/vue/virtual-background.md +261 -0
  249. package/resource/knowledge/roomkit/preset/android/integration.md +396 -0
  250. package/resource/knowledge/roomkit/preset/flutter/integration.md +404 -0
  251. package/resource/knowledge/roomkit/preset/ios/integration.md +369 -0
  252. package/resource/knowledge/roomkit/preset/react/integration.md +576 -0
  253. package/resource/knowledge/rtcengine/web/how_to_run_web_sdk_demo.md +44 -0
  254. package/resource/{doc → knowledge}/rtcengine/web/plugin/21-advanced-auto-play-policy.md +8 -2
  255. package/resource/{doc → knowledge}/rtcengine/web/plugin/22-advanced-audio-mixer.md +19 -1
  256. package/resource/{doc → knowledge}/rtcengine/web/plugin/23-advanced-support-detection.md +1 -1
  257. package/resource/{doc → knowledge}/rtcengine/web/plugin/24-advanced-network-quality.md +8 -8
  258. package/resource/{doc → knowledge}/rtcengine/web/plugin/25-advanced-device-change.md +1 -1
  259. package/resource/{doc → knowledge}/rtcengine/web/plugin/26-advanced-publish-cdn-stream.md +6 -6
  260. package/resource/{doc → knowledge}/rtcengine/web/plugin/27-advanced-small-stream.md +3 -3
  261. package/resource/{doc → knowledge}/rtcengine/web/plugin/29-advanced-water-mark.md +18 -0
  262. package/resource/{doc → knowledge}/rtcengine/web/plugin/31-advanced-plugins-overview.md +1 -1
  263. package/resource/{doc → knowledge}/rtcengine/web/plugin/34-advanced-proxy.md +2 -2
  264. package/resource/{doc → knowledge}/rtcengine/web/plugin/35-advanced-ai-denoiser.md +1 -1
  265. package/resource/knowledge/trtc/android/TRTCCloud.md +1915 -0
  266. package/resource/knowledge/trtc/android/TRTCCloudDef.md +1029 -0
  267. package/resource/knowledge/trtc/android/TRTCCloudListener.md +1095 -0
  268. package/resource/knowledge/trtc/android/TRTCStatistics.md +68 -0
  269. package/resource/knowledge/trtc/android/TXAudioEffectManager.md +502 -0
  270. package/resource/knowledge/trtc/android/TXBeautyManager.md +415 -0
  271. package/resource/knowledge/trtc/android/TXDeviceManager.md +169 -0
  272. package/resource/knowledge/trtc/android/TXLiteAVCode.md +125 -0
  273. package/resource/knowledge/trtc/c++/ITRTCCloud.md +2069 -0
  274. package/resource/knowledge/trtc/c++/ITRTCStatistics.md +73 -0
  275. package/resource/knowledge/trtc/c++/ITXAudioEffectManager.md +502 -0
  276. package/resource/knowledge/trtc/c++/ITXDeviceManager.md +391 -0
  277. package/resource/knowledge/trtc/c++/TRTCCloudCallback.md +1191 -0
  278. package/resource/knowledge/trtc/c++/TRTCTypeDef.md +931 -0
  279. package/resource/knowledge/trtc/c++/TXLiteAVCode.md +127 -0
  280. package/resource/knowledge/trtc/ios/TRTCCloud.md +2118 -0
  281. package/resource/knowledge/trtc/ios/TRTCCloudDef.md +975 -0
  282. package/resource/knowledge/trtc/ios/TRTCCloudDelegate.md +1131 -0
  283. package/resource/knowledge/trtc/ios/TRTCStatistics.md +68 -0
  284. package/resource/knowledge/trtc/ios/TXAudioEffectManager.md +423 -0
  285. package/resource/knowledge/trtc/ios/TXBeautyManager.md +416 -0
  286. package/resource/knowledge/trtc/ios/TXDeviceManager.md +387 -0
  287. package/resource/knowledge/trtc/ios/TXLiteAVCode.md +127 -0
  288. package/server-config.js +0 -1
  289. package/server.js +35 -12
  290. package/streamable-http.js +0 -1
  291. package/tools/call/get_native_call_uikit_integration.js +2 -4
  292. package/tools/call/get_native_callkit_core_integration.js +2 -6
  293. package/tools/call/get_web_call_uikit_integration.js +2 -4
  294. package/tools/chat/get_native_chat_uikit_integration.js +2 -4
  295. package/tools/chat/get_web_chat_uikit_integration.js +2 -4
  296. package/tools/common/get_usersig.js +0 -1
  297. package/tools/common/present_framework_choice.js +19 -14
  298. package/tools/common/record_answer.js +19 -26
  299. package/tools/common/record_feedback.js +17 -31
  300. package/tools/common/search_trtc_knowledge.js +44 -0
  301. package/tools/definitions/get_native_call_uikit_integration_def.js +3 -2
  302. package/tools/definitions/get_native_callkit_core_integration_def.js +5 -4
  303. package/tools/definitions/get_native_chat_uikit_integration_def.js +5 -3
  304. package/tools/definitions/get_native_livekit_core_integration_def.js +6 -6
  305. package/tools/definitions/get_usersig_def.js +0 -1
  306. package/tools/definitions/get_web_call_uikit_integration_def.js +4 -3
  307. package/tools/definitions/get_web_chat_uikit_integration_def.js +2 -1
  308. package/tools/definitions/get_web_live_uikit_integration_def.js +5 -6
  309. package/tools/definitions/get_web_room_core_integration_def.js +49 -0
  310. package/tools/definitions/get_web_room_uikit_integration_def.js +5 -5
  311. package/tools/definitions/integration-boundary.js +5 -0
  312. package/tools/definitions/present_framework_choice_def.js +12 -11
  313. package/tools/definitions/record_answer_def.js +19 -18
  314. package/tools/definitions/record_feedback_def.js +14 -14
  315. package/tools/definitions/search_trtc_knowledge_def.js +39 -0
  316. package/tools/index.js +5 -37
  317. package/tools/live/get_native_livekit_core_integration.js +1 -4
  318. package/tools/live/get_web_live_uikit_integration.js +2 -5
  319. package/tools/room/get_web_room_core_integration.js +47 -0
  320. package/tools/room/get_web_room_uikit_integration.js +2 -4
  321. package/utils/generate-structured-result.js +24 -31
  322. package/utils/generate-usersig.js +0 -1
  323. package/utils/get-device-identifier.js +0 -1
  324. package/utils/get-doc-content.js +14 -9
  325. package/utils/http-get.js +0 -1
  326. package/utils/http-post.js +0 -1
  327. package/utils/report-cls-client.js +18 -21
  328. package/utils/report-es-client.js +1 -2
  329. package/index.js.map +0 -1
  330. package/resource/doc/callkit/core-sdk/.gitkeep +0 -0
  331. package/resource/doc/callkit/core-sdk/android/answer-call.md +0 -852
  332. package/resource/doc/callkit/core-sdk/android/make-call.md +0 -954
  333. package/resource/doc/callkit/core-sdk/android/offline-push.md +0 -361
  334. package/resource/doc/callkit/core-sdk/flutter/answer-call.md +0 -1160
  335. package/resource/doc/callkit/core-sdk/flutter/make-call.md +0 -1205
  336. package/resource/doc/callkit/core-sdk/ios/answer-call.md +0 -1090
  337. package/resource/doc/callkit/core-sdk/ios/make-call.md +0 -1248
  338. package/resource/doc/callkit/core-sdk/ios/offline-push.md +0 -485
  339. package/resource/doc/callkit/core-sdk/uni-app/answer-call.md +0 -950
  340. package/resource/doc/callkit/core-sdk/uni-app/make-call.md +0 -1052
  341. package/resource/doc/callkit/faq/common/error-code.md +0 -47
  342. package/resource/doc/callkit/faq/flutter-faq.md +0 -115
  343. package/resource/doc/callkit/faq/ios-faq.md +0 -115
  344. package/resource/doc/callkit/faq/web-faq.md +0 -36
  345. package/resource/doc/callkit/preset/android/api.md +0 -296
  346. package/resource/doc/callkit/preset/flutter/api.md +0 -410
  347. package/resource/doc/callkit/preset/flutter/integration.md +0 -164
  348. package/resource/doc/callkit/preset/ios/api.md +0 -80
  349. package/resource/doc/callkit/preset/ios/integration.md +0 -187
  350. package/resource/doc/callkit/preset/react/api.md +0 -501
  351. package/resource/doc/callkit/preset/react/integration.md +0 -86
  352. package/resource/doc/callkit/preset/vue/api.md +0 -501
  353. package/resource/doc/callkit/preset/vue/integration.md +0 -83
  354. package/resource/doc/chatkit/android/faq.md +0 -111
  355. package/resource/doc/chatkit/android/features/theme.md +0 -219
  356. package/resource/doc/chatkit/android/integration.md +0 -490
  357. package/resource/doc/chatkit/faq/android_sdk/client-api.md +0 -281
  358. package/resource/doc/chatkit/faq/common/product.md +0 -7
  359. package/resource/doc/chatkit/faq/common/server.md +0 -44
  360. package/resource/doc/chatkit/faq/common/server_error_code.md +0 -74
  361. package/resource/doc/chatkit/faq/flutter_sdk/client-api.md +0 -199
  362. package/resource/doc/chatkit/faq/flutter_sdk/faq.md +0 -53
  363. package/resource/doc/chatkit/faq/ios_sdk/client-api.md +0 -235
  364. package/resource/doc/chatkit/faq/web_sdk/error_code.md +0 -47
  365. package/resource/doc/chatkit/faq/web_sdk/faq.md +0 -287
  366. package/resource/doc/chatkit/flutter/faq.md +0 -23
  367. package/resource/doc/chatkit/flutter/features/theme.md +0 -235
  368. package/resource/doc/chatkit/flutter/integration.md +0 -344
  369. package/resource/doc/chatkit/ios/faq.md +0 -111
  370. package/resource/doc/chatkit/ios/features/theme.md +0 -267
  371. package/resource/doc/chatkit/react/components/avatar.md +0 -104
  372. package/resource/doc/chatkit/react/components/chat-header.md +0 -148
  373. package/resource/doc/chatkit/react/components/chat-setting.md +0 -57
  374. package/resource/doc/chatkit/react/components/chat.md +0 -38
  375. package/resource/doc/chatkit/react/components/component-list.md +0 -37
  376. package/resource/doc/chatkit/react/components/conversation-actions.md +0 -174
  377. package/resource/doc/chatkit/react/components/conversation-list.md +0 -333
  378. package/resource/doc/chatkit/react/components/conversation-preview.md +0 -118
  379. package/resource/doc/chatkit/react/components/conversation-search.md +0 -60
  380. package/resource/doc/chatkit/react/components/message-list.md +0 -293
  381. package/resource/doc/chatkit/react/components/tuikit.md +0 -34
  382. package/resource/doc/chatkit/react/faq.md +0 -26
  383. package/resource/doc/chatkit/react/integration.md +0 -416
  384. package/resource/doc/chatkit/vue/components/avatar.md +0 -104
  385. package/resource/doc/chatkit/vue/components/chat-header.md +0 -148
  386. package/resource/doc/chatkit/vue/components/chat-setting.md +0 -62
  387. package/resource/doc/chatkit/vue/components/chat.md +0 -45
  388. package/resource/doc/chatkit/vue/components/component-list.md +0 -87
  389. package/resource/doc/chatkit/vue/components/contact-list.md +0 -271
  390. package/resource/doc/chatkit/vue/components/conversation-actions.md +0 -228
  391. package/resource/doc/chatkit/vue/components/conversation-list.md +0 -320
  392. package/resource/doc/chatkit/vue/components/conversation-preview.md +0 -213
  393. package/resource/doc/chatkit/vue/components/message-input.md +0 -1054
  394. package/resource/doc/chatkit/vue/components/message-list.md +0 -433
  395. package/resource/doc/chatkit/vue/components/tuikit.md +0 -31
  396. package/resource/doc/chatkit/vue/components/userpicker.md +0 -256
  397. package/resource/doc/chatkit/vue/faq.md +0 -36
  398. package/resource/doc/chatkit/vue/integration.md +0 -428
  399. package/resource/doc/livekit/core-sdk/live/flutter/live-host-interaction.md +0 -866
  400. package/resource/doc/livekit/faq/common/error-code.md +0 -88
  401. package/resource/doc/livekit/preset/live/vue/api-reference/index.md +0 -780
  402. package/resource/doc/livekit/preset/live/vue/components/co-guest-panel.md +0 -91
  403. package/resource/doc/livekit/preset/live/vue/components/live-scene-panel.md +0 -112
  404. package/resource/doc/livekit/preset/live/vue/components/stream-mixer.md +0 -215
  405. package/resource/doc/livekit/preset/live/vue/live-player-h5-integration.md +0 -300
  406. package/resource/doc/roomkit/faq/common/error-code.md +0 -67
  407. package/resource/doc/roomkit/vue/features/call-user-to-room.md +0 -220
  408. package/resource/doc/roomkit/vue/features/device-state.md +0 -460
  409. package/resource/doc/roomkit/vue/features/free-beauty-panel.md +0 -215
  410. package/resource/doc/roomkit/vue/features/room-chat.md +0 -369
  411. package/resource/doc/roomkit/vue/features/room-state.md +0 -282
  412. package/resource/doc/roomkit/vue/features/schedule-room.md +0 -318
  413. package/resource/doc/roomkit/vue/features/screen-share.md +0 -265
  414. package/resource/doc/roomkit/vue/features/virtual-background.md +0 -271
  415. package/resource/doc/roomkit/vue/integration.md +0 -315
  416. package/resource/doc/rtcengine/faq/common/error_code.md +0 -1
  417. package/resource/doc/rtcengine/faq/web_sdk/.gitkeep +0 -0
  418. package/resource/doc/rtcengine/web/.gitkeep +0 -0
  419. package/resource/doc/rtcengine/web/how_to_run_web_sdk_demo.md +0 -59
  420. package/resource/doc/trtc/C++/ITRTCCloud.md +0 -1970
  421. package/resource/doc/trtc/C++/ITRTCStatistics.md +0 -70
  422. package/resource/doc/trtc/C++/ITXAudioEffectManager.md +0 -469
  423. package/resource/doc/trtc/C++/ITXDeviceManager.md +0 -387
  424. package/resource/doc/trtc/C++/TRTCCloudCallback.md +0 -1082
  425. package/resource/doc/trtc/C++/TRTCTypeDef.md +0 -925
  426. package/resource/doc/trtc/C++/TXLiteAVCode.md +0 -129
  427. package/resource/doc/trtc/android/TRTCCloud.md +0 -1815
  428. package/resource/doc/trtc/android/TRTCCloudDef.md +0 -992
  429. package/resource/doc/trtc/android/TRTCCloudListener.md +0 -1004
  430. package/resource/doc/trtc/android/TRTCStatistics.md +0 -65
  431. package/resource/doc/trtc/android/TXAudioEffectManager.md +0 -469
  432. package/resource/doc/trtc/android/TXBeautyManager.md +0 -402
  433. package/resource/doc/trtc/android/TXDeviceManager.md +0 -173
  434. package/resource/doc/trtc/android/TXLiteAVCode.md +0 -127
  435. package/resource/doc/trtc/iOS/TRTCCloud.md +0 -2028
  436. package/resource/doc/trtc/iOS/TRTCCloudDef.md +0 -958
  437. package/resource/doc/trtc/iOS/TRTCCloudDelegate.md +0 -1046
  438. package/resource/doc/trtc/iOS/TRTCStatistics.md +0 -65
  439. package/resource/doc/trtc/iOS/TXAudioEffectManager.md +0 -397
  440. package/resource/doc/trtc/iOS/TXBeautyManager.md +0 -403
  441. package/resource/doc/trtc/iOS/TXDeviceManager.md +0 -381
  442. package/resource/doc/trtc/iOS/TXLiteAVCode.md +0 -130
  443. package/server-config.js.map +0 -1
  444. package/server.js.map +0 -1
  445. package/streamable-http.js.map +0 -1
  446. package/tools/call/get_callkit_api.js +0 -33
  447. package/tools/call/get_callkit_api.js.map +0 -1
  448. package/tools/call/get_native_call_uikit_integration.js.map +0 -1
  449. package/tools/call/get_native_callkit_core_integration.js.map +0 -1
  450. package/tools/call/get_web_call_uikit_integration.js.map +0 -1
  451. package/tools/chat/get_native_chat_uikit_feature_detail.js +0 -35
  452. package/tools/chat/get_native_chat_uikit_feature_detail.js.map +0 -1
  453. package/tools/chat/get_native_chat_uikit_integration.js.map +0 -1
  454. package/tools/chat/get_web_chat_uikit_component_detail.js +0 -35
  455. package/tools/chat/get_web_chat_uikit_component_detail.js.map +0 -1
  456. package/tools/chat/get_web_chat_uikit_integration.js.map +0 -1
  457. package/tools/common/get_faq.js +0 -266
  458. package/tools/common/get_faq.js.map +0 -1
  459. package/tools/common/get_usersig.js.map +0 -1
  460. package/tools/common/present_framework_choice.js.map +0 -1
  461. package/tools/common/record_answer.js.map +0 -1
  462. package/tools/common/record_feedback.js.map +0 -1
  463. package/tools/common/record_skill_session.js +0 -69
  464. package/tools/common/record_skill_session.js.map +0 -1
  465. package/tools/definitions/get_callkit_api_def.js +0 -29
  466. package/tools/definitions/get_callkit_api_def.js.map +0 -1
  467. package/tools/definitions/get_faq_def.js +0 -47
  468. package/tools/definitions/get_faq_def.js.map +0 -1
  469. package/tools/definitions/get_native_call_uikit_integration_def.js.map +0 -1
  470. package/tools/definitions/get_native_callkit_core_integration_def.js.map +0 -1
  471. package/tools/definitions/get_native_chat_uikit_feature_detail_def.js +0 -31
  472. package/tools/definitions/get_native_chat_uikit_feature_detail_def.js.map +0 -1
  473. package/tools/definitions/get_native_chat_uikit_integration_def.js.map +0 -1
  474. package/tools/definitions/get_native_livekit_core_features_def.js +0 -34
  475. package/tools/definitions/get_native_livekit_core_features_def.js.map +0 -1
  476. package/tools/definitions/get_native_livekit_core_integration_def.js.map +0 -1
  477. package/tools/definitions/get_native_trtc_sdk_docs_def.js +0 -32
  478. package/tools/definitions/get_native_trtc_sdk_docs_def.js.map +0 -1
  479. package/tools/definitions/get_usersig_def.js.map +0 -1
  480. package/tools/definitions/get_web_call_uikit_integration_def.js.map +0 -1
  481. package/tools/definitions/get_web_chat_uikit_component_detail_def.js +0 -31
  482. package/tools/definitions/get_web_chat_uikit_component_detail_def.js.map +0 -1
  483. package/tools/definitions/get_web_chat_uikit_integration_def.js.map +0 -1
  484. package/tools/definitions/get_web_live_uikit_integration_def.js.map +0 -1
  485. package/tools/definitions/get_web_livekit_api_def.js +0 -30
  486. package/tools/definitions/get_web_livekit_api_def.js.map +0 -1
  487. package/tools/definitions/get_web_livekit_component_detail_def.js +0 -32
  488. package/tools/definitions/get_web_livekit_component_detail_def.js.map +0 -1
  489. package/tools/definitions/get_web_room_uikit_integration_def.js.map +0 -1
  490. package/tools/definitions/get_web_roomkit_feature_detail_def.js +0 -31
  491. package/tools/definitions/get_web_roomkit_feature_detail_def.js.map +0 -1
  492. package/tools/definitions/get_web_trtc_sdk_api_def.js +0 -27
  493. package/tools/definitions/get_web_trtc_sdk_api_def.js.map +0 -1
  494. package/tools/definitions/get_web_trtc_sdk_integration_def.js +0 -27
  495. package/tools/definitions/get_web_trtc_sdk_integration_def.js.map +0 -1
  496. package/tools/definitions/get_web_trtc_sdk_plugin_def.js +0 -27
  497. package/tools/definitions/get_web_trtc_sdk_plugin_def.js.map +0 -1
  498. package/tools/definitions/present_framework_choice_def.js.map +0 -1
  499. package/tools/definitions/record_answer_def.js.map +0 -1
  500. package/tools/definitions/record_feedback_def.js.map +0 -1
  501. package/tools/definitions/record_skill_session_def.js +0 -31
  502. package/tools/definitions/record_skill_session_def.js.map +0 -1
  503. package/tools/index.js.map +0 -1
  504. package/tools/live/get_native_livekit_core_features.js +0 -68
  505. package/tools/live/get_native_livekit_core_features.js.map +0 -1
  506. package/tools/live/get_native_livekit_core_integration.js.map +0 -1
  507. package/tools/live/get_web_live_uikit_integration.js.map +0 -1
  508. package/tools/live/get_web_livekit_api.js +0 -33
  509. package/tools/live/get_web_livekit_api.js.map +0 -1
  510. package/tools/live/get_web_livekit_component_detail.js +0 -35
  511. package/tools/live/get_web_livekit_component_detail.js.map +0 -1
  512. package/tools/room/get_web_room_uikit_integration.js.map +0 -1
  513. package/tools/room/get_web_roomkit_feature_detail.js +0 -69
  514. package/tools/room/get_web_roomkit_feature_detail.js.map +0 -1
  515. package/tools/rtcengine/get_web_trtc_sdk_api.js +0 -32
  516. package/tools/rtcengine/get_web_trtc_sdk_api.js.map +0 -1
  517. package/tools/rtcengine/get_web_trtc_sdk_integration.js +0 -32
  518. package/tools/rtcengine/get_web_trtc_sdk_integration.js.map +0 -1
  519. package/tools/rtcengine/get_web_trtc_sdk_plugin.js +0 -32
  520. package/tools/rtcengine/get_web_trtc_sdk_plugin.js.map +0 -1
  521. package/tools/trtc/get_native_trtc_sdk_docs.js +0 -74
  522. package/tools/trtc/get_native_trtc_sdk_docs.js.map +0 -1
  523. package/utils/build-session-directives.js +0 -120
  524. package/utils/build-session-directives.js.map +0 -1
  525. package/utils/generate-structured-result.js.map +0 -1
  526. package/utils/generate-usersig.js.map +0 -1
  527. package/utils/get-device-identifier.js.map +0 -1
  528. package/utils/get-doc-content.js.map +0 -1
  529. package/utils/handle-framework.js +0 -9
  530. package/utils/handle-framework.js.map +0 -1
  531. package/utils/handle-state-name.js +0 -29
  532. package/utils/handle-state-name.js.map +0 -1
  533. package/utils/http-get.js.map +0 -1
  534. package/utils/http-post.js.map +0 -1
  535. package/utils/report-cls-client.js.map +0 -1
  536. package/utils/report-es-client.js.map +0 -1
  537. package/utils/report-runtime-error-cls-client.js +0 -91
  538. package/utils/report-runtime-error-cls-client.js.map +0 -1
  539. /package/resource/{doc/livekit/preset/live/vue/faq.md → knowledge/push/config/donut.md} +0 -0
  540. /package/resource/{doc/roomkit/vue/faq.md → knowledge/push/integration/donut.md} +0 -0
  541. /package/resource/{doc → knowledge}/rtcengine/web/api.md +0 -0
  542. /package/resource/{doc/rtcengine/faq/web/web.md → knowledge/rtcengine/web/faq.md} +0 -0
  543. /package/resource/{doc → knowledge}/rtcengine/web/how_to_integrated_web_sdk.md +0 -0
  544. /package/resource/{doc → knowledge}/rtcengine/web/plugin/20-advanced-customized-capture-rendering.md +0 -0
  545. /package/resource/{doc → knowledge}/rtcengine/web/plugin/28-advanced-beauty.md +0 -0
  546. /package/resource/{doc → knowledge}/rtcengine/web/plugin/30-advanced-cross-room-link.md +0 -0
  547. /package/resource/{doc → knowledge}/rtcengine/web/plugin/36-advanced-virtual-background.md +0 -0
  548. /package/resource/{doc → knowledge}/rtcengine/web/plugin/37-advanced-voice-changer.md +0 -0
  549. /package/resource/{doc → knowledge}/rtcengine/web/plugin/39-advanced-video-decoder.md +0 -0
  550. /package/resource/{doc → knowledge}/rtcengine/web/plugin/40-advanced-video-mixer.md +0 -0
  551. /package/resource/{doc → knowledge}/rtcengine/web/plugin/41-advanced-small-stream-auto-switcher.md +0 -0
  552. /package/resource/{doc → knowledge}/rtcengine/web/plugin/42-advanced-realtime-transcriber.md +0 -0
  553. /package/resource/{doc → knowledge}/rtcengine/web/plugin/43-advanced-face-detection.md +0 -0
@@ -1,381 +0,0 @@
1
- # TRTC SDK Documentation
2
- ## Feature Overview
3
- `TXDeviceManager.h` provides audio and video device management for the TRTC (Real-Time Communication) SDK on iOS. Use this module to control hardware devices such as cameras, microphones, and speakers.
4
-
5
- ## TXDeviceObserver
6
- | Function List | Description |
7
- | --- | --- |
8
- | onDeviceChanged:type:state: | Local device connection status has changed (applicable only to desktop systems) |
9
-
10
- ## TXDeviceManager
11
- | Function List | Description |
12
- | --- | --- |
13
- | isFrontCamera | Determine whether the current camera is front-facing (only for mobile terminal) |
14
- | switchCamera: | Switch between front and rear cameras (only for mobile terminal) |
15
- | isCameraZoomSupported | Check if the current camera supports scaling (only for mobile terminal) |
16
- | getCameraZoomMaxRatio | Get the maximum zoom level of the camera (only for mobile terminal) |
17
- | setCameraZoomRatio: | Set the zoom level of the camera (only for mobile terminal) |
18
- | isAutoFocusEnabled | Check if automatic face position recognition is supported (only for mobile terminal) |
19
- | enableCameraAutoFocus: | Enable autofocus feature (only for mobile terminal) |
20
- | setCameraFocusPosition: | Set the focus position of the camera (only for mobile terminal) |
21
- | isCameraTorchSupported | Check if the flash can be turned on (only for mobile terminal) |
22
- | enableCameraTorch: | Turn the flash on/off, also known as flashlight mode (only for mobile terminal) |
23
- | setAudioRoute: | Set audio routing (only for mobile terminal) |
24
- | setExposureCompensation: | Set the exposure parameters of the camera, ranging from -1 to 1 |
25
- | getDevicesList: | Get the device list (only for desktop terminal) |
26
- | setCurrentDevice:deviceId: | Set the current device to use (only for desktop terminal) |
27
- | getCurrentDevice: | Get the current device in use (only for desktop terminal) |
28
- | setCurrentDeviceVolume:deviceType: | Set the current device volume (only for desktop terminal) |
29
- | getCurrentDeviceVolume: | Get the current device volume (only for desktop terminal) |
30
- | setCurrentDeviceMute:deviceType: | Set the mute status of the current device (only for desktop terminal) |
31
- | getCurrentDeviceMute: | Get the mute status of the current device (only for desktop terminal) |
32
- | enableFollowingDefaultAudioDevice:enable: | Set SDK to use the audio device according to the default system device (only for desktop terminal) |
33
- | startCameraDeviceTest: | Start camera testing (only for desktop terminal) |
34
- | stopCameraDeviceTest | End camera testing (only for desktop terminal) |
35
- | startMicDeviceTest: | Start mic testing (only for desktop terminal) |
36
- | startMicDeviceTest:playback: | Start mic testing (only for desktop terminal) |
37
- | stopMicDeviceTest | End mic testing (only for desktop terminal) |
38
- | startSpeakerDeviceTest: | Start speaker testing (only for desktop terminal) |
39
- | stopSpeakerDeviceTest | End speaker testing (only for desktop terminal) |
40
- | setObserver: | Device hot swap callback (only for macOS System) |
41
- | setCameraCapturerParam: | Set camera capture preferences |
42
- | setSystemVolumeType: | Set system volume type (only for mobile terminal) |
43
-
44
- ## Struct Type
45
- | Function List | Description |
46
- | --- | --- |
47
- | TXCameraCaptureParam | Camera collection parameters |
48
- | TXMediaDeviceInfo | Information related to audio and video equipment (only for desktop platform) |
49
-
50
- ## Enumeration Types
51
- | Enumeration Types | Description |
52
- | --- | --- |
53
- | TXSystemVolumeType | System volume type (only for mobile devices) |
54
- | TXAudioRoute | Audio routing (i.e., sound playback mode) |
55
- | TXMediaDeviceType | Device type (only for desktop platform) |
56
- | TXMediaDeviceState | Device operations |
57
- | TXCameraCaptureMode | Camera capture preferences |
58
-
59
- ## onDeviceChanged:type:state:
60
-
61
- #### Local device connection status has changed (applicable only to desktop systems)
62
-
63
- When local devices (including camera, microphone, and speaker) are plugged in or unplugged, the SDK will trigger this event callback.
64
- | Parameters | Description |
65
- | --- | --- |
66
- | deviceId | Device ID |
67
- | state | On/Off status, 0: Device added; 1: Device removed; 2: Device enabled. |
68
- | type | Device Type |
69
-
70
- ## isFrontCamera
71
-
72
- #### Determine whether the current camera is front-facing (only for mobile terminal)
73
-
74
- ## switchCamera:
75
-
76
- #### Switch between front and rear cameras (only for mobile terminal)
77
-
78
- ## isCameraZoomSupported
79
-
80
- #### Check if the current camera supports scaling (only for mobile terminal)
81
-
82
- ## getCameraZoomMaxRatio
83
-
84
- #### Get the maximum zoom level of the camera (only for mobile terminal)
85
-
86
- ## setCameraZoomRatio:
87
-
88
- #### Set the zoom level of the camera (only for mobile terminal)
89
- | Parameters | Description |
90
- | --- | --- |
91
- | zoomRatio | Value range 1 - 5, with 1 representing the farthest view (normal lens) and 5 representing the closest view (magnifier lens). The recommended maximum value is 5; exceeding 5 may cause video data to become blurry. |
92
-
93
- ## isAutoFocusEnabled
94
-
95
- #### Check if automatic face position recognition is supported (only for mobile terminal)
96
-
97
- ## enableCameraAutoFocus:
98
-
99
- #### Enable autofocus feature (only for mobile terminal)
100
-
101
- Once enabled, the SDK will automatically detect the face position in the frame and keep the camera focus on the face position.
102
-
103
- ## setCameraFocusPosition:
104
-
105
- #### Set the focus position of the camera (only for mobile terminal)
106
-
107
- You can achieve the following interactions with this interface:
108
-
109
- 1. Allow users to click on the local camera preview screen.
110
-
111
- 2. Display a rectangular box at the click position to indicate that the camera will focus on this point.
112
-
113
- 3. Then, pass the coordinates of the user's click position through this interface to the SDK. The SDK will control the camera to focus on the user's desired location.
114
- | Parameters | Description |
115
- | --- | --- |
116
- | position | Focus position, please pass the coordinates of the desired focus point |
117
-
118
- > **Note**
119
- >
120
-
121
- > The prerequisite for using this interface is to disable the auto-focus feature through enableCameraAutoFocus.
122
- >
123
-
124
- #### Return value description:
125
-
126
- 0: Operation successful; Negative value: Operation failed.
127
-
128
- ## isCameraTorchSupported
129
-
130
- #### Check if the flash can be turned on (only for mobile terminal)
131
-
132
- ## enableCameraTorch:
133
-
134
- #### Turn the flash on/off, also known as flashlight mode (only for mobile terminal)
135
-
136
- ## setAudioRoute:
137
-
138
- #### Set audio routing (only for mobile terminal)
139
-
140
- A phone has two audio playback devices: one is the earpiece at the top of the phone, and the other is the stereo speaker at the bottom of the phone.
141
-
142
- When the audio routing is set to the earpiece, the sound is relatively low, and you need to bring your ear close to hear it clearly, ensuring better privacy. It is suitable for phone calls.
143
-
144
- When the audio routing is set to the speaker, the sound is relatively loud. You can hear it clearly without holding the phone to your face, thus enabling the "hands-free" feature.
145
-
146
- ## setExposureCompensation:
147
-
148
- #### Set the exposure parameters of the camera, ranging from -1 to 1
149
-
150
- ## getDevicesList:
151
-
152
- #### Get the device list (only for desktop terminal)
153
- | Parameters | Description |
154
- | --- | --- |
155
- | type | Device type, specify which type of device list to retrieve. See TXMediaDeviceType Definition for details. |
156
-
157
- > **Note**
158
- >
159
- > - After use, please call the release method to release resources so that the SDK can maintain the lifecycle of the ITXDeviceCollection object.
160
- > - Do not use delete to release the returned Collection object. Deleting the ITXDeviceCollection* pointer will cause an abnormal crash.
161
- > - type only supports TXMediaDeviceTypeMic, TXMediaDeviceTypeSpeaker, TXMediaDeviceTypeCamera.
162
- > - This interface only supports Mac and Windows platforms.
163
-
164
- ## setCurrentDevice:deviceId:
165
-
166
- #### Set the current device to use (only for desktop terminal)
167
- | Parameters | Description |
168
- | --- | --- |
169
- | deviceId | Device ID, you can obtain the device ID through the getDevicesList interface. |
170
- | type | Device type, see TXMediaDeviceType Definition for details. |
171
-
172
- #### Return value description:
173
-
174
- 0: Operation successful; Negative value: Operation failed.
175
-
176
- ## getCurrentDevice:
177
-
178
- #### Get the current device in use (only for desktop terminal)
179
-
180
- ## setCurrentDeviceVolume:deviceType:
181
-
182
- #### Set the current device volume (only for desktop terminal)
183
-
184
- The volume here refers to the capture volume of the microphone or the playback volume of the speaker. The camera does not support setting the volume.
185
- | Parameters | Description |
186
- | --- | --- |
187
- | volume | Volume. Value range: 0-100. Default value: 100. |
188
-
189
- ## getCurrentDeviceVolume:
190
-
191
- #### Get the current device volume (only for desktop terminal)
192
-
193
- The volume here refers to the capture volume of the microphone or the playback volume of the speaker. The camera does not support retrieving the volume.
194
-
195
- ## setCurrentDeviceMute:deviceType:
196
-
197
- #### Set the mute status of the current device (only for desktop terminal)
198
-
199
- The volume here refers to the microphone and speaker, and the camera does not support silent operation.
200
-
201
- ## getCurrentDeviceMute:
202
-
203
- #### Get the mute status of the current device (only for desktop terminal)
204
-
205
- The volume here refers to the microphone and speaker, and the camera does not support silent operation.
206
-
207
- ## enableFollowingDefaultAudioDevice:enable:
208
-
209
- #### Set SDK to use the audio device according to the default system device (only for desktop terminal)
210
-
211
- Only microphone and speaker types are supported. The camera does not yet support following the system default device
212
- | Parameters | Description |
213
- | --- | --- |
214
- | enable | Whether to follow the system default audio device.<br>- true: Follow. When the system default audio device changes or a new audio device is plugged in, the SDK will immediately switch the audio device.<br>- false: Do not follow. When the system default audio device changes or a new audio device is plugged in, the SDK will not switch the audio device. |
215
- | type | Device type, see TXMediaDeviceType Definition for details. |
216
-
217
- ## startCameraDeviceTest:
218
-
219
- #### Start camera testing (only for desktop terminal)
220
-
221
- > **Note**
222
- >
223
-
224
- > During testing, you can use the setCurrentDevice interface to switch cameras.
225
- >
226
-
227
- ## stopCameraDeviceTest
228
-
229
- #### End camera testing (only for desktop terminal)
230
-
231
- ## startMicDeviceTest:
232
-
233
- #### Start mic testing (only for desktop terminal)
234
-
235
- This interface can test whether the microphone is working properly. The volume of the microphone's audio stream will be notified to you via callback, with the volume range being 0 to 100.
236
- | Parameters | Description |
237
- | --- | --- |
238
- | interval | Microphone volume callback interval. |
239
-
240
- > **Note**
241
- >
242
-
243
- > After invoking this interface, the recorded microphone sound will be played back through the speaker by default.
244
- >
245
-
246
- ## startMicDeviceTest:playback:
247
-
248
- #### Start mic testing (only for desktop terminal)
249
-
250
- This interface can test whether the microphone is working properly. The volume of the microphone's audio stream will be notified to you via callback, with the volume range being 0 to 100.
251
- | Parameters | Description |
252
- | --- | --- |
253
- | interval | Microphone volume callback interval. |
254
- | playback | Whether to enable microphone sound playback. When enabled, users will hear their own voice during microphone testing. |
255
-
256
- ## stopMicDeviceTest
257
-
258
- #### End mic testing (only for desktop terminal)
259
-
260
- ## startSpeakerDeviceTest:
261
-
262
- #### Start speaker testing (only for desktop terminal)
263
-
264
- This interface tests the playback device by playing a specified audio file. If the user hears sound during the test, it means the playback device is working properly.
265
- | Parameters | Description |
266
- | --- | --- |
267
- | filePath | Path to the audio file |
268
-
269
- ## stopSpeakerDeviceTest
270
-
271
- #### End speaker testing (only for desktop terminal)
272
-
273
- ## setObserver:
274
-
275
- #### Device hot swap callback (only for macOS System)
276
-
277
- ## setCameraCapturerParam:
278
-
279
- #### Set camera capture preferences
280
-
281
- ## setSystemVolumeType:
282
-
283
- #### Set system volume type (only for mobile terminal)
284
-
285
- @deprecated Not recommended starting from version 9.5. It is advised to use the startLocalAudio(quality) interface in ` TRTCCloud ` as a replacement, and decide the sound quality via the quality parameter.
286
-
287
- ## TXSystemVolumeType(Deprecated)
288
-
289
- #### System volume type (only for mobile devices)
290
-
291
- @deprecated Not recommended starting from version 9.5.
292
-
293
- Modern smartphones generally have two sets of system volume types, namely "Call volume" and "Media volume".
294
- - Call Volume: A volume type designed specifically for making and receiving phone calls, featuring built-in echo cancellation (AEC), and supporting microphone input via Bluetooth headphones. However, the sound quality is relatively average.
295
-
296
- If you press the volume button on the side of your phone to lower the volume and it cannot be set to zero (completely silent), it indicates that your phone is currently in Call Volume mode.
297
- - Media Volume: A volume type designed specifically for music scenarios, which cannot use the system's AEC feature, and does not support microphone input via Bluetooth headphones, but provides better music playback quality.
298
-
299
- If you press the volume button on the side of your phone to lower the volume and it can be set to completely silent, it indicates that your phone is currently in Media Volume mode.
300
-
301
- The SDK currently provides three control modes for system volume types: automatic switching mode, full-time call volume mode, and full-time media volume mode.
302
- | Enumeration | Value | Description |
303
- | --- | --- | --- |
304
- | TXSystemVolumeTypeAuto | 0 | Automatic Switching Mode |
305
- | TXSystemVolumeTypeMedia | 1 | Full Media Volume |
306
- | TXSystemVolumeTypeVOIP | 2 | Full Call Volume |
307
-
308
- ## TXAudioRoute
309
-
310
- #### Audio routing (i.e., sound playback mode)
311
-
312
- Audio routing refers to whether the sound is played through the phone's speaker or receiver, and thus this interface is only applicable to mobile devices such as smartphones.
313
-
314
- A mobile phone has two speakers: one is the earpiece located at the top of the phone, and the other is the stereo speaker located at the bottom.
315
- - When the audio routing is set to the earpiece, the sound is relatively low, and you need to bring your ear close to hear it clearly, ensuring better privacy. It is suitable for phone calls.
316
-
317
- - When the audio routing is set to the speaker, the sound is relatively loud. You can hear it clearly without holding the phone to your face, thus enabling the "hands-free" feature.
318
-
319
- | Enumeration | Value | Description |
320
- | --- | --- | --- |
321
- | TXAudioRouteSpeakerphone | 0 | Speakerphone: Plays through the speaker (i.e., "hands-free"), located at the bottom of the phone, with a louder volume, suitable for playing music aloud. |
322
- | TXAudioRouteEarpiece | 1 | Earpiece: Use the earpiece to play audio. The earpiece is located at the top of the phone and produces a low volume, making it suitable for privacy-sensitive call scenarios. |
323
-
324
- ## TXMediaDeviceType
325
-
326
- #### Device type (only for desktop platform)
327
-
328
- This enumeration value is used for the three types of audio and video devices in Definition: camera, microphone, and speaker, allowing a single device management interface to control different types of devices.
329
- | Enumeration | Value | Description |
330
- | --- | --- | --- |
331
- | TXMediaDeviceTypeUnknown | -1 | Undefined device type |
332
- | TXMediaDeviceTypeAudioInput | 0 | Microphone-type device |
333
- | TXMediaDeviceTypeAudioOutput | 1 | Speaker-type device |
334
- | TXMediaDeviceTypeVideoCamera | 2 | Camera-type device |
335
-
336
- ## TXMediaDeviceState
337
-
338
- #### Device operations
339
-
340
- This enumeration value is used for local device status change notifications onDeviceChanged.
341
- | Enumeration | Value | Description |
342
- | --- | --- | --- |
343
- | TXMediaDeviceStateAdd | 0 | Device inserted |
344
- | TXMediaDeviceStateRemove | 1 | Device removed |
345
- | TXMediaDeviceStateActive | 2 | Device enabled |
346
- | TXMediaDefaultDeviceChanged | 3 | System default device changed |
347
-
348
- ## TXCameraCaptureMode
349
-
350
- #### Camera capture preferences
351
-
352
- This enumeration type is used for camera collection parameter settings.
353
- | Enumeration | Value | Description |
354
- | --- | --- | --- |
355
- | TXCameraResolutionStrategyAuto | 0 | Auto-adjust collection parameters.<br>The SDK selects appropriate camera output parameters based on the performance of the actual capture device and network conditions, maintaining a balance between device performance and video preview quality. |
356
- | TXCameraResolutionStrategyPerformance | Not Defined | Prioritize device performance.<br>The SDK selects the closest camera output parameters based on the encoder resolution and frame rate set by the user, thus ensuring device performance. |
357
- | TXCameraResolutionStrategyHighQuality | Not Defined | Priority is given to ensuring video preview quality.<br>The SDK selects higher camera output parameters to improve the quality of preview video. In this case, more CPU and memory will be consumed for video preprocessing. |
358
- | TXCameraCaptureManual | Not Defined | Users are allowed to set the video aspect ratio captured by the local camera. |
359
-
360
- ## TXCameraCaptureParam
361
-
362
- #### Camera collection parameters
363
-
364
- This setting determines the image quality of the local preview.
365
- | Enumeration Types | Description |
366
- | --- | --- |
367
- | height | **Field Definition:** Captured Image Width |
368
- | mode | **Field Definition:** Camera Capture Preferences, refer to TXCameraCaptureMode |
369
- | width | **Field Definition:** Captured Image Length |
370
-
371
- ## TXMediaDeviceInfo
372
-
373
- #### Information related to audio and video equipment (only for desktop platform)
374
-
375
- This structure is used to describe key information of an audio and video device, such as Device ID, Device Name, etc., so that users can select their desired audio and video device in the user interface.
376
- | Enumeration Types | Description |
377
- | --- | --- |
378
- | deviceId | Device ID (UTF-8) |
379
- | deviceName | Device Name (UTF-8) |
380
- | deviceProperties | Device Attributes |
381
- | type | Device Type |
@@ -1,130 +0,0 @@
1
- # TRTC Real-Time Communication (TRTC SDK) Documentation
2
- ## Overview
3
- `TXLiteAVCode.h` provides status code definitions for TRTC Real-Time Communication (TRTC SDK) on iOS. This file is used to notify developers of warnings and errors that occur while using TRTC.
4
-
5
- ## 枚举类型
6
- | Enumeration Types | Description |
7
- | --- | --- |
8
- | TXLiteAVError | Error Code |
9
- | TXLiteAVWarning | Warning Codes |
10
-
11
- ## TXLiteAVError
12
-
13
- #### 错误码。
14
- | Enumeration | Value | Description |
15
- | --- | --- | --- |
16
- | ERR_NULL | 0 | No error |
17
- | ERR_FAILED | -1 | A common error not yet classified |
18
- | ERR_INVALID_PARAMETER | -2 | An invalid parameter was passed in during API calling |
19
- | ERR_REFUSED | -3 | The API call was rejected |
20
- | ERR_NOT_SUPPORTED | -4 | Does not support API call currently |
21
- | ERR_INVALID_LICENSE | -5 | Failed to call the API due to invalid license |
22
- | ERR_REQUEST_SERVER_TIMEOUT | -6 | The server request timed out |
23
- | ERR_SERVER_PROCESS_FAILED | -7 | The server could not handle your request |
24
- | ERR_DISCONNECTED | -8 | Disconnect from user |
25
- | ERR_CAMERA_START_FAIL | -1301 | Failed to enable the camera; for example, the configuration program (driver) of the camera on Windows or macOS was exceptional. In this case, please try to disable and then enable the camera again, restart the device, or update the configuration program |
26
- | ERR_CAMERA_NOT_AUTHORIZED | -1314 | The camera is not authorized. This error usually occurs on mobile devices and may be caused by permission denial by user |
27
- | ERR_CAMERA_SET_PARAM_FAIL | -1315 | Incorrect camera parameter settings (unsupported value or other causes) |
28
- | ERR_CAMERA_OCCUPY | -1316 | The camera is being used. Please try to enable another camera |
29
- | ERR_SCREEN_CAPTURE_START_FAIL | -1308 | Failed to start screen sharing. If this error occurs on a mobile device, it may be caused by permission denial by user; if on Windows or macOS, please check whether parameters of the screen sharing API meet the requirements |
30
- | ERR_SCREEN_CAPTURE_UNSURPORT | -1309 | Screen sharing failed. Please use Android 5.0 or above if the device is on Android or use iOS 11.0 or above if the device is on iOS |
31
- | ERR_SCREEN_CAPTURE_STOPPED | -7001 | Screencapturing was stopped by the system |
32
- | ERR_SCREEN_SHARE_NOT_AUTHORIZED | -102015 | No permission for uplink auxiliary route |
33
- | ERR_SCREEN_SHRAE_OCCUPIED_BY_OTHER | -102016 | Other users are upstreaming substream |
34
- | ERR_VIDEO_ENCODE_FAIL | -1303 | Failed to encode video frames; for example, when a user switches from an iOS device to another device, the hardware encoder may be released by the system; and after the user switches back, this error may be thrown before the hardware encoder is restarted |
35
- | ERR_UNSUPPORTED_RESOLUTION | -1305 | Unsupported video resolution |
36
- | ERR_PIXEL_FORMAT_UNSUPPORTED | -1327 | Custom Video Capture: Unsupported pixel format |
37
- | ERR_BUFFER_TYPE_UNSUPPORTED | -1328 | Custom Video Capture: Unsupported buffer type |
38
- | ERR_NO_AVAILABLE_HEVC_DECODERS | -2304 | No available HEVC decoder found |
39
- | ERR_MIC_START_FAIL | -1302 | Failed to enable the mic; for example, the configuration program (driver) of the mic on Windows or macOS was exceptional. In this case, please try to disable and then enable the mic again, restart the device, or update the configuration program |
40
- | ERR_MIC_NOT_AUTHORIZED | -1317 | No access to the microphone. This usually occurs on mobile devices and may be because the user denied the access. |
41
- | ERR_MIC_OCCUPY | -1319 | The microphone is occupied. This occurs when, for example, the user is currently having a call on the mobile device. |
42
- | ERR_MIC_STOP_FAIL | -1320 | Failed to stop the microphone. |
43
- | ERR_SPEAKER_START_FAIL | -1321 | Failed to enable the speaker; for example, the configuration program (driver) of the speaker on Windows or macOS was exceptional. In this case, please try to disable and then enable the speaker again, restart the device, or update the configuration program |
44
- | ERR_SPEAKER_SET_PARAM_FAIL | -1322 | Failed to set speaker parameters. |
45
- | ERR_SPEAKER_STOP_FAIL | -1323 | Failed to stop the speaker. |
46
- | ERR_AUDIO_PLUGIN_START_FAIL | -1330 | console.log('Failed to enable system sound recording; for example, the audio driver plugin was unavailable'); |
47
- | ERR_AUDIO_PLUGIN_INSTALL_NOT_AUTHORIZED | -1331 | Installation of the audio driver plugin was unauthorized |
48
- | ERR_AUDIO_PLUGIN_INSTALL_FAILED | -1332 | Failed to install the audio driver plugin |
49
- | ERR_AUDIO_PLUGIN_INSTALLED_BUT_NEED_RESTART | -1333 | Successfully installed the virtual sound card plugin, but the feature is temporarily unavailable after the first installation. This is a macOS system limitation. Please prompt the user to restart the current app upon receiving this error code |
50
- | ERR_AUDIO_ENCODE_FAIL | -1304 | Failed to encode audio frames; for example, the SDK could not process the custom audio data passed in |
51
- | ERR_UNSUPPORTED_SAMPLERATE | -1306 | Unsupported audio sample rate |
52
- | ERR_SYSTEM_LOOPBACK_START_FAILED | -1307 | System mixing startup error. Common causes and solutions: 1. The current system version is incompatible. Specifying or excluding specific processes for mixing requires Windows version 10.0.19042 (20H2) or higher. Specifying a path for mixing (x64 version) also requires Windows version 10.0.19042 (20H2) or higher. Please check your current system version. 2. Invalid input parameters (including empty parameters, non-existent paths, non-existent process IDs, and non-existent device names). Please check if the input parameters are valid. 3. No available speaker devices. Please check if any are available. |
53
- | ERR_SYSTEM_LOOPBACK_THIRD_PARTY_APP_EXIT | -1324 | An error occurred during the mixing and acquisition process of the third-party application. This error may occur after the third-party application's mixing process starts successfully, but the specified process or application unexpectedly exits during the sound acquisition process. Please check the status of the specified process or application. You can try retrying by re-entering the process ID. |
54
- | ERR_TRTC_ENTER_ROOM_FAILED | -3301 | Failed to enter the room. Please view -3301 in onError to confirm the message for the reason of the failure. |
55
- | ERR_TRTC_REQUEST_IP_TIMEOUT | -3307 | Request for IP and Sig timed out. Please check whether your network is functioning properly and whether UDP is unblocked in your network firewall.<br>You can try to access the following IPs: 162.14.22.165:8000, 162.14.6.105:8000 and the domain: default-query.trtc.tencent-cloud.com:8000 |
56
- | ERR_TRTC_CONNECT_SERVER_TIMEOUT | -3308 | Request for room entry timed out. Please check your network connection or whether you are on a VPN. You can also try switching to 4G for confirmation. |
57
- | ERR_TRTC_ROOM_PARAM_NULL | -3316 | Join Room Parameters are empty. Please check: enterRoom:appScene: whether the valid parameters were passed during the interface call |
58
- | ERR_TRTC_INVALID_SDK_APPID | -3317 | Join Room Parameters sdkAppId is incorrect. Please check whether TRTCParams.sdkAppId is empty |
59
- | ERR_TRTC_INVALID_ROOM_ID | -3318 | Join Room Parameters roomId is incorrect. Please check whether TRTCParams.roomId or TRTCParams.strRoomId is empty. Note that roomId and strRoomId cannot be used interchangeably |
60
- | ERR_TRTC_INVALID_USER_ID | -3319 | Join Room Parameters userId is incorrect. Please check whether TRTCParams.userId is empty |
61
- | ERR_TRTC_INVALID_USER_SIG | -3320 | Join Room Parameters userSig is incorrect. Please check whether TRTCParams.userSig is empty |
62
- | ERR_TRTC_ENTER_ROOM_REFUSED | -3340 | Join Room request was denied. Please check whether you continuously invoked enterRoom for the same ID room |
63
- | ERR_TRTC_INVALID_PRIVATE_MAPKEY | -100006 | You have enabled Advanced Permission Control, but the parameter TRTCParams.privateMapKey failed to verify<br>You can refer to [Advanced Permission Control](https://cloud.tencent.com/document/product/647/32240) for checks |
64
- | ERR_TRTC_SERVICE_SUSPENDED | -100013 | Unavailable service. Please check whether the remaining validity period in minutes in the package is greater than 0 and whether the Tencent Cloud account is in arrears.<br>You can refer to [Package management](https://cloud.tencent.com/document/product/647/50492) for viewing and configuration |
65
- | ERR_TRTC_USER_SIG_CHECK_FAILED | -100018 | UserSig verification failed. Please check whether the parameters TRTCParams.userSig are filled correctly or have expired.<br>You can refer to [UserSig Generation and Verification](https://cloud.tencent.com/document/product/647/50686) for verification |
66
- | ERR_TRTC_PUSH_THIRD_PARTY_CLOUD_TIMEOUT | -3321 | The relayed push request timed out |
67
- | ERR_TRTC_MIX_TRANSCODING_TIMEOUT | -3322 | The On-Cloud MixTranscoding request timed out |
68
- | ERR_TRTC_PUSH_THIRD_PARTY_CLOUD_FAILED | -3323 | Exception in Relay to CDN Callback |
69
- | ERR_TRTC_MIX_TRANSCODING_FAILED | -3324 | Exception in Cloud Mixed Streaming Callback |
70
- | ERR_TRTC_START_PUBLISHING_TIMEOUT | -3333 | Signaling timed out when starting pushing to Tencent Cloud LVB CDN |
71
- | ERR_TRTC_START_PUBLISHING_FAILED | -3334 | Signaling was exceptional when starting pushing to Tencent Cloud LVB CDN |
72
- | ERR_TRTC_STOP_PUBLISHING_TIMEOUT | -3335 | Signaling timed out when stopping pushing to Tencent Cloud LVB CDN |
73
- | ERR_TRTC_STOP_PUBLISHING_FAILED | -3336 | Signaling was exceptional when stopping pushing to Tencent Cloud LVB CDN |
74
- | ERR_TRTC_CONNECT_OTHER_ROOM_TIMEOUT | -3326 | Request for mic connection timed out |
75
- | ERR_TRTC_DISCONNECT_OTHER_ROOM_TIMEOUT | -3327 | Request to exit mic connection timed out |
76
- | ERR_TRTC_CONNECT_OTHER_ROOM_INVALID_PARAMETER | -3328 | Invalid parameter |
77
- | ERR_TRTC_CONNECT_OTHER_ROOM_AS_AUDIENCE | -3330 | Currently in audience role. Cannot request or disconnect cross-room mic connection. Please first ` switchRole ` to anchor |
78
- | ERR_BGM_OPEN_FAILED | -4001 | Failed to open file, such as invalid audio data, FFMPEG protocol not found, etc |
79
- | ERR_BGM_DECODE_FAILED | -4002 | Audio file decoding failed |
80
- | ERR_BGM_OVER_LIMIT | -4003 | Quantity exceeds the limit, such as preloading two background music tracks simultaneously |
81
- | ERR_BGM_INVALID_OPERATION | -4004 | Invalid operation, such as calling preload operation after starting playback |
82
- | ERR_BGM_INVALID_PATH | -4005 | Invalid path causing file opening failure. Please check if the path parameter points to a valid music file |
83
- | ERR_BGM_INVALID_URL | -4006 | Invalid URL causing file opening failure. Please check in the browser if the provided URL address can download the intended music file |
84
- | ERR_BGM_NO_AUDIO_STREAM | -4007 | No audio stream causing file opening failure. Please confirm the file is a valid audio file and is not corrupted |
85
- | ERR_BGM_FORMAT_NOT_SUPPORTED | -4008 | Unsupported format causing file opening failure. Please confirm if the file format is supported. Mobile supports [mp3, aac, m4a, wav, ogg, mp4, mkv], and desktop supports [mp3, aac, m4a, wav, mp4, mkv] |
86
- | ERR_CONCURRENT_BGM_OVER_LIMIT | -4009 | The number of background music tracks (BGMs) playing simultaneously has exceeded the limit. If this error message appears after the number of BGMs playing simultaneously exceeds 10, please check the number of concurrently playing BGMs. |
87
-
88
- ## TXLiteAVWarning
89
-
90
- #### 警告码。
91
- | Enumeration | Value | Description |
92
- | --- | --- | --- |
93
- | WARNING_HW_ENCODER_START_FAIL | 1103 | Issue with starting hardware encoding, automatically switched to software encoding |
94
- | WARNING_CURRENT_ENCODE_TYPE_CHANGED | 1104 | Indicates a change in the encoder. You can get the current encoding format and type through the relevant fields in the extended information of the onWarning function.<br>A value of 0 in the 'type' field represents H.264 encoding, and 1 represents H.265 encoding<br>A value of 0 in the 'hardware' field represents software encoding, and 1 represents hardware encoding<br>A value of 0 in the 'stream' field represents a large stream, 1 represents a small stream, and 2 represents an auxiliary stream |
95
- | WARNING_VIDEO_ENCODER_SW_TO_HW | 1107 | The current CPU utilization is too high to meet software encoding needs, and the hardware encoder was automatically switch to |
96
- | WARNING_INSUFFICIENT_CAPTURE_FPS | 1108 | Insufficient frame rate for video capturing through camera. This error may occur in Android mobile devices with an in-built beauty filter algorithm |
97
- | WARNING_SW_ENCODER_START_FAIL | 1109 | Failed to enable the software encoder |
98
- | WARNING_REDUCE_CAPTURE_RESOLUTION | 1110 | Camera resolution reduced for balance between frame rate and performance. |
99
- | WARNING_CAMERA_DEVICE_EMPTY | 1111 | No available camera device detected |
100
- | WARNING_CAMERA_NOT_AUTHORIZED | 1112 | The current application is not authorized to use the camera |
101
- | WARNING_OUT_OF_MEMORY | 1113 | Insufficient memory, some features may not function properly. |
102
- | WARNING_CAMERA_IS_OCCUPIED | 1114 | The camera is being used. |
103
- | WARNING_CAMERA_DEVICE_ERROR | 1115 | Device anomaly with the camera. |
104
- | WARNING_CAMERA_DISCONNECTED | 1116 | Unable to connect to the camera. |
105
- | WARNING_CAMERA_START_FAILED | 1117 | Failed to start the camera. |
106
- | WARNING_CAMERA_SERVER_DIED | 1118 | System anomaly. |
107
- | WARNING_SCREEN_CAPTURE_NOT_AUTHORIZED | 1206 | The current application is not authorized to use screen recording |
108
- | WARNING_CURRENT_DECODE_TYPE_CHANGED | 2008 | Indicates a change in the decoder. You can get the current decoding format through the 'type' field in the extended information of the onWarning function.<br>Among them, 1 represents 265 decoding, and 0 represents 264 decoding. Note that this error code's extended information is not supported on Windows. |
109
- | WARNING_VIDEO_FRAME_DECODE_FAIL | 2101 | Failed to decode the current video frame |
110
- | WARNING_HW_DECODER_START_FAIL | 2106 | Failed to enable the hardware decoder, and the software decoder was used |
111
- | WARNING_VIDEO_DECODER_HW_TO_SW | 2108 | The hardware decoder failed to decode the first I frame of the current stream, and the SDK automatically switched to the software decoder |
112
- | WARNING_SW_DECODER_START_FAIL | 2109 | Failed to enable the software decoder |
113
- | WARNING_VIDEO_RENDER_FAIL | 2110 | Failed to render video |
114
- | WARNING_VIRTUAL_BACKGROUND_DEVICE_UNSURPORTED | 8001 | Virtual background device not supported |
115
- | WARNING_VIRTUAL_BACKGROUND_NOT_AUTHORIZED | 8002 | Virtual background not authorized |
116
- | WARNING_VIRTUAL_BACKGROUND_INVALID_PARAMETER | 8003 | Virtual background parameter exception |
117
- | WARNING_VIRTUAL_BACKGROUND_PERFORMANCE_INSUFFICIENT | 8004 | Insufficient virtual background performance |
118
- | WARNING_MICROPHONE_DEVICE_EMPTY | 1201 | No available mic device detected |
119
- | WARNING_SPEAKER_DEVICE_EMPTY | 1202 | No available speaker device detected |
120
- | WARNING_MICROPHONE_NOT_AUTHORIZED | 1203 | The current application is not authorized to use the mic |
121
- | WARNING_MICROPHONE_DEVICE_ABNORMAL | 1204 | The audio capture device is unavailable (for example, it is in use or the PC determines it as an invalid device) |
122
- | WARNING_SPEAKER_DEVICE_ABNORMAL | 1205 | The audio playback device is unavailable (for example, it is in use or the PC determines it as an invalid device) |
123
- | WARNING_BLUETOOTH_DEVICE_CONNECT_FAIL | 1207 | Bluetooth device connection failed (for example, other applications occupying the audio channel through setting the call volume) |
124
- | WARNING_MICROPHONE_IS_OCCUPIED | 1208 | Audio capture device is occupied |
125
- | WARNING_AUDIO_FRAME_DECODE_FAIL | 2102 | Failed to decode the current audio frame |
126
- | WARNING_AUDIO_RECORDING_WRITE_FAIL | 7001 | Failed to write the recorded audio to a file |
127
- | WARNING_MICROPHONE_HOWLING_DETECTED | 7002 | Howling detected while recording audio |
128
- | WARNING_IGNORE_UPSTREAM_FOR_AUDIENCE | 6001 | Currently in audience role, publishing audio and video is not supported. Please switch to the anchor role first |
129
- | WARNING_UPSTREAM_AUDIO_AND_VIDEO_OUT_OF_SYNC | 6006 | Abnormal timestamp of audio and video transmission, which may cause audio and video out of sync issues |
130
- | WARNING_RECONNECT_ON_SERVER_STATUS_ABNORMAL | 6007 | The server is experiencing an error and is reconnecting |
@@ -1 +0,0 @@
1
- {"version":3,"file":"server-config.js","sourceRoot":"","sources":["../src/server-config.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,6BAA6B,CAAC;AAE7D,MAAM,YAAY;IAChB,MAAM,CAAC,QAAQ,CAAe;IACtB,MAAM,CAAsB;IACpC;QACE,IAAI,CAAC,MAAM,GAAG,IAAI,CAAC,cAAc,EAAE,CAAC;IACtC,CAAC;IAEM,MAAM,CAAC,WAAW;QACvB,IAAI,CAAC,YAAY,CAAC,QAAQ,EAAE,CAAC;YAC3B,YAAY,CAAC,QAAQ,GAAG,IAAI,YAAY,EAAE,CAAC;QAC7C,CAAC;QACD,OAAO,YAAY,CAAC,QAAQ,CAAC;IAC/B,CAAC;IAEO,cAAc;QACpB,MAAM,MAAM,GAAwB,EAAE,CAAC;QACvC,MAAM,EAAE,QAAQ,EAAE,SAAS,EAAE,GAAG,OAAO,CAAC,GAAG,IAAI,EAAE,CAAC;QAClD,IAAI,QAAQ,EAAE,CAAC;YACb,MAAM,CAAC,QAAQ,GAAG,QAAQ,CAAC;YAC3B,cAAc,CAAC;gBACb,QAAQ,EAAE,QAAQ;gBAClB,MAAM,EAAE,YAAY;aACrB,CAAC,CAAC;QACL,CAAC;QACD,IAAI,SAAS,EAAE,CAAC;YACd,MAAM,CAAC,SAAS,GAAG,SAAS,CAAC;QAC/B,CAAC;QACD,OAAO,MAAM,CAAC;IAChB,CAAC;IAEM,SAAS;QACd,OAAO,EAAE,GAAG,IAAI,CAAC,MAAM,EAAE,CAAC;IAC5B,CAAC;CACF;AAED,OAAO,EACL,YAAY,GACb,CAAC"}
package/server.js.map DELETED
@@ -1 +0,0 @@
1
- {"version":3,"file":"server.js","sourceRoot":"","sources":["../src/server.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,yCAAyC,CAAC;AACpE,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAEjD,MAAM,mBAAmB,GAAG;;;;;;;;;;;;;;CAc3B,CAAC,IAAI,EAAE,CAAC;AAET,MAAM,UAAU,YAAY;IAC1B,MAAM,MAAM,GAAG,IAAI,SAAS,CAC1B;QACE,IAAI,EAAE,wBAAwB;QAC9B,OAAO,EAAE,OAAO;KACjB,EACD;QACE,YAAY,EAAE,mBAAmB;KAClC,CACF,CAAC;IAEF,aAAa,CAAC,MAAM,CAAC,CAAC;IAEtB,OAAO,MAAM,CAAC;AAChB,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"streamable-http.js","sourceRoot":"","sources":["../src/streamable-http.ts"],"names":[],"mappings":"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"}
@@ -1,33 +0,0 @@
1
- import { z } from 'zod';
2
- import { GET_CALLKIT_API_DEFINITION } from '../definitions/get_callkit_api_def.js';
3
- import { getDocContent } from '../../utils/get-doc-content.js';
4
- import { reportCLSClient } from '../../utils/report-cls-client.js';
5
- import { enrichDocToolResponse } from '../../utils/build-session-directives.js';
6
- function getResultText(params) {
7
- const { framework = '', prompt = '' } = params;
8
- reportCLSClient({
9
- method: 'get_callkit_api',
10
- prompt,
11
- framework,
12
- });
13
- return enrichDocToolResponse(getDocContent(['callkit', 'preset', framework, 'api.md']), { prompt, framework, toolsUsed: 'get_callkit_api' });
14
- }
15
- const registryGetCallKitAPITool = (mcpServer) => {
16
- const { name, description, parameter_descriptions } = GET_CALLKIT_API_DEFINITION;
17
- mcpServer.registerTool(name, {
18
- description,
19
- inputSchema: {
20
- framework: z.enum(['react', 'vue', 'android', 'ios', 'flutter']).describe(parameter_descriptions.framework),
21
- prompt: z.string().describe(parameter_descriptions.prompt),
22
- },
23
- }, (params) => ({
24
- content: [
25
- {
26
- type: 'text',
27
- text: getResultText(params),
28
- }
29
- ]
30
- }));
31
- };
32
- export { registryGetCallKitAPITool };
33
- //# sourceMappingURL=get_callkit_api.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"get_callkit_api.js","sourceRoot":"","sources":["../../../src/tools/call/get_callkit_api.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,0BAA0B,EAAE,MAAM,uCAAuC,CAAC;AACnF,OAAO,EAAE,aAAa,EAAE,MAAM,gCAAgC,CAAC;AAC/D,OAAO,EAAE,eAAe,EAAE,MAAM,kCAAkC,CAAC;AACnE,OAAO,EAAE,qBAAqB,EAAE,MAAM,yCAAyC,CAAC;AAEhF,SAAS,aAAa,CAAC,MAA2B;IAChD,MAAM,EAAE,SAAS,GAAG,EAAE,EAAE,MAAM,GAAG,EAAE,EAAE,GAAG,MAAM,CAAC;IAC/C,eAAe,CAAC;QACd,MAAM,EAAE,iBAAiB;QACzB,MAAM;QACN,SAAS;KACV,CAAC,CAAC;IACH,OAAO,qBAAqB,CAAC,aAAa,CAAC,CAAC,SAAS,EAAE,QAAQ,EAAE,SAAS,EAAE,QAAQ,CAAC,CAAC,EAAE,EAAE,MAAM,EAAE,SAAS,EAAE,SAAS,EAAE,iBAAiB,EAAE,CAAC,CAAC;AAC/I,CAAC;AAED,MAAM,yBAAyB,GAAG,CAAC,SAAoB,EAAE,EAAE;IACzD,MAAM,EAAE,IAAI,EAAE,WAAW,EAAE,sBAAsB,EAAE,GAAG,0BAA0B,CAAC;IACjF,SAAS,CAAC,YAAY,CACpB,IAAI,EACJ;QACE,WAAW;QACX,WAAW,EAAE;YACX,SAAS,EAAE,CAAC,CAAC,IAAI,CAAC,CAAC,OAAO,EAAE,KAAK,EAAE,SAAS,EAAE,KAAK,EAAE,SAAS,CAAC,CAAC,CAAC,QAAQ,CAAC,sBAAsB,CAAC,SAAS,CAAC;YAC3G,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,sBAAsB,CAAC,MAAM,CAAC;SAC3D;KACF,EACD,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC;QACX,OAAO,EAAE;YACP;gBACE,IAAI,EAAE,MAAM;gBACZ,IAAI,EAAE,aAAa,CAAC,MAAM,CAAC;aAC5B;SACF;KACF,CAAC,CACH,CAAC;AACJ,CAAC,CAAC;AAEF,OAAO,EAAE,yBAAyB,EAAE,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"get_native_call_uikit_integration.js","sourceRoot":"","sources":["../../../src/tools/call/get_native_call_uikit_integration.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,4CAA4C,EAAE,MAAM,yDAAyD,CAAC;AACvH,OAAO,EAAE,aAAa,EAAE,MAAM,gCAAgC,CAAC;AAC/D,OAAO,EAAE,eAAe,EAAE,MAAM,kCAAkC,CAAC;AACnE,OAAO,EAAE,qBAAqB,EAAE,MAAM,yCAAyC,CAAC;AAEhF,SAAS,aAAa,CAAC,MAA2B;IAChD,MAAM,EAAE,SAAS,GAAG,EAAE,EAAE,MAAM,GAAG,EAAE,EAAE,GAAG,MAAM,CAAC;IAC/C,eAAe,CAAC;QACd,MAAM,EAAE,mCAAmC;QAC3C,MAAM;QACN,SAAS;KACV,CAAC,CAAC;IACH,OAAO,qBAAqB,CAAC,aAAa,CAAC,CAAC,SAAS,EAAE,QAAQ,EAAE,SAAS,EAAE,gBAAgB,CAAC,CAAC,EAAE,EAAE,MAAM,EAAE,SAAS,EAAE,SAAS,EAAE,mCAAmC,EAAE,CAAC,CAAC;AACzK,CAAC;AAED,MAAM,yCAAyC,GAAG,CAAC,SAAoB,EAAE,EAAE;IACzE,MAAM,EAAE,IAAI,EAAE,WAAW,EAAE,sBAAsB,EAAE,GAAG,4CAA4C,CAAC;IACnG,SAAS,CAAC,YAAY,CACpB,IAAI,EACJ;QACE,WAAW;QACX,WAAW,EAAE;YACX,SAAS,EAAE,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,EAAE,SAAS,EAAE,KAAK,CAAC,CAAC,CAAC,QAAQ,CAAC,sBAAsB,CAAC,SAAS,CAAC;YAC3F,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,sBAAsB,CAAC,MAAM,CAAC;SAC3D;KACF,EACD,CAAC,MAAM,EAAE,EAAE;QACT,OAAO;YACL,OAAO,EAAE;gBACP;oBACE,IAAI,EAAE,MAAM;oBACZ,IAAI,EAAE,aAAa,CAAC,MAAM,CAAC;iBAC5B;aACF;SACF,CAAA;IACL,CAAC,CAAC,CAAA;AACJ,CAAC,CAAC;AAEF,OAAO,EAAE,yCAAyC,EAAE,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"get_native_callkit_core_integration.js","sourceRoot":"","sources":["../../../src/tools/call/get_native_callkit_core_integration.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,8CAA8C,EAAE,MAAM,2DAA2D,CAAC;AAC3H,OAAO,EAAE,wBAAwB,EAAE,MAAM,2CAA2C,CAAC;AACrF,OAAO,EAAE,sBAAsB,EAAE,MAAM,yCAAyC,CAAC;AACjF,OAAO,EAAE,eAAe,EAAE,MAAM,kCAAkC,CAAC;AAEnE,MAAM,EACJ,yBAAyB,EAAE,yBAAyB,EACpD,6BAA6B,EAAE,6BAA6B,EAC5D,6BAA6B,EAAE,6BAA6B,GAC7D,GAAG,8CAA8C,CAAC;AAGnD,SAAS,eAAe,CAAC,SAAiB;IACxC,OAAO;QACL,WAAW,EAAK,CAAC,SAAS,EAAE,UAAU,EAAE,SAAS,EAAE,cAAc,CAAC;QAClE,aAAa,EAAG,CAAC,SAAS,EAAE,UAAU,EAAE,SAAS,EAAE,gBAAgB,CAAC;QACpE,cAAc,EAAE,CAAC,SAAS,EAAE,UAAU,EAAE,SAAS,EAAE,iBAAiB,CAAC;KACtE,CAAC;AACJ,CAAC;AAED,KAAK,UAAU,aAAa,CAAC,MAA2B;IACtD,MAAM,EAAE,SAAS,EAAE,KAAK,GAAG,EAAE,EAAE,MAAM,GAAG,EAAE,EAAE,GAAG,MAAM,CAAC;IAEtD,uFAAuF;IACvF,eAAe,CAAC;QACd,MAAM,EAAE,qCAAqC;QAC7C,MAAM;QACN,SAAS;QACT,IAAI,EAAE,KAAK,CAAC,IAAI,CAAC,GAAG,CAAC;KACtB,CAAC,CAAC;IAEH,gDAAgD;IAChD,MAAM,aAAa,GAAG,SAAS,KAAK,SAAS,IAAI,KAAK,CAAC,QAAQ,CAAC,cAAc,CAAC,CAAC;IAChF,MAAM,cAAc,GAAG,aAAa;QAClC,CAAC,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC,CAAS,EAAE,EAAE,CAAC,CAAC,KAAK,cAAc,CAAC;QACnD,CAAC,CAAC,KAAK,CAAC;IAEV,6FAA6F;IAC7F,IAAI,aAAa,IAAI,cAAc,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;QACjD,MAAM,IAAI,GAAG,sBAAsB,CAAC,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,EAAE,SAAS,EAAE,SAAS,EAAE,qCAAqC,EAAE,CAAC,CAAC;QAC9H,OAAO;YACL,mCAAmC,EAAE,6BAA6B,GAAG,IAAI,GAAG,IAAI,CAAC,aAAa;SAC/F,CAAC;IACJ,CAAC;IAED,MAAM,OAAO,GAAG,eAAe,CAAC,SAAS,CAAC,CAAC;IAE3C,MAAM,MAAM,GAAG,MAAM,wBAAwB,CAAC;QAC5C,KAAK,EAAE,cAAc;QACrB,OAAO;QACP,SAAS;QACT,MAAM;QACN,SAAS,EAAE,qCAAqC;KACjD,CAAC,CAAC;IAEH,sFAAsF;IACtF,IAAI,aAAa,EAAE,CAAC;QAClB,MAAM,CAAC,mCAAmC,IAAI,KAAK,6BAA6B,SAAS,CAAC;IAC5F,CAAC;IAED,OAAO,MAAM,CAAC;AAChB,CAAC;AAED,MAAM,2CAA2C,GAAG,CAAC,SAAoB,EAAE,EAAE;IAC3E,MAAM,EAAE,IAAI,EAAE,WAAW,EAAE,sBAAsB,EAAE,GAAG,8CAA8C,CAAC;IAErG,SAAS,CAAC,YAAY,CACpB,IAAI,EACJ;QACE,WAAW;QACX,WAAW,EAAE;YACX,SAAS,EAAE,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,EAAE,KAAK,EAAE,SAAS,EAAE,SAAS,CAAC,CAAC,CAAC,QAAQ,CAAC,sBAAsB,CAAC,SAAS,CAAC;YACtG,KAAK,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,WAAW,EAAE,aAAa,EAAE,cAAc,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,sBAAsB,CAAC,KAAK,CAAC;YAC3G,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,sBAAsB,CAAC,MAAM,CAAC;SAC3D;KACF,EACD,KAAK,EAAE,MAAW,EAAE,EAAE;QACpB,MAAM,EAAE,mCAAmC,EAAE,GAAG,MAAM,aAAa,CAAC,MAAM,CAAC,CAAC;QAC5E,OAAO;YACL,OAAO,EAAE;gBACP;oBACE,IAAI,EAAE,MAAM;oBACZ,IAAI,EAAE,yBAAyB,GAAG,mCAAmC,GAAG,6BAA6B;iBACtG;aACF;SACF,CAAC;IACJ,CAAC,CACF,CAAC;AACJ,CAAC,CAAC;AAEF,OAAO,EAAE,2CAA2C,EAAE,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"get_web_call_uikit_integration.js","sourceRoot":"","sources":["../../../src/tools/call/get_web_call_uikit_integration.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,yCAAyC,EAAE,MAAM,sDAAsD,CAAC;AACjH,OAAO,EAAE,aAAa,EAAE,MAAM,gCAAgC,CAAC;AAC/D,OAAO,EAAE,eAAe,EAAE,MAAM,kCAAkC,CAAC;AACnE,OAAO,EAAE,qBAAqB,EAAE,MAAM,yCAAyC,CAAC;AAEhF,SAAS,aAAa,CAAC,MAA2B;IAChD,MAAM,EAAE,SAAS,GAAG,EAAE,EAAE,MAAM,GAAG,EAAE,EAAE,GAAG,MAAM,CAAC;IAC/C,eAAe,CAAC;QACd,MAAM,EAAE,gCAAgC;QACxC,MAAM;QACN,SAAS;KACV,CAAC,CAAC;IACH,OAAO,qBAAqB,CAAC,aAAa,CAAC,CAAC,SAAS,EAAE,QAAQ,EAAE,SAAS,EAAE,gBAAgB,CAAC,CAAC,EAAE,EAAE,MAAM,EAAE,SAAS,EAAE,SAAS,EAAE,gCAAgC,EAAE,CAAC,CAAC;AACtK,CAAC;AAED,MAAM,sCAAsC,GAAG,CAAC,SAAoB,EAAE,EAAE;IACtE,MAAM,EAAE,IAAI,EAAE,WAAW,EAAE,sBAAsB,EAAE,GAAG,yCAAyC,CAAC;IAChG,SAAS,CAAC,YAAY,CACpB,IAAI,EACJ;QACE,WAAW;QACX,WAAW,EAAE;YACX,SAAS,EAAE,CAAC,CAAC,IAAI,CAAC,CAAC,OAAO,EAAE,KAAK,CAAC,CAAC,CAAC,QAAQ,CAAC,sBAAsB,CAAC,SAAS,CAAC;YAC9E,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,sBAAsB,CAAC,MAAM,CAAC;SAC3D;KACF,EACD,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC;QACX,OAAO,EAAE;YACP;gBACE,IAAI,EAAE,MAAM;gBACZ,IAAI,EAAE,aAAa,CAAC,MAAM,CAAC;aAC5B;SACF;KACF,CAAC,CACH,CAAC;AACJ,CAAC,CAAC;AAEF,OAAO,EAAE,sCAAsC,EAAE,CAAC"}
@@ -1,35 +0,0 @@
1
- import { z } from 'zod';
2
- import { GET_NATIVE_CHAT_UIKIT_FEATURE_DETAIL_DEFINITION } from '../definitions/get_native_chat_uikit_feature_detail_def.js';
3
- import { getDocContent } from '../../utils/get-doc-content.js';
4
- import { reportCLSClient } from '../../utils/report-cls-client.js';
5
- import { enrichDocToolResponse } from '../../utils/build-session-directives.js';
6
- function getResultText(params) {
7
- const { framework, featureName = '', prompt = '' } = params;
8
- reportCLSClient({
9
- method: 'get_native_chat_feature_detail',
10
- prompt,
11
- framework,
12
- info: featureName,
13
- });
14
- return enrichDocToolResponse(getDocContent(['chatkit', framework, 'features', `${featureName}.md`]), { prompt, framework, toolsUsed: 'get_native_chat_feature_detail' });
15
- }
16
- const registryGetNativeChatUIKitFeatureDetailTool = (mcpServer) => {
17
- const { name, description, parameter_descriptions } = GET_NATIVE_CHAT_UIKIT_FEATURE_DETAIL_DEFINITION;
18
- mcpServer.registerTool(name, {
19
- description,
20
- inputSchema: {
21
- framework: z.enum(['android', 'ios', 'flutter']).describe(parameter_descriptions.framework),
22
- featureName: z.string().describe(parameter_descriptions.featureName),
23
- prompt: z.string().describe(parameter_descriptions.prompt),
24
- },
25
- }, (params) => ({
26
- content: [
27
- {
28
- type: 'text',
29
- text: getResultText(params),
30
- }
31
- ]
32
- }));
33
- };
34
- export { registryGetNativeChatUIKitFeatureDetailTool };
35
- //# sourceMappingURL=get_native_chat_uikit_feature_detail.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"get_native_chat_uikit_feature_detail.js","sourceRoot":"","sources":["../../../src/tools/chat/get_native_chat_uikit_feature_detail.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,+CAA+C,EAAE,MAAM,4DAA4D,CAAC;AAC7H,OAAO,EAAE,aAAa,EAAE,MAAM,gCAAgC,CAAC;AAC/D,OAAO,EAAE,eAAe,EAAE,MAAM,kCAAkC,CAAC;AACnE,OAAO,EAAE,qBAAqB,EAAE,MAAM,yCAAyC,CAAC;AAGhF,SAAS,aAAa,CAAC,MAA2B;IAChD,MAAM,EAAE,SAAS,EAAE,WAAW,GAAG,EAAE,EAAE,MAAM,GAAG,EAAE,EAAE,GAAG,MAAM,CAAC;IAC5D,eAAe,CAAC;QACd,MAAM,EAAE,gCAAgC;QACxC,MAAM;QACN,SAAS;QACT,IAAI,EAAE,WAAW;KAClB,CAAC,CAAC;IACH,OAAO,qBAAqB,CAAC,aAAa,CAAC,CAAC,SAAS,EAAE,SAAS,EAAE,UAAU,EAAE,GAAG,WAAW,KAAK,CAAC,CAAC,EAAE,EAAE,MAAM,EAAE,SAAS,EAAE,SAAS,EAAE,gCAAgC,EAAE,CAAC,CAAC;AAC3K,CAAC;AAED,MAAM,2CAA2C,GAAG,CAAC,SAAoB,EAAE,EAAE;IAC3E,MAAM,EAAE,IAAI,EAAE,WAAW,EAAE,sBAAsB,EAAE,GAAG,+CAA+C,CAAC;IACtG,SAAS,CAAC,YAAY,CACpB,IAAI,EACJ;QACE,WAAW;QACX,WAAW,EAAE;YACX,SAAS,EAAE,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,EAAE,KAAK,EAAE,SAAS,CAAC,CAAC,CAAC,QAAQ,CAAC,sBAAsB,CAAC,SAAS,CAAC;YAC3F,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,sBAAsB,CAAC,WAAW,CAAC;YACpE,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,sBAAsB,CAAC,MAAM,CAAC;SAC3D;KACF,EACD,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC;QACX,OAAO,EAAE;YACP;gBACE,IAAI,EAAE,MAAM;gBACZ,IAAI,EAAE,aAAa,CAAC,MAAM,CAAC;aAC5B;SACF;KACF,CAAC,CAAC,CAAC;AACR,CAAC,CAAC;AAEF,OAAO,EAAE,2CAA2C,EAAE,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"get_native_chat_uikit_integration.js","sourceRoot":"","sources":["../../../src/tools/chat/get_native_chat_uikit_integration.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,4CAA4C,EAAE,MAAM,yDAAyD,CAAC;AACvH,OAAO,EAAE,eAAe,EAAE,MAAM,kCAAkC,CAAC;AACnE,OAAO,EAAE,wBAAwB,EAAE,MAAM,2CAA2C,CAAC;AAErF,KAAK,UAAU,aAAa,CAAC,MAA2B;IACtD,MAAM,EAAE,SAAS,GAAG,EAAE,EAAE,KAAK,GAAG,EAAE,EAAE,MAAM,GAAG,EAAE,EAAE,GAAG,MAAM,CAAC;IAC3D,MAAM,CAAC,IAAI,GAAG,eAAe,CAAC,GAAG,KAAK,CAAC;IACvC,eAAe,CAAC;QACd,MAAM,EAAE,mCAAmC;QAC3C,MAAM;QACN,SAAS;QACT,IAAI,EAAE,IAAI;KACX,CAAC,CAAC;IACH,MAAM,MAAM,GAAG,MAAM,wBAAwB,CAAC;QAC5C,KAAK,EAAE,CAAC,IAAI,CAAC;QACb,SAAS;QACT,MAAM;QACN,SAAS,EAAE,mCAAmC;QAC9C,OAAO,EAAE;YACP,CAAC,IAAI,CAAC,EAAE,CAAC,SAAS,EAAE,SAAS,EAAE,gBAAgB,CAAC;SACjD;KACF,CAAC,CAAA;IACF,OAAO,MAAM,CAAC;AAChB,CAAC;AAED,MAAM,yCAAyC,GAAG,CAAC,SAAoB,EAAE,EAAE;IACzE,MAAM,EAAE,IAAI,EAAE,WAAW,EAAE,sBAAsB,EAAE,GAAG,4CAA4C,CAAC;IACnG,SAAS,CAAC,YAAY,CACpB,IAAI,EACJ;QACE,WAAW;QACX,WAAW,EAAE;YACX,SAAS,EAAE,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,EAAE,SAAS,EAAE,KAAK,CAAC,CAAC,CAAC,QAAQ,CAAC,sBAAsB,CAAC,SAAS,CAAC;YAC3F,KAAK,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,eAAe,EAAE,WAAW,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,sBAAsB,CAAC,KAAK,CAAC;YAC3G,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,sBAAsB,CAAC,MAAM,CAAC;SAC3D;KACF,EACD,KAAK,EAAE,MAAW,EAAE,EAAE;QACpB,MAAM,EAAE,mCAAmC,EAAE,GAAG,MAAM,aAAa,CAAC,MAAM,CAAC,CAAA;QAC3E,OAAO;YACL,OAAO,EAAE;gBACP;oBACE,IAAI,EAAE,MAAM;oBACZ,IAAI,EAAE,mCAAmC;iBAC1C;aACF;SACF,CAAA;IACL,CAAC,CAAC,CAAC;AACL,CAAC,CAAC;AAEF,OAAO,EAAE,yCAAyC,EAAE,CAAC"}