@tencentcloud/sdk-mcp 1.3.9 → 1.4.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 (510) hide show
  1. package/index.js +1 -1
  2. package/index.js.map +1 -1
  3. package/package.json +2 -2
  4. package/resource/doc/{tuicallkit/android/faq.md → callkit/faq/android-faq.md} +75 -308
  5. package/resource/doc/{tuicallkit/faq/common/error_code.md → callkit/faq/common/error-code.md} +2 -2
  6. package/resource/doc/{tuicallkit/flutter/faq.md → callkit/faq/flutter-faq.md} +83 -315
  7. package/resource/doc/{tuicallkit/iOS/faq.md → callkit/faq/ios-faq.md} +76 -313
  8. package/resource/doc/{tuicallkit/vue/faq.md → callkit/faq/web-faq.md} +78 -311
  9. package/resource/doc/callkit/preset/android/api.md +330 -0
  10. package/resource/doc/{tuicallkit → callkit/preset}/android/integration.md +63 -420
  11. package/resource/doc/callkit/preset/flutter/api.md +401 -0
  12. package/resource/doc/{tuicallkit → callkit/preset}/flutter/integration.md +53 -273
  13. package/resource/doc/callkit/preset/ios/api.md +282 -0
  14. package/resource/doc/{tuicallkit/iOS → callkit/preset/ios}/integration.md +39 -120
  15. package/resource/doc/callkit/preset/react/api.md +600 -0
  16. package/resource/doc/{tuicallkit → callkit/preset}/react/integration.md +6 -6
  17. package/resource/doc/callkit/preset/vue/api.md +600 -0
  18. package/resource/doc/{tuicallkit → callkit/preset}/vue/integration.md +5 -5
  19. package/resource/doc/{chatuikit → chatkit}/android/faq.md +29 -37
  20. package/resource/doc/{chatuikit → chatkit}/android/features/theme.md +22 -166
  21. package/resource/doc/{chatuikit → chatkit}/android/integration.md +30 -126
  22. package/resource/doc/chatkit/faq/android_sdk/client-api.md +280 -0
  23. package/resource/doc/{chatuikit → chatkit}/faq/common/product.md +4 -17
  24. package/resource/doc/{chatuikit → chatkit}/faq/common/server.md +1 -2
  25. package/resource/doc/chatkit/faq/flutter_sdk/client-api.md +183 -0
  26. package/resource/doc/{chatuikit → chatkit}/faq/flutter_sdk/faq.md +3 -3
  27. package/resource/doc/chatkit/faq/ios_sdk/client-api.md +279 -0
  28. package/resource/doc/{chatuikit → chatkit}/faq/web_sdk/error_code.md +1 -1
  29. package/resource/doc/{chatuikit → chatkit}/faq/web_sdk/faq.md +4 -4
  30. package/resource/doc/{chatuikit → chatkit}/flutter/features/theme.md +22 -166
  31. package/resource/doc/{chatuikit → chatkit}/flutter/integration.md +20 -95
  32. package/resource/doc/{chatuikit/iOS → chatkit/ios}/faq.md +29 -37
  33. package/resource/doc/{chatuikit/iOS → chatkit/ios}/features/theme.md +27 -176
  34. package/resource/doc/{chatuikit/iOS → chatkit/ios}/integration.md +78 -280
  35. package/resource/doc/{chatuikit/vue → chatkit/react}/components/avatar.md +0 -1
  36. package/resource/doc/{chatuikit → chatkit}/react/components/chat-header.md +7 -12
  37. package/resource/doc/{chatuikit → chatkit}/react/components/chat-setting.md +10 -17
  38. package/resource/doc/{chatuikit → chatkit}/react/components/chat.md +1 -1
  39. package/resource/doc/{chatuikit → chatkit}/react/components/component-list.md +0 -1
  40. package/resource/doc/{chatuikit → chatkit}/react/components/contact-list.md +122 -703
  41. package/resource/doc/chatkit/react/components/conversation-actions.md +174 -0
  42. package/resource/doc/chatkit/react/components/conversation-list.md +333 -0
  43. package/resource/doc/chatkit/react/components/conversation-preview.md +116 -0
  44. package/resource/doc/chatkit/react/components/conversation-search.md +57 -0
  45. package/resource/doc/{chatuikit → chatkit}/react/components/message-input.md +36 -186
  46. package/resource/doc/{chatuikit → chatkit}/react/components/message-list.md +21 -113
  47. package/resource/doc/chatkit/react/components/search.md +282 -0
  48. package/resource/doc/{chatuikit → chatkit}/react/components/tuikit.md +5 -26
  49. package/resource/doc/{chatuikit → chatkit}/react/integration.md +37 -104
  50. package/resource/doc/{chatuikit/react → chatkit/vue}/components/avatar.md +0 -1
  51. package/resource/doc/{chatuikit → chatkit}/vue/components/chat-header.md +7 -13
  52. package/resource/doc/{chatuikit → chatkit}/vue/components/chat-setting.md +13 -18
  53. package/resource/doc/{chatuikit → chatkit}/vue/components/chat.md +1 -2
  54. package/resource/doc/{chatuikit → chatkit}/vue/components/component-list.md +0 -1
  55. package/resource/doc/chatkit/vue/components/contact-list.md +271 -0
  56. package/resource/doc/chatkit/vue/components/conversation-actions.md +228 -0
  57. package/resource/doc/{chatuikit → chatkit}/vue/components/conversation-list.md +42 -316
  58. package/resource/doc/chatkit/vue/components/conversation-preview.md +213 -0
  59. package/resource/doc/chatkit/vue/components/conversation-search.md +50 -0
  60. package/resource/doc/{chatuikit → chatkit}/vue/components/message-input.md +1 -23
  61. package/resource/doc/{chatuikit → chatkit}/vue/components/message-list.md +23 -134
  62. package/resource/doc/{chatuikit → chatkit}/vue/components/search.md +73 -640
  63. package/resource/doc/chatkit/vue/components/tuikit.md +45 -0
  64. package/resource/doc/{chatuikit → chatkit}/vue/components/userpicker.md +4 -4
  65. package/resource/doc/{chatuikit → chatkit}/vue/faq.md +1 -1
  66. package/resource/doc/{chatuikit → chatkit}/vue/integration.md +53 -121
  67. package/resource/doc/livekit/core-sdk/live/android/api-reference/AudioEffectStore.md +283 -0
  68. package/resource/doc/livekit/core-sdk/live/android/api-reference/BarrageStore.md +148 -0
  69. package/resource/doc/livekit/core-sdk/live/android/api-reference/BattleStore.md +316 -0
  70. package/resource/doc/livekit/core-sdk/live/android/api-reference/CameraView.md +57 -0
  71. package/resource/doc/livekit/core-sdk/live/android/api-reference/CoGuestStore.md +419 -0
  72. package/resource/doc/livekit/core-sdk/live/android/api-reference/CoHostStore.md +325 -0
  73. package/resource/doc/livekit/core-sdk/live/android/api-reference/DeviceStore.md +436 -0
  74. package/resource/doc/livekit/core-sdk/live/android/api-reference/GiftStore.md +165 -0
  75. package/resource/doc/livekit/core-sdk/live/android/api-reference/LikeStore.md +49 -0
  76. package/resource/doc/livekit/core-sdk/live/android/api-reference/LiveAudienceStore.md +239 -0
  77. package/resource/doc/livekit/core-sdk/live/android/api-reference/LiveCoreView.md +74 -0
  78. package/resource/doc/livekit/core-sdk/live/android/api-reference/LiveSeatStore.md +417 -0
  79. package/resource/doc/livekit/core-sdk/live/android/api-reference/LoginStore.md +207 -0
  80. package/resource/doc/livekit/{live → core-sdk/live}/android/live-audience-list.md +17 -88
  81. package/resource/doc/livekit/{live → core-sdk/live}/android/live-audio-effect.md +34 -192
  82. package/resource/doc/livekit/{live → core-sdk/live}/android/live-barrage.md +26 -139
  83. package/resource/doc/livekit/{live → core-sdk/live}/android/live-base-beauty.md +16 -99
  84. package/resource/doc/livekit/{live → core-sdk/live}/android/live-co-guest-interaction.md +54 -161
  85. package/resource/doc/livekit/{live → core-sdk/live}/android/live-gift.md +75 -455
  86. package/resource/doc/livekit/{live → core-sdk/live}/android/live-host-interaction.md +91 -338
  87. package/resource/doc/livekit/{live → core-sdk/live}/android/live-integration.md +108 -492
  88. package/resource/doc/livekit/{live → core-sdk/live}/android/live-live-list.md +27 -165
  89. package/resource/doc/livekit/core-sdk/live/flutter/api-reference/AudioEffectStore.md +279 -0
  90. package/resource/doc/livekit/core-sdk/live/flutter/api-reference/BarrageStore.md +158 -0
  91. package/resource/doc/livekit/core-sdk/live/flutter/api-reference/BaseBeautyStore.md +155 -0
  92. package/resource/doc/livekit/core-sdk/live/flutter/api-reference/BattleStore.md +304 -0
  93. package/resource/doc/livekit/core-sdk/live/flutter/api-reference/CoGuestStore.md +394 -0
  94. package/resource/doc/livekit/core-sdk/live/flutter/api-reference/CoHostStore.md +303 -0
  95. package/resource/doc/livekit/core-sdk/live/flutter/api-reference/DeviceStore.md +410 -0
  96. package/resource/doc/livekit/core-sdk/live/flutter/api-reference/GiftStore.md +160 -0
  97. package/resource/doc/livekit/core-sdk/live/flutter/api-reference/LikeStore.md +51 -0
  98. package/resource/doc/livekit/core-sdk/live/flutter/api-reference/LiveAudienceStore.md +231 -0
  99. package/resource/doc/livekit/core-sdk/live/flutter/api-reference/LiveCoreView.md +143 -0
  100. package/resource/doc/livekit/core-sdk/live/flutter/api-reference/LiveSeatStore.md +375 -0
  101. package/resource/doc/livekit/core-sdk/live/flutter/api-reference/LoginStore.md +170 -0
  102. package/resource/doc/livekit/{live → core-sdk/live}/flutter/live-audience-list.md +13 -91
  103. package/resource/doc/livekit/{live → core-sdk/live}/flutter/live-audio-effect.md +34 -177
  104. package/resource/doc/livekit/{live → core-sdk/live}/flutter/live-barrage.md +18 -102
  105. package/resource/doc/livekit/{live → core-sdk/live}/flutter/live-base-beauty.md +24 -164
  106. package/resource/doc/livekit/{live → core-sdk/live}/flutter/live-co-guest-interaction.md +56 -161
  107. package/resource/doc/livekit/{live → core-sdk/live}/flutter/live-gift.md +66 -460
  108. package/resource/doc/livekit/{live → core-sdk/live}/flutter/live-host-interaction.md +117 -364
  109. package/resource/doc/livekit/{live → core-sdk/live}/flutter/live-integration.md +160 -543
  110. package/resource/doc/livekit/{live → core-sdk/live}/flutter/live-live-list.md +22 -161
  111. package/resource/doc/livekit/core-sdk/live/ios/api-reference/AudioEffectStore.md +287 -0
  112. package/resource/doc/livekit/core-sdk/live/ios/api-reference/BarrageStore.md +165 -0
  113. package/resource/doc/livekit/core-sdk/live/ios/api-reference/BaseBeautyStore.md +143 -0
  114. package/resource/doc/livekit/core-sdk/live/ios/api-reference/BattleStore.md +298 -0
  115. package/resource/doc/livekit/core-sdk/live/ios/api-reference/CoGuestStore.md +349 -0
  116. package/resource/doc/livekit/core-sdk/live/ios/api-reference/CoHostStore.md +297 -0
  117. package/resource/doc/livekit/core-sdk/live/ios/api-reference/DeviceStore.md +471 -0
  118. package/resource/doc/livekit/core-sdk/live/ios/api-reference/GiftStore.md +179 -0
  119. package/resource/doc/livekit/core-sdk/live/ios/api-reference/LikeStore.md +49 -0
  120. package/resource/doc/livekit/core-sdk/live/ios/api-reference/LiveAudienceStore.md +238 -0
  121. package/resource/doc/livekit/core-sdk/live/ios/api-reference/LiveCoreView.md +74 -0
  122. package/resource/doc/livekit/core-sdk/live/ios/api-reference/LiveSeatStore.md +412 -0
  123. package/resource/doc/livekit/core-sdk/live/ios/api-reference/LoginStore.md +173 -0
  124. package/resource/doc/livekit/{live → core-sdk/live}/ios/live-audience-list.md +23 -96
  125. package/resource/doc/livekit/{live → core-sdk/live}/ios/live-audio-effect.md +33 -195
  126. package/resource/doc/livekit/{live → core-sdk/live}/ios/live-barrage.md +35 -150
  127. package/resource/doc/livekit/{live → core-sdk/live}/ios/live-base-beauty.md +20 -105
  128. package/resource/doc/livekit/{live → core-sdk/live}/ios/live-co-guest-interaction.md +35 -140
  129. package/resource/doc/livekit/{live → core-sdk/live}/ios/live-gift.md +77 -457
  130. package/resource/doc/livekit/{live → core-sdk/live}/ios/live-host-interaction.md +70 -317
  131. package/resource/doc/livekit/{live → core-sdk/live}/ios/live-integration.md +90 -473
  132. package/resource/doc/livekit/{live → core-sdk/live}/ios/live-live-list.md +28 -163
  133. package/resource/doc/livekit/{voice → core-sdk/voice}/android/voice-audience-list.md +17 -88
  134. package/resource/doc/livekit/{voice → core-sdk/voice}/android/voice-audio-effect.md +34 -192
  135. package/resource/doc/livekit/{voice → core-sdk/voice}/android/voice-barrage.md +26 -139
  136. package/resource/doc/livekit/{voice → core-sdk/voice}/android/voice-co-guest-interaction.md +53 -262
  137. package/resource/doc/livekit/{voice → core-sdk/voice}/android/voice-gift.md +75 -455
  138. package/resource/doc/livekit/{voice → core-sdk/voice}/android/voice-host-interaction.md +60 -272
  139. package/resource/doc/livekit/{voice → core-sdk/voice}/android/voice-integration.md +63 -440
  140. package/resource/doc/livekit/{voice → core-sdk/voice}/android/voice-room-list.md +23 -151
  141. package/resource/doc/livekit/{voice → core-sdk/voice}/flutter/voice-audience-list.md +13 -91
  142. package/resource/doc/livekit/{voice → core-sdk/voice}/flutter/voice-audio-effect.md +34 -177
  143. package/resource/doc/livekit/{voice → core-sdk/voice}/flutter/voice-barrage.md +18 -102
  144. package/resource/doc/livekit/{voice → core-sdk/voice}/flutter/voice-co-guest-interaction.md +44 -201
  145. package/resource/doc/livekit/{voice → core-sdk/voice}/flutter/voice-gift.md +66 -460
  146. package/resource/doc/livekit/{voice → core-sdk/voice}/flutter/voice-integration.md +57 -419
  147. package/resource/doc/livekit/{voice → core-sdk/voice}/flutter/voice-room-list.md +24 -157
  148. package/resource/doc/livekit/{voice → core-sdk/voice}/ios/voice-audience-list.md +23 -96
  149. package/resource/doc/livekit/{voice → core-sdk/voice}/ios/voice-audio-effect.md +33 -195
  150. package/resource/doc/livekit/{voice → core-sdk/voice}/ios/voice-barrage.md +35 -150
  151. package/resource/doc/livekit/{voice → core-sdk/voice}/ios/voice-co-guest-interaction.md +45 -254
  152. package/resource/doc/livekit/{voice → core-sdk/voice}/ios/voice-gift.md +77 -457
  153. package/resource/doc/livekit/{voice → core-sdk/voice}/ios/voice-host-interaction.md +52 -261
  154. package/resource/doc/livekit/core-sdk/voice/ios/voice-integration.md +478 -0
  155. package/resource/doc/livekit/{voice → core-sdk/voice}/ios/voice-room-list.md +36 -167
  156. package/resource/doc/livekit/{voice → core-sdk/voice}/uni-app/voice-audience-list.md +15 -45
  157. package/resource/doc/livekit/{voice → core-sdk/voice}/uni-app/voice-audio-effect.md +23 -137
  158. package/resource/doc/livekit/{voice → core-sdk/voice}/uni-app/voice-barrage.md +25 -131
  159. package/resource/doc/livekit/{voice → core-sdk/voice}/uni-app/voice-co-guest-interaction.md +70 -366
  160. package/resource/doc/livekit/{voice → core-sdk/voice}/uni-app/voice-gift.md +70 -424
  161. package/resource/doc/livekit/core-sdk/voice/uni-app/voice-integration.md +323 -0
  162. package/resource/doc/livekit/{voice → core-sdk/voice}/uni-app/voice-room-list.md +24 -116
  163. package/resource/doc/livekit/faq/common/{error_code.md → error-code.md} +2 -3
  164. package/resource/doc/livekit/preset/live/vue/api-reference/index.md +780 -0
  165. package/resource/doc/livekit/preset/live/vue/components/barrage.md +291 -0
  166. package/resource/doc/livekit/{live → preset/live}/vue/components/co-guest-panel.md +9 -48
  167. package/resource/doc/livekit/{live → preset/live}/vue/components/live-audience-list.md +27 -145
  168. package/resource/doc/livekit/{live → preset/live}/vue/components/live-scene-panel.md +13 -76
  169. package/resource/doc/livekit/{live → preset/live}/vue/components/live-view.md +33 -224
  170. package/resource/doc/livekit/preset/live/vue/components/stream-mixer.md +211 -0
  171. package/resource/doc/livekit/preset/live/vue/faq.md +1 -0
  172. package/resource/doc/livekit/preset/live/vue/live-list-integration.md +244 -0
  173. package/resource/doc/livekit/preset/live/vue/live-player-desk-integration.md +301 -0
  174. package/resource/doc/livekit/preset/live/vue/live-player-h5-integration.md +307 -0
  175. package/resource/doc/livekit/preset/live/vue/live-pusher-integration.md +754 -0
  176. package/resource/doc/roomkit/android/features/call-user-to-room.md +234 -0
  177. package/resource/doc/roomkit/android/features/room-participant-state.md +850 -0
  178. package/resource/doc/roomkit/android/features/room-state.md +358 -0
  179. package/resource/doc/roomkit/android/features/schedule-room.md +336 -0
  180. package/resource/doc/roomkit/android/integration.md +433 -0
  181. package/resource/doc/roomkit/{common/error_code.md → faq/common/error-code.md} +1 -1
  182. package/resource/doc/roomkit/flutter/features/call-user-to-room.md +228 -0
  183. package/resource/doc/roomkit/flutter/features/room-participant-state.md +796 -0
  184. package/resource/doc/roomkit/flutter/features/room-state.md +324 -0
  185. package/resource/doc/roomkit/flutter/features/schedule-room.md +324 -0
  186. package/resource/doc/roomkit/flutter/integration.md +405 -0
  187. package/resource/doc/roomkit/ios/features/call-user-to-room.md +226 -0
  188. package/resource/doc/roomkit/ios/features/room-participant-state.md +821 -0
  189. package/resource/doc/roomkit/ios/features/room-state.md +320 -0
  190. package/resource/doc/roomkit/ios/features/schedule-room.md +318 -0
  191. package/resource/doc/roomkit/ios/integration.md +384 -0
  192. package/resource/doc/roomkit/vue/faq.md +1 -0
  193. package/resource/doc/roomkit/vue/features/call-user-to-room.md +17 -53
  194. package/resource/doc/roomkit/vue/features/device-detection.md +30 -48
  195. package/resource/doc/roomkit/vue/features/device-state.md +24 -44
  196. package/resource/doc/roomkit/vue/features/free-beauty-panel.md +13 -36
  197. package/resource/doc/roomkit/vue/features/room-chat.md +31 -89
  198. package/resource/doc/roomkit/vue/features/room-participant-state.md +28 -50
  199. package/resource/doc/roomkit/vue/features/room-state.md +25 -36
  200. package/resource/doc/roomkit/vue/features/room-view.md +30 -127
  201. package/resource/doc/roomkit/vue/features/schedule-room.md +9 -40
  202. package/resource/doc/roomkit/vue/features/screen-share.md +22 -90
  203. package/resource/doc/roomkit/vue/features/virtual-background.md +13 -34
  204. package/resource/doc/roomkit/vue/integration.md +21 -80
  205. package/resource/doc/rtcengine/faq/common/userSig.md +17 -141
  206. package/resource/doc/rtcengine/faq/web/web.md +15 -22
  207. package/resource/doc/rtcengine/web/api.md +17 -21
  208. package/resource/doc/rtcengine/web/how_to_integrated_web_sdk.md +4 -10
  209. package/resource/doc/rtcengine/web/how_to_run_web_sdk_demo.md +4 -8
  210. package/resource/doc/rtcengine/web/plugin/20-advanced-customized-capture-rendering.md +3 -3
  211. package/resource/doc/rtcengine/web/plugin/21-advanced-auto-play-policy.md +2 -3
  212. package/resource/doc/rtcengine/web/plugin/22-advanced-audio-mixer.md +6 -6
  213. package/resource/doc/rtcengine/web/plugin/23-advanced-support-detection.md +2 -2
  214. package/resource/doc/rtcengine/web/plugin/24-advanced-network-quality.md +2 -4
  215. package/resource/doc/rtcengine/web/plugin/25-advanced-device-change.md +1 -2
  216. package/resource/doc/rtcengine/web/plugin/26-advanced-publish-cdn-stream.md +2 -6
  217. package/resource/doc/rtcengine/web/plugin/27-advanced-small-stream.md +13 -14
  218. package/resource/doc/rtcengine/web/plugin/28-advanced-beauty.md +10 -90
  219. package/resource/doc/rtcengine/web/plugin/31-advanced-plugins-overview.md +5 -8
  220. package/resource/doc/rtcengine/web/plugin/34-advanced-proxy.md +31 -35
  221. package/resource/doc/rtcengine/web/plugin/35-advanced-ai-denoiser.md +0 -2
  222. package/resource/doc/rtcengine/web/plugin/36-advanced-virtual-background.md +7 -49
  223. package/resource/doc/rtcengine/web/plugin/37-advanced-voice-changer.md +1 -1
  224. package/resource/doc/rtcengine/web/plugin/39-advanced-video-decoder.md +0 -3
  225. package/resource/doc/rtcengine/web/plugin/40-advanced-video-mixer.md +20 -20
  226. package/resource/doc/rtcengine/web/plugin/41-advanced-small-stream-auto-switcher.md +1 -1
  227. package/resource/doc/rtcengine/web/plugin/42-advanced-realtime-transcriber.md +4 -4
  228. package/resource/doc/rtcengine/web/plugin/43-advanced-face-detection.md +3 -3
  229. package/resource/doc/trtc/C++/ITRTCCloud.md +718 -2847
  230. package/resource/doc/trtc/C++/ITRTCStatistics.md +53 -308
  231. package/resource/doc/trtc/C++/ITXAudioEffectManager.md +207 -1041
  232. package/resource/doc/trtc/C++/ITXDeviceManager.md +127 -768
  233. package/resource/doc/trtc/C++/TRTCCloudCallback.md +634 -2259
  234. package/resource/doc/trtc/C++/TRTCTypeDef.md +726 -3465
  235. package/resource/doc/trtc/C++/TXLiteAVCode.md +117 -916
  236. package/resource/doc/trtc/android/TRTCCloud.md +638 -2612
  237. package/resource/doc/trtc/android/TRTCCloudDef.md +769 -3697
  238. package/resource/doc/trtc/android/TRTCCloudListener.md +609 -2070
  239. package/resource/doc/trtc/android/TRTCStatistics.md +48 -278
  240. package/resource/doc/trtc/android/TXAudioEffectManager.md +207 -1049
  241. package/resource/doc/trtc/android/TXBeautyManager.md +127 -704
  242. package/resource/doc/trtc/android/TXDeviceManager.md +51 -318
  243. package/resource/doc/trtc/android/TXLiteAVCode.md +115 -900
  244. package/resource/doc/trtc/iOS/TRTCCloud.md +726 -2930
  245. package/resource/doc/trtc/iOS/TRTCCloudDelegate.md +580 -2099
  246. package/resource/doc/trtc/iOS/TRTCStatistics.md +48 -278
  247. package/resource/doc/trtc/iOS/TXAudioEffectManager.md +179 -896
  248. package/resource/doc/trtc/iOS/TXBeautyManager.md +128 -710
  249. package/resource/doc/trtc/iOS/TXDeviceManager.md +129 -772
  250. package/resource/doc/trtc/iOS/TXLiteAVCode.md +117 -915
  251. package/resource/doc/trtc/iOS/TXLiveSDKTypeDef.md +747 -3559
  252. package/server.js +1 -5
  253. package/server.js.map +1 -1
  254. package/tools/call/get_callkit_api.js +32 -0
  255. package/tools/call/get_callkit_api.js.map +1 -0
  256. package/tools/call/get_native_call_uikit_integration.js +34 -0
  257. package/tools/call/get_native_call_uikit_integration.js.map +1 -0
  258. package/tools/call/{get-web-call-integration.js → get_web_call_uikit_integration.js} +13 -8
  259. package/tools/call/get_web_call_uikit_integration.js.map +1 -0
  260. package/tools/chat/get_native_chat_uikit_feature_detail.js +34 -0
  261. package/tools/chat/get_native_chat_uikit_feature_detail.js.map +1 -0
  262. package/tools/chat/get_native_chat_uikit_integration.js +45 -0
  263. package/tools/chat/get_native_chat_uikit_integration.js.map +1 -0
  264. package/tools/chat/get_web_chat_uikit_component_detail.js +34 -0
  265. package/tools/chat/get_web_chat_uikit_component_detail.js.map +1 -0
  266. package/tools/chat/get_web_chat_uikit_integration.js +45 -0
  267. package/tools/chat/get_web_chat_uikit_integration.js.map +1 -0
  268. package/tools/common/get_faq.js +265 -0
  269. package/tools/common/get_faq.js.map +1 -0
  270. package/tools/common/{get-usersig.js → get_usersig.js} +6 -3
  271. package/tools/common/get_usersig.js.map +1 -0
  272. package/tools/common/present_framework_choice.js +63 -0
  273. package/tools/common/present_framework_choice.js.map +1 -0
  274. package/tools/definitions/get_callkit_api_def.js +28 -0
  275. package/tools/definitions/get_callkit_api_def.js.map +1 -0
  276. package/tools/definitions/get_faq_def.js +18 -19
  277. package/tools/definitions/get_faq_def.js.map +1 -1
  278. package/tools/definitions/get_native_call_uikit_integration_def.js +15 -34
  279. package/tools/definitions/get_native_call_uikit_integration_def.js.map +1 -1
  280. package/tools/definitions/get_native_chat_uikit_feature_detail_def.js +31 -0
  281. package/tools/definitions/get_native_chat_uikit_feature_detail_def.js.map +1 -0
  282. package/tools/definitions/get_native_chat_uikit_integration_def.js +16 -41
  283. package/tools/definitions/get_native_chat_uikit_integration_def.js.map +1 -1
  284. package/tools/definitions/get_native_livekit_core_features_def.js +33 -0
  285. package/tools/definitions/get_native_livekit_core_features_def.js.map +1 -0
  286. package/tools/definitions/get_native_livekit_core_integration_def.js +33 -0
  287. package/tools/definitions/get_native_livekit_core_integration_def.js.map +1 -0
  288. package/tools/definitions/get_native_trtc_sdk_docs_def.js +32 -0
  289. package/tools/definitions/get_native_trtc_sdk_docs_def.js.map +1 -0
  290. package/tools/definitions/get_usersig_def.js +17 -24
  291. package/tools/definitions/get_usersig_def.js.map +1 -1
  292. package/tools/definitions/get_web_call_uikit_integration_def.js +15 -7
  293. package/tools/definitions/get_web_call_uikit_integration_def.js.map +1 -1
  294. package/tools/definitions/get_web_chat_uikit_component_detail_def.js +17 -49
  295. package/tools/definitions/get_web_chat_uikit_component_detail_def.js.map +1 -1
  296. package/tools/definitions/get_web_chat_uikit_integration_def.js +16 -19
  297. package/tools/definitions/get_web_chat_uikit_integration_def.js.map +1 -1
  298. package/tools/definitions/get_web_live_uikit_integration_def.js +13 -18
  299. package/tools/definitions/get_web_live_uikit_integration_def.js.map +1 -1
  300. package/tools/definitions/get_web_livekit_api_def.js +27 -0
  301. package/tools/definitions/get_web_livekit_api_def.js.map +1 -0
  302. package/tools/definitions/get_web_livekit_component_detail_def.js +29 -0
  303. package/tools/definitions/get_web_livekit_component_detail_def.js.map +1 -0
  304. package/tools/definitions/get_web_room_uikit_integration_def.js +13 -46
  305. package/tools/definitions/get_web_room_uikit_integration_def.js.map +1 -1
  306. package/tools/definitions/get_web_roomkit_feature_detail_def.js +30 -0
  307. package/tools/definitions/get_web_roomkit_feature_detail_def.js.map +1 -0
  308. package/tools/definitions/get_web_trtc_sdk_api_def.js +25 -0
  309. package/tools/definitions/get_web_trtc_sdk_api_def.js.map +1 -0
  310. package/tools/definitions/get_web_trtc_sdk_integration_def.js +25 -0
  311. package/tools/definitions/get_web_trtc_sdk_integration_def.js.map +1 -0
  312. package/tools/definitions/get_web_trtc_sdk_plugin_def.js +25 -0
  313. package/tools/definitions/get_web_trtc_sdk_plugin_def.js.map +1 -0
  314. package/tools/definitions/present_framework_choice_def.js +23 -12
  315. package/tools/definitions/present_framework_choice_def.js.map +1 -1
  316. package/tools/index.js +47 -61
  317. package/tools/index.js.map +1 -1
  318. package/tools/live/get_native_livekit_core_features.js +65 -0
  319. package/tools/live/get_native_livekit_core_features.js.map +1 -0
  320. package/tools/live/get_native_livekit_core_integration.js +59 -0
  321. package/tools/live/get_native_livekit_core_integration.js.map +1 -0
  322. package/tools/live/get_web_live_uikit_integration.js +48 -0
  323. package/tools/live/get_web_live_uikit_integration.js.map +1 -0
  324. package/tools/live/get_web_livekit_api.js +32 -0
  325. package/tools/live/get_web_livekit_api.js.map +1 -0
  326. package/tools/live/get_web_livekit_component_detail.js +34 -0
  327. package/tools/live/get_web_livekit_component_detail.js.map +1 -0
  328. package/tools/room/{get-web-room-integration.js → get_web_room_uikit_integration.js} +13 -14
  329. package/tools/room/get_web_room_uikit_integration.js.map +1 -0
  330. package/tools/room/{get-web-room-feature-detail.js → get_web_roomkit_feature_detail.js} +30 -31
  331. package/tools/room/get_web_roomkit_feature_detail.js.map +1 -0
  332. package/tools/rtcengine/get_web_trtc_sdk_api.js +31 -0
  333. package/tools/rtcengine/get_web_trtc_sdk_api.js.map +1 -0
  334. package/tools/rtcengine/get_web_trtc_sdk_integration.js +31 -0
  335. package/tools/rtcengine/get_web_trtc_sdk_integration.js.map +1 -0
  336. package/tools/rtcengine/get_web_trtc_sdk_plugin.js +31 -0
  337. package/tools/rtcengine/get_web_trtc_sdk_plugin.js.map +1 -0
  338. package/tools/trtc/get_native_trtc_sdk_docs.js +73 -0
  339. package/tools/trtc/get_native_trtc_sdk_docs.js.map +1 -0
  340. package/utils/generate-structured-result.js +61 -17
  341. package/utils/generate-structured-result.js.map +1 -1
  342. package/utils/report-cls-client.js +12 -1
  343. package/utils/report-cls-client.js.map +1 -1
  344. package/utils/report-es-client.js +1 -1
  345. package/resource/doc/chatuikit/android/workflow.md +0 -713
  346. package/resource/doc/chatuikit/faq/android_sdk/client-api.md +0 -1376
  347. package/resource/doc/chatuikit/faq/flutter_sdk/client-api.md +0 -860
  348. package/resource/doc/chatuikit/faq/ios_sdk/client-api.md +0 -1371
  349. package/resource/doc/chatuikit/flutter/workflow.md +0 -816
  350. package/resource/doc/chatuikit/iOS/workflow.md +0 -0
  351. package/resource/doc/chatuikit/react/components/conversation-list.md +0 -765
  352. package/resource/doc/chatuikit/react/components/search.md +0 -885
  353. package/resource/doc/chatuikit/react/create-group.md +0 -22
  354. package/resource/doc/chatuikit/react/init.md +0 -25
  355. package/resource/doc/chatuikit/react/workflow.md +0 -254
  356. package/resource/doc/chatuikit/uniapp-app/faq.md +0 -0
  357. package/resource/doc/chatuikit/uniapp-app/integration.md +0 -619
  358. package/resource/doc/chatuikit/uniapp-app/workflow.md +0 -576
  359. package/resource/doc/chatuikit/vue/components/contact-list.md +0 -679
  360. package/resource/doc/chatuikit/vue/components/tuikit.md +0 -110
  361. package/resource/doc/chatuikit/vue/create-group.md +0 -26
  362. package/resource/doc/chatuikit/vue/init.md +0 -35
  363. package/resource/doc/chatuikit/vue/workflow.md +0 -395
  364. package/resource/doc/livekit/live/android/workflow.md +0 -322
  365. package/resource/doc/livekit/live/flutter/workflow.md +0 -353
  366. package/resource/doc/livekit/live/ios/workflow.md +0 -352
  367. package/resource/doc/livekit/live/vue/components/barrage.md +0 -615
  368. package/resource/doc/livekit/live/vue/components/stream-mixer.md +0 -442
  369. package/resource/doc/livekit/live/vue/faq.md +0 -0
  370. package/resource/doc/livekit/live/vue/live-list-integration.md +0 -195
  371. package/resource/doc/livekit/live/vue/live-player-desk-integration.md +0 -293
  372. package/resource/doc/livekit/live/vue/live-player-h5-integration.md +0 -381
  373. package/resource/doc/livekit/live/vue/live-pusher-integration.md +0 -598
  374. package/resource/doc/livekit/live/vue/states/live-state.md +0 -2656
  375. package/resource/doc/livekit/live/vue/workflow.md +0 -219
  376. package/resource/doc/livekit/voice/android/workflow.md +0 -333
  377. package/resource/doc/livekit/voice/flutter/workflow.md +0 -359
  378. package/resource/doc/livekit/voice/ios/voice-integration.md +0 -853
  379. package/resource/doc/livekit/voice/ios/workflow.md +0 -358
  380. package/resource/doc/livekit/voice/uni-app/voice-integration.md +0 -613
  381. package/resource/doc/livekit/voice/uni-app/workflow.md +0 -369
  382. package/resource/doc/native_live/android/V2TXLiveCode_api_android.md +0 -334
  383. package/resource/doc/native_live/android/V2TXLiveDef_api_android.md +0 -434
  384. package/resource/doc/native_live/android/V2TXLivePlayerObserver_api_android.md +0 -685
  385. package/resource/doc/native_live/android/V2TXLivePlayer_api_android.md +0 -712
  386. package/resource/doc/native_live/android/V2TXLivePremier_api_android.md +0 -284
  387. package/resource/doc/native_live/android/V2TXLivePusherObserver_api_android.md +0 -849
  388. package/resource/doc/native_live/android/V2TXLivePusher_api_android.md +0 -1046
  389. package/resource/doc/native_live/flutter/V2TXLiveCode_api_flutter.md +0 -460
  390. package/resource/doc/native_live/flutter/V2TXLiveDef_api_flutter.md +0 -558
  391. package/resource/doc/native_live/flutter/V2TXLivePlayerObserver_api_flutter.md +0 -879
  392. package/resource/doc/native_live/flutter/V2TXLivePlayer_api_flutter.md +0 -668
  393. package/resource/doc/native_live/flutter/V2TXLivePremier_api_flutter.md +0 -456
  394. package/resource/doc/native_live/flutter/V2TXLivePusherObserver_api_flutter.md +0 -332
  395. package/resource/doc/native_live/flutter/V2TXLivePusher_api_flutter.md +0 -748
  396. package/resource/doc/native_live/iOS/V2TXLiveCode_api_iOS.md +0 -328
  397. package/resource/doc/native_live/iOS/V2TXLiveDef_api_iOS.md +0 -505
  398. package/resource/doc/native_live/iOS/V2TXLivePlayerObserver_api_iOS.md +0 -507
  399. package/resource/doc/native_live/iOS/V2TXLivePlayer_api_iOS.md +0 -676
  400. package/resource/doc/native_live/iOS/V2TXLivePremier_api_iOS.md +0 -284
  401. package/resource/doc/native_live/iOS/V2TXLivePusherObserver_api_iOS.md +0 -820
  402. package/resource/doc/native_live/iOS/V2TXLivePusher_api_iOS.md +0 -1065
  403. package/resource/doc/roomkit/vue/features/workflow.md +0 -553
  404. package/resource/doc/roomkit/vue/workflow.md +0 -733
  405. package/resource/doc/tuicallkit/android/workflow.md +0 -432
  406. package/resource/doc/tuicallkit/faq/android_sdk/call-observer-api.md +0 -786
  407. package/resource/doc/tuicallkit/faq/android_sdk/callkit-api.md +0 -663
  408. package/resource/doc/tuicallkit/faq/flutter_sdk/call-define-api.md +0 -932
  409. package/resource/doc/tuicallkit/faq/flutter_sdk/call-observer-api.md +0 -926
  410. package/resource/doc/tuicallkit/faq/flutter_sdk/callkit-api.md +0 -452
  411. package/resource/doc/tuicallkit/faq/ios_sdk/call-observer-api.md +0 -779
  412. package/resource/doc/tuicallkit/faq/ios_sdk/callkit-api.md +0 -635
  413. package/resource/doc/tuicallkit/flutter/workflow.md +0 -331
  414. package/resource/doc/tuicallkit/react/api.md +0 -1512
  415. package/resource/doc/tuicallkit/react/faq.md +0 -986
  416. package/resource/doc/tuicallkit/vue/api.md +0 -1512
  417. package/tools/call/get-native-call-integration.js +0 -43
  418. package/tools/call/get-native-call-integration.js.map +0 -1
  419. package/tools/call/get-web-call-api.js +0 -27
  420. package/tools/call/get-web-call-api.js.map +0 -1
  421. package/tools/call/get-web-call-integration.js.map +0 -1
  422. package/tools/chat/get-native-chat-feature-detail.js +0 -30
  423. package/tools/chat/get-native-chat-feature-detail.js.map +0 -1
  424. package/tools/chat/get-native-chat-integration.js +0 -45
  425. package/tools/chat/get-native-chat-integration.js.map +0 -1
  426. package/tools/chat/get-web-chat-component-detail.js +0 -31
  427. package/tools/chat/get-web-chat-component-detail.js.map +0 -1
  428. package/tools/chat/get-web-chat-integration.js +0 -45
  429. package/tools/chat/get-web-chat-integration.js.map +0 -1
  430. package/tools/chat/get-web-chat-uikit-init.js +0 -28
  431. package/tools/chat/get-web-chat-uikit-init.js.map +0 -1
  432. package/tools/chat/get-web-create-group-doc.js +0 -28
  433. package/tools/chat/get-web-create-group-doc.js.map +0 -1
  434. package/tools/common/get-faq.js +0 -91
  435. package/tools/common/get-faq.js.map +0 -1
  436. package/tools/common/get-usersig.js.map +0 -1
  437. package/tools/common/present-framework-choice.js +0 -16
  438. package/tools/common/present-framework-choice.js.map +0 -1
  439. package/tools/common/present-scenario-choice.js +0 -16
  440. package/tools/common/present-scenario-choice.js.map +0 -1
  441. package/tools/common/record-prompt.js +0 -55
  442. package/tools/common/record-prompt.js.map +0 -1
  443. package/tools/common/record-result.js +0 -60
  444. package/tools/common/record-result.js.map +0 -1
  445. package/tools/definitions/get_native_chat_feature_detail_def.js +0 -32
  446. package/tools/definitions/get_native_chat_feature_detail_def.js.map +0 -1
  447. package/tools/definitions/get_native_live_api_def.js +0 -22
  448. package/tools/definitions/get_native_live_api_def.js.map +0 -1
  449. package/tools/definitions/get_native_live_uikit_extra_features_def.js +0 -109
  450. package/tools/definitions/get_native_live_uikit_extra_features_def.js.map +0 -1
  451. package/tools/definitions/get_native_live_uikit_integration_def.js +0 -75
  452. package/tools/definitions/get_native_live_uikit_integration_def.js.map +0 -1
  453. package/tools/definitions/get_native_live_uikit_interaction_def.js +0 -63
  454. package/tools/definitions/get_native_live_uikit_interaction_def.js.map +0 -1
  455. package/tools/definitions/get_trtc_native_api_def.js +0 -17
  456. package/tools/definitions/get_trtc_native_api_def.js.map +0 -1
  457. package/tools/definitions/get_web_call_uikit_api_def.js +0 -23
  458. package/tools/definitions/get_web_call_uikit_api_def.js.map +0 -1
  459. package/tools/definitions/get_web_chat_uikit_init_def.js +0 -23
  460. package/tools/definitions/get_web_chat_uikit_init_def.js.map +0 -1
  461. package/tools/definitions/get_web_create_group_doc_def.js +0 -18
  462. package/tools/definitions/get_web_create_group_doc_def.js.map +0 -1
  463. package/tools/definitions/get_web_live_state_detail_def.js +0 -19
  464. package/tools/definitions/get_web_live_state_detail_def.js.map +0 -1
  465. package/tools/definitions/get_web_live_uikit_component_detail_def.js +0 -27
  466. package/tools/definitions/get_web_live_uikit_component_detail_def.js.map +0 -1
  467. package/tools/definitions/get_web_room_feature_detail_def.js +0 -92
  468. package/tools/definitions/get_web_room_feature_detail_def.js.map +0 -1
  469. package/tools/definitions/present_scenario_choice_def.js +0 -53
  470. package/tools/definitions/present_scenario_choice_def.js.map +0 -1
  471. package/tools/definitions/record_prompt_def.js +0 -58
  472. package/tools/definitions/record_prompt_def.js.map +0 -1
  473. package/tools/definitions/record_result_def.js +0 -46
  474. package/tools/definitions/record_result_def.js.map +0 -1
  475. package/tools/live/get-native-live-uikit-integration.js +0 -177
  476. package/tools/live/get-native-live-uikit-integration.js.map +0 -1
  477. package/tools/live/get-web-live-component-detail.js +0 -31
  478. package/tools/live/get-web-live-component-detail.js.map +0 -1
  479. package/tools/live/get-web-live-state-detail.js +0 -31
  480. package/tools/live/get-web-live-state-detail.js.map +0 -1
  481. package/tools/live/get-web-live-uikit-integration.js +0 -52
  482. package/tools/live/get-web-live-uikit-integration.js.map +0 -1
  483. package/tools/live/get_native_live_uikit_extra_features.js +0 -105
  484. package/tools/live/get_native_live_uikit_extra_features.js.map +0 -1
  485. package/tools/live/get_native_live_uikit_interaction.js +0 -194
  486. package/tools/live/get_native_live_uikit_interaction.js.map +0 -1
  487. package/tools/native_live/get-native-live-api.js +0 -31
  488. package/tools/native_live/get-native-live-api.js.map +0 -1
  489. package/tools/room/get-web-room-feature-detail.js.map +0 -1
  490. package/tools/room/get-web-room-integration.js.map +0 -1
  491. package/tools/rtcengine/get-rtcengine-web-sdk-integration.js +0 -28
  492. package/tools/rtcengine/get-rtcengine-web-sdk-integration.js.map +0 -1
  493. package/tools/rtcengine/get-trtc-sdk-faq.js +0 -32
  494. package/tools/rtcengine/get-trtc-sdk-faq.js.map +0 -1
  495. package/tools/rtcengine/get-trtc-web-sdk-api.js +0 -28
  496. package/tools/rtcengine/get-trtc-web-sdk-api.js.map +0 -1
  497. package/tools/rtcengine/get-trtc-web-sdk-faq.js +0 -30
  498. package/tools/rtcengine/get-trtc-web-sdk-faq.js.map +0 -1
  499. package/tools/rtcengine/get-trtc-web-sdk-integration.js +0 -29
  500. package/tools/rtcengine/get-trtc-web-sdk-integration.js.map +0 -1
  501. package/tools/rtcengine/get-trtc-web-sdk-plugin.js +0 -45
  502. package/tools/rtcengine/get-trtc-web-sdk-plugin.js.map +0 -1
  503. package/tools/trtc/get-trtc-native-api.js +0 -31
  504. package/tools/trtc/get-trtc-native-api.js.map +0 -1
  505. package/utils/handle-component-name.js +0 -33
  506. package/utils/handle-component-name.js.map +0 -1
  507. /package/resource/doc/{rtcengine/web → callkit/core-sdk}/.gitkeep +0 -0
  508. /package/resource/doc/{chatuikit → chatkit}/faq/common/server_error_code.md +0 -0
  509. /package/resource/doc/{chatuikit → chatkit}/flutter/faq.md +0 -0
  510. /package/resource/doc/{chatuikit → chatkit}/react/faq.md +0 -0
