@tencent-rtc/mcp 1.4.7 → 1.6.0-beta.1

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 (552) hide show
  1. package/cursor-setting.png +0 -0
  2. package/knowledge/bm25-cache.js +74 -0
  3. package/knowledge/bm25-cache.js.map +1 -0
  4. package/knowledge/bm25.js +148 -0
  5. package/knowledge/bm25.js.map +1 -0
  6. package/knowledge/build-index.js +70 -0
  7. package/knowledge/build-index.js.map +1 -0
  8. package/knowledge/chunker.js +168 -0
  9. package/knowledge/chunker.js.map +1 -0
  10. package/knowledge/content-loader.js +40 -0
  11. package/knowledge/content-loader.js.map +1 -0
  12. package/knowledge/doc-url-resolver.js +143 -0
  13. package/knowledge/doc-url-resolver.js.map +1 -0
  14. package/knowledge/extractors.js +26 -0
  15. package/knowledge/extractors.js.map +1 -0
  16. package/knowledge/path-meta.js +185 -0
  17. package/knowledge/path-meta.js.map +1 -0
  18. package/knowledge/search/exact-lookup.js +498 -0
  19. package/knowledge/search/exact-lookup.js.map +1 -0
  20. package/knowledge/search/filter-pool.js +105 -0
  21. package/knowledge/search/filter-pool.js.map +1 -0
  22. package/knowledge/search/product-scope-intent.js +41 -0
  23. package/knowledge/search/product-scope-intent.js.map +1 -0
  24. package/knowledge/search/requires-framework.js +82 -0
  25. package/knowledge/search/requires-framework.js.map +1 -0
  26. package/knowledge/search/search-knowledge.js +230 -0
  27. package/knowledge/search/search-knowledge.js.map +1 -0
  28. package/mcp-server-prompt.png +0 -0
  29. package/package.json +1 -1
  30. package/resource/_schema/feature-aliases.yaml +10 -0
  31. package/resource/_schema/goal-tags.yaml +72 -0
  32. package/resource/_schema/products.yaml +19 -0
  33. package/resource/_schema/trtc-intents.yaml +27 -0
  34. package/resource/_schema/types.yaml +43 -0
  35. package/resource/index/component-slugs.json +1 -0
  36. package/resource/index/doc-source-urls.json +1 -0
  37. package/resource/index/manifest.json +1 -0
  38. package/resource/{doc → integration}/callkit/preset/android/integration.md +34 -28
  39. package/resource/integration/callkit/preset/flutter/integration.md +346 -0
  40. package/resource/integration/callkit/preset/ios/integration.md +408 -0
  41. package/resource/integration/callkit/preset/react/integration.md +362 -0
  42. package/resource/integration/callkit/preset/vue/integration.md +356 -0
  43. package/resource/integration/chat/preset/android/integration.md +500 -0
  44. package/resource/integration/chat/preset/flutter/integration.md +370 -0
  45. package/resource/integration/chat/preset/ios/integration.md +566 -0
  46. package/resource/integration/chat/preset/react/integration.md +490 -0
  47. package/resource/integration/chat/preset/vue/integration.md +504 -0
  48. package/resource/{doc → integration}/livekit/preset/live/vue/live-list-integration.md +26 -22
  49. package/resource/{doc → integration}/livekit/preset/live/vue/live-player-desk-integration.md +22 -18
  50. package/resource/integration/livekit/preset/live/vue/live-player-h5-integration.md +309 -0
  51. package/resource/{doc → integration}/livekit/preset/live/vue/live-pusher-integration.md +47 -39
  52. package/resource/integration/roomkit/preset/vue/integration.md +562 -0
  53. package/resource/knowledge/callkit/core-sdk/android/answer-call.md +828 -0
  54. package/resource/knowledge/callkit/core-sdk/android/make-call.md +897 -0
  55. package/resource/knowledge/callkit/core-sdk/android/offline-push.md +363 -0
  56. package/resource/knowledge/callkit/core-sdk/flutter/answer-call.md +1111 -0
  57. package/resource/knowledge/callkit/core-sdk/flutter/make-call.md +1132 -0
  58. package/resource/{doc → knowledge}/callkit/core-sdk/flutter/offline-push.md +174 -151
  59. package/resource/knowledge/callkit/core-sdk/ios/answer-call.md +1084 -0
  60. package/resource/knowledge/callkit/core-sdk/ios/make-call.md +1252 -0
  61. package/resource/knowledge/callkit/core-sdk/ios/offline-push.md +534 -0
  62. package/resource/knowledge/callkit/core-sdk/uni-app/answer-call.md +953 -0
  63. package/resource/knowledge/callkit/core-sdk/uni-app/make-call.md +1061 -0
  64. package/resource/knowledge/callkit/faq/android.md +92 -0
  65. package/resource/{doc/callkit/faq/android-faq.md → knowledge/callkit/faq/common.md} +11 -12
  66. package/resource/knowledge/callkit/faq/error-code.md +67 -0
  67. package/resource/knowledge/callkit/faq/flutter.md +52 -0
  68. package/resource/knowledge/callkit/faq/ios.md +104 -0
  69. package/resource/knowledge/callkit/faq/web.md +74 -0
  70. package/resource/knowledge/callkit/preset/android/api.md +412 -0
  71. package/resource/knowledge/callkit/preset/flutter/api.md +22 -0
  72. package/resource/knowledge/callkit/preset/ios/api.md +234 -0
  73. package/resource/knowledge/callkit/preset/web/api.md +83 -0
  74. package/resource/knowledge/chat/preset/android/features/chat-setting.md +74 -0
  75. package/resource/knowledge/chat/preset/android/features/contact-list.md +43 -0
  76. package/resource/knowledge/chat/preset/android/features/conversation-list.md +117 -0
  77. package/resource/knowledge/chat/preset/android/features/language.md +136 -0
  78. package/resource/knowledge/chat/preset/android/features/message-input.md +57 -0
  79. package/resource/knowledge/chat/preset/android/features/message-list.md +142 -0
  80. package/resource/knowledge/chat/preset/android/features/search.md +64 -0
  81. package/resource/knowledge/chat/preset/android/features/theme.md +222 -0
  82. package/resource/knowledge/chat/preset/android-view/integration.md +300 -0
  83. package/resource/knowledge/chat/preset/flutter/features/chat-setting.md +64 -0
  84. package/resource/knowledge/chat/preset/flutter/features/contact-list.md +40 -0
  85. package/resource/knowledge/chat/preset/flutter/features/conversation-list.md +129 -0
  86. package/resource/knowledge/chat/preset/flutter/features/language.md +104 -0
  87. package/resource/knowledge/chat/preset/flutter/features/message-input.md +54 -0
  88. package/resource/knowledge/chat/preset/flutter/features/message-list.md +158 -0
  89. package/resource/knowledge/chat/preset/flutter/features/search.md +59 -0
  90. package/resource/knowledge/chat/preset/flutter/features/theme.md +261 -0
  91. package/resource/knowledge/chat/preset/ios/features/chat-setting.md +94 -0
  92. package/resource/knowledge/chat/preset/ios/features/contact-list.md +119 -0
  93. package/resource/knowledge/chat/preset/ios/features/conversation-list.md +134 -0
  94. package/resource/knowledge/chat/preset/ios/features/language.md +125 -0
  95. package/resource/knowledge/chat/preset/ios/features/message-input.md +69 -0
  96. package/resource/knowledge/chat/preset/ios/features/message-list.md +162 -0
  97. package/resource/knowledge/chat/preset/ios/features/search.md +93 -0
  98. package/resource/knowledge/chat/preset/ios/features/theme.md +270 -0
  99. package/resource/{doc/chatkit/ios → knowledge/chat/preset/ios-uikit}/integration.md +160 -158
  100. package/resource/knowledge/chat/preset/react/features/chat-setting.md +101 -0
  101. package/resource/{doc/chatkit/react/components → knowledge/chat/preset/react/features}/contact-list.md +43 -41
  102. package/resource/knowledge/chat/preset/react/features/conversation-actions.md +215 -0
  103. package/resource/knowledge/chat/preset/react/features/conversation-list.md +339 -0
  104. package/resource/knowledge/chat/preset/react/features/conversation-preview.md +101 -0
  105. package/resource/knowledge/chat/preset/react/features/conversation-search.md +61 -0
  106. package/resource/{doc/chatkit/react/components → knowledge/chat/preset/react/features}/message-input.md +117 -156
  107. package/resource/knowledge/chat/preset/react/features/message-list.md +297 -0
  108. package/resource/{doc/chatkit/react/components → knowledge/chat/preset/react/features}/search.md +65 -59
  109. package/resource/knowledge/chat/preset/react/features/theme.md +93 -0
  110. package/resource/knowledge/chat/preset/vue/features/chat-header.md +331 -0
  111. package/resource/knowledge/chat/preset/vue/features/chat-setting.md +79 -0
  112. package/resource/knowledge/chat/preset/vue/features/contact-list.md +277 -0
  113. package/resource/knowledge/chat/preset/vue/features/conversation-actions.md +234 -0
  114. package/resource/knowledge/chat/preset/vue/features/conversation-list.md +331 -0
  115. package/resource/knowledge/chat/preset/vue/features/conversation-preview.md +216 -0
  116. package/resource/{doc/chatkit/vue/components → knowledge/chat/preset/vue/features}/conversation-search.md +13 -13
  117. package/resource/knowledge/chat/preset/vue/features/message-input.md +551 -0
  118. package/resource/knowledge/chat/preset/vue/features/message-list.md +350 -0
  119. package/resource/{doc/chatkit/vue/components → knowledge/chat/preset/vue/features}/search.md +79 -73
  120. package/resource/knowledge/chat/preset/vue/features/theme.md +136 -0
  121. package/resource/knowledge/chat/urls/error-code.md +17 -0
  122. package/resource/knowledge/chat/urls/product.md +43 -0
  123. package/resource/knowledge/chat/urls/restapi.md +204 -0
  124. package/resource/knowledge/chat/urls/sdk/android.md +80 -0
  125. package/resource/knowledge/chat/urls/sdk/flutter.md +71 -0
  126. package/resource/knowledge/chat/urls/sdk/ios.md +80 -0
  127. package/resource/knowledge/chat/urls/sdk/web.md +80 -0
  128. package/resource/knowledge/chat/urls/webhook.md +68 -0
  129. package/resource/knowledge/livekit/core-sdk/api-reference/android/AudioEffectStore.md +286 -0
  130. package/resource/knowledge/livekit/core-sdk/api-reference/android/BarrageStore.md +174 -0
  131. package/resource/knowledge/livekit/core-sdk/api-reference/android/BattleStore.md +329 -0
  132. package/resource/knowledge/livekit/core-sdk/api-reference/android/CameraView.md +55 -0
  133. package/resource/knowledge/livekit/core-sdk/api-reference/android/CoGuestStore.md +434 -0
  134. package/resource/knowledge/livekit/core-sdk/api-reference/android/CoHostStore.md +362 -0
  135. package/resource/knowledge/livekit/core-sdk/api-reference/android/DeviceStore.md +466 -0
  136. package/resource/knowledge/livekit/core-sdk/api-reference/android/GiftStore.md +173 -0
  137. package/resource/knowledge/livekit/core-sdk/api-reference/android/LikeStore.md +51 -0
  138. package/resource/knowledge/livekit/core-sdk/api-reference/android/LiveAudienceStore.md +291 -0
  139. package/resource/knowledge/livekit/core-sdk/api-reference/android/LiveCoreView.md +78 -0
  140. package/resource/knowledge/livekit/core-sdk/api-reference/android/LiveSeatStore.md +488 -0
  141. package/resource/knowledge/livekit/core-sdk/api-reference/android/LoginStore.md +219 -0
  142. package/resource/knowledge/livekit/core-sdk/api-reference/flutter/AudioEffectStore.md +282 -0
  143. package/resource/knowledge/livekit/core-sdk/api-reference/flutter/BarrageStore.md +212 -0
  144. package/resource/knowledge/livekit/core-sdk/api-reference/flutter/BaseBeautyStore.md +153 -0
  145. package/resource/knowledge/livekit/core-sdk/api-reference/flutter/BattleStore.md +312 -0
  146. package/resource/knowledge/livekit/core-sdk/api-reference/flutter/CoGuestStore.md +404 -0
  147. package/resource/knowledge/livekit/core-sdk/api-reference/flutter/CoHostStore.md +334 -0
  148. package/resource/knowledge/livekit/core-sdk/api-reference/flutter/DeviceStore.md +426 -0
  149. package/resource/knowledge/livekit/core-sdk/api-reference/flutter/GiftStore.md +166 -0
  150. package/resource/knowledge/livekit/core-sdk/api-reference/flutter/LikeStore.md +52 -0
  151. package/resource/knowledge/livekit/core-sdk/api-reference/flutter/LiveAudienceStore.md +281 -0
  152. package/resource/knowledge/livekit/core-sdk/api-reference/flutter/LiveCoreView.md +150 -0
  153. package/resource/knowledge/livekit/core-sdk/api-reference/flutter/LiveSeatStore.md +438 -0
  154. package/resource/knowledge/livekit/core-sdk/api-reference/flutter/LoginStore.md +190 -0
  155. package/resource/knowledge/livekit/core-sdk/api-reference/ios/AudioEffectStore.md +291 -0
  156. package/resource/knowledge/livekit/core-sdk/api-reference/ios/BarrageStore.md +192 -0
  157. package/resource/knowledge/livekit/core-sdk/api-reference/ios/BaseBeautyStore.md +146 -0
  158. package/resource/knowledge/livekit/core-sdk/api-reference/ios/BattleStore.md +309 -0
  159. package/resource/knowledge/livekit/core-sdk/api-reference/ios/CoGuestStore.md +370 -0
  160. package/resource/knowledge/livekit/core-sdk/api-reference/ios/CoHostStore.md +339 -0
  161. package/resource/knowledge/livekit/core-sdk/api-reference/ios/DeviceStore.md +503 -0
  162. package/resource/knowledge/livekit/core-sdk/api-reference/ios/GiftStore.md +188 -0
  163. package/resource/knowledge/livekit/core-sdk/api-reference/ios/LikeStore.md +51 -0
  164. package/resource/knowledge/livekit/core-sdk/api-reference/ios/LiveAudienceStore.md +289 -0
  165. package/resource/knowledge/livekit/core-sdk/api-reference/ios/LiveCoreView.md +78 -0
  166. package/resource/knowledge/livekit/core-sdk/api-reference/ios/LiveSeatStore.md +487 -0
  167. package/resource/knowledge/livekit/core-sdk/api-reference/ios/LoginStore.md +183 -0
  168. package/resource/knowledge/livekit/core-sdk/api-reference/web/index.md +736 -0
  169. package/resource/{doc → knowledge}/livekit/core-sdk/live/android/live-audience-list.md +53 -47
  170. package/resource/{doc → knowledge}/livekit/core-sdk/live/android/live-audio-effect.md +28 -24
  171. package/resource/{doc → knowledge}/livekit/core-sdk/live/android/live-barrage.md +22 -18
  172. package/resource/{doc → knowledge}/livekit/core-sdk/live/android/live-base-beauty.md +17 -15
  173. package/resource/{doc → knowledge}/livekit/core-sdk/live/android/live-co-guest-interaction.md +19 -18
  174. package/resource/{doc → knowledge}/livekit/core-sdk/live/android/live-gift.md +102 -89
  175. package/resource/{doc → knowledge}/livekit/core-sdk/live/android/live-host-interaction.md +41 -37
  176. package/resource/{doc → knowledge}/livekit/core-sdk/live/android/live-integration.md +45 -43
  177. package/resource/{doc → knowledge}/livekit/core-sdk/live/android/live-live-list.md +23 -20
  178. package/resource/{doc → knowledge}/livekit/core-sdk/live/flutter/live-audience-list.md +41 -41
  179. package/resource/{doc → knowledge}/livekit/core-sdk/live/flutter/live-audio-effect.md +70 -69
  180. package/resource/{doc → knowledge}/livekit/core-sdk/live/flutter/live-barrage.md +68 -71
  181. package/resource/{doc → knowledge}/livekit/core-sdk/live/flutter/live-base-beauty.md +43 -47
  182. package/resource/{doc → knowledge}/livekit/core-sdk/live/flutter/live-co-guest-interaction.md +59 -56
  183. package/resource/{doc → knowledge}/livekit/core-sdk/live/flutter/live-gift.md +103 -105
  184. package/resource/knowledge/livekit/core-sdk/live/flutter/live-host-interaction.md +869 -0
  185. package/resource/{doc → knowledge}/livekit/core-sdk/live/flutter/live-integration.md +84 -87
  186. package/resource/{doc → knowledge}/livekit/core-sdk/live/flutter/live-live-list.md +43 -40
  187. package/resource/{doc → knowledge}/livekit/core-sdk/live/ios/live-audience-list.md +11 -10
  188. package/resource/{doc → knowledge}/livekit/core-sdk/live/ios/live-audio-effect.md +28 -24
  189. package/resource/{doc → knowledge}/livekit/core-sdk/live/ios/live-barrage.md +22 -18
  190. package/resource/{doc → knowledge}/livekit/core-sdk/live/ios/live-base-beauty.md +15 -14
  191. package/resource/{doc → knowledge}/livekit/core-sdk/live/ios/live-co-guest-interaction.md +19 -18
  192. package/resource/{doc → knowledge}/livekit/core-sdk/live/ios/live-gift.md +54 -50
  193. package/resource/{doc → knowledge}/livekit/core-sdk/live/ios/live-host-interaction.md +41 -37
  194. package/resource/{doc → knowledge}/livekit/core-sdk/live/ios/live-integration.md +40 -40
  195. package/resource/{doc → knowledge}/livekit/core-sdk/live/ios/live-live-list.md +19 -18
  196. package/resource/{doc → knowledge}/livekit/core-sdk/voice/android/voice-audience-list.md +53 -47
  197. package/resource/{doc → knowledge}/livekit/core-sdk/voice/android/voice-audio-effect.md +28 -24
  198. package/resource/{doc → knowledge}/livekit/core-sdk/voice/android/voice-barrage.md +22 -18
  199. package/resource/{doc → knowledge}/livekit/core-sdk/voice/android/voice-co-guest-interaction.md +41 -33
  200. package/resource/{doc → knowledge}/livekit/core-sdk/voice/android/voice-gift.md +94 -81
  201. package/resource/{doc → knowledge}/livekit/core-sdk/voice/android/voice-host-interaction.md +35 -30
  202. package/resource/{doc → knowledge}/livekit/core-sdk/voice/android/voice-integration.md +45 -42
  203. package/resource/{doc → knowledge}/livekit/core-sdk/voice/android/voice-room-list.md +23 -20
  204. package/resource/knowledge/livekit/core-sdk/voice/flutter/voice-audience-list.md +260 -0
  205. package/resource/knowledge/livekit/core-sdk/voice/flutter/voice-audio-effect.md +598 -0
  206. package/resource/knowledge/livekit/core-sdk/voice/flutter/voice-barrage.md +490 -0
  207. package/resource/{doc → knowledge}/livekit/core-sdk/voice/flutter/voice-co-guest-interaction.md +65 -59
  208. package/resource/knowledge/livekit/core-sdk/voice/flutter/voice-gift.md +424 -0
  209. package/resource/{doc → knowledge}/livekit/core-sdk/voice/flutter/voice-integration.md +69 -76
  210. package/resource/knowledge/livekit/core-sdk/voice/flutter/voice-room-list.md +726 -0
  211. package/resource/{doc → knowledge}/livekit/core-sdk/voice/ios/voice-audience-list.md +11 -10
  212. package/resource/{doc → knowledge}/livekit/core-sdk/voice/ios/voice-audio-effect.md +28 -24
  213. package/resource/{doc → knowledge}/livekit/core-sdk/voice/ios/voice-barrage.md +22 -18
  214. package/resource/{doc → knowledge}/livekit/core-sdk/voice/ios/voice-co-guest-interaction.md +41 -33
  215. package/resource/{doc → knowledge}/livekit/core-sdk/voice/ios/voice-gift.md +54 -50
  216. package/resource/{doc → knowledge}/livekit/core-sdk/voice/ios/voice-host-interaction.md +35 -30
  217. package/resource/{doc → knowledge}/livekit/core-sdk/voice/ios/voice-integration.md +49 -46
  218. package/resource/{doc → knowledge}/livekit/core-sdk/voice/ios/voice-room-list.md +19 -18
  219. package/resource/knowledge/livekit/faq/error-code.md +193 -0
  220. package/resource/{doc/livekit/preset/live/vue/components → knowledge/livekit/preset/live/vue/features}/barrage.md +56 -53
  221. package/resource/{doc/livekit/preset/live/vue/components → knowledge/livekit/preset/live/vue/features}/live-audience-list.md +22 -21
  222. package/resource/{doc/livekit/preset/live/vue/components → knowledge/livekit/preset/live/vue/features}/live-view.md +34 -32
  223. package/resource/knowledge/push/config/android.md +92 -0
  224. package/resource/knowledge/push/config/harmonyos.md +83 -0
  225. package/resource/knowledge/push/config/ios.md +254 -0
  226. package/resource/knowledge/push/config/react-native.md +254 -0
  227. package/resource/knowledge/push/config/unity.md +209 -0
  228. package/resource/knowledge/push/config/unreal-engine.md +194 -0
  229. package/resource/knowledge/push/integration/android.md +404 -0
  230. package/resource/knowledge/push/integration/flutter.md +465 -0
  231. package/resource/knowledge/push/integration/harmonyos.md +63 -0
  232. package/resource/knowledge/push/integration/ios.md +246 -0
  233. package/resource/knowledge/push/integration/react-native.md +366 -0
  234. package/resource/knowledge/push/integration/uni-app.md +208 -0
  235. package/resource/knowledge/push/integration/unity.md +389 -0
  236. package/resource/knowledge/push/integration/unreal-engine.md +390 -0
  237. package/resource/knowledge/push/overview/prepare.md +60 -0
  238. package/resource/knowledge/roomkit/core-sdk/android/call-user-to-room.md +241 -0
  239. package/resource/knowledge/roomkit/core-sdk/android/room-participant-state.md +588 -0
  240. package/resource/knowledge/roomkit/core-sdk/android/room-state.md +364 -0
  241. package/resource/knowledge/roomkit/core-sdk/android/schedule-room.md +340 -0
  242. package/resource/knowledge/roomkit/core-sdk/flutter/call-user-to-room.md +230 -0
  243. package/resource/knowledge/roomkit/core-sdk/flutter/room-participant-state.md +797 -0
  244. package/resource/knowledge/roomkit/core-sdk/flutter/room-state.md +325 -0
  245. package/resource/knowledge/roomkit/core-sdk/flutter/schedule-room.md +325 -0
  246. package/resource/knowledge/roomkit/core-sdk/ios/call-user-to-room.md +233 -0
  247. package/resource/knowledge/roomkit/core-sdk/ios/room-participant-state.md +569 -0
  248. package/resource/knowledge/roomkit/core-sdk/ios/room-state.md +325 -0
  249. package/resource/knowledge/roomkit/core-sdk/ios/schedule-room.md +322 -0
  250. package/resource/knowledge/roomkit/core-sdk/vue/call-user-to-room.md +221 -0
  251. package/resource/{doc/roomkit/vue/features → knowledge/roomkit/core-sdk/vue}/device-detection.md +49 -48
  252. package/resource/knowledge/roomkit/core-sdk/vue/device-state.md +461 -0
  253. package/resource/knowledge/roomkit/core-sdk/vue/free-beauty-panel.md +216 -0
  254. package/resource/knowledge/roomkit/core-sdk/vue/room-chat.md +370 -0
  255. package/resource/{doc/roomkit/vue/features → knowledge/roomkit/core-sdk/vue}/room-participant-state.md +61 -60
  256. package/resource/knowledge/roomkit/core-sdk/vue/room-state.md +280 -0
  257. package/resource/{doc/roomkit/vue/features → knowledge/roomkit/core-sdk/vue}/room-view.md +57 -56
  258. package/resource/knowledge/roomkit/core-sdk/vue/schedule-room.md +319 -0
  259. package/resource/knowledge/roomkit/core-sdk/vue/screen-share.md +267 -0
  260. package/resource/knowledge/roomkit/core-sdk/vue/virtual-background.md +261 -0
  261. package/resource/knowledge/roomkit/preset/android/integration.md +396 -0
  262. package/resource/knowledge/roomkit/preset/flutter/integration.md +404 -0
  263. package/resource/knowledge/roomkit/preset/ios/integration.md +369 -0
  264. package/resource/knowledge/roomkit/preset/react/integration.md +576 -0
  265. package/resource/knowledge/rtcengine/web/how_to_run_web_sdk_demo.md +44 -0
  266. package/resource/{doc → knowledge}/rtcengine/web/plugin/21-advanced-auto-play-policy.md +8 -2
  267. package/resource/{doc → knowledge}/rtcengine/web/plugin/22-advanced-audio-mixer.md +19 -1
  268. package/resource/{doc → knowledge}/rtcengine/web/plugin/23-advanced-support-detection.md +1 -1
  269. package/resource/{doc → knowledge}/rtcengine/web/plugin/24-advanced-network-quality.md +8 -8
  270. package/resource/{doc → knowledge}/rtcengine/web/plugin/25-advanced-device-change.md +1 -1
  271. package/resource/{doc → knowledge}/rtcengine/web/plugin/26-advanced-publish-cdn-stream.md +6 -6
  272. package/resource/{doc → knowledge}/rtcengine/web/plugin/27-advanced-small-stream.md +3 -3
  273. package/resource/{doc → knowledge}/rtcengine/web/plugin/29-advanced-water-mark.md +18 -0
  274. package/resource/{doc → knowledge}/rtcengine/web/plugin/31-advanced-plugins-overview.md +1 -1
  275. package/resource/{doc → knowledge}/rtcengine/web/plugin/34-advanced-proxy.md +2 -2
  276. package/resource/{doc → knowledge}/rtcengine/web/plugin/35-advanced-ai-denoiser.md +1 -1
  277. package/resource/knowledge/trtc/android/TRTCCloud.md +1915 -0
  278. package/resource/knowledge/trtc/android/TRTCCloudDef.md +1029 -0
  279. package/resource/knowledge/trtc/android/TRTCCloudListener.md +1095 -0
  280. package/resource/knowledge/trtc/android/TRTCStatistics.md +68 -0
  281. package/resource/knowledge/trtc/android/TXAudioEffectManager.md +502 -0
  282. package/resource/knowledge/trtc/android/TXBeautyManager.md +415 -0
  283. package/resource/knowledge/trtc/android/TXDeviceManager.md +169 -0
  284. package/resource/knowledge/trtc/android/TXLiteAVCode.md +125 -0
  285. package/resource/knowledge/trtc/c++/ITRTCCloud.md +2069 -0
  286. package/resource/knowledge/trtc/c++/ITRTCStatistics.md +73 -0
  287. package/resource/knowledge/trtc/c++/ITXAudioEffectManager.md +502 -0
  288. package/resource/knowledge/trtc/c++/ITXDeviceManager.md +391 -0
  289. package/resource/knowledge/trtc/c++/TRTCCloudCallback.md +1191 -0
  290. package/resource/knowledge/trtc/c++/TRTCTypeDef.md +931 -0
  291. package/resource/knowledge/trtc/c++/TXLiteAVCode.md +127 -0
  292. package/resource/knowledge/trtc/ios/TRTCCloud.md +2118 -0
  293. package/resource/knowledge/trtc/ios/TRTCCloudDef.md +975 -0
  294. package/resource/knowledge/trtc/ios/TRTCCloudDelegate.md +1131 -0
  295. package/resource/knowledge/trtc/ios/TRTCStatistics.md +68 -0
  296. package/resource/knowledge/trtc/ios/TXAudioEffectManager.md +423 -0
  297. package/resource/knowledge/trtc/ios/TXBeautyManager.md +416 -0
  298. package/resource/knowledge/trtc/ios/TXDeviceManager.md +387 -0
  299. package/resource/knowledge/trtc/ios/TXLiteAVCode.md +127 -0
  300. package/server.js +35 -11
  301. package/server.js.map +1 -1
  302. package/tools/call/get_native_call_uikit_integration.js +2 -3
  303. package/tools/call/get_native_call_uikit_integration.js.map +1 -1
  304. package/tools/call/get_native_callkit_core_integration.js +2 -5
  305. package/tools/call/get_native_callkit_core_integration.js.map +1 -1
  306. package/tools/call/get_web_call_uikit_integration.js +2 -3
  307. package/tools/call/get_web_call_uikit_integration.js.map +1 -1
  308. package/tools/chat/get_native_chat_uikit_integration.js +2 -3
  309. package/tools/chat/get_native_chat_uikit_integration.js.map +1 -1
  310. package/tools/chat/get_web_chat_uikit_integration.js +2 -3
  311. package/tools/chat/get_web_chat_uikit_integration.js.map +1 -1
  312. package/tools/common/present_framework_choice.js +19 -13
  313. package/tools/common/present_framework_choice.js.map +1 -1
  314. package/tools/common/record_answer.js +19 -25
  315. package/tools/common/record_answer.js.map +1 -1
  316. package/tools/common/record_feedback.js +17 -30
  317. package/tools/common/record_feedback.js.map +1 -1
  318. package/tools/common/search_trtc_knowledge.js +45 -0
  319. package/tools/common/search_trtc_knowledge.js.map +1 -0
  320. package/tools/definitions/get_native_call_uikit_integration_def.js +3 -1
  321. package/tools/definitions/get_native_call_uikit_integration_def.js.map +1 -1
  322. package/tools/definitions/get_native_callkit_core_integration_def.js +5 -3
  323. package/tools/definitions/get_native_callkit_core_integration_def.js.map +1 -1
  324. package/tools/definitions/get_native_chat_uikit_integration_def.js +5 -2
  325. package/tools/definitions/get_native_chat_uikit_integration_def.js.map +1 -1
  326. package/tools/definitions/get_native_livekit_core_integration_def.js +6 -5
  327. package/tools/definitions/get_native_livekit_core_integration_def.js.map +1 -1
  328. package/tools/definitions/get_web_call_uikit_integration_def.js +4 -2
  329. package/tools/definitions/get_web_call_uikit_integration_def.js.map +1 -1
  330. package/tools/definitions/get_web_chat_uikit_integration_def.js +2 -0
  331. package/tools/definitions/get_web_chat_uikit_integration_def.js.map +1 -1
  332. package/tools/definitions/get_web_live_uikit_integration_def.js +5 -5
  333. package/tools/definitions/get_web_live_uikit_integration_def.js.map +1 -1
  334. package/tools/definitions/get_web_room_core_integration_def.js +50 -0
  335. package/tools/definitions/get_web_room_core_integration_def.js.map +1 -0
  336. package/tools/definitions/get_web_room_uikit_integration_def.js +5 -4
  337. package/tools/definitions/get_web_room_uikit_integration_def.js.map +1 -1
  338. package/tools/definitions/integration-boundary.js +6 -0
  339. package/tools/definitions/integration-boundary.js.map +1 -0
  340. package/tools/definitions/present_framework_choice_def.js +12 -10
  341. package/tools/definitions/present_framework_choice_def.js.map +1 -1
  342. package/tools/definitions/record_answer_def.js +19 -17
  343. package/tools/definitions/record_answer_def.js.map +1 -1
  344. package/tools/definitions/record_feedback_def.js +14 -13
  345. package/tools/definitions/record_feedback_def.js.map +1 -1
  346. package/tools/definitions/search_trtc_knowledge_def.js +40 -0
  347. package/tools/definitions/search_trtc_knowledge_def.js.map +1 -0
  348. package/tools/index.js +5 -36
  349. package/tools/index.js.map +1 -1
  350. package/tools/live/get_native_livekit_core_integration.js +1 -3
  351. package/tools/live/get_native_livekit_core_integration.js.map +1 -1
  352. package/tools/live/get_web_live_uikit_integration.js +2 -4
  353. package/tools/live/get_web_live_uikit_integration.js.map +1 -1
  354. package/tools/room/get_web_room_core_integration.js +48 -0
  355. package/tools/room/get_web_room_core_integration.js.map +1 -0
  356. package/tools/room/get_web_room_uikit_integration.js +2 -3
  357. package/tools/room/get_web_room_uikit_integration.js.map +1 -1
  358. package/utils/generate-structured-result.js +24 -30
  359. package/utils/generate-structured-result.js.map +1 -1
  360. package/utils/get-doc-content.js +14 -8
  361. package/utils/get-doc-content.js.map +1 -1
  362. package/utils/report-cls-client.js +18 -20
  363. package/utils/report-cls-client.js.map +1 -1
  364. package/utils/report-es-client.js +1 -1
  365. package/resource/doc/callkit/core-sdk/.gitkeep +0 -0
  366. package/resource/doc/callkit/core-sdk/android/answer-call.md +0 -852
  367. package/resource/doc/callkit/core-sdk/android/make-call.md +0 -954
  368. package/resource/doc/callkit/core-sdk/android/offline-push.md +0 -361
  369. package/resource/doc/callkit/core-sdk/flutter/answer-call.md +0 -1160
  370. package/resource/doc/callkit/core-sdk/flutter/make-call.md +0 -1205
  371. package/resource/doc/callkit/core-sdk/ios/answer-call.md +0 -1090
  372. package/resource/doc/callkit/core-sdk/ios/make-call.md +0 -1248
  373. package/resource/doc/callkit/core-sdk/ios/offline-push.md +0 -485
  374. package/resource/doc/callkit/core-sdk/uni-app/answer-call.md +0 -950
  375. package/resource/doc/callkit/core-sdk/uni-app/make-call.md +0 -1052
  376. package/resource/doc/callkit/faq/common/error-code.md +0 -47
  377. package/resource/doc/callkit/faq/flutter-faq.md +0 -115
  378. package/resource/doc/callkit/faq/ios-faq.md +0 -115
  379. package/resource/doc/callkit/faq/web-faq.md +0 -36
  380. package/resource/doc/callkit/preset/android/api.md +0 -296
  381. package/resource/doc/callkit/preset/flutter/api.md +0 -410
  382. package/resource/doc/callkit/preset/flutter/integration.md +0 -164
  383. package/resource/doc/callkit/preset/ios/api.md +0 -80
  384. package/resource/doc/callkit/preset/ios/integration.md +0 -187
  385. package/resource/doc/callkit/preset/react/api.md +0 -501
  386. package/resource/doc/callkit/preset/react/integration.md +0 -86
  387. package/resource/doc/callkit/preset/vue/api.md +0 -501
  388. package/resource/doc/callkit/preset/vue/integration.md +0 -83
  389. package/resource/doc/chatkit/android/faq.md +0 -111
  390. package/resource/doc/chatkit/android/features/theme.md +0 -219
  391. package/resource/doc/chatkit/android/integration.md +0 -490
  392. package/resource/doc/chatkit/faq/android_sdk/client-api.md +0 -281
  393. package/resource/doc/chatkit/faq/common/product.md +0 -7
  394. package/resource/doc/chatkit/faq/common/server.md +0 -44
  395. package/resource/doc/chatkit/faq/common/server_error_code.md +0 -74
  396. package/resource/doc/chatkit/faq/flutter_sdk/client-api.md +0 -199
  397. package/resource/doc/chatkit/faq/flutter_sdk/faq.md +0 -53
  398. package/resource/doc/chatkit/faq/ios_sdk/client-api.md +0 -235
  399. package/resource/doc/chatkit/faq/web_sdk/error_code.md +0 -47
  400. package/resource/doc/chatkit/faq/web_sdk/faq.md +0 -287
  401. package/resource/doc/chatkit/flutter/faq.md +0 -23
  402. package/resource/doc/chatkit/flutter/features/theme.md +0 -235
  403. package/resource/doc/chatkit/flutter/integration.md +0 -344
  404. package/resource/doc/chatkit/ios/faq.md +0 -111
  405. package/resource/doc/chatkit/ios/features/theme.md +0 -267
  406. package/resource/doc/chatkit/react/components/avatar.md +0 -104
  407. package/resource/doc/chatkit/react/components/chat-header.md +0 -148
  408. package/resource/doc/chatkit/react/components/chat-setting.md +0 -57
  409. package/resource/doc/chatkit/react/components/chat.md +0 -38
  410. package/resource/doc/chatkit/react/components/component-list.md +0 -37
  411. package/resource/doc/chatkit/react/components/conversation-actions.md +0 -174
  412. package/resource/doc/chatkit/react/components/conversation-list.md +0 -333
  413. package/resource/doc/chatkit/react/components/conversation-preview.md +0 -118
  414. package/resource/doc/chatkit/react/components/conversation-search.md +0 -60
  415. package/resource/doc/chatkit/react/components/message-list.md +0 -293
  416. package/resource/doc/chatkit/react/components/tuikit.md +0 -34
  417. package/resource/doc/chatkit/react/faq.md +0 -26
  418. package/resource/doc/chatkit/react/integration.md +0 -416
  419. package/resource/doc/chatkit/vue/components/avatar.md +0 -104
  420. package/resource/doc/chatkit/vue/components/chat-header.md +0 -148
  421. package/resource/doc/chatkit/vue/components/chat-setting.md +0 -62
  422. package/resource/doc/chatkit/vue/components/chat.md +0 -45
  423. package/resource/doc/chatkit/vue/components/component-list.md +0 -87
  424. package/resource/doc/chatkit/vue/components/contact-list.md +0 -271
  425. package/resource/doc/chatkit/vue/components/conversation-actions.md +0 -228
  426. package/resource/doc/chatkit/vue/components/conversation-list.md +0 -320
  427. package/resource/doc/chatkit/vue/components/conversation-preview.md +0 -213
  428. package/resource/doc/chatkit/vue/components/message-input.md +0 -1054
  429. package/resource/doc/chatkit/vue/components/message-list.md +0 -433
  430. package/resource/doc/chatkit/vue/components/tuikit.md +0 -31
  431. package/resource/doc/chatkit/vue/components/userpicker.md +0 -256
  432. package/resource/doc/chatkit/vue/faq.md +0 -36
  433. package/resource/doc/chatkit/vue/integration.md +0 -428
  434. package/resource/doc/livekit/core-sdk/live/flutter/live-host-interaction.md +0 -866
  435. package/resource/doc/livekit/faq/common/error-code.md +0 -88
  436. package/resource/doc/livekit/preset/live/vue/api-reference/index.md +0 -780
  437. package/resource/doc/livekit/preset/live/vue/components/co-guest-panel.md +0 -91
  438. package/resource/doc/livekit/preset/live/vue/components/live-scene-panel.md +0 -112
  439. package/resource/doc/livekit/preset/live/vue/components/stream-mixer.md +0 -215
  440. package/resource/doc/livekit/preset/live/vue/live-player-h5-integration.md +0 -300
  441. package/resource/doc/roomkit/faq/common/error-code.md +0 -67
  442. package/resource/doc/roomkit/vue/features/call-user-to-room.md +0 -220
  443. package/resource/doc/roomkit/vue/features/device-state.md +0 -460
  444. package/resource/doc/roomkit/vue/features/free-beauty-panel.md +0 -215
  445. package/resource/doc/roomkit/vue/features/room-chat.md +0 -369
  446. package/resource/doc/roomkit/vue/features/room-state.md +0 -282
  447. package/resource/doc/roomkit/vue/features/schedule-room.md +0 -318
  448. package/resource/doc/roomkit/vue/features/screen-share.md +0 -265
  449. package/resource/doc/roomkit/vue/features/virtual-background.md +0 -271
  450. package/resource/doc/roomkit/vue/integration.md +0 -315
  451. package/resource/doc/rtcengine/faq/common/error_code.md +0 -1
  452. package/resource/doc/rtcengine/faq/web_sdk/.gitkeep +0 -0
  453. package/resource/doc/rtcengine/web/.gitkeep +0 -0
  454. package/resource/doc/rtcengine/web/how_to_run_web_sdk_demo.md +0 -59
  455. package/resource/doc/trtc/C++/ITRTCCloud.md +0 -1970
  456. package/resource/doc/trtc/C++/ITRTCStatistics.md +0 -70
  457. package/resource/doc/trtc/C++/ITXAudioEffectManager.md +0 -469
  458. package/resource/doc/trtc/C++/ITXDeviceManager.md +0 -387
  459. package/resource/doc/trtc/C++/TRTCCloudCallback.md +0 -1082
  460. package/resource/doc/trtc/C++/TRTCTypeDef.md +0 -925
  461. package/resource/doc/trtc/C++/TXLiteAVCode.md +0 -129
  462. package/resource/doc/trtc/android/TRTCCloud.md +0 -1815
  463. package/resource/doc/trtc/android/TRTCCloudDef.md +0 -992
  464. package/resource/doc/trtc/android/TRTCCloudListener.md +0 -1004
  465. package/resource/doc/trtc/android/TRTCStatistics.md +0 -65
  466. package/resource/doc/trtc/android/TXAudioEffectManager.md +0 -469
  467. package/resource/doc/trtc/android/TXBeautyManager.md +0 -402
  468. package/resource/doc/trtc/android/TXDeviceManager.md +0 -173
  469. package/resource/doc/trtc/android/TXLiteAVCode.md +0 -127
  470. package/resource/doc/trtc/iOS/TRTCCloud.md +0 -2028
  471. package/resource/doc/trtc/iOS/TRTCCloudDef.md +0 -958
  472. package/resource/doc/trtc/iOS/TRTCCloudDelegate.md +0 -1046
  473. package/resource/doc/trtc/iOS/TRTCStatistics.md +0 -65
  474. package/resource/doc/trtc/iOS/TXAudioEffectManager.md +0 -397
  475. package/resource/doc/trtc/iOS/TXBeautyManager.md +0 -403
  476. package/resource/doc/trtc/iOS/TXDeviceManager.md +0 -381
  477. package/resource/doc/trtc/iOS/TXLiteAVCode.md +0 -130
  478. package/tools/call/get_callkit_api.js +0 -33
  479. package/tools/call/get_callkit_api.js.map +0 -1
  480. package/tools/chat/get_native_chat_uikit_feature_detail.js +0 -35
  481. package/tools/chat/get_native_chat_uikit_feature_detail.js.map +0 -1
  482. package/tools/chat/get_web_chat_uikit_component_detail.js +0 -35
  483. package/tools/chat/get_web_chat_uikit_component_detail.js.map +0 -1
  484. package/tools/common/get_faq.js +0 -266
  485. package/tools/common/get_faq.js.map +0 -1
  486. package/tools/common/record_skill_session.js +0 -69
  487. package/tools/common/record_skill_session.js.map +0 -1
  488. package/tools/definitions/get_callkit_api_def.js +0 -29
  489. package/tools/definitions/get_callkit_api_def.js.map +0 -1
  490. package/tools/definitions/get_faq_def.js +0 -47
  491. package/tools/definitions/get_faq_def.js.map +0 -1
  492. package/tools/definitions/get_native_chat_uikit_feature_detail_def.js +0 -31
  493. package/tools/definitions/get_native_chat_uikit_feature_detail_def.js.map +0 -1
  494. package/tools/definitions/get_native_livekit_core_features_def.js +0 -34
  495. package/tools/definitions/get_native_livekit_core_features_def.js.map +0 -1
  496. package/tools/definitions/get_native_trtc_sdk_docs_def.js +0 -32
  497. package/tools/definitions/get_native_trtc_sdk_docs_def.js.map +0 -1
  498. package/tools/definitions/get_web_chat_uikit_component_detail_def.js +0 -31
  499. package/tools/definitions/get_web_chat_uikit_component_detail_def.js.map +0 -1
  500. package/tools/definitions/get_web_livekit_api_def.js +0 -30
  501. package/tools/definitions/get_web_livekit_api_def.js.map +0 -1
  502. package/tools/definitions/get_web_livekit_component_detail_def.js +0 -32
  503. package/tools/definitions/get_web_livekit_component_detail_def.js.map +0 -1
  504. package/tools/definitions/get_web_roomkit_feature_detail_def.js +0 -31
  505. package/tools/definitions/get_web_roomkit_feature_detail_def.js.map +0 -1
  506. package/tools/definitions/get_web_trtc_sdk_api_def.js +0 -27
  507. package/tools/definitions/get_web_trtc_sdk_api_def.js.map +0 -1
  508. package/tools/definitions/get_web_trtc_sdk_integration_def.js +0 -27
  509. package/tools/definitions/get_web_trtc_sdk_integration_def.js.map +0 -1
  510. package/tools/definitions/get_web_trtc_sdk_plugin_def.js +0 -27
  511. package/tools/definitions/get_web_trtc_sdk_plugin_def.js.map +0 -1
  512. package/tools/definitions/record_skill_session_def.js +0 -31
  513. package/tools/definitions/record_skill_session_def.js.map +0 -1
  514. package/tools/live/get_native_livekit_core_features.js +0 -68
  515. package/tools/live/get_native_livekit_core_features.js.map +0 -1
  516. package/tools/live/get_web_livekit_api.js +0 -33
  517. package/tools/live/get_web_livekit_api.js.map +0 -1
  518. package/tools/live/get_web_livekit_component_detail.js +0 -35
  519. package/tools/live/get_web_livekit_component_detail.js.map +0 -1
  520. package/tools/room/get_web_roomkit_feature_detail.js +0 -69
  521. package/tools/room/get_web_roomkit_feature_detail.js.map +0 -1
  522. package/tools/rtcengine/get_web_trtc_sdk_api.js +0 -32
  523. package/tools/rtcengine/get_web_trtc_sdk_api.js.map +0 -1
  524. package/tools/rtcengine/get_web_trtc_sdk_integration.js +0 -32
  525. package/tools/rtcengine/get_web_trtc_sdk_integration.js.map +0 -1
  526. package/tools/rtcengine/get_web_trtc_sdk_plugin.js +0 -32
  527. package/tools/rtcengine/get_web_trtc_sdk_plugin.js.map +0 -1
  528. package/tools/trtc/get_native_trtc_sdk_docs.js +0 -74
  529. package/tools/trtc/get_native_trtc_sdk_docs.js.map +0 -1
  530. package/utils/build-session-directives.js +0 -120
  531. package/utils/build-session-directives.js.map +0 -1
  532. package/utils/handle-framework.js +0 -9
  533. package/utils/handle-framework.js.map +0 -1
  534. package/utils/handle-state-name.js +0 -29
  535. package/utils/handle-state-name.js.map +0 -1
  536. package/utils/report-runtime-error-cls-client.js +0 -91
  537. package/utils/report-runtime-error-cls-client.js.map +0 -1
  538. /package/resource/{doc/livekit/preset/live/vue/faq.md → knowledge/push/config/donut.md} +0 -0
  539. /package/resource/{doc/roomkit/vue/faq.md → knowledge/push/integration/donut.md} +0 -0
  540. /package/resource/{doc → knowledge}/rtcengine/web/api.md +0 -0
  541. /package/resource/{doc/rtcengine/faq/web/web.md → knowledge/rtcengine/web/faq.md} +0 -0
  542. /package/resource/{doc → knowledge}/rtcengine/web/how_to_integrated_web_sdk.md +0 -0
  543. /package/resource/{doc → knowledge}/rtcengine/web/plugin/20-advanced-customized-capture-rendering.md +0 -0
  544. /package/resource/{doc → knowledge}/rtcengine/web/plugin/28-advanced-beauty.md +0 -0
  545. /package/resource/{doc → knowledge}/rtcengine/web/plugin/30-advanced-cross-room-link.md +0 -0
  546. /package/resource/{doc → knowledge}/rtcengine/web/plugin/36-advanced-virtual-background.md +0 -0
  547. /package/resource/{doc → knowledge}/rtcengine/web/plugin/37-advanced-voice-changer.md +0 -0
  548. /package/resource/{doc → knowledge}/rtcengine/web/plugin/39-advanced-video-decoder.md +0 -0
  549. /package/resource/{doc → knowledge}/rtcengine/web/plugin/40-advanced-video-mixer.md +0 -0
  550. /package/resource/{doc → knowledge}/rtcengine/web/plugin/41-advanced-small-stream-auto-switcher.md +0 -0
  551. /package/resource/{doc → knowledge}/rtcengine/web/plugin/42-advanced-realtime-transcriber.md +0 -0
  552. /package/resource/{doc → knowledge}/rtcengine/web/plugin/43-advanced-face-detection.md +0 -0
