@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) 了解包含功能并选购您适合的版本。
@@ -22,14 +20,14 @@ TUICallKit 3.1 版本起,在 TUIChat + TUICallKit 融合场景下,通过 TUI
22
20
 
23
21
  【Flutter(Dart)】
24
22
  ``` java
25
- final jsonParams = {'api': 'forceUseV2API',
26
- 'params': {'enable': true} };
27
-
28
- try {
29
- final jsonString = json.encode(jsonParams);
30
- TUICallKit.instance.callExperimentalAPI(jsonStr: jsonString);
31
- } catch (e) {
32
- return;
23
+ final jsonParams = {'api': 'forceUseV2API',
24
+ 'params': {'enable': true} };
25
+
26
+ try {
27
+ final jsonString = json.encode(jsonParams);
28
+ TUICallKit.instance.callExperimentalAPI(jsonStr: jsonString);
29
+ } catch (e) {
30
+ return;
33
31
  }
34
32
  ```
35
33
 
@@ -37,7 +35,7 @@ try {
37
35
 
38
36
  TUICallKit 是腾讯云推出一款新的音视频通话 UI 组件,**是 TUICalling 的升级版本**,支持群组通话、AI 降噪等更多功能特性、支持全平台间互通呼叫,功能更加稳定。 从 TUICalling 升级到 TUICallKit 您可以参考:
39
37
 
40
- - [Flutter 升级方案](https://write.woa.com/document/93912298460639232)
38
+ - Flutter 升级方案
41
39
 
42
40
  ### 报错 inviteID 无效或邀请已处理
43
41
 
@@ -64,18 +62,15 @@ TUICallKit 是腾讯云推出一款新的音视频通话 UI 组件,**是 TUICa
64
62
  TUICallKit 底层通过 IM 管理用户,可以通过 IM 查询用户的在线状态,方式有以下两种:
65
63
  - **方式一:**通过 getUserStatus 高级接口查询
66
64
 
67
-
68
65
  详情可参考:查询用户状态([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)),您可以调用不同平台的接口去查询。
69
-
70
66
 
71
67
  > **注意:**
72
- >
68
+ >
73
69
  > - 查询其他用户状态需要升级 TUICallKit 套餐包到**群组通话版本**。
74
70
  > - 查询其他用户状态需要提前在 [即时通信 IM 控制台](https://console.cloud.tencent.com/im) 开启 “用户状态查询及状态变更通知”。不开启,调用`getUserStatus`会报错。
75
71
 
76
- > ![](https://write-document-release-1258344699.cos.ap-guangzhou.tencentcos.cn/100027119876/55963f596cb611ee9a1c52540047987b.png)
77
- >
78
-
72
+ >
73
+ >
79
74
 
80
75
  getUserStatus接口的返回结果有以下几种:
81
76
 
@@ -89,82 +84,35 @@ TUICallKit 底层通过 IM 管理用户,可以通过 IM 查询用户的在线
89
84
 
90
85
  - **方式二:**通过 rest-api 进行查询
91
86
 
92
-
93
87
  详情可参考:[查询账号在线状态](https://cloud.tencent.com/document/product/269/2566)。
94
88
 
95
-
96
89
  ### **音视频通话信令里各字段常见问题?**
97
- <table>
98
- <tr>
99
- <td rowspan="1" colSpan="1" >**问题**</td>
100
-
101
- <td rowspan="1" colSpan="1" >**说明**</td>
102
- </tr>
103
-
104
- <tr>
105
- <td rowspan="1" colSpan="1" >如何判断 “发起通话”</td>
106
-
107
- <td rowspan="1" colSpan="1" >actionType = 1 且 cmd = 'videoCall' 或 'audioCall'</td>
108
- </tr>
109
-
110
- <tr>
111
- <td rowspan="1" colSpan="1" >如何判断 “已接听”</td>
112
-
113
- <td rowspan="1" colSpan="1" >actionType = 3 </td>
114
- </tr>
115
-
116
- <tr>
117
- <td rowspan="1" colSpan="1" >如何判断 “通话已结束”,“通话时长是多收”</td>
118
-
119
- <td rowspan="1" colSpan="1" >actionType = 1 且 cmd = 'hangup',通话时长取 call_end 字段,单位:秒</td>
120
- </tr>
121
-
122
- <tr>
123
- <td rowspan="1" colSpan="1" >如何判断 “取消通话”</td>
124
-
125
- <td rowspan="1" colSpan="1" >actionType = 2</td>
126
- </tr>
127
-
128
- <tr>
129
- <td rowspan="1" colSpan="1" >如何判断 “拒绝通话”</td>
130
-
131
- <td rowspan="1" colSpan="1" >actionType = 4</td>
132
- </tr>
133
-
134
- <tr>
135
- <td rowspan="1" colSpan="1" >如何判断对端忙线产生的 “拒绝通话”</td>
136
-
137
- <td rowspan="1" colSpan="1" >actionType = 4 且 "line_busy" = "line_busy"</td>
138
- </tr>
139
-
140
- <tr>
141
- <td rowspan="1" colSpan="1" >如何被叫判断 “超时未接听”</td>
142
-
143
- <td rowspan="1" colSpan="1" >actionType = 5</td>
144
- </tr>
145
- </table>
90
+ | **问题** | **说明** |
91
+ | --- | --- |
92
+ | 如何判断 “发起通话” | actionType = 1 且 cmd = 'videoCall' 或 'audioCall' |
93
+ | 如何判断 “已接听” | actionType = 3 |
94
+ | 如何判断 “通话已结束”,“通话时长是多收” | actionType = 1 且 cmd = 'hangup',通话时长取 call_end 字段,单位:秒 |
95
+ | 如何判断 “取消通话” | actionType = 2 |
96
+ | 如何判断 “拒绝通话” | actionType = 4 |
97
+ | 如何判断对端忙线产生的 “拒绝通话” | actionType = 4 且 "line_busy" = "line_busy" |
98
+ | 如何被叫判断 “超时未接听” | actionType = 5 |
146
99
 
147
100
  # Web
148
101
  > **说明:**
149
- >
102
+ >
150
103
  > - 如果并没有解决您的问题,也欢迎您加入我们的 TUICallKit 技术交流 QQ 群: **605115878 **来进行交流讨论。
151
104
  > - 我们团队即将在 Web 端丰富更多不同的组件,以满足您的开发需求。
152
105
 
153
106
  > 希望您能抽出几分钟时间,为您自己的需求投上一票,我们将优先开发!
154
- >
155
-
156
- > 问卷地址:[TUICallKit Web 问卷调查](https://wj.qq.com/s2/11263124/1556/)
157
- >
158
-
107
+ >
159
108
 
160
109
  ## 一、基础环境问题
161
110
 
162
111
  > **说明:**
163
- >
112
+ >
164
113
 
165
114
  > 以下问题对于 TUICallKit 与 TUICallEngine SDK 同样适用。
166
- >
167
-
115
+ >
168
116
 
169
117
  ### TUICallEngine 和 TUICallKit 分别是什么?
170
118
 
@@ -183,15 +131,12 @@ TUICallEngine SDK 是音视频通话组件的无 UI SDK,如果 TUICallKit 的
183
131
  ### 为什么本地开发测试能正常使用,但是部署到线上用 IP 访问后无法正常视频/语音通话?
184
132
  - **对网站域名协议的要求**
185
133
 
186
-
187
134
  出于对用户安全、隐私等问题的考虑,浏览器限制网页在 HTTPS 协议下才能正常使用本文档中所对接组件的全部功能。为确保生产环境中的用户能够顺畅体验产品功能,请将您的网站部署在 `https://` 协议的域名下。更多请参见 [页面访问协议说明](https://web.sdk.qcloud.com/trtc/webrtc/doc/zh-cn/tutorial-05-info-browser.html#h2-3)。
188
135
 
189
136
  - **对网络环境的要求**
190
137
 
191
-
192
138
  在使用 TUICallKit 时,用户可能因防火墙限制导致无法正常进行音视频通话,请参考 [应对防火墙策略](https://web.sdk.qcloud.com/trtc/webrtc/doc/zh-cn/tutorial-05-info-browser.html#h2-4) 将相应端口及域名添加至防火墙白名单中。
193
139
 
194
-
195
140
  ### 在接通过程中报:"is not included in the current tim's package"?
196
141
 
197
142
  TUICallKit(含 TUICallEngine SDK)依赖的 `tim-js-sdk` 版本需要 ≥ 2.21.2。
@@ -209,97 +154,23 @@ TUICallKit(含 TUICallEngine SDK)依赖的 `tim-js-sdk` 版本需要 ≥ 2.2
209
154
  未调用 [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)。
210
155
 
211
156
  > **注意:**
212
- >
157
+ >
213
158
 
214
159
  > [TUICallEngine login](https://web.sdk.qcloud.com/component/trtccalling/doc/TUICallEngine/web/TUICallEngine.html#login) 是一个异步接口,避免在 login 还未完成,直接调用 TUICallEngine 的接口。
215
- >
216
-
160
+ >
217
161
 
218
- ### 当前通话状态无法使用该 API
162
+ ### 当前通话状态无法使用该 API
219
163
 
220
164
  API 与通话状态对照表:
221
- <table>
222
- <tr>
223
- <td rowspan="1" colSpan="1" >API</td>
224
-
225
- <td rowspan="1" colSpan="1" >idle</td>
226
-
227
- <td rowspan="1" colSpan="1" >calling</td>
228
-
229
- <td rowspan="1" colSpan="1" >connected</td>
230
- </tr>
231
-
232
- <tr>
233
- <td rowspan="1" colSpan="1" >call</td>
234
-
235
- <td rowspan="1" colSpan="1" >✓</td>
236
-
237
- <td rowspan="1" colSpan="1" >×</td>
238
-
239
- <td rowspan="1" colSpan="1" >×</td>
240
- </tr>
241
-
242
- <tr>
243
- <td rowspan="1" colSpan="1" >groupCall</td>
244
-
245
- <td rowspan="1" colSpan="1" >✓</td>
246
-
247
- <td rowspan="1" colSpan="1" >×</td>
248
-
249
- <td rowspan="1" colSpan="1" >×</td>
250
- </tr>
251
-
252
- <tr>
253
- <td rowspan="1" colSpan="1" >accept</td>
254
-
255
- <td rowspan="1" colSpan="1" >×</td>
256
-
257
- <td rowspan="1" colSpan="1" >✓</td>
258
-
259
- <td rowspan="1" colSpan="1" >×</td>
260
- </tr>
261
-
262
- <tr>
263
- <td rowspan="1" colSpan="1" >reject</td>
264
-
265
- <td rowspan="1" colSpan="1" >×</td>
266
-
267
- <td rowspan="1" colSpan="1" >✓</td>
268
-
269
- <td rowspan="1" colSpan="1" >×</td>
270
- </tr>
271
-
272
- <tr>
273
- <td rowspan="1" colSpan="1" >hangup</td>
274
-
275
- <td rowspan="1" colSpan="1" >×</td>
276
-
277
- <td rowspan="1" colSpan="1" >✓</td>
278
-
279
- <td rowspan="1" colSpan="1" >✓</td>
280
- </tr>
281
-
282
- <tr>
283
- <td rowspan="1" colSpan="1" >inviteUser</td>
284
-
285
- <td rowspan="1" colSpan="1" >×</td>
286
-
287
- <td rowspan="1" colSpan="1" >✓</td>
288
-
289
- <td rowspan="1" colSpan="1" >✓</td>
290
- </tr>
291
-
292
- <tr>
293
- <td rowspan="1" colSpan="1" >joinInGroupCall</td>
294
-
295
- <td rowspan="1" colSpan="1" >✓</td>
296
-
297
- <td rowspan="1" colSpan="1" >×</td>
298
-
299
- <td rowspan="1" colSpan="1" >×</td>
300
- </tr>
301
- </table>
302
-
165
+ | API | idle | calling | connected |
166
+ | --- | --- | --- | --- |
167
+ | call | ✓ | × | × |
168
+ | groupCall | ✓ | × | × |
169
+ | accept | × | ✓ | × |
170
+ | reject | × | ✓ | × |
171
+ | hangup | × | ✓ | ✓ |
172
+ | inviteUser | × | ✓ | ✓ |
173
+ | joinInGroupCall | ✓ | × | × |
303
174
 
304
175
  ## 二、TUICallKit 问题(含 UI)
305
176
 
@@ -319,7 +190,7 @@ TUICallKit 支持 H5,通过页面 UA 自动修改适应移动端的布局,
319
190
 
320
191
  请先确保页面已被授权使用麦克风或摄像头,参见 [设备授权说明](https://web.sdk.qcloud.com/trtc/webrtc/doc/zh-cn/tutorial-05-info-browser.html#h2-5)。
321
192
 
322
- 可以尝试 [Github Demo](https://write.woa.com/document/89961693240934400) 是否可以正常通话,然后在 [设备检测页面](https://web.sdk.qcloud.com/trtc/webrtc/demo/detect/index.html) 检查是否支持 webrtc。
193
+ 可以尝试 Github Demo 是否可以正常通话,然后在 [设备检测页面](https://web.sdk.qcloud.com/trtc/webrtc/demo/detect/index.html) 检查是否支持 webrtc。
323
194
 
324
195
  ### 4. timeout 字段设置无效原因?
325
196
 
@@ -341,14 +212,12 @@ UserSig 是腾讯云为其云服务设计的一种安全保护签名,是一种
341
212
  - **方式一:**控制台获取,参考 [获取临时 userSig](https://console.cloud.tencent.com/trtc/usersigtool)。
342
213
 
343
214
  - **方式二:**部署临时生成脚本。
344
-
345
215
 
346
216
  > **警告:**
347
- >
217
+ >
348
218
 
349
219
  > 此方式是在前端代码中配置 SecretKey,该方法中 SecretKey 很容易被反编译逆向破解,一旦您的密钥泄露,攻击者就可以盗用您的腾讯云流量,因此**该方法仅适合本地跑通功能调试**,生产环境请看方式三。
350
- >
351
-
220
+ >
352
221
 
353
222
  为方便初期调试,userSig 可临时使用 `GenerateTestUserSig-es.js` 中 `genTestUserSig(params)` 函数来计算 ,例如:
354
223
 
@@ -358,24 +227,17 @@ UserSig 是腾讯云为其云服务设计的一种安全保护签名,是一种
358
227
  ```
359
228
  - **方式三:**正式环境使用。
360
229
 
361
-
362
230
  正确的 UserSig 签发方式是将 UserSig 的计算代码集成到您的服务端,并提供面向项目的接口,在需要 UserSig 时由您的项目向业务服务器发起请求获取动态 UserSig。更多详情请参见 [服务端生成 UserSig](https://cloud.tencent.com/document/product/269/32688#GeneratingdynamicUserSig)。
363
231
 
364
-
365
232
  ### 8.如何创建 userID?
366
233
  - 通过 userID 与 UserSig 登录过一次,会默认创建该用户。
367
234
 
368
- - 通过 [即时通信 IM 控制台](https://console.cloud.tencent.com/im) 进行创建和获取,单击目标应用卡片,进入应用的账号管理页面,也可创建账号并获取 userID。![](https://write-document-release-1258344699.cos.ap-guangzhou.tencentcos.cn/100029836296/e0f08c8aece211ee9c425254001a1c03.png)
369
-
235
+ - 通过 [即时通信 IM 控制台](https://console.cloud.tencent.com/im) 进行创建和获取,单击目标应用卡片,进入应用的账号管理页面,也可创建账号并获取 userID。
370
236
 
371
- ### 9.
237
+ ### 9.
372
238
 
373
239
  **解决源码拷贝可能导致的报错**
374
240
 
375
- 如果您在使 TUICallKit 组件时遇到了报错,请不要担心,大多数情况下这是由于 ESLint 和 TSConfig 配置不一致造成的。您可以查阅文档,按照要求正确配置即可。如果您需要帮助,请随时联系我们,我们将确保您能够成功地使用此组件。以下是几个常见的问题:
376
-
377
-
378
-
379
241
  【ESLint 报错】
380
242
 
381
243
  若 TUICallKit 与您项目的代码风格不一致导致报错,可将本组件目录屏蔽,如在项目根目录增加 `.eslintignore` 文件,如:
@@ -401,8 +263,6 @@ src/components/TUICallKit
401
263
 
402
264
  #### 步骤一:下载 TUICallKit 组件源码及相关插件
403
265
 
404
-
405
-
406
266
  【Vue3】
407
267
  ``` bash
408
268
  npm install @tencentcloud/call-uikit-vue
@@ -415,7 +275,7 @@ npm install @tencentcloud/call-uikit-vue2
415
275
 
416
276
  【Vue2.6】
417
277
  ``` plaintext
418
- npm install @tencentcloud/call-uikit-vue2.6 @vue/composition-api
278
+ npm install @tencentcloud/call-uikit-vue2.6 @vue/composition-api
419
279
  ```
420
280
 
421
281
  源码集成需要安装 [unplugin-vue2-script-setup](https://www.npmjs.com/package/unplugin-vue2-script-setup) 插件。
@@ -425,9 +285,6 @@ npm i -D unplugin-vue2-script-setup
425
285
 
426
286
  修改构建工具配置文件。
427
287
 
428
-
429
-
430
-
431
288
  【Vue Cli】
432
289
  ``` javascript
433
290
  // vue.config.js
@@ -443,7 +300,6 @@ module.exports = {
443
300
  }
444
301
  ```
445
302
 
446
-
447
303
  【vite】
448
304
  ``` javascript
449
305
  // vite.config.ts
@@ -460,7 +316,6 @@ export default defineConfig({
460
316
 
461
317
  ```
462
318
 
463
-
464
319
  【Webpack】
465
320
  ``` javascript
466
321
  // webpack.config.js
@@ -478,27 +333,21 @@ module.exports = {
478
333
 
479
334
  将源码拷贝到自己的项目中,以拷贝到`src/components/`目录为例:
480
335
 
481
-
482
-
483
-
484
336
  【macOS + Vue3】
485
337
  ``` html
486
338
  mkdir -p ./src/components/TUICallKit && cp -r ./node_modules/@tencentcloud/call-uikit-vue/* ./src/components/TUICallKit
487
339
  ```
488
340
 
489
-
490
341
  【macOS + Vue2】
491
342
  ``` html
492
343
  mkdir -p ./src/components/TUICallKit && cp -r ./node_modules/@tencentcloud/call-uikit-vue2/* ./src/components/TUICallKit
493
344
  ```
494
345
 
495
-
496
346
  【Windows + Vue3】
497
347
  ``` html
498
348
  xcopy .\node_modules\@tencentcloud\call-uikit-vue .\src\components\TUICallKit /i /e
499
349
  ```
500
350
 
501
-
502
351
  【Windows + Vue2】
503
352
  ``` html
504
353
  xcopy .\node_modules\@tencentcloud\call-uikit-vue2 .\src\components\TUICallKit /i /e
@@ -509,10 +358,10 @@ xcopy .\node_modules\@tencentcloud\call-uikit-vue2 .\src\components\TUICallKit
509
358
  修改 TUICallKit 引入路径为本地文件引入。
510
359
 
511
360
  > **注意:**
512
- >
361
+ >
513
362
 
514
- > 此方法可能与您的 ESLint、TypeScript 配置冲突,若出现报错,可参见 [解决源码拷贝导致的报错](https://write.woa.com/document/86735803187277824)。
515
- >
363
+ > 此方法可能与您的 ESLint、TypeScript 配置冲突,若出现报错,可参见 解决源码拷贝导致的报错。
364
+ >
516
365
 
517
366
  ``` typescript
518
367
  import { TUICallKit, TUICallKitServer } from "./components/TUICallKit/src/index";
@@ -534,13 +383,12 @@ import { TUICallKit, TUICallKitServer } from "./components/TUICallKit/src/index"
534
383
 
535
384
  ### 内网的环境下如何使用 callkit?
536
385
  1. 通过 getTRTCCloudInstance 获取 TRTCCloud 实例。
537
-
538
386
 
539
387
  > **注意:**
540
- >
388
+ >
541
389
 
542
390
  > **v3.1.3+ 支持。**
543
- >
391
+ >
544
392
 
545
393
  ``` javascript
546
394
  const trtcCloud = TUICallKitServer.getTUICallEngineInstance().getTRTCCloudInstance();
@@ -560,14 +408,13 @@ import { TUICallKit, TUICallKitServer } from "./components/TUICallKit/src/index"
560
408
  iceTransportPolicy: 'relay',
561
409
  },
562
410
  }));
563
- ```
411
+ ```
564
412
 
565
413
  > **注意:**
566
- >
414
+ >
567
415
 
568
416
  > TRTC 应对防火墙受限参见 [设置代理服务器](https://web.sdk.qcloud.com/component/trtccalling/doc/TUICallEngine/web/zh-cn/tutorial-11-set_proxy_server.html)。
569
- >
570
-
417
+ >
571
418
 
572
419
  ## 五、其它
573
420
 
@@ -580,7 +427,6 @@ import { TUICallKit, TUICallKitServer } from "./components/TUICallKit/src/index"
580
427
  TUICallKitServer.getTUICallEngineInstance().setBeautyLevel(0);
581
428
  ```
582
429
 
583
-
584
430
  # Android
585
431
  ### TUICallKit 是否可以不引入 IM SDK,只使用 TRTC?
586
432
 
@@ -588,7 +434,7 @@ import { TUICallKit, TUICallKitServer } from "./components/TUICallKit/src/index"
588
434
 
589
435
  ### 错误提示“The package you purchased does not support this ability”?
590
436
 
591
- 如遇以上错误提示,是由于您当前应用的音视频通话能力包过期或未开通,请参见 [开通服务](https://write.woa.com/document/139743928960860160),领取或者开通音视频通话能力,进而继续使用 TUICallKit 组件。
437
+ 如遇以上错误提示,是由于您当前应用的音视频通话能力包过期或未开通,请参见 开通服务,领取或者开通音视频通话能力,进而继续使用 TUICallKit 组件。
592
438
 
593
439
  ### 如何购买音视频通话套餐?
594
440
 
@@ -621,11 +467,10 @@ java.lang.UnsatisfiedLinkError: No implementation found for void com.tencent.lit
621
467
  ```
622
468
 
623
469
  > **注意:**
624
- >
470
+ >
625
471
 
626
472
  > 上述异常,是因为 TUICallKit 依赖的 TRTC 等 SDK 部分接口使用了 JNI 实现,Android Studio 在某些条件进行编译 APK 的时候可能并不会把 Native 的 .so 库打包进去,导致出现这类报错,重新 Clean 一下工程,卸载重装即可。
627
- >
628
-
473
+ >
629
474
 
630
475
  ### allowBackup 异常?
631
476
  - **报错信息**:`Manifest merger failed : Attribute application@allowBackup value=(true) from AndroidManifest.xml`
@@ -634,43 +479,34 @@ java.lang.UnsatisfiedLinkError: No implementation found for void com.tencent.lit
634
479
 
635
480
  - **解决方法**:您可以在您工程的 `AndroidManifest.xml` 文件中删除 allowBackup 属性或将该属性改为 false,表示关闭备份和恢复功能;也可以在 `AndroidManifest.xml` 文件的 application 节点中添加 `tools:replace="android:allowBackup";` 表示覆盖 IM SDK 的设置,使用您自己的设置。
636
481
 
637
-
638
482
  ### TUICallKit 是否支持离线推送呢?
639
483
 
640
- **支持**,Android 离线推送采用腾讯云的**TIMPush推送插件**以及**自集成推送**,接入方式详见:[离线唤醒](https://write.woa.com/document/86735802148151296)。
484
+ **支持**,Android 离线推送采用腾讯云的**TIMPush推送插件**以及**自集成推送**,接入方式详见:离线唤醒。
641
485
 
642
486
  ### 在通话邀请超时时间内,被邀请者如果离线再上线,能否弹出通话界面?
643
487
 
644
- 单人通话时,如果在超时时间内上线,会触发来电邀请;群组通话,如果在超时时间内上线,会拉起未处理的20条群消息,如果存在通话邀请,则触发来电邀请。在不同的版本上来电的显示策略有所不同(详见下方:[被叫端来电显示策略](https://write.woa.com/document/86735803114926080))。
488
+ 单人通话时,如果在超时时间内上线,会触发来电邀请;群组通话,如果在超时时间内上线,会拉起未处理的20条群消息,如果存在通话邀请,则触发来电邀请。在不同的版本上来电的显示策略有所不同(详见下方:被叫端来电显示策略)。
645
489
 
646
490
  ### 应用在后台时,不能自动将通话界面拉取到前台
647
- 1. TUICallKit 2.3 及以上版本([Android&iOS 发布日志](https://cloud.tencent.com/document/product/647/80931))调整了被叫端的来电显示策略,见下方:[被叫端来电显示策略](https://write.woa.com/document/86735803114926080)。
491
+ 1. TUICallKit 2.3 及以上版本([Android&iOS 发布日志](https://cloud.tencent.com/document/product/647/80931))调整了被叫端的来电显示策略,见下方:被叫端来电显示策略。
648
492
 
649
493
  2. TUICallKit 2.3 版本之前,将应用从后台自动拉取到前台,需要检查 App 是否开启了“后台自启动”或“悬浮窗”权限。
650
494
 
651
-
652
- 不同厂商、甚至同一厂商不同 Android 版本,其对于应用开放的权限以及权限名称也会存在不一致。例如,小米6只需要开启后台弹出界面权限,而红米需要同时打开后台弹出界面和显示悬浮窗权限。如何开启权限,详见下方:[相关权限开启](https://write.woa.com/document/86735803114926080)。
495
+ 不同厂商、甚至同一厂商不同 Android 版本,其对于应用开放的权限以及权限名称也会存在不一致。例如,小米6只需要开启后台弹出界面权限,而红米需要同时打开后台弹出界面和显示悬浮窗权限。如何开启权限,详见下方:相关权限开启。
653
496
 
654
497
  3. 如果遇到以下场景拉不起通话界面,原因是:应用的启动堆栈变化,导致 CallKitActivity 界面被遮挡移除了。
655
498
 
656
-
657
499
  场景一:接通后退到后台,点击桌面图标进入应用,原通话界面消失;
658
500
 
659
-
660
501
  场景二:应用在后台时,开启banner的情况下,收到通知View,不点击View,点击桌面图标进入应用,拉不起通话界面且通知消失;
661
502
 
662
-
663
503
  场景三:应用在后台时,收到离线推送,不点击推送通知,点击桌面图标进入应用,无法拉起通话界面或通话界面闪了一下;
664
504
 
665
-
666
505
  以上几种情况,需要在您自己业务的默认启动的主 Activity 中添加以下代码,每个应用默认启动的 Activity 都不一样,详见 AndroidManifest.xml 配置,以目前大部分应用的启动页 SplashActivity 为例:
667
506
 
668
-
669
-
670
-
671
507
  【添加代码】
672
508
  ``` java
673
- if (!isTaskRoot() && getIntent() != null && getIntent().hasCategory(Intent.CATEGORY_LAUNCHER)
509
+ if (!isTaskRoot() && getIntent() != null && getIntent().hasCategory(Intent.CATEGORY_LAUNCHER)
674
510
  && Intent.ACTION_MAIN.equals(getIntent().getAction())) {
675
511
  finish();
676
512
  return;
@@ -679,44 +515,24 @@ if (!isTaskRoot() && getIntent() != null && getIntent().hasCategory(Intent.CATEG
679
515
 
680
516
  【具体添加位置】
681
517
 
682
- ![](https://write-document-release-1258344699.cos.ap-guangzhou.tencentcos.cn/100027119876/ab370eb65a0711ef81cf525400d5f8ef.png)
683
-
684
-
685
518
  > **说明:**
686
- >
519
+ >
687
520
 
688
521
  > SplashActivity 的启动模式不能是 singleTask;singleTask 模式下 isTaskRoot 是 true,上述方法不生效。
689
- >
690
-
691
- > 如果您在开发中开启了所有权限或做了上述尝试,依然无法自动拉起通话界面到前台,请加入 TUICallKit 技术交流平台 [zhiliao](https://zhiliao.qq.com/s/cWSPGIIM62CC/cEUPGIIM62CE),联系我们协助处理。
692
- >
522
+ >
693
523
 
524
+ >
694
525
 
695
526
  ### 被叫端来电显示策略
696
527
 
697
528
  为使 TUICallKit 适应不同的业务需求,增加产品特色,提升用户的使用体验,TUICallKit **2.3 及以上版本**([发布日志](https://cloud.tencent.com/document/product/647/80931)),优化收到来电后的通话页面显示弹出策略,详情如下所示:
698
- <table>
699
- <tr>
700
- <td rowspan="1" colSpan="1" >全屏显示通话等待界面</td>
701
-
702
- <td rowspan="1" colSpan="1" >横幅显示来电请求</td>
703
- </tr>
704
-
705
- <tr>
706
- <td rowspan="1" colSpan="1" >![](https://write-document-release-1258344699.cos.ap-guangzhou.tencentcos.cn/100027119876/f3bd1fb90ea111ef987c5254002977b6.png)</td>
707
-
708
- <td rowspan="1" colSpan="1" >![](https://write-document-release-1258344699.cos.ap-guangzhou.tencentcos.cn/100027119876/da064db50ea111ef97985254005ac0ca.png)</td>
709
- </tr>
710
- </table>
711
-
712
-
713
-
529
+ | 全屏显示通话等待界面 | 横幅显示来电请求 |
530
+ | --- | --- |
531
+ | | |
714
532
 
715
533
  【2.3.0.920版本及之后的版本】
716
534
  1. 如果您想要被叫端收到邀请时,尽量去拉起全屏通话界面,那么您可以更新 [tuicallkit-kt](https://github.com/Tencent-RTC/TUICallKit/tree/main/Android/tuicallkit-kt) 代码到最新。该情况下,被叫端的来电显示策略如下:
717
535
 
718
-
719
- ![](https://write-document-release-1258344699.cos.ap-guangzhou.tencentcos.cn/100027119876/55b57ba00e8011ef814b525400f2c344.png)
720
536
  2. 如果您想在被叫端收到通话的时候,先展示一个横幅,然后根据需要拉起全屏通话界面,那么您可以调用以下接口开启该功能。
721
537
 
722
538
  ``` java
@@ -725,27 +541,18 @@ if (!isTaskRoot() && getIntent() != null && getIntent().hasCategory(Intent.CATEG
725
541
 
726
542
  开启后,被叫端的来电策略如下所示,只要开启**悬浮窗权限,**就能尽可能的展示来电横幅。
727
543
 
728
- ![](https://write-document-release-1258344699.cos.ap-guangzhou.tencentcos.cn/100027119876/c7ce51860e7f11ef8c545254000781d8.png)
729
-
730
544
  【2.3版本之前】
731
545
 
732
- ![](https://write-document-release-1258344699.cos.ap-guangzhou.tencentcos.cn/100027119876/e08d1f260e7d11ef8c545254000781d8.png)
733
-
734
546
  > **说明:**
735
- >
736
-
737
- > 相关权限如何开启,详见下方:[相关权限开启](https://write.woa.com/document/86735803114926080)。
738
- >
547
+ >
739
548
 
740
-
741
- 如果没有按照上述策略显示来电界面,请过滤`onCallReceived`日志,检查是否收到通话邀请,如果没有该日志的打印,请加入我们的 TUICallKit 技术交流平台 [zhiliao](https://zhiliao.qq.com/s/cWSPGIIM62CC/cEUPGIIM62CE),联系我们协助处理。
549
+ > 相关权限如何开启,详见下方:相关权限开启。
550
+ >
742
551
 
743
552
  ### **相关权限开启**
744
553
 
745
554
  为实现良好的通话体验,建议您在应用中开启“通知”权限、“显示在其他应用上层(悬浮窗)”以及“后台拉起界面”权限,具体方法如下:
746
555
 
747
-
748
-
749
556
  【代码指引】
750
557
  - **通知权限**:便于展示推送通知:请参见 [通知运行时权限](https://developer.android.com/develop/ui/views/notifications/notification-permission) 和 [请求运行时权限](https://developer.android.com/training/permissions/requesting#request-permission) 根据业务需求自行实现。
751
558
 
@@ -765,29 +572,14 @@ fun requestPermission(context: Context?) {
765
572
  【手动开启】
766
573
 
767
574
  安装应用后,您可以长按应用图标,选择“应用信息”,然后开启“通知”权限、“显示在其他应用上层”以及“后台拉起界面”权限。或者您可以到`手机 > 系统设置 > 应用管理 > 应用`中手动开启上述权限。
768
- <table>
769
- <tr>
770
- <td rowspan="1" colSpan="1" >Pixel 4a</td>
771
-
772
- <td rowspan="1" colSpan="1" >小米</td>
773
-
774
- <td rowspan="1" colSpan="1" >vivo</td>
775
- </tr>
776
-
777
- <tr>
778
- <td rowspan="1" colSpan="1" >![](https://write-document-release-1258344699.cos.ap-guangzhou.tencentcos.cn/100027119876/b13ec4c8f7b611eea1dd525400eeaf97.png)</td>
779
-
780
- <td rowspan="1" colSpan="1" >![](https://write-document-release-1258344699.cos.ap-guangzhou.tencentcos.cn/100027119876/b14a4144f7b611ee95c1525400fe11be.png)</td>
781
-
782
- <td rowspan="1" colSpan="1" >![](https://write-document-release-1258344699.cos.ap-guangzhou.tencentcos.cn/100027119876/1aeffd1afd7811ee9f79525400a7e516.png)</td>
783
- </tr>
784
- </table>
785
-
575
+ | Pixel 4a | 小米 | vivo |
576
+ | --- | --- | --- |
577
+ | | | |
786
578
 
787
579
  # iOS
788
580
  ### 错误提示“The package you purchased does not support this ability”?
789
581
 
790
- 如遇以上错误提示,是由于您当前应用的音视频通话能力包过期或未开通,请参见 [开通服务](https://write.woa.com/document/139743928960860160),领取或者开通音视频通话能力,进而继续使用TUICallKit组件。
582
+ 如遇以上错误提示,是由于您当前应用的音视频通话能力包过期或未开通,请参见 开通服务,领取或者开通音视频通话能力,进而继续使用TUICallKit组件。
791
583
 
792
584
  ### 如何购买音视频通话套餐?
793
585
 
@@ -807,42 +599,29 @@ fun requestPermission(context: Context?) {
807
599
  pod 'TUICallKit_Swift', :path => "TUICallKit/TUICallKit_Swift.podspec"
808
600
  ```
809
601
  4. 执行 `pod install` 命令,完成导入。
810
-
811
602
 
812
603
  > **注意:**
813
- >
604
+ >
814
605
 
815
606
  > `TUICallKit_Swift`文件夹和`TUICallKit_Swift.podspec`文件必须在同一目录下。
816
- >
817
-
607
+ >
818
608
 
819
609
  **TUICallKit_Swift 组件集成后效果**:
820
610
 
821
-
822
- ![](https://write-document-release-1258344699.cos.ap-guangzhou.tencentcos.cn/100027164818/4fee92e91e3211efbef6525400a8a0fb.png)
823
-
824
-
825
611
  > **说明:**
826
- >
612
+ >
827
613
 
828
614
  > TUICallKit_Swift 组件集成后支持文件夹分层显示,方便您阅读和修改源代码。
829
- >
830
-
615
+ >
831
616
 
832
617
  ### Xcode 15 编译报错?
833
618
 
834
619
  #### 1、出现 **Sandbox: rsync **编译报错
835
620
 
836
- ![](https://write-document-release-1258344699.cos.ap-guangzhou.tencentcos.cn/100027164818/501cfdc31e3211ef90c35254006d3582.png)
837
-
838
621
  可以在 **Build Settings **中把 **User Script Sandboxing **设置为 **NO:**
839
622
 
840
- ![](https://write-document-release-1258344699.cos.ap-guangzhou.tencentcos.cn/100027164818/4ff5696e1e3211efa62352540003d080.png)
841
-
842
623
  #### 2、出现 **SDK does not contain **编译报错
843
624
 
844
- ![](https://write-document-release-1258344699.cos.ap-guangzhou.tencentcos.cn/100027164818/4ffcb4231e3211ef860b52540049c929.png)
845
-
846
625
  可以在 Podfile 添加如下代码:
847
626
  ``` bash
848
627
  # target 'xxxx' do
@@ -861,8 +640,6 @@ end
861
640
 
862
641
  #### 3、如果在 **M 系列电脑**上运行模拟器,可能会出现 **Linker command failed with exit code 1 (use -v to see invocation) **编译报错
863
642
 
864
- ![](https://write-document-release-1258344699.cos.ap-guangzhou.tencentcos.cn/100027164818/50ee41241e3211ef91395254000a29ac.png)
865
-
866
643
  可以在 Podfile 添加如下代码:
867
644
  ``` bash
868
645
  # target 'xxxx' do
@@ -894,21 +671,18 @@ end
894
671
  ```
895
672
  3. 如果您使用了 `TXLiteAVSDK_Enterprise` 库,会产生符号冲突。建议升级到 `TXLiteAVSDK_Professional` 后使用 TUICallKit_Swift`/Professional`。
896
673
 
897
-
898
674
  ### TUICallKit 是否可以不引入 IM SDK,只使用 TRTC?
899
675
 
900
676
  **不可以。**`TUIKit` 全系组件都使用了腾讯云 IM SDK 作为通信的基础服务,比如通话拨打信令、通话忙线信令等核心逻辑,如果您已经购买有其他 `IM` 产品,也可以参照 `TUICallKit` 逻辑进行适配。
901
677
 
902
678
  ### TUICallKit 组件支持自定义铃声吗?
903
679
 
904
- **支持**,调用 [setCallingBell](https://write.woa.com/document/86735802543452160) 即可。
680
+ **支持**,调用 setCallingBell 即可。
905
681
 
906
682
  ### TUICallKit 是否支持后台运行?
907
683
 
908
684
  **支持**,如需要进入后台仍然运行相关功能,可选中当前工程项目,在 **Capabilities** 下的 **Background Modes** 模块中勾选 **Audio,AirPlay and Picture in Picture** ,如下图所示:
909
685
 
910
- ![](https://write-document-release-1258344699.cos.ap-guangzhou.tencentcos.cn/100027164818/f29734a51e3111ef860b52540049c929.png)
911
-
912
686
  ### 如何查看 TRTC 日志?
913
687
 
914
688
  TRTC 的日志默认压缩加密,后缀为 .xlog。日志是否加密是可以通过 setLogCompressEnabled 来控制,生成的文件名里面含 C(compressed) 的就是加密压缩的,含 R(raw) 的就是明文的。
@@ -916,18 +690,17 @@ TRTC 的日志默认压缩加密,后缀为 .xlog。日志是否加密是可以
916
690
  iOS:`sandbox的Documents/log`
917
691
 
918
692
  > **说明:**
919
- >
693
+ >
920
694
  > - 查看 .xlog 文件需要下载 [解密工具](https://dldir1.qq.com/hudongzhibo/log_tool/decode_mars_log_file.py),在 Python 2.7环境中放到 xlog 文件同目录下直接使用 `python decode_mars_log_file.py` 运行即可。
921
695
  > - 查看 .clog 文件(9.6 版本以后新的日志格式)需要下载 [解密工具](http://dldir1.qq.com/hudongzhibo/log_tool/decompress_clog.py),在 Python 2.7 环境中放到 clog 文件同目录下直接使用 `python decompress_clog.py `运行即可。
922
696
 
923
-
924
697
  # Flutter
925
698
  ### 同时集成 tencent_calls_uikit 和 tencent_trtc_cloud,或同时集成 tencent_calls_uikit 和 live_flutter_plugin,出现符号冲突报错,怎么解决?
926
699
 
927
700
  问题详情:当引入 flutter ''tencent_calls_uikit'' 进我们现有的 project 后,Android 构建 APK 时出现如下报错:
928
701
  ``` bash
929
- Duplicate class com.tencent.liteav.LiveSettingJni found in modules jetified-LiteAVSDK_Professional-10.7.0.13053-runtime
930
- (com.tencent.liteav:LiteAVSDK_Professional:10.7.0.13053) and jetified-LiteAVSDK_TRTC-10.3.0.11225-runtime
702
+ Duplicate class com.tencent.liteav.LiveSettingJni found in modules jetified-LiteAVSDK_Professional-10.7.0.13053-runtime
703
+ (com.tencent.liteav:LiteAVSDK_Professional:10.7.0.13053) and jetified-LiteAVSDK_TRTC-10.3.0.11225-runtime
931
704
  (com.tencent.liteav:LiteAVSDK_TRTC:10.3.0.11225)
932
705
  ```
933
706
 
@@ -945,18 +718,18 @@ iOS 在执行`pod install`出现如下报错:
945
718
  -keep class com.tencent.** { *; }
946
719
  ```
947
720
 
948
- ### 从1.8.0以下的版本升级到1.8.0及以上的版本,导致编译报错或者拉不起页面问题如何修复?
721
+ ### 从1.8.0以下的版本升级到1.8.0及以上的版本,导致编译报错或者拉不起页面问题如何修复?
949
722
 
950
723
  如果是从1.8.0以下升级到1.8.0及以上的版本,需要您检查下面几个步骤是否正常:
951
724
  1. 将 navigatorObservers 添加到 MateriaApp。 目的是在收到呼叫邀请时导航到 TUICallKit 页面。示例代码如下:
952
725
 
953
726
  ``` plaintext
954
727
  import 'package:tencent_calls_uikit/tuicall_kit.dart';
955
-
728
+
956
729
  MaterialApp(
957
730
       navigatorObservers:[TUICallKit.navigatorObserver],
958
731
       ...
959
- )
732
+ )
960
733
  ```
961
734
  2. tencent_calls_engine 插件中的导入文件统一替换为新的。
962
735
 
@@ -973,9 +746,4 @@ iOS 在执行`pod install`出现如下报错:
973
746
  ```
974
747
  3. 登录 API 调整更规范,不需要再指定参数。
975
748
 
976
- ![](https://write-document-release-1258344699.cos.ap-guangzhou.tencentcos.cn/100027983635/c4114c2634fb11eeaa5e5254005c1bd1.png)
977
-
978
749
  4. 离线推送参数构造优化。
979
-
980
- ![](https://write-document-release-1258344699.cos.ap-guangzhou.tencentcos.cn/100027983635/01e0fcc434fc11eeaa5e5254005c1bd1.png)
981
-