@@ -8,8 +8,6 @@
8
8
 
9
9
  进入 [即时通信 IM 控制台](https://console.cloud.tencent.com/im) 的配置页面,并在页面的右下角找到开通腾讯实时音视频服务功能区,单击**免费体验**,选择**领取7天试用,**即可开通 TUICallKit 的 7 天免费试用服务,成为体验版。
10
10
 
11
- ![](https://write-document-release-1258344699.cos.ap-guangzhou.tencentcos.cn/100028816915/64a6cbd1cf6811edb580525400088f3a.png)
12
-
13
11
  ##### **对于正式版**
14
12
 
15
13
  如果您体验过 7 天体验期后,需要购买正式套餐。IM 音视频通话能力针对不同的业务需求提供了差异化的付费版本供您选择,您可以在 [IM 购买页](https://buy.cloud.tencent.com/avc) 了解包含功能并选购您适合的版本。
@@ -20,9 +18,6 @@ TUICallKit 3.1 版本起,在 TUIChat + TUICallKit 融合场景下,通过 TUI
20
18
 
21
19
  您需要在登录成功后调用一次高级接口,各个平台的具体使用为:
22
20
 
23
-
24
-
25
-
26
21
  【iOS(Swift)】
27
22
  ``` swift
28
23
  let jsonParams: [String: Any] = ["api": "forceUseV2API",
@@ -33,10 +28,9 @@ guard let paramsString = NSString(data: data, encoding: String.Encoding.utf8.raw
33
28
  TUICallKit.createInstance().callExperimentalAPI(jsonStr: paramsString)
34
29
  ```
35
30
 
36
-
37
31
  【iOS(Objective-C)】
38
32
  ``` cpp
39
- NSDictionary *jsonParams = @{@"api": @"forceUseV2API",
33
+ NSDictionary *jsonParams = @{@"api": @"forceUseV2API",
40
34
  @"params": @{@"enable": @YES}};
41
35
  NSError *error = nil;
42
36
  NSData *data = [NSJSONSerialization dataWithJSONObject:jsonParams options:0 error:&error];
@@ -45,14 +39,13 @@ NSString *paramsString = [[NSString alloc] initWithData:data encoding:NSUTF8Stri
45
39
  if (!paramsString) { return;}
46
40
  [[TUICallKit createInstance] callExperimentalAPIWithJsonStr:paramsString];
47
41
 
48
-
49
42
  ```
50
43
 
51
44
  ### TUICalling 如何升级到 TUICallKit?
52
45
 
53
46
  TUICallKit 是腾讯云推出一款新的音视频通话 UI 组件,**是 TUICalling 的升级版本**,支持群组通话、AI 降噪等更多功能特性、支持全平台间互通呼叫,功能更加稳定。 从 TUICalling 升级到 TUICallKit 您可以参考:
54
47
 
55
- - [iOS 升级方案](https://write.woa.com/document/88642650573402112)
48
+ - iOS 升级方案
56
49
 
57
50
  ### 报错 inviteID 无效或邀请已处理
58
51
 
@@ -79,18 +72,15 @@ TUICallKit 是腾讯云推出一款新的音视频通话 UI 组件,**是 TUICa
79
72
  TUICallKit 底层通过 IM 管理用户,可以通过 IM 查询用户的在线状态,方式有以下两种:
80
73
  - **方式一:**通过 getUserStatus 高级接口查询
81
74
 
82
-
83
75
  详情可参考:查询用户状态([Android&iOS&Windows&Mac](https://cloud.tencent.com/document/product/269/75511#.E6.9F.A5.E8.AF.A2.E7.94.A8.E6.88.B7.E7.8A.B6.E6.80.81)、[web&小程序&uniapp](https://cloud.tencent.com/document/product/269/78125#.E6.9F.A5.E8.AF.A2.E7.94.A8.E6.88.B7.E7.8A.B6.E6.80.81)),您可以调用不同平台的接口去查询。
84
-
85
76
 
86
77
  > **注意:**
87
- >
78
+ >
88
79
  > - 查询其他用户状态需要升级 TUICallKit 套餐包到**群组通话版本**。
89
80
  > - 查询其他用户状态需要提前在 [即时通信 IM 控制台](https://console.cloud.tencent.com/im) 开启 “用户状态查询及状态变更通知”。不开启,调用`getUserStatus`会报错。
90
81
 
91
- > ![](https://write-document-release-1258344699.cos.ap-guangzhou.tencentcos.cn/100027119876/55963f596cb611ee9a1c52540047987b.png)
92
- >
93
-
82
+ >
83
+ >
94
84
 
95
85
  getUserStatus接口的返回结果有以下几种:
96
86
 
@@ -104,82 +94,35 @@ TUICallKit 底层通过 IM 管理用户,可以通过 IM 查询用户的在线
104
94
 
105
95
  - **方式二:**通过 rest-api 进行查询
106
96
 
107
-
108
97
  详情可参考:[查询账号在线状态](https://cloud.tencent.com/document/product/269/2566)。
109
98
 
110
-
111
99
  ### **音视频通话信令里各字段常见问题?**
112
- <table>
113
- <tr>
114
- <td rowspan="1" colSpan="1" >**问题**</td>
115
-
116
- <td rowspan="1" colSpan="1" >**说明**</td>
117
- </tr>
118
-
119
- <tr>
120
- <td rowspan="1" colSpan="1" >如何判断 “发起通话”</td>
121
-
122
- <td rowspan="1" colSpan="1" >actionType = 1 且 cmd = 'videoCall' 或 'audioCall'</td>
123
- </tr>
124
-
125
- <tr>
126
- <td rowspan="1" colSpan="1" >如何判断 “已接听”</td>
127
-
128
- <td rowspan="1" colSpan="1" >actionType = 3 </td>
129
- </tr>
130
-
131
- <tr>
132
- <td rowspan="1" colSpan="1" >如何判断 “通话已结束”,“通话时长是多收”</td>
133
-
134
- <td rowspan="1" colSpan="1" >actionType = 1 且 cmd = 'hangup',通话时长取 call_end 字段,单位:秒</td>
135
- </tr>
136
-
137
- <tr>
138
- <td rowspan="1" colSpan="1" >如何判断 “取消通话”</td>
139
-
140
- <td rowspan="1" colSpan="1" >actionType = 2</td>
141
- </tr>
142
-
143
- <tr>
144
- <td rowspan="1" colSpan="1" >如何判断 “拒绝通话”</td>
145
-
146
- <td rowspan="1" colSpan="1" >actionType = 4</td>
147
- </tr>
148
-
149
- <tr>
150
- <td rowspan="1" colSpan="1" >如何判断对端忙线产生的 “拒绝通话”</td>
151
-
152
- <td rowspan="1" colSpan="1" >actionType = 4 且 "line_busy" = "line_busy"</td>
153
- </tr>
154
-
155
- <tr>
156
- <td rowspan="1" colSpan="1" >如何被叫判断 “超时未接听”</td>
157
-
158
- <td rowspan="1" colSpan="1" >actionType = 5</td>
159
- </tr>
160
- </table>
100
+ | **问题** | **说明** |
101
+ | --- | --- |
102
+ | 如何判断 “发起通话” | actionType = 1 且 cmd = 'videoCall' 或 'audioCall' |
103
+ | 如何判断 “已接听” | actionType = 3 |
104
+ | 如何判断 “通话已结束”,“通话时长是多收” | actionType = 1 且 cmd = 'hangup',通话时长取 call_end 字段,单位:秒 |
105
+ | 如何判断 “取消通话” | actionType = 2 |
106
+ | 如何判断 “拒绝通话” | actionType = 4 |
107
+ | 如何判断对端忙线产生的 “拒绝通话” | actionType = 4 且 "line_busy" = "line_busy" |
108
+ | 如何被叫判断 “超时未接听” | actionType = 5 |
161
109
 
162
110
  # Web
163
111
  > **说明:**
164
- >
112
+ >
165
113
  > - 如果并没有解决您的问题,也欢迎您加入我们的 TUICallKit 技术交流 QQ 群: **605115878 **来进行交流讨论。
166
114
  > - 我们团队即将在 Web 端丰富更多不同的组件,以满足您的开发需求。
167
115
 
168
116
  > 希望您能抽出几分钟时间,为您自己的需求投上一票,我们将优先开发!
169
- >
170
-
171
- > 问卷地址:[TUICallKit Web 问卷调查](https://wj.qq.com/s2/11263124/1556/)
172
- >
173
-
117
+ >
174
118
 
175
119
  ## 一、基础环境问题
176
120
 
177
121
  > **说明:**
178
- >
122
+ >
179
123
 
180
124
  > 以下问题对于 TUICallKit 与 TUICallEngine SDK 同样适用。
181
- >
182
-
125
+ >
183
126
 
184
127
  ### TUICallEngine 和 TUICallKit 分别是什么?
185
128
 
@@ -198,15 +141,12 @@ TUICallEngine SDK 是音视频通话组件的无 UI SDK,如果 TUICallKit 的
198
141
  ### 为什么本地开发测试能正常使用,但是部署到线上用 IP 访问后无法正常视频/语音通话?
199
142
  - **对网站域名协议的要求**
200
143
 
201
-
202
144
  出于对用户安全、隐私等问题的考虑,浏览器限制网页在 HTTPS 协议下才能正常使用本文档中所对接组件的全部功能。为确保生产环境中的用户能够顺畅体验产品功能,请将您的网站部署在 `https://` 协议的域名下。更多请参见 [页面访问协议说明](https://web.sdk.qcloud.com/trtc/webrtc/doc/zh-cn/tutorial-05-info-browser.html#h2-3)。
203
145
 
204
146
  - **对网络环境的要求**
205
147
 
206
-
207
148
  在使用 TUICallKit 时,用户可能因防火墙限制导致无法正常进行音视频通话,请参考 [应对防火墙策略](https://web.sdk.qcloud.com/trtc/webrtc/doc/zh-cn/tutorial-05-info-browser.html#h2-4) 将相应端口及域名添加至防火墙白名单中。
208
149
 
209
-
210
150
  ### 在接通过程中报:"is not included in the current tim's package"?
211
151
 
212
152
  TUICallKit(含 TUICallEngine SDK)依赖的 `tim-js-sdk` 版本需要 ≥ 2.21.2。
@@ -224,97 +164,23 @@ TUICallKit(含 TUICallEngine SDK)依赖的 `tim-js-sdk` 版本需要 ≥ 2.2
224
164
  未调用 [login](https://web.sdk.qcloud.com/component/trtccalling/doc/TUICallEngine/web/TUICallEngine.html#login) 接口,所有功能需要先进行登录完成后才能使用,具体参见 [TUICallEngine login](https://web.sdk.qcloud.com/component/trtccalling/doc/TUICallEngine/web/TUICallEngine.html#login)。
225
165
 
226
166
  > **注意:**
227
- >
167
+ >
228
168
 
229
169
  > [TUICallEngine login](https://web.sdk.qcloud.com/component/trtccalling/doc/TUICallEngine/web/TUICallEngine.html#login) 是一个异步接口,避免在 login 还未完成,直接调用 TUICallEngine 的接口。
230
- >
170
+ >
231
171
 
232
-
233
- ### 当前通话状态无法使用该 API
172
+ ### 当前通话状态无法使用该 API
234
173
 
235
174
  API 与通话状态对照表:
236
- <table>
237
- <tr>
238
- <td rowspan="1" colSpan="1" >API</td>
239
-
240
- <td rowspan="1" colSpan="1" >idle</td>
241
-
242
- <td rowspan="1" colSpan="1" >calling</td>
243
-
244
- <td rowspan="1" colSpan="1" >connected</td>
245
- </tr>
246
-
247
- <tr>
248
- <td rowspan="1" colSpan="1" >call</td>
249
-
250
- <td rowspan="1" colSpan="1" >✓</td>
251
-
252
- <td rowspan="1" colSpan="1" >×</td>
253
-
254
- <td rowspan="1" colSpan="1" >×</td>
255
- </tr>
256
-
257
- <tr>
258
- <td rowspan="1" colSpan="1" >groupCall</td>
259
-
260
- <td rowspan="1" colSpan="1" >✓</td>
261
-
262
- <td rowspan="1" colSpan="1" >×</td>
263
-
264
- <td rowspan="1" colSpan="1" >×</td>
265
- </tr>
266
-
267
- <tr>
268
- <td rowspan="1" colSpan="1" >accept</td>
269
-
270
- <td rowspan="1" colSpan="1" >×</td>
271
-
272
- <td rowspan="1" colSpan="1" >✓</td>
273
-
274
- <td rowspan="1" colSpan="1" >×</td>
275
- </tr>
276
-
277
- <tr>
278
- <td rowspan="1" colSpan="1" >reject</td>
279
-
280
- <td rowspan="1" colSpan="1" >×</td>
281
-
282
- <td rowspan="1" colSpan="1" >✓</td>
283
-
284
- <td rowspan="1" colSpan="1" >×</td>
285
- </tr>
286
-
287
- <tr>
288
- <td rowspan="1" colSpan="1" >hangup</td>
289
-
290
- <td rowspan="1" colSpan="1" >×</td>
291
-
292
- <td rowspan="1" colSpan="1" >✓</td>
293
-
294
- <td rowspan="1" colSpan="1" >✓</td>
295
- </tr>
296
-
297
- <tr>
298
- <td rowspan="1" colSpan="1" >inviteUser</td>
299
-
300
- <td rowspan="1" colSpan="1" >×</td>
301
-
302
- <td rowspan="1" colSpan="1" >✓</td>
303
-
304
- <td rowspan="1" colSpan="1" >✓</td>
305
- </tr>
306
-
307
- <tr>
308
- <td rowspan="1" colSpan="1" >joinInGroupCall</td>
309
-
310
- <td rowspan="1" colSpan="1" >✓</td>
311
-
312
- <td rowspan="1" colSpan="1" >×</td>
313
-
314
- <td rowspan="1" colSpan="1" >×</td>
315
- </tr>
316
- </table>
317
-
175
+ | API | idle | calling | connected |
176
+ | --- | --- | --- | --- |
177
+ | call | ✓ | × | × |
178
+ | groupCall | ✓ | × | × |
179
+ | accept | × | ✓ | × |
180
+ | reject | × | ✓ | × |
181
+ | hangup | × | ✓ | ✓ |
182
+ | inviteUser | × | ✓ | ✓ |
183
+ | joinInGroupCall | ✓ | × | × |
318
184
 
319
185
  ## 二、TUICallKit 问题(含 UI)
320
186
 
@@ -334,7 +200,7 @@ TUICallKit 支持 H5,通过页面 UA 自动修改适应移动端的布局,
334
200
 
335
201
  请先确保页面已被授权使用麦克风或摄像头,参见 [设备授权说明](https://web.sdk.qcloud.com/trtc/webrtc/doc/zh-cn/tutorial-05-info-browser.html#h2-5)。
336
202
 
337
- 可以尝试 [Github Demo](https://write.woa.com/document/89961693240934400) 是否可以正常通话,然后在 [设备检测页面](https://web.sdk.qcloud.com/trtc/webrtc/demo/detect/index.html) 检查是否支持 webrtc。
203
+ 可以尝试 Github Demo 是否可以正常通话,然后在 [设备检测页面](https://web.sdk.qcloud.com/trtc/webrtc/demo/detect/index.html) 检查是否支持 webrtc。
338
204
 
339
205
  ### 4. timeout 字段设置无效原因?
340
206
 
@@ -356,14 +222,12 @@ UserSig 是腾讯云为其云服务设计的一种安全保护签名,是一种
356
222
  - **方式一:**控制台获取,参考 [获取临时 userSig](https://console.cloud.tencent.com/trtc/usersigtool)。
357
223
 
358
224
  - **方式二:**部署临时生成脚本。
359
-
360
225
 
361
226
  > **警告:**
362
- >
227
+ >
363
228
 
364
229
  > 此方式是在前端代码中配置 SecretKey,该方法中 SecretKey 很容易被反编译逆向破解,一旦您的密钥泄露,攻击者就可以盗用您的腾讯云流量,因此**该方法仅适合本地跑通功能调试**,生产环境请看方式三。
365
- >
366
-
230
+ >
367
231
 
368
232
  为方便初期调试,userSig 可临时使用 `GenerateTestUserSig-es.js` 中 `genTestUserSig(params)` 函数来计算 ,例如:
369
233
 
@@ -373,24 +237,17 @@ UserSig 是腾讯云为其云服务设计的一种安全保护签名,是一种
373
237
  ```
374
238
  - **方式三:**正式环境使用。
375
239
 
376
-
377
240
  正确的 UserSig 签发方式是将 UserSig 的计算代码集成到您的服务端,并提供面向项目的接口,在需要 UserSig 时由您的项目向业务服务器发起请求获取动态 UserSig。更多详情请参见 [服务端生成 UserSig](https://cloud.tencent.com/document/product/269/32688#GeneratingdynamicUserSig)。
378
241
 
379
-
380
242
  ### 8.如何创建 userID?
381
243
  - 通过 userID 与 UserSig 登录过一次,会默认创建该用户。
382
244
 
383
- - 通过 [即时通信 IM 控制台](https://console.cloud.tencent.com/im) 进行创建和获取,单击目标应用卡片,进入应用的账号管理页面,也可创建账号并获取 userID。![](https://write-document-release-1258344699.cos.ap-guangzhou.tencentcos.cn/100029836296/e0f08c8aece211ee9c425254001a1c03.png)
384
-
245
+ - 通过 [即时通信 IM 控制台](https://console.cloud.tencent.com/im) 进行创建和获取,单击目标应用卡片,进入应用的账号管理页面,也可创建账号并获取 userID。
385
246
 
386
- ### 9.
247
+ ### 9.
387
248
 
388
249
  **解决源码拷贝可能导致的报错**
389
250
 
390
- 如果您在使 TUICallKit 组件时遇到了报错,请不要担心,大多数情况下这是由于 ESLint 和 TSConfig 配置不一致造成的。您可以查阅文档,按照要求正确配置即可。如果您需要帮助,请随时联系我们,我们将确保您能够成功地使用此组件。以下是几个常见的问题:
391
-
392
-
393
-
394
251
  【ESLint 报错】
395
252
 
396
253
  若 TUICallKit 与您项目的代码风格不一致导致报错,可将本组件目录屏蔽,如在项目根目录增加 `.eslintignore` 文件,如:
@@ -416,8 +273,6 @@ src/components/TUICallKit
416
273
 
417
274
  #### 步骤一:下载 TUICallKit 组件源码及相关插件
418
275
 
419
-
420
-
421
276
  【Vue3】
422
277
  ``` bash
423
278
  npm install @tencentcloud/call-uikit-vue
@@ -430,7 +285,7 @@ npm install @tencentcloud/call-uikit-vue2
430
285
 
431
286
  【Vue2.6】
432
287
  ``` plaintext
433
- npm install @tencentcloud/call-uikit-vue2.6 @vue/composition-api
288
+ npm install @tencentcloud/call-uikit-vue2.6 @vue/composition-api
434
289
  ```
435
290
 
436
291
  源码集成需要安装 [unplugin-vue2-script-setup](https://www.npmjs.com/package/unplugin-vue2-script-setup) 插件。
@@ -440,9 +295,6 @@ npm i -D unplugin-vue2-script-setup
440
295
 
441
296
  修改构建工具配置文件。
442
297
 
443
-
444
-
445
-
446
298
  【Vue Cli】
447
299
  ``` javascript
448
300
  // vue.config.js
@@ -458,7 +310,6 @@ module.exports = {
458
310
  }
459
311
  ```
460
312
 
461
-
462
313
  【vite】
463
314
  ``` javascript
464
315
  // vite.config.ts
@@ -475,7 +326,6 @@ export default defineConfig({
475
326
 
476
327
  ```
477
328
 
478
-
479
329
  【Webpack】
480
330
  ``` javascript
481
331
  // webpack.config.js
@@ -493,27 +343,21 @@ module.exports = {
493
343
 
494
344
  将源码拷贝到自己的项目中,以拷贝到`src/components/`目录为例:
495
345
 
496
-
497
-
498
-
499
346
  【macOS + Vue3】
500
347
  ``` html
501
348
  mkdir -p ./src/components/TUICallKit && cp -r ./node_modules/@tencentcloud/call-uikit-vue/* ./src/components/TUICallKit
502
349
  ```
503
350
 
504
-
505
351
  【macOS + Vue2】
506
352
  ``` html
507
353
  mkdir -p ./src/components/TUICallKit && cp -r ./node_modules/@tencentcloud/call-uikit-vue2/* ./src/components/TUICallKit
508
354
  ```
509
355
 
510
-
511
356
  【Windows + Vue3】
512
357
  ``` html
513
358
  xcopy .\node_modules\@tencentcloud\call-uikit-vue .\src\components\TUICallKit /i /e
514
359
  ```
515
360
 
516
-
517
361
  【Windows + Vue2】
518
362
  ``` html
519
363
  xcopy .\node_modules\@tencentcloud\call-uikit-vue2 .\src\components\TUICallKit /i /e
@@ -524,10 +368,10 @@ xcopy .\node_modules\@tencentcloud\call-uikit-vue2 .\src\components\TUICallKit
524
368
  修改 TUICallKit 引入路径为本地文件引入。
525
369
 
526
370
  > **注意:**
527
- >
371
+ >
528
372
 
529
- > 此方法可能与您的 ESLint、TypeScript 配置冲突,若出现报错,可参见 [解决源码拷贝导致的报错](https://write.woa.com/document/86735803187277824)。
530
- >
373
+ > 此方法可能与您的 ESLint、TypeScript 配置冲突,若出现报错,可参见 解决源码拷贝导致的报错。
374
+ >
531
375
 
532
376
  ``` typescript
533
377
  import { TUICallKit, TUICallKitServer } from "./components/TUICallKit/src/index";
@@ -549,13 +393,12 @@ import { TUICallKit, TUICallKitServer } from "./components/TUICallKit/src/index"
549
393
 
550
394
  ### 内网的环境下如何使用 callkit?
551
395
  1. 通过 getTRTCCloudInstance 获取 TRTCCloud 实例。
552
-
553
396
 
554
397
  > **注意:**
555
- >
398
+ >
556
399
 
557
400
  > **v3.1.3+ 支持。**
558
- >
401
+ >
559
402
 
560
403
  ``` javascript
561
404
  const trtcCloud = TUICallKitServer.getTUICallEngineInstance().getTRTCCloudInstance();
@@ -575,14 +418,13 @@ import { TUICallKit, TUICallKitServer } from "./components/TUICallKit/src/index"
575
418
  iceTransportPolicy: 'relay',
576
419
  },
577
420
  }));
578
- ```
421
+ ```
579
422
 
580
423
  > **注意:**
581
- >
424
+ >
582
425
 
583
426
  > TRTC 应对防火墙受限参见 [设置代理服务器](https://web.sdk.qcloud.com/component/trtccalling/doc/TUICallEngine/web/zh-cn/tutorial-11-set_proxy_server.html)。
584
- >
585
-
427
+ >
586
428
 
587
429
  ## 五、其它
588
430
 
@@ -595,7 +437,6 @@ import { TUICallKit, TUICallKitServer } from "./components/TUICallKit/src/index"
595
437
  TUICallKitServer.getTUICallEngineInstance().setBeautyLevel(0);
596
438
  ```
597
439
 
598
-
599
440
  # Android
600
441
  ### TUICallKit 是否可以不引入 IM SDK,只使用 TRTC?
601
442
 
@@ -603,7 +444,7 @@ import { TUICallKit, TUICallKitServer } from "./components/TUICallKit/src/index"
603
444
 
604
445
  ### 错误提示“The package you purchased does not support this ability”?
605
446
 
606
- 如遇以上错误提示,是由于您当前应用的音视频通话能力包过期或未开通,请参见 [开通服务](https://write.woa.com/document/139743928960860160),领取或者开通音视频通话能力,进而继续使用 TUICallKit 组件。
447
+ 如遇以上错误提示,是由于您当前应用的音视频通话能力包过期或未开通,请参见 开通服务,领取或者开通音视频通话能力,进而继续使用 TUICallKit 组件。
607
448
 
608
449
  ### 如何购买音视频通话套餐?
609
450
 
@@ -636,11 +477,10 @@ java.lang.UnsatisfiedLinkError: No implementation found for void com.tencent.lit
636
477
  ```
637
478
 
638
479
  > **注意:**
639
- >
480
+ >
640
481
 
641
482
  > 上述异常,是因为 TUICallKit 依赖的 TRTC 等 SDK 部分接口使用了 JNI 实现,Android Studio 在某些条件进行编译 APK 的时候可能并不会把 Native 的 .so 库打包进去,导致出现这类报错,重新 Clean 一下工程,卸载重装即可。
642
- >
643
-
483
+ >
644
484
 
645
485
  ### allowBackup 异常?
646
486
  - **报错信息**:`Manifest merger failed : Attribute application@allowBackup value=(true) from AndroidManifest.xml`
@@ -649,43 +489,34 @@ java.lang.UnsatisfiedLinkError: No implementation found for void com.tencent.lit
649
489
 
650
490
  - **解决方法**:您可以在您工程的 `AndroidManifest.xml` 文件中删除 allowBackup 属性或将该属性改为 false,表示关闭备份和恢复功能;也可以在 `AndroidManifest.xml` 文件的 application 节点中添加 `tools:replace="android:allowBackup";` 表示覆盖 IM SDK 的设置,使用您自己的设置。
651
491
 
652
-
653
492
  ### TUICallKit 是否支持离线推送呢?
654
493
 
655
- **支持**,Android 离线推送采用腾讯云的**TIMPush推送插件**以及**自集成推送**,接入方式详见:[离线唤醒](https://write.woa.com/document/86735802148151296)。
494
+ **支持**,Android 离线推送采用腾讯云的**TIMPush推送插件**以及**自集成推送**,接入方式详见:离线唤醒。
656
495
 
657
496
  ### 在通话邀请超时时间内,被邀请者如果离线再上线,能否弹出通话界面?
658
497
 
659
- 单人通话时,如果在超时时间内上线,会触发来电邀请;群组通话,如果在超时时间内上线,会拉起未处理的20条群消息,如果存在通话邀请,则触发来电邀请。在不同的版本上来电的显示策略有所不同(详见下方:[被叫端来电显示策略](https://write.woa.com/document/86735803114926080))。
498
+ 单人通话时,如果在超时时间内上线,会触发来电邀请;群组通话,如果在超时时间内上线,会拉起未处理的20条群消息,如果存在通话邀请,则触发来电邀请。在不同的版本上来电的显示策略有所不同(详见下方:被叫端来电显示策略)。
660
499
 
661
500
  ### 应用在后台时,不能自动将通话界面拉取到前台
662
- 1. TUICallKit 2.3 及以上版本([Android&iOS 发布日志](https://cloud.tencent.com/document/product/647/80931))调整了被叫端的来电显示策略,见下方:[被叫端来电显示策略](https://write.woa.com/document/86735803114926080)。
501
+ 1. TUICallKit 2.3 及以上版本([Android&iOS 发布日志](https://cloud.tencent.com/document/product/647/80931))调整了被叫端的来电显示策略,见下方:被叫端来电显示策略。
663
502
 
664
503
  2. TUICallKit 2.3 版本之前,将应用从后台自动拉取到前台,需要检查 App 是否开启了“后台自启动”或“悬浮窗”权限。
665
504
 
666
-
667
- 不同厂商、甚至同一厂商不同 Android 版本,其对于应用开放的权限以及权限名称也会存在不一致。例如,小米6只需要开启后台弹出界面权限,而红米需要同时打开后台弹出界面和显示悬浮窗权限。如何开启权限,详见下方:[相关权限开启](https://write.woa.com/document/86735803114926080)。
505
+ 不同厂商、甚至同一厂商不同 Android 版本,其对于应用开放的权限以及权限名称也会存在不一致。例如,小米6只需要开启后台弹出界面权限,而红米需要同时打开后台弹出界面和显示悬浮窗权限。如何开启权限,详见下方:相关权限开启。
668
506
 
669
507
  3. 如果遇到以下场景拉不起通话界面,原因是:应用的启动堆栈变化,导致 CallKitActivity 界面被遮挡移除了。
670
508
 
671
-
672
509
  场景一:接通后退到后台,点击桌面图标进入应用,原通话界面消失;
673
510
 
674
-
675
511
  场景二:应用在后台时,开启banner的情况下,收到通知View,不点击View,点击桌面图标进入应用,拉不起通话界面且通知消失;
676
512
 
677
-
678
513
  场景三:应用在后台时,收到离线推送,不点击推送通知,点击桌面图标进入应用,无法拉起通话界面或通话界面闪了一下;
679
514
 
680
-
681
515
  以上几种情况,需要在您自己业务的默认启动的主 Activity 中添加以下代码,每个应用默认启动的 Activity 都不一样,详见 AndroidManifest.xml 配置,以目前大部分应用的启动页 SplashActivity 为例:
682
516
 
683
-
684
-
685
-
686
517
  【添加代码】
687
518
  ``` java
688
- if (!isTaskRoot() && getIntent() != null && getIntent().hasCategory(Intent.CATEGORY_LAUNCHER)
519
+ if (!isTaskRoot() && getIntent() != null && getIntent().hasCategory(Intent.CATEGORY_LAUNCHER)
689
520
  && Intent.ACTION_MAIN.equals(getIntent().getAction())) {
690
521
  finish();
691
522
  return;
@@ -694,44 +525,24 @@ if (!isTaskRoot() && getIntent() != null && getIntent().hasCategory(Intent.CATEG
694
525
 
695
526
  【具体添加位置】
696
527
 
697
- ![](https://write-document-release-1258344699.cos.ap-guangzhou.tencentcos.cn/100027119876/ab370eb65a0711ef81cf525400d5f8ef.png)
698
-
699
-
700
528
  > **说明:**
701
- >
529
+ >
702
530
 
703
531
  > SplashActivity 的启动模式不能是 singleTask;singleTask 模式下 isTaskRoot 是 true,上述方法不生效。
704
- >
705
-
706
- > 如果您在开发中开启了所有权限或做了上述尝试,依然无法自动拉起通话界面到前台,请加入 TUICallKit 技术交流平台 [zhiliao](https://zhiliao.qq.com/s/cWSPGIIM62CC/cEUPGIIM62CE),联系我们协助处理。
707
- >
532
+ >
708
533
 
534
+ >
709
535
 
710
536
  ### 被叫端来电显示策略
711
537
 
712
538
  为使 TUICallKit 适应不同的业务需求,增加产品特色,提升用户的使用体验,TUICallKit **2.3 及以上版本**([发布日志](https://cloud.tencent.com/document/product/647/80931)),优化收到来电后的通话页面显示弹出策略,详情如下所示:
713
- <table>
714
- <tr>
715
- <td rowspan="1" colSpan="1" >全屏显示通话等待界面</td>
716
-
717
- <td rowspan="1" colSpan="1" >横幅显示来电请求</td>
718
- </tr>
719
-
720
- <tr>
721
- <td rowspan="1" colSpan="1" >![](https://write-document-release-1258344699.cos.ap-guangzhou.tencentcos.cn/100027119876/f3bd1fb90ea111ef987c5254002977b6.png)</td>
722
-
723
- <td rowspan="1" colSpan="1" >![](https://write-document-release-1258344699.cos.ap-guangzhou.tencentcos.cn/100027119876/da064db50ea111ef97985254005ac0ca.png)</td>
724
- </tr>
725
- </table>
726
-
727
-
728
-
539
+ | 全屏显示通话等待界面 | 横幅显示来电请求 |
540
+ | --- | --- |
541
+ | | |
729
542
 
730
543
  【2.3.0.920版本及之后的版本】
731
544
  1. 如果您想要被叫端收到邀请时,尽量去拉起全屏通话界面,那么您可以更新 [tuicallkit-kt](https://github.com/Tencent-RTC/TUICallKit/tree/main/Android/tuicallkit-kt) 代码到最新。该情况下,被叫端的来电显示策略如下:
732
545
 
733
-
734
- ![](https://write-document-release-1258344699.cos.ap-guangzhou.tencentcos.cn/100027119876/55b57ba00e8011ef814b525400f2c344.png)
735
546
  2. 如果您想在被叫端收到通话的时候,先展示一个横幅,然后根据需要拉起全屏通话界面,那么您可以调用以下接口开启该功能。
736
547
 
737
548
  ``` java
@@ -740,27 +551,18 @@ if (!isTaskRoot() && getIntent() != null && getIntent().hasCategory(Intent.CATEG
740
551
 
741
552
  开启后,被叫端的来电策略如下所示,只要开启**悬浮窗权限,**就能尽可能的展示来电横幅。
742
553
 
743
- ![](https://write-document-release-1258344699.cos.ap-guangzhou.tencentcos.cn/100027119876/c7ce51860e7f11ef8c545254000781d8.png)
744
-
745
554
  【2.3版本之前】
746
555
 
747
- ![](https://write-document-release-1258344699.cos.ap-guangzhou.tencentcos.cn/100027119876/e08d1f260e7d11ef8c545254000781d8.png)
748
-
749
556
  > **说明:**
750
- >
751
-
752
- > 相关权限如何开启,详见下方:[相关权限开启](https://write.woa.com/document/86735803114926080)。
753
- >
557
+ >
754
558
 
755
-
756
- 如果没有按照上述策略显示来电界面,请过滤`onCallReceived`日志,检查是否收到通话邀请,如果没有该日志的打印,请加入我们的 TUICallKit 技术交流平台 [zhiliao](https://zhiliao.qq.com/s/cWSPGIIM62CC/cEUPGIIM62CE),联系我们协助处理。
559
+ > 相关权限如何开启,详见下方:相关权限开启。
560
+ >
757
561
 
758
562
  ### **相关权限开启**
759
563
 
760
564
  为实现良好的通话体验,建议您在应用中开启“通知”权限、“显示在其他应用上层(悬浮窗)”以及“后台拉起界面”权限,具体方法如下:
761
565
 
762
-
763
-
764
566
  【代码指引】
765
567
  - **通知权限**:便于展示推送通知:请参见 [通知运行时权限](https://developer.android.com/develop/ui/views/notifications/notification-permission) 和 [请求运行时权限](https://developer.android.com/training/permissions/requesting#request-permission) 根据业务需求自行实现。
766
568
 
@@ -780,29 +582,14 @@ fun requestPermission(context: Context?) {
780
582
  【手动开启】
781
583
 
782
584
  安装应用后,您可以长按应用图标,选择“应用信息”,然后开启“通知”权限、“显示在其他应用上层”以及“后台拉起界面”权限。或者您可以到`手机 > 系统设置 > 应用管理 > 应用`中手动开启上述权限。
783
- <table>
784
- <tr>
785
- <td rowspan="1" colSpan="1" >Pixel 4a</td>
786
-
787
- <td rowspan="1" colSpan="1" >小米</td>
788
-
789
- <td rowspan="1" colSpan="1" >vivo</td>
790
- </tr>
791
-
792
- <tr>
793
- <td rowspan="1" colSpan="1" >![](https://write-document-release-1258344699.cos.ap-guangzhou.tencentcos.cn/100027119876/b13ec4c8f7b611eea1dd525400eeaf97.png)</td>
794
-
795
- <td rowspan="1" colSpan="1" >![](https://write-document-release-1258344699.cos.ap-guangzhou.tencentcos.cn/100027119876/b14a4144f7b611ee95c1525400fe11be.png)</td>
796
-
797
- <td rowspan="1" colSpan="1" >![](https://write-document-release-1258344699.cos.ap-guangzhou.tencentcos.cn/100027119876/1aeffd1afd7811ee9f79525400a7e516.png)</td>
798
- </tr>
799
- </table>
800
-
585
+ | Pixel 4a | 小米 | vivo |
586
+ | --- | --- | --- |
587
+ | | | |
801
588
 
802
589
  # iOS
803
590
  ### 错误提示“The package you purchased does not support this ability”?
804
591
 
805
- 如遇以上错误提示,是由于您当前应用的音视频通话能力包过期或未开通,请参见 [开通服务](https://write.woa.com/document/139743928960860160),领取或者开通音视频通话能力,进而继续使用TUICallKit组件。
592
+ 如遇以上错误提示,是由于您当前应用的音视频通话能力包过期或未开通,请参见 开通服务,领取或者开通音视频通话能力,进而继续使用TUICallKit组件。
806
593
 
807
594
  ### 如何购买音视频通话套餐?
808
595
 
@@ -822,42 +609,29 @@ fun requestPermission(context: Context?) {
822
609
  pod 'TUICallKit_Swift', :path => "TUICallKit/TUICallKit_Swift.podspec"
823
610
  ```
824
611
  4. 执行 `pod install` 命令,完成导入。
825
-
826
612
 
827
613
  > **注意:**
828
- >
614
+ >
829
615
 
830
616
  > `TUICallKit_Swift`文件夹和`TUICallKit_Swift.podspec`文件必须在同一目录下。
831
- >
832
-
617
+ >
833
618
 
834
619
  **TUICallKit_Swift 组件集成后效果**:
835
620
 
836
-
837
- ![](https://write-document-release-1258344699.cos.ap-guangzhou.tencentcos.cn/100027164818/4fee92e91e3211efbef6525400a8a0fb.png)
838
-
839
-
840
621
  > **说明:**
841
- >
622
+ >
842
623
 
843
624
  > TUICallKit_Swift 组件集成后支持文件夹分层显示,方便您阅读和修改源代码。
844
- >
845
-
625
+ >
846
626
 
847
627
  ### Xcode 15 编译报错?
848
628
 
849
629
  #### 1、出现 **Sandbox: rsync **编译报错
850
630
 
851
- ![](https://write-document-release-1258344699.cos.ap-guangzhou.tencentcos.cn/100027164818/501cfdc31e3211ef90c35254006d3582.png)
852
-
853
631
  可以在 **Build Settings **中把 **User Script Sandboxing **设置为 **NO:**
854
632
 
855
- ![](https://write-document-release-1258344699.cos.ap-guangzhou.tencentcos.cn/100027164818/4ff5696e1e3211efa62352540003d080.png)
856
-
857
633
  #### 2、出现 **SDK does not contain **编译报错
858
634
 
859
- ![](https://write-document-release-1258344699.cos.ap-guangzhou.tencentcos.cn/100027164818/4ffcb4231e3211ef860b52540049c929.png)
860
-
861
635
  可以在 Podfile 添加如下代码:
862
636
  ``` bash
863
637
  # target 'xxxx' do
@@ -876,8 +650,6 @@ end
876
650
 
877
651
  #### 3、如果在 **M 系列电脑**上运行模拟器,可能会出现 **Linker command failed with exit code 1 (use -v to see invocation) **编译报错
878
652
 
879
- ![](https://write-document-release-1258344699.cos.ap-guangzhou.tencentcos.cn/100027164818/50ee41241e3211ef91395254000a29ac.png)
880
-
881
653
  可以在 Podfile 添加如下代码:
882
654
  ``` bash
883
655
  # target 'xxxx' do
@@ -909,21 +681,18 @@ end
909
681
  ```
910
682
  3. 如果您使用了 `TXLiteAVSDK_Enterprise` 库,会产生符号冲突。建议升级到 `TXLiteAVSDK_Professional` 后使用 TUICallKit_Swift`/Professional`。
911
683
 
912
-
913
684
  ### TUICallKit 是否可以不引入 IM SDK,只使用 TRTC?
914
685
 
915
686
  **不可以。**`TUIKit` 全系组件都使用了腾讯云 IM SDK 作为通信的基础服务,比如通话拨打信令、通话忙线信令等核心逻辑,如果您已经购买有其他 `IM` 产品,也可以参照 `TUICallKit` 逻辑进行适配。
916
687
 
917
688
  ### TUICallKit 组件支持自定义铃声吗?
918
689
 
919
- **支持**,调用 [setCallingBell](https://write.woa.com/document/86735802543452160) 即可。
690
+ **支持**,调用 setCallingBell 即可。
920
691
 
921
692
  ### TUICallKit 是否支持后台运行?
922
693
 
923
694
  **支持**,如需要进入后台仍然运行相关功能,可选中当前工程项目,在 **Capabilities** 下的 **Background Modes** 模块中勾选 **Audio,AirPlay and Picture in Picture** ,如下图所示:
924
695
 
925
- ![](https://write-document-release-1258344699.cos.ap-guangzhou.tencentcos.cn/100027164818/f29734a51e3111ef860b52540049c929.png)
926
-
927
696
  ### 如何查看 TRTC 日志?
928
697
 
929
698
  TRTC 的日志默认压缩加密,后缀为 .xlog。日志是否加密是可以通过 setLogCompressEnabled 来控制,生成的文件名里面含 C(compressed) 的就是加密压缩的,含 R(raw) 的就是明文的。
@@ -931,18 +700,17 @@ TRTC 的日志默认压缩加密,后缀为 .xlog。日志是否加密是可以
931
700
  iOS:`sandbox的Documents/log`
932
701
 
933
702
  > **说明:**
934
- >
703
+ >
935
704
  > - 查看 .xlog 文件需要下载 [解密工具](https://dldir1.qq.com/hudongzhibo/log_tool/decode_mars_log_file.py),在 Python 2.7环境中放到 xlog 文件同目录下直接使用 `python decode_mars_log_file.py` 运行即可。
936
705
  > - 查看 .clog 文件(9.6 版本以后新的日志格式)需要下载 [解密工具](http://dldir1.qq.com/hudongzhibo/log_tool/decompress_clog.py),在 Python 2.7 环境中放到 clog 文件同目录下直接使用 `python decompress_clog.py `运行即可。
937
706
 
938
-
939
707
  # Flutter
940
708
  ### 同时集成 tencent_calls_uikit 和 tencent_trtc_cloud,或同时集成 tencent_calls_uikit 和 live_flutter_plugin,出现符号冲突报错,怎么解决?
941
709
 
942
710
  问题详情:当引入 flutter ''tencent_calls_uikit'' 进我们现有的 project 后,Android 构建 APK 时出现如下报错:
943
711
  ``` bash
944
- Duplicate class com.tencent.liteav.LiveSettingJni found in modules jetified-LiteAVSDK_Professional-10.7.0.13053-runtime
945
- (com.tencent.liteav:LiteAVSDK_Professional:10.7.0.13053) and jetified-LiteAVSDK_TRTC-10.3.0.11225-runtime
712
+ Duplicate class com.tencent.liteav.LiveSettingJni found in modules jetified-LiteAVSDK_Professional-10.7.0.13053-runtime
713
+ (com.tencent.liteav:LiteAVSDK_Professional:10.7.0.13053) and jetified-LiteAVSDK_TRTC-10.3.0.11225-runtime
946
714
  (com.tencent.liteav:LiteAVSDK_TRTC:10.3.0.11225)
947
715
  ```
948
716
 
@@ -960,18 +728,18 @@ iOS 在执行`pod install`出现如下报错:
960
728
  -keep class com.tencent.** { *; }
961
729
  ```
962
730
 
963
- ### 从1.8.0以下的版本升级到1.8.0及以上的版本,导致编译报错或者拉不起页面问题如何修复?
731
+ ### 从1.8.0以下的版本升级到1.8.0及以上的版本,导致编译报错或者拉不起页面问题如何修复?
964
732
 
965
733
  如果是从1.8.0以下升级到1.8.0及以上的版本,需要您检查下面几个步骤是否正常:
966
734
  1. 将 navigatorObservers 添加到 MateriaApp。 目的是在收到呼叫邀请时导航到 TUICallKit 页面。示例代码如下:
967
735
 
968
736
  ``` plaintext
969
737
  import 'package:tencent_calls_uikit/tuicall_kit.dart';
970
-
738
+
971
739
  MaterialApp(
972
740
       navigatorObservers:[TUICallKit.navigatorObserver],
973
741
       ...
974
- )
742
+ )
975
743
  ```
976
744
  2. tencent_calls_engine 插件中的导入文件统一替换为新的。
977
745
 
@@ -988,9 +756,4 @@ iOS 在执行`pod install`出现如下报错:
988
756
  ```
989
757
  3. 登录 API 调整更规范,不需要再指定参数。
990
758
 
991
- ![](https://write-document-release-1258344699.cos.ap-guangzhou.tencentcos.cn/100027983635/c4114c2634fb11eeaa5e5254005c1bd1.png)
992
-
993
759
  4. 离线推送参数构造优化。
994
-
995
- ![](https://write-document-release-1258344699.cos.ap-guangzhou.tencentcos.cn/100027983635/01e0fcc434fc11eeaa5e5254005c1bd1.png)
996
-