@@ -0,0 +1,387 @@
1
+ Copyright (c) 2021 Tencent. All rights reserved.
2
+
3
+ Module: audio/video device management module
4
+
5
+ Description: manages audio/video devices such as camera, mic, and speaker.
6
+
7
+ ## TXDeviceObserver
8
+
9
+ |FuncList|DESC|
10
+ |---------|---------|
11
+ |onDeviceChanged:type:state:|The status of a local device changed (for desktop OS only).|
12
+
13
+ ## TXDeviceManager
14
+
15
+ |FuncList|DESC|
16
+ |---------|---------|
17
+ |isFrontCamera|Querying whether the front camera is being used.|
18
+ |switchCamera:|Switching to the front/rear camera (for mobile OS).|
19
+ |isCameraZoomSupported|Querying whether the current camera supports zooming (for mobile OS).|
20
+ |getCameraZoomMaxRatio|Getting the maximum zoom ratio of the camera (for mobile OS).|
21
+ |setCameraZoomRatio:|Setting the camera zoom ratio (for mobile OS).|
22
+ |isAutoFocusEnabled|Querying whether automatic face detection is supported (for mobile OS).|
23
+ |enableCameraAutoFocus:|Enabling auto focus (for mobile OS).|
24
+ |setCameraFocusPosition:|Adjusting the focus (for mobile OS).|
25
+ |isCameraTorchSupported|Querying whether flash is supported (for mobile OS).|
26
+ |enableCameraTorch:|Enabling/Disabling flash, i.e., the torch mode (for mobile OS).|
27
+ |setAudioRoute:|Setting the audio route (for mobile OS).|
28
+ |setExposureCompensation:|Set the exposure parameters of the camera, ranging from - 1 to 1.|
29
+ |getDevicesList:|Getting the device list (for desktop OS).|
30
+ |setCurrentDevice:deviceId:|Setting the device to use (for desktop OS).|
31
+ |getCurrentDevice:|Getting the device currently in use (for desktop OS).|
32
+ |setCurrentDeviceVolume:deviceType:|Setting the volume of the current device (for desktop OS).|
33
+ |getCurrentDeviceVolume:|Getting the volume of the current device (for desktop OS).|
34
+ |setCurrentDeviceMute:deviceType:|Muting the current device (for desktop OS).|
35
+ |getCurrentDeviceMute:|Querying whether the current device is muted (for desktop OS).|
36
+ |enableFollowingDefaultAudioDevice:enable:|Set the audio device used by SDK to follow the system default device (for desktop OS).|
37
+ |startCameraDeviceTest:|Starting camera testing (for desktop OS).|
38
+ |stopCameraDeviceTest|Ending camera testing (for desktop OS).|
39
+ |startMicDeviceTest:|Starting mic testing (for desktop OS).|
40
+ |startMicDeviceTest:playback:|Starting mic testing (for desktop OS).|
41
+ |stopMicDeviceTest|Ending mic testing (for desktop OS).|
42
+ |startSpeakerDeviceTest:|Starting speaker testing (for desktop OS).|
43
+ |stopSpeakerDeviceTest|Ending speaker testing (for desktop OS).|
44
+ |setObserver:|set onDeviceChanged callback (for Mac).|
45
+ |setCameraCapturerParam:|Set camera acquisition preferences.|
46
+ |setSystemVolumeType:|Setting the system volume type (for mobile OS).|
47
+
48
+ ## StructType
49
+
50
+ |FuncList|DESC|
51
+ |---------|---------|
52
+ |TXCameraCaptureParam|Camera acquisition parameters.|
53
+ |TXMediaDeviceInfo|Audio/Video device information (for desktop OS).|
54
+
55
+ ## EnumType
56
+
57
+ |EnumType|DESC|
58
+ |---------|---------|
59
+ |TXSystemVolumeType|System volume type.|
60
+ |TXAudioRoute|Audio route (the route via which audio is played).|
61
+ |TXMediaDeviceType|Device type (for desktop OS).|
62
+ |TXMediaDeviceState|Device operation.|
63
+ |TXCameraCaptureMode|Camera acquisition preferences.|
64
+
65
+ ## onDeviceChanged:type:state:
66
+
67
+ **The status of a local device changed (for desktop OS only).**
68
+
69
+ The SDK returns this callback when a local device (camera, mic, or speaker) is connected or disconnected.
70
+
71
+ |Param|DESC|
72
+ |---------|---------|
73
+ |deviceId|Device ID|
74
+ |state|Device status. ` 0 `: connected; ` 1 `: disconnected; ` 2 `: started|
75
+ |type|Device type|
76
+
77
+ ## isFrontCamera
78
+
79
+ **Querying whether the front camera is being used.**
80
+
81
+ ## switchCamera:
82
+
83
+ **Switching to the front/rear camera (for mobile OS).**
84
+
85
+ ## isCameraZoomSupported
86
+
87
+ **Querying whether the current camera supports zooming (for mobile OS).**
88
+
89
+ ## getCameraZoomMaxRatio
90
+
91
+ **Getting the maximum zoom ratio of the camera (for mobile OS).**
92
+
93
+ ## setCameraZoomRatio:
94
+
95
+ **Setting the camera zoom ratio (for mobile OS).**
96
+
97
+ |Param|DESC|
98
+ |---------|---------|
99
+ |zoomRatio|Value range: [1, 5]. 1 indicates the widest angle of view (original), and 5 the narrowest angle of view (zoomed in).The maximum value is recommended to be 5. If the value exceeds 5, the video will become blurred.|
100
+
101
+ ## isAutoFocusEnabled
102
+
103
+ **Querying whether automatic face detection is supported (for mobile OS).**
104
+
105
+ ## enableCameraAutoFocus:
106
+
107
+ **Enabling auto focus (for mobile OS).**
108
+
109
+ After auto focus is enabled, the camera will automatically detect and always focus on faces.
110
+
111
+ ## setCameraFocusPosition:
112
+
113
+ **Adjusting the focus (for mobile OS).**
114
+
115
+ This API can be used to achieve the following:
116
+
117
+ 1. A user can tap on the camera preview.
118
+
119
+ 2. A rectangle will appear where the user taps, indicating the spot the camera will focus on.
120
+
121
+ 3. The user passes the coordinates of the spot to the SDK using this API, and the SDK will instruct the camera to focus as required.
122
+
123
+ |Param|DESC|
124
+ |---------|---------|
125
+ |position|The spot to focus on. Pass in the coordinates of the spot you want to focus on.|
126
+
127
+ > **Note**
128
+ >
129
+
130
+ > Before using this API, you must first disable auto focus using enableCameraAutoFocus.
131
+ >
132
+ **Return Desc:**
133
+
134
+ 0: operation successful; negative number: operation failed.
135
+
136
+ ## isCameraTorchSupported
137
+
138
+ **Querying whether flash is supported (for mobile OS).**
139
+
140
+ ## enableCameraTorch:
141
+
142
+ **Enabling/Disabling flash, i.e., the torch mode (for mobile OS).**
143
+
144
+ ## setAudioRoute:
145
+
146
+ **Setting the audio route (for mobile OS).**
147
+
148
+ A mobile phone has two audio playback devices: the receiver at the top and the speaker at the bottom.
149
+
150
+ If the audio route is set to the receiver, the volume is relatively low, and audio can be heard only when the phone is put near the ear. This mode has a high level of privacy and is suitable for answering calls.
151
+
152
+ If the audio route is set to the speaker, the volume is relatively high, and there is no need to put the phone near the ear. This mode enables the "hands-free" feature.
153
+
154
+ ## setExposureCompensation:
155
+
156
+ **Set the exposure parameters of the camera, ranging from - 1 to 1.**
157
+
158
+ ## getDevicesList:
159
+
160
+ **Getting the device list (for desktop OS).**
161
+
162
+ |Param|DESC|
163
+ |---------|---------|
164
+ |type|Device type. Set it to the type of device you want to get. For details, please see the definition of TXMediaDeviceType.|
165
+
166
+ > **Note**
167
+ >
168
+ > - To ensure that the SDK can manage the lifecycle of the ` ITXDeviceCollection ` object, after using this API, please call the ` release ` method to release the resources.
169
+ > - Do not use ` delete ` to release the Collection object returned as deleting the ITXDeviceCollection* pointer will cause crash.
170
+ > - The valid values of ` type ` are ` TXMediaDeviceTypeMic `, ` TXMediaDeviceTypeSpeaker `, and ` TXMediaDeviceTypeCamera `.
171
+ > - This API can be used only on macOS and Windows.
172
+
173
+ ## setCurrentDevice:deviceId:
174
+
175
+ **Setting the device to use (for desktop OS).**
176
+
177
+ |Param|DESC|
178
+ |---------|---------|
179
+ |deviceId|Device ID. You can get the ID of a device using the getDevicesList API.|
180
+ |type|Device type. For details, please see the definition of ` TXMediaDeviceType `.|
181
+ **Return Desc:**
182
+
183
+ 0: operation successful; negative number: operation failed.
184
+
185
+ ## getCurrentDevice:
186
+
187
+ **Getting the device currently in use (for desktop OS).**
188
+
189
+ ## setCurrentDeviceVolume:deviceType:
190
+
191
+ **Setting the volume of the current device (for desktop OS).**
192
+
193
+ This API is used to set the capturing volume of the mic or playback volume of the speaker, but not the volume of the camera.
194
+
195
+ |Param|DESC|
196
+ |---------|---------|
197
+ |volume|Volume. Value range: [0, 100]; default: 100|
198
+
199
+ ## getCurrentDeviceVolume:
200
+
201
+ **Getting the volume of the current device (for desktop OS).**
202
+
203
+ This API is used to get the capturing volume of the mic or playback volume of the speaker, but not the volume of the camera.
204
+
205
+ ## setCurrentDeviceMute:deviceType:
206
+
207
+ **Muting the current device (for desktop OS).**
208
+
209
+ This API is used to mute the mic or speaker, but not the camera.
210
+
211
+ ## getCurrentDeviceMute:
212
+
213
+ **Querying whether the current device is muted (for desktop OS).**
214
+
215
+ This API is used to query whether the mic or speaker is muted. Camera muting is not supported.
216
+
217
+ ## enableFollowingDefaultAudioDevice:enable:
218
+
219
+ **Set the audio device used by SDK to follow the system default device (for desktop OS).**
220
+
221
+ This API is used to set the microphone and speaker types. Camera following the system default device is not supported.
222
+ | Param | DESC |
223
+ | --- | --- |
224
+ | enable | Whether to follow the system default audio device.<br>- true: following. When the default audio device of the system is changed or new audio device is plugged in, the SDK immediately switches the audio device.<br>- false:not following. When the default audio device of the system is changed or new audio device is plugged in, the SDK doesn't switch the audio device. |
225
+ | type | Device type. For details, please see the definition of <code> TXMediaDeviceType </code>. |
226
+
227
+ ## startCameraDeviceTest:
228
+
229
+ **Starting camera testing (for desktop OS).**
230
+
231
+ > **Note**
232
+ >
233
+
234
+ > You can use the setCurrentDevice API to switch between cameras during testing.
235
+ >
236
+
237
+ ## stopCameraDeviceTest
238
+
239
+ **Ending camera testing (for desktop OS).**
240
+
241
+ ## startMicDeviceTest:
242
+
243
+ **Starting mic testing (for desktop OS).**
244
+
245
+ This API is used to test whether the mic functions properly. The mic volume detected (value range: [0, 100]) is returned via a callback.
246
+
247
+ |Param|DESC|
248
+ |---------|---------|
249
+ |interval|Interval of volume callbacks, in milliseconds.|
250
+
251
+ > **Note**
252
+ >
253
+
254
+ > When this interface is called, the sound recorded by the microphone will be played back to the speakers by default.
255
+ >
256
+
257
+ ## startMicDeviceTest:playback:
258
+
259
+ **Starting mic testing (for desktop OS).**
260
+
261
+ This API is used to test whether the mic functions properly. The mic volume detected (value range: [0, 100]) is returned via a callback.
262
+
263
+ |Param|DESC|
264
+ |---------|---------|
265
+ |interval|Interval of volume callbacks, in milliseconds.|
266
+ |playback|Whether to play back the microphone sound. The user will hear his own sound when testing the microphone if ` playback ` is true.|
267
+
268
+ ## stopMicDeviceTest
269
+
270
+ **Ending mic testing (for desktop OS).**
271
+
272
+ ## startSpeakerDeviceTest:
273
+
274
+ **Starting speaker testing (for desktop OS).**
275
+
276
+ This API is used to test whether the audio playback device functions properly by playing a specified audio file. If users can hear audio during testing, the device functions properly.
277
+
278
+ |Param|DESC|
279
+ |---------|---------|
280
+ |filePath|Path of the audio file|
281
+
282
+ ## stopSpeakerDeviceTest
283
+
284
+ **Ending speaker testing (for desktop OS).**
285
+
286
+ ## setObserver:
287
+
288
+ **set onDeviceChanged callback (for Mac).**
289
+
290
+ ## setCameraCapturerParam:
291
+
292
+ **Set camera acquisition preferences.**
293
+
294
+ ## setSystemVolumeType:
295
+
296
+ **Setting the system volume type (for mobile OS).**
297
+
298
+ @deprecated This API is not recommended after v9.5. Please use the ` startLocalAudio(quality) ` API in ` TRTCCloud ` instead, which param ` quality ` is used to decide audio quality.
299
+
300
+ ## TXSystemVolumeType(Deprecated)
301
+
302
+ **System volume type.**
303
+
304
+ |Enum|Value|DESC|
305
+ |---------|---------|---------|
306
+ |TXSystemVolumeTypeAuto|0|Auto|
307
+ |TXSystemVolumeTypeMedia|1|Media volume|
308
+ |TXSystemVolumeTypeVOIP|2|Call volume|
309
+
310
+ ## TXAudioRoute
311
+
312
+ **Audio route (the route via which audio is played).**
313
+
314
+ Audio route is the route (speaker or receiver) via which audio is played. It applies only to mobile devices such as mobile phones.
315
+
316
+ A mobile phone has two speakers: one at the top (receiver) and the other the bottom.
317
+ - If the audio route is set to the receiver, the volume is relatively low, and audio can be heard only when the phone is put near the ear. This mode has a high level of privacy and is suitable for answering calls.
318
+
319
+ - If the audio route is set to the speaker, the volume is relatively high, and there is no need to put the phone near the ear. This mode enables the "hands-free" feature.
320
+
321
+ |Enum|Value|DESC|
322
+ |---------|---------|---------|
323
+ |TXAudioRouteSpeakerphone|0|Speakerphone: the speaker at the bottom is used for playback (hands-free). With relatively high volume, it is used to play music out loud.|
324
+ |TXAudioRouteEarpiece|1|Earpiece: the receiver at the top is used for playback. With relatively low volume, it is suitable for call scenarios that require privacy.|
325
+
326
+ ## TXMediaDeviceType
327
+
328
+ **Device type (for desktop OS).**
329
+
330
+ This enumerated type defines three types of audio/video devices, namely camera, mic and speaker, so that you can use the same device management API to manage three types of devices.
331
+
332
+ |Enum|Value|DESC|
333
+ |---------|---------|---------|
334
+ |TXMediaDeviceTypeUnknown|-1|undefined device type|
335
+ |TXMediaDeviceTypeAudioInput|0|microphone|
336
+ |TXMediaDeviceTypeAudioOutput|1|speaker or earpiece|
337
+ |TXMediaDeviceTypeVideoCamera|2|camera|
338
+
339
+ ## TXMediaDeviceState
340
+
341
+ **Device operation.**
342
+
343
+ This enumerated value is used to notify the status change of the local device onDeviceChanged.
344
+
345
+ |Enum|Value|DESC|
346
+ |---------|---------|---------|
347
+ |TXMediaDeviceStateAdd|0|The device has been plugged in|
348
+ |TXMediaDeviceStateRemove|1|The device has been removed|
349
+ |TXMediaDeviceStateActive|2|The device has been enabled|
350
+ |TXMediaDefaultDeviceChanged|3|system default device changed|
351
+
352
+ ## TXCameraCaptureMode
353
+
354
+ **Camera acquisition preferences.**
355
+
356
+ This enum is used to set camera acquisition parameters.
357
+ | Enum | Value | DESC |
358
+ | --- | --- | --- |
359
+ | TXCameraResolutionStrategyAuto | 0 | Auto adjustment of camera capture parameters.<br>SDK selects the appropriate camera output parameters according to the actual acquisition device performance and network situation, and maintains a balance between device performance and video preview quality. |
360
+ | TXCameraResolutionStrategyPerformance | Not Defined | Give priority to equipment performance.<br>SDK selects the closest camera output parameters according to the user's encoder resolution and frame rate, so as to ensure the performance of the device. |
361
+ | TXCameraResolutionStrategyHighQuality | Not Defined | Give priority to the quality of video preview.<br>SDK selects higher camera output parameters to improve the quality of preview video. In this case, it will consume more CPU and memory to do video preprocessing. |
362
+ | TXCameraCaptureManual | Not Defined | Allows the user to set the width and height of the video captured by the local camera. |
363
+
364
+ ## TXCameraCaptureParam
365
+
366
+ **Camera acquisition parameters.**
367
+
368
+ This setting determines the quality of the local preview image.
369
+
370
+ |EnumType|DESC|
371
+ |---------|---------|
372
+ |height|Field description: height of acquired image|
373
+ |mode|Field description: camera acquisition preferences,please see TXCameraCaptureMode|
374
+ |width|Field description: width of acquired image|
375
+
376
+ ## TXMediaDeviceInfo
377
+
378
+ **Audio/Video device information (for desktop OS).**
379
+
380
+ This structure describes key information (such as device ID and device name) of an audio/video device, so that users can choose on the UI the device to use.
381
+
382
+ |EnumType|DESC|
383
+ |---------|---------|
384
+ |deviceId|device id (UTF-8)|
385
+ |deviceName|device name (UTF-8)|
386
+ |deviceProperties|device properties|
387
+ |type|device type|
@@ -0,0 +1,127 @@
1
+ ## EnumType
2
+
3
+ |EnumType|DESC|
4
+ |---------|---------|
5
+ |TXLiteAVError|Error Codes.|
6
+ |TXLiteAVWarning|Warning codes.|
7
+
8
+ ## TXLiteAVError
9
+
10
+ **Error Codes.**
11
+ | Enum | Value | DESC |
12
+ | --- | --- | --- |
13
+ | ERR_NULL | 0 | No error. |
14
+ | ERR_FAILED | -1 | Unclassified error. |
15
+ | ERR_INVALID_PARAMETER | -2 | An invalid parameter was passed in when the API was called. |
16
+ | ERR_REFUSED | -3 | The API call was rejected. |
17
+ | ERR_NOT_SUPPORTED | -4 | The current API cannot be called. |
18
+ | ERR_INVALID_LICENSE | -5 | Failed to call the API because the license is invalid. |
19
+ | ERR_REQUEST_SERVER_TIMEOUT | -6 | The request timed out. |
20
+ | ERR_SERVER_PROCESS_FAILED | -7 | The server cannot process your request. |
21
+ | ERR_DISCONNECTED | -8 | Disconnected from the server. |
22
+ | ERR_CAMERA_START_FAIL | -1301 | Failed to turn the camera on. After authorization, calling the system interface to open the camera was abnormal on mobile. This may occur when there is a problem with the camera configuration program (driver) on Windows or macOS. Disable and reenable the camera, restart the camera, or update the configuration program. |
23
+ | ERR_CAMERA_NOT_AUTHORIZED | -1314 | No permission to access to the camera. This usually occurs on mobile devices and may be because the user denied access. |
24
+ | ERR_CAMERA_SET_PARAM_FAIL | -1315 | Incorrect camera parameter settings (unsupported values or others). |
25
+ | ERR_CAMERA_OCCUPY | -1316 | The camera is being used. Try another camera. |
26
+ | ERR_SCREEN_CAPTURE_START_FAIL | -1308 | Failed to start screen recording. It occurs on a mobile device, it may be because the user denied screen sharing permission, it occurs on Windows or macOS, check whether the parameters of the screen recording API are set as required. |
27
+ | ERR_SCREEN_CAPTURE_UNSURPORT | -1309 | Screen recording failed. Screen recording is only supported on Android versions later than 5.0 and iOS versions later than 11.0. |
28
+ | ERR_SCREEN_CAPTURE_STOPPED | -7001 | Screen recording was stopped by the system. |
29
+ | ERR_SCREEN_SHARE_NOT_AUTHORIZED | -102015 | No permission to publish the substream. |
30
+ | ERR_SCREEN_SHRAE_OCCUPIED_BY_OTHER | -102016 | Another user is publishing the substream. |
31
+ | ERR_VIDEO_ENCODE_FAIL | -1303 | Failed to encode video frames. Encoder exception caused encoding failure. |
32
+ | ERR_UNSUPPORTED_RESOLUTION | -1305 | Unsupported video resolution. |
33
+ | ERR_PIXEL_FORMAT_UNSUPPORTED | -1327 | Custom video capturing: Unsupported pixel format. |
34
+ | ERR_BUFFER_TYPE_UNSUPPORTED | -1328 | Custom video capturing: Unsupported buffer type. |
35
+ | ERR_NO_AVAILABLE_HEVC_DECODERS | -2304 | No available HEVC decoder found. |
36
+ | ERR_MIC_START_FAIL | -1302 | Failed to turn the mic on. This may occur when there is a problem with the mic configuration program (driver) on Windows or macOS. Disable and reenable the mic, restart the mic, or update the configuration program. |
37
+ | ERR_MIC_NOT_AUTHORIZED | -1317 | No permission to access to the mic. This usually occurs on mobile devices and may be because the user denied access. |
38
+ | ERR_MIC_OCCUPY | -1319 | The mic is being used. The mic cannot be turned on when, for example, the user is having a call on the mobile device. |
39
+ | ERR_MIC_STOP_FAIL | -1320 | Failed to turn the mic off. |
40
+ | ERR_SPEAKER_START_FAIL | -1321 | Failed to turn the speaker on. This may occur when there is a problem with the speaker configuration program (driver) on Windows or macOS. Disable and reenable the speaker, restart the speaker, or update the configuration program. |
41
+ | ERR_SPEAKER_SET_PARAM_FAIL | -1322 | Failed to set speaker parameters. |
42
+ | ERR_SPEAKER_STOP_FAIL | -1323 | Failed to turn the speaker off. |
43
+ | ERR_AUDIO_PLUGIN_START_FAIL | -1330 | Failed to record computer audio, which may be because the audio driver is unavailable. |
44
+ | ERR_AUDIO_PLUGIN_INSTALL_NOT_AUTHORIZED | -1331 | No permission to install the audio driver. |
45
+ | ERR_AUDIO_PLUGIN_INSTALL_FAILED | -1332 | Failed to install the audio driver. |
46
+ | ERR_AUDIO_PLUGIN_INSTALLED_BUT_NEED_RESTART | -1333 | The virtual sound card is installed successfully, but due to the restrictions of macOS, you cannot use it right after installation. Ask users to restart the app upon receiving this error code. |
47
+ | ERR_AUDIO_ENCODE_FAIL | -1304 | Failed to encode audio frames. This may occur if the SDK could not process the custom audio data passed in. |
48
+ | ERR_UNSUPPORTED_SAMPLERATE | -1306 | Unsupported audio sample rate. |
49
+ | ERR_SYSTEM_LOOPBACK_START_FAILED | -1307 | System audio loopback startup encountered an error. Common error reasons and solutions are: 1. The current system version does not support the include or excluded specified process loopback function, which requires Windows system version 10.0.19042 (20H2) or higher. For x64 specified path loopback function, it also requires Windows system version 10.0.19042 (20H2) or higher. Please check the current system version. 2. Invalid input parameters (including empty parameters, non-existent input paths, non-existent process IDs, and non-existent device names). Please check whether the input parameters are legal. 3. No available speaker device, please check whether it is available. |
50
+ | ERR_SYSTEM_LOOPBACK_THIRD_PARTY_APP_EXIT | -1324 | The third party app loopback capture encountered an error. This error occurred after the third party app loopback was successfully started. During the sound collection process, the specified process or application unexpectedly exited. Please check the status of the specified process or application and try again by re-entering the process number |
51
+ | ERR_TRTC_ENTER_ROOM_FAILED | -3301 | Failed to enter the room. For the reason, refer to the error message for -3301 in <code> onError </code>. |
52
+ | ERR_TRTC_REQUEST_IP_TIMEOUT | -3307 | IP and signature request timed out. Check your network connection and whether your firewall allows UDP.<br>Try visiting the IP address 162.14.22.165:8000 or 162.14.6.105:8000 and the domain default-query.trtc.tencent-cloud.com:8000. |
53
+ | ERR_TRTC_CONNECT_SERVER_TIMEOUT | -3308 | Room entry request timed out. Check your network connection and whether VPN is used. You can also switch to 4G to run a test. |
54
+ | ERR_TRTC_ROOM_PARAM_NULL | -3316 | Empty room entry parameters. Please check whether valid parameters were passed in to the <code> enterRoom:appScene: </code> API. |
55
+ | ERR_TRTC_INVALID_SDK_APPID | -3317 | Incorrect room entry parameter. Check whether <code> TRTCParams.sdkAppId </code> is empty. |
56
+ | ERR_TRTC_INVALID_ROOM_ID | -3318 | Incorrect room entry parameter. Check whether <code> TRTCParams.roomId </code> or <code> TRTCParams.strRoomId </code> is empty. Note that you cannot set both parameters. |
57
+ | ERR_TRTC_INVALID_USER_ID | -3319 | Incorrect room entry parameter. Check whether <code> TRTCParams.userId </code> is empty. |
58
+ | ERR_TRTC_INVALID_USER_SIG | -3320 | Incorrect room entry parameter. Check whether <code> TRTCParams.userSig </code> is empty. |
59
+ | ERR_TRTC_ENTER_ROOM_REFUSED | -3340 | Request to enter room denied. Check whether you called <code> enterRoom </code> twice to enter the same room. |
60
+ | ERR_TRTC_INVALID_PRIVATE_MAPKEY | -100006 | Advanced permission control is enabled but failed to verify <code> TRTCParams.privateMapKey </code>.<br>For details, see <a href="https://intl.cloud.tencent.com/document/product/647/35157">Enabling Advanced Permission Control</a>. |
61
+ | ERR_TRTC_SERVICE_SUSPENDED | -100013 | The service is unavailable. Check if you have used up your package or whether your Tencent Cloud account has overdue payments. |
62
+ | ERR_TRTC_USER_SIG_CHECK_FAILED | -100018 | Failed to verify <code> UserSig </code>. Check whether <code> TRTCParams.userSig </code> is correct or valid.<br>For details, see <a href="https://intl.cloud.tencent.com/document/product/647/39074">UserSig Generation and Verification</a>. |
63
+ | ERR_TRTC_PUSH_THIRD_PARTY_CLOUD_TIMEOUT | -3321 | The relay to CDN request timed out |
64
+ | ERR_TRTC_MIX_TRANSCODING_TIMEOUT | -3322 | The On-Cloud MixTranscoding request timed out. |
65
+ | ERR_TRTC_PUSH_THIRD_PARTY_CLOUD_FAILED | -3323 | Abnormal response packets for relay. |
66
+ | ERR_TRTC_MIX_TRANSCODING_FAILED | -3324 | Abnormal response packet for On-Cloud MixTranscoding. |
67
+ | ERR_TRTC_START_PUBLISHING_TIMEOUT | -3333 | Signaling for publishing to the Tencent Cloud CDN timed out. |
68
+ | ERR_TRTC_START_PUBLISHING_FAILED | -3334 | Signaling for publishing to the Tencent Cloud CDN was abnormal. |
69
+ | ERR_TRTC_STOP_PUBLISHING_TIMEOUT | -3335 | Signaling for stopping publishing to the Tencent Cloud CDN timed out. |
70
+ | ERR_TRTC_STOP_PUBLISHING_FAILED | -3336 | Signaling for stopping publishing to the Tencent Cloud CDN was abnormal. |
71
+ | ERR_TRTC_CONNECT_OTHER_ROOM_TIMEOUT | -3326 | The co-anchoring request timed out. |
72
+ | ERR_TRTC_DISCONNECT_OTHER_ROOM_TIMEOUT | -3327 | The request to stop co-anchoring timed out. |
73
+ | ERR_TRTC_CONNECT_OTHER_ROOM_INVALID_PARAMETER | -3328 | Invalid parameter. |
74
+ | ERR_TRTC_CONNECT_OTHER_ROOM_AS_AUDIENCE | -3330 | The current user is an audience member and cannot request or stop cross-room communication. Please call <code> switchRole </code> to switch to an anchor first. |
75
+ | ERR_BGM_OPEN_FAILED | -4001 | Failed to open the file, such as invalid data found when processing input, ffmpeg protocol not found, etc. |
76
+ | ERR_BGM_DECODE_FAILED | -4002 | Audio file decoding failed. |
77
+ | ERR_BGM_OVER_LIMIT | -4003 | The number exceeds the limit, such as preloading two background music at the same time. |
78
+ | ERR_BGM_INVALID_OPERATION | -4004 | Invalid operation, such as calling a preload function after starting playback. |
79
+ | ERR_BGM_INVALID_PATH | -4005 | Invalid path, Please check whether the path you passed points to a legal music file. |
80
+ | ERR_BGM_INVALID_URL | -4006 | Invalid URL, Please use a browser to check whether the URL address you passed in can download the desired music file. If the operating system is iOS or MacOS, please ensure the use of HTTPS links.. |
81
+ | ERR_BGM_NO_AUDIO_STREAM | -4007 | No audio stream, Please confirm whether the file you passed is a legal audio file and whether the file is damaged. |
82
+ | ERR_BGM_FORMAT_NOT_SUPPORTED | -4008 | Unsupported format, Please confirm whether the file format you passed is a supported file format. The mobile version supports [mp3, aac, m4a, wav, ogg, mp4, mkv], and the desktop version supports [mp3, aac, m4a, wav, mp4, mkv]. |
83
+ | ERR_CONCURRENT_BGM_OVER_LIMIT | -4009 | The number of concurrent BGM playbacks has exceeded the limit. This error occurs when more than 10 BGMs are playing simultaneously. Please check the number of concurrent BGM playbacks.ConcurrentBgmOverLimit |
84
+
85
+ ## TXLiteAVWarning
86
+
87
+ **Warning codes.**
88
+ | Enum | Value | DESC |
89
+ | --- | --- | --- |
90
+ | WARNING_HW_ENCODER_START_FAIL | 1103 | Failed to start the hardware encoder. Switched to software encoding. |
91
+ | WARNING_CURRENT_ENCODE_TYPE_CHANGED | 1104 | The codec changed.<br>The additional field <code> type </code> in <code> onWarning </code> indicates the codec currently in use. <code> 0 </code> indicates H.264, and <code> 1 </code> indicates H.265.<br>The additional field <code> hardware </code> in <code> onWarning </code> indicates the encoder type currently in use. <code> 0 </code> indicates software encoder, and <code> 1 </code> indicates hardware encoder.<br>The additional field <code> stream </code> in <code> onWarning </code> indicates the stream type currently in use. <code> 0 </code> indicates big stream, and <code> 1 </code> indicates small stream, and <code> 2 </code> indicates sub stream. |
92
+ | WARNING_VIDEO_ENCODER_SW_TO_HW | 1107 | Insufficient CPU for software encoding. Switched to hardware encoding. |
93
+ | WARNING_INSUFFICIENT_CAPTURE_FPS | 1108 | The capturing frame rate of the camera is insufficient. This error occurs on some Android phones with built-in beauty filters. |
94
+ | WARNING_SW_ENCODER_START_FAIL | 1109 | Failed to start the software encoder. |
95
+ | WARNING_REDUCE_CAPTURE_RESOLUTION | 1110 | The capturing frame rate of the camera was reduced for balance between frame rate and performance. |
96
+ | WARNING_CAMERA_DEVICE_EMPTY | 1111 | No available camera found. |
97
+ | WARNING_CAMERA_NOT_AUTHORIZED | 1112 | The user didn’t grant the application camera permission. |
98
+ | WARNING_OUT_OF_MEMORY | 1113 | Some functions may not work properly due to out of memory. |
99
+ | WARNING_CAMERA_IS_OCCUPIED | 1114 | The camera is occupied. |
100
+ | WARNING_CAMERA_DEVICE_ERROR | 1115 | The camera device is error. |
101
+ | WARNING_CAMERA_DISCONNECTED | 1116 | The camera is disconnected. |
102
+ | WARNING_CAMERA_START_FAILED | 1117 | The camera is started failed. |
103
+ | WARNING_CAMERA_SERVER_DIED | 1118 | The camera sever is died. |
104
+ | WARNING_SCREEN_CAPTURE_NOT_AUTHORIZED | 1206 | The user didn’t grant the application screen recording permission. |
105
+ | WARNING_CURRENT_DECODE_TYPE_CHANGED | 2008 | The codec changed. The additional field <code> type </code> in <code> onWarning </code> indicates the codec currently in use. <code> 1 </code> indicates H.265, and <code> 0 </code> indicates H.264. This field is not supported on Windows. |
106
+ | WARNING_VIDEO_FRAME_DECODE_FAIL | 2101 | Failed to decode the current video frame. |
107
+ | WARNING_HW_DECODER_START_FAIL | 2106 | Failed to start the hardware decoder. The software decoder is used instead. |
108
+ | WARNING_VIDEO_DECODER_HW_TO_SW | 2108 | The hardware decoder failed to decode the first I-frame of the current stream. The SDK automatically switched to the software decoder. |
109
+ | WARNING_SW_DECODER_START_FAIL | 2109 | Failed to start the software decoder. |
110
+ | WARNING_VIDEO_RENDER_FAIL | 2110 | Failed to render the video. |
111
+ | WARNING_VIRTUAL_BACKGROUND_DEVICE_UNSURPORTED | 8001 | The device does not support virtual background |
112
+ | WARNING_VIRTUAL_BACKGROUND_NOT_AUTHORIZED | 8002 | Virtual background not authorized |
113
+ | WARNING_VIRTUAL_BACKGROUND_INVALID_PARAMETER | 8003 | Enable virtual background with invalid parameter |
114
+ | WARNING_VIRTUAL_BACKGROUND_PERFORMANCE_INSUFFICIENT | 8004 | Virtual background performance insufficient |
115
+ | WARNING_MICROPHONE_DEVICE_EMPTY | 1201 | No available mic found. |
116
+ | WARNING_SPEAKER_DEVICE_EMPTY | 1202 | No available speaker found. |
117
+ | WARNING_MICROPHONE_NOT_AUTHORIZED | 1203 | The user didn’t grant the application mic permission. |
118
+ | WARNING_MICROPHONE_DEVICE_ABNORMAL | 1204 | The audio capturing device is unavailable (which may be because the device is used by another application or is considered invalid by the system). |
119
+ | WARNING_SPEAKER_DEVICE_ABNORMAL | 1205 | The audio playback device is unavailable (which may be because the device is used by another application or is considered invalid by the system). |
120
+ | WARNING_BLUETOOTH_DEVICE_CONNECT_FAIL | 1207 | The bluetooth device failed to connect (which may be because another app is occupying the audio channel by setting communication mode). |
121
+ | WARNING_MICROPHONE_IS_OCCUPIED | 1208 | The audio capturing device is occupied. |
122
+ | WARNING_AUDIO_FRAME_DECODE_FAIL | 2102 | Failed to decode the current audio frame. |
123
+ | WARNING_AUDIO_RECORDING_WRITE_FAIL | 7001 | Failed to write recorded audio into the file. |
124
+ | WARNING_MICROPHONE_HOWLING_DETECTED | 7002 | Detect capture audio howling |
125
+ | WARNING_IGNORE_UPSTREAM_FOR_AUDIENCE | 6001 | The current user is an audience member and cannot publish audio or video. Please switch to an anchor first. |
126
+ | WARNING_UPSTREAM_AUDIO_AND_VIDEO_OUT_OF_SYNC | 6006 | The audio or video sending timestamps are abnormal, which may cause audio and video synchronization issues. |
127
+ | WARNING_RECONNECT_ON_SERVER_STATUS_ABNORMAL | 6007 | The server status is abnormal and reconnecting is in progress |
package/server.js CHANGED
@@ -3,22 +3,46 @@ import { registryTools } from './tools/index.js';
3
3
  const SERVER_INSTRUCTIONS = `
4
4
  You are using Tencent RTC MCP Server for SDK documentation retrieval.
5
5
 
6
- After calling any documentation tool (get_faq, chat, call, live, room, rtcengine, trtc, etc.):
7
- 1. Synthesize the final user-facing answer from the returned fragments/docs.
8
- - Do NOT include any follow-up question in the answer body.
9
- 2. MUST call record_answer with the same prompt as the documentation tool call.
10
- - record_answer returns the follow-up question text.
11
- - Place that text after your answer — it is the ONLY follow-up text in your output.
12
- 3. After the user explicitly replies with "Solved"/"Not solved" (or equivalents),
13
- MUST silently call record_feedback with the same prompt and resolved field.
6
+ - search_trtc_knowledge: Primary tool for Tencent RTC / Chat(IM) / Push(TIMPush) documentation lookup.
7
+ Covers: Chat UIKit, CallKit, LiveKit, RoomKit, TRTC Native SDK, WebRTC / rtcEngine, TIMPush.
8
+ Use this tool first for documentation lookup, FAQ, error code, API reference, feature discovery, and troubleshooting.
9
+ Do not use web_search for questions that can be answered by this knowledge base.
14
10
 
15
- Do not show record_feedback tool results to the user.
16
- Do not call record_feedback before the user replies to the follow-up question.
11
+ **Product routing (before calling search_trtc_knowledge, infer the product array first):**
12
+ - TIMPush / push / notification / offline push / vendor channel / FCM / APNs / Huawei / Xiaomi / OPPO / vivo -> product=["push"] (standalone product; do not misroute to chat)
13
+ - conversation / TUIKit / ChatKit / IM component / theme customization -> ["chat"]
14
+ - CallKit / calling -> ["call"]; LiveKit / live streaming / voice room -> ["live"]; RoomKit / meeting -> ["room"]
15
+ - TRTC Web SDK / rtcengine / WebRTC plugin -> ["rtcengine"]
16
+ - TRTCCloud / native client SDK -> ["native_trtc_sdk"]
17
+ - If both push and IM are involved, product can be ["push","chat"]
18
+ - If the product cannot be inferred uniquely, ask the user first. Do not hard-search without product and do not use web_search.
19
+
20
+ **Framework**: If search_trtc_knowledge returns needs_framework, you must call present_framework_choice first and then retry. Follow the decision table in the search_trtc_knowledge tool description.
21
+ **When in doubt**: Still prefer search_trtc_knowledge with the best product guess; clarify or retry when status is empty or low_confidence.
22
+
23
+ **queryID rule (hard requirement, required for CLS continuity):**
24
+ - First search_trtc_knowledge call: do not pass queryID (or pass an empty string). The response will contain a server-generated queryID.
25
+ - Every later search_trtc_knowledge / record_answer / record_feedback call in the same consultation must pass that same queryID.
26
+ - Omitting queryID starts a new consultation chain and breaks CLS continuity.
27
+ - If the user asks follow-up sub-questions, keep using the same queryID.
28
+
29
+ Workflow:
30
+ 1. Call search_trtc_knowledge and synthesize the answer from the returned fragments.
31
+ - First call: no queryID (or empty string); extract queryID from the response.
32
+ - Later calls: must pass the same queryID.
33
+ - If the response contains meta.references or fragment doc_urls, append a "References" section with those **https** URLs only. Never list local repo paths (knowledge/... or integration/...).
34
+ 2. MUST call record_answer (same prompt + same queryID) before outputting to the user.
35
+ Pass the full answer text; record_answer returns the follow-up question text.
36
+ 3. Output a single message: your answer + the follow-up question text.
37
+ 4. After the user explicitly replies "Solved" / "Not solved" (or equivalents),
38
+ MUST silently call record_feedback (same prompt + same queryID + resolved field).
39
+ Do not show record_feedback results to the user.
40
+ Do not call it before the user replies to the follow-up.
17
41
  `.trim();
18
42
  export function createServer() {
19
43
  const server = new McpServer({
20
44
  name: "Tencent RTC MCP Server",
21
- version: "1.4.7",
45
+ version: "1.6.0",
22
46
  }, {
23
47
  instructions: SERVER_INSTRUCTIONS,
24
48
  });
package/server.js.map CHANGED
@@ -1 +1 @@
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
+ {"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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAsC3B,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,8 +1,7 @@
1
1
  import { z } from 'zod';
2
2
  import { GET_NATIVE_CALL_UIKIT_INTEGRATION_DEFINITION } from '../definitions/get_native_call_uikit_integration_def.js';
3
- import { getDocContent } from '../../utils/get-doc-content.js';
3
+ import { getIntegrationContent } from '../../utils/get-doc-content.js';
4
4
  import { reportCLSClient } from '../../utils/report-cls-client.js';
5
- import { enrichDocToolResponse } from '../../utils/build-session-directives.js';
6
5
  function getResultText(params) {
7
6
  const { framework = '', prompt = '' } = params;
8
7
  reportCLSClient({
@@ -10,7 +9,7 @@ function getResultText(params) {
10
9
  prompt,
11
10
  framework,
12
11
  });
13
- return enrichDocToolResponse(getDocContent(['callkit', 'preset', framework, 'integration.md']), { prompt, framework, toolsUsed: 'get_native_call_uikit_integration' });
12
+ return getIntegrationContent(['callkit', 'preset', framework, 'integration.md']);
14
13
  }
15
14
  const registryGetNativeCallUIKitIntegrationTool = (mcpServer) => {
16
15
  const { name, description, parameter_descriptions } = GET_NATIVE_CALL_UIKIT_INTEGRATION_DEFINITION;
@@ -1 +1 @@
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
+ {"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,qBAAqB,EAAE,MAAM,gCAAgC,CAAC;AACvE,OAAO,EAAE,eAAe,EAAE,MAAM,kCAAkC,CAAC;AAEnE,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,CAAC,SAAS,EAAE,QAAQ,EAAE,SAAS,EAAE,gBAAgB,CAAC,CAAC,CAAC;AACnF,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,7 +1,6 @@
1
1
  import { z } from 'zod';
2
2
  import { GET_NATIVE_CALLKIT_CORE_INTEGRATION_DEFINITION } from '../definitions/get_native_callkit_core_integration_def.js';
3
3
  import { generateStructuredResult } from '../../utils/generate-structured-result.js';
4
- import { buildSessionDirectives } from '../../utils/build-session-directives.js';
5
4
  import { reportCLSClient } from '../../utils/report-cls-client.js';
6
5
  const { anti_hallucination_header: ANTI_HALLUCINATION_HEADER, anti_hallucination_constraint: ANTI_HALLUCINATION_CONSTRAINT, uni_app_offline_push_fallback: UNI_APP_OFFLINE_PUSH_FALLBACK, } = GET_NATIVE_CALLKIT_CORE_INTEGRATION_DEFINITION;
7
6
  function generatePathMap(framework) {
@@ -27,9 +26,8 @@ async function getResultText(params) {
27
26
  : goals;
28
27
  // When only offline_push is requested for uni-app, return fallback text without file reading
29
28
  if (needsFallback && effectiveGoals.length === 0) {
30
- const pack = buildSessionDirectives({ prompt, product: 'call', framework, toolsUsed: 'get_native_callkit_core_integration' });
31
29
  return {
32
- llm_code_generation_instructions_md: UNI_APP_OFFLINE_PUSH_FALLBACK + '\n' + pack.directives_md,
30
+ llm_code_generation_instructions_md: UNI_APP_OFFLINE_PUSH_FALLBACK,
33
31
  };
34
32
  }
35
33
  const pathMap = generatePathMap(framework);
@@ -37,8 +35,7 @@ async function getResultText(params) {
37
35
  goals: effectiveGoals,
38
36
  pathMap,
39
37
  framework,
40
- prompt,
41
- toolsUsed: 'get_native_callkit_core_integration',
38
+ root: 'knowledge',
42
39
  });
43
40
  // When other goals are requested alongside uni-app offline_push, append fallback text
44
41
  if (needsFallback) {