@tencentcloud/sdk-mcp 1.4.7 → 1.6.0-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.js +0 -1
- package/knowledge/bm25-cache.js +73 -0
- package/knowledge/bm25.js +147 -0
- package/knowledge/build-index.js +65 -0
- package/knowledge/chunker.js +167 -0
- package/knowledge/content-loader.js +44 -0
- package/knowledge/extractors.js +25 -0
- package/knowledge/path-meta.js +175 -0
- package/knowledge/search/exact-lookup.js +330 -0
- package/knowledge/search/filter-pool.js +86 -0
- package/knowledge/search/requires-framework.js +72 -0
- package/knowledge/search/search-knowledge.js +226 -0
- package/package.json +9 -9
- package/resource/_schema/feature-aliases.yaml +10 -0
- package/resource/_schema/goal-tags.yaml +72 -0
- package/resource/_schema/products.yaml +16 -0
- package/resource/_schema/trtc-intents.yaml +27 -0
- package/resource/_schema/types.yaml +44 -0
- package/resource/index/component-slugs.json +1 -0
- package/resource/index/manifest.json +1 -0
- package/resource/{doc → integration}/callkit/preset/android/integration.md +32 -28
- package/resource/{doc → integration}/callkit/preset/flutter/integration.md +109 -54
- package/resource/integration/callkit/preset/ios/integration.md +411 -0
- package/resource/integration/callkit/preset/react/integration.md +499 -0
- package/resource/integration/callkit/preset/vue/integration.md +768 -0
- package/resource/{doc/chatkit → integration/chat/preset}/android/integration.md +11 -11
- package/resource/{doc/chatkit → integration/chat/preset}/flutter/integration.md +59 -37
- package/resource/integration/chat/preset/ios/integration.md +568 -0
- package/resource/{doc/chatkit → integration/chat/preset}/react/integration.md +127 -95
- package/resource/integration/chat/preset/uni-app/integration.md +494 -0
- package/resource/{doc/chatkit → integration/chat/preset}/vue/integration.md +163 -143
- package/resource/{doc → integration}/livekit/preset/live/vue/live-list-integration.md +15 -15
- package/resource/{doc → integration}/livekit/preset/live/vue/live-player-desk-integration.md +25 -13
- package/resource/{doc → integration}/livekit/preset/live/vue/live-player-h5-integration.md +15 -9
- package/resource/{doc → integration}/livekit/preset/live/vue/live-pusher-integration.md +31 -26
- package/resource/integration/roomkit/preset/vue/integration.md +571 -0
- package/resource/knowledge/callkit/core-sdk/android/answer-call.md +852 -0
- package/resource/knowledge/callkit/core-sdk/android/make-call.md +929 -0
- package/resource/knowledge/callkit/core-sdk/android/offline-push.md +364 -0
- package/resource/knowledge/callkit/core-sdk/flutter/answer-call.md +1150 -0
- package/resource/knowledge/callkit/core-sdk/flutter/make-call.md +1216 -0
- package/resource/knowledge/callkit/core-sdk/flutter/offline-push.md +412 -0
- package/resource/knowledge/callkit/core-sdk/ios/answer-call.md +1191 -0
- package/resource/knowledge/callkit/core-sdk/ios/make-call.md +1292 -0
- package/resource/knowledge/callkit/core-sdk/ios/offline-push.md +537 -0
- package/resource/knowledge/callkit/core-sdk/uni-app/answer-call.md +953 -0
- package/resource/knowledge/callkit/core-sdk/uni-app/make-call.md +1061 -0
- package/resource/knowledge/callkit/faq/android.md +168 -0
- package/resource/knowledge/callkit/faq/common.md +180 -0
- package/resource/knowledge/callkit/faq/flutter.md +52 -0
- package/resource/knowledge/callkit/faq/ios.md +116 -0
- package/resource/knowledge/callkit/faq/uniapp-app.md +89 -0
- package/resource/knowledge/callkit/faq/uniapp-miniprogram.md +217 -0
- package/resource/knowledge/callkit/faq/web.md +363 -0
- package/resource/knowledge/callkit/preset/android/api.md +413 -0
- package/resource/knowledge/callkit/preset/flutter/api.md +22 -0
- package/resource/knowledge/callkit/preset/ios/api.md +256 -0
- package/resource/knowledge/callkit/preset/web/api.md +79 -0
- package/resource/knowledge/chat/preset/android/features/chat-setting.md +72 -0
- package/resource/knowledge/chat/preset/android/features/contact-list.md +41 -0
- package/resource/knowledge/chat/preset/android/features/conversation-list.md +123 -0
- package/resource/knowledge/chat/preset/android/features/language.md +142 -0
- package/resource/knowledge/chat/preset/android/features/message-input.md +57 -0
- package/resource/knowledge/chat/preset/android/features/message-list.md +142 -0
- package/resource/knowledge/chat/preset/android/features/search.md +64 -0
- package/resource/{doc/chatkit → knowledge/chat/preset}/android/features/theme.md +21 -18
- package/resource/knowledge/chat/preset/android-view/integration.md +448 -0
- package/resource/knowledge/chat/preset/flutter/features/chat-setting.md +62 -0
- package/resource/knowledge/chat/preset/flutter/features/contact-list.md +40 -0
- package/resource/knowledge/chat/preset/flutter/features/conversation-list.md +129 -0
- package/resource/knowledge/chat/preset/flutter/features/language.md +104 -0
- package/resource/knowledge/chat/preset/flutter/features/message-input.md +54 -0
- package/resource/knowledge/chat/preset/flutter/features/message-list.md +163 -0
- package/resource/knowledge/chat/preset/flutter/features/search.md +59 -0
- package/resource/{doc/chatkit → knowledge/chat/preset}/flutter/features/theme.md +47 -19
- package/resource/knowledge/chat/preset/ios/features/chat-setting.md +92 -0
- package/resource/knowledge/chat/preset/ios/features/contact-list.md +119 -0
- package/resource/knowledge/chat/preset/ios/features/conversation-list.md +134 -0
- package/resource/knowledge/chat/preset/ios/features/language.md +105 -0
- package/resource/knowledge/chat/preset/ios/features/message-input.md +69 -0
- package/resource/knowledge/chat/preset/ios/features/message-list.md +164 -0
- package/resource/knowledge/chat/preset/ios/features/search.md +94 -0
- package/resource/{doc/chatkit → knowledge/chat/preset}/ios/features/theme.md +54 -51
- package/resource/{doc/chatkit/ios → knowledge/chat/preset/ios-uikit}/integration.md +157 -94
- package/resource/knowledge/chat/preset/react/features/chat-setting.md +123 -0
- package/resource/{doc/chatkit/react/components → knowledge/chat/preset/react/features}/contact-list.md +256 -104
- package/resource/knowledge/chat/preset/react/features/conversation-actions.md +217 -0
- package/resource/{doc/chatkit/react/components → knowledge/chat/preset/react/features}/conversation-list.md +86 -79
- package/resource/knowledge/chat/preset/react/features/conversation-preview.md +99 -0
- package/resource/knowledge/chat/preset/react/features/conversation-search.md +58 -0
- package/resource/{doc/chatkit/react/components → knowledge/chat/preset/react/features}/message-input.md +30 -83
- package/resource/{doc/chatkit/react/components → knowledge/chat/preset/react/features}/message-list.md +22 -25
- package/resource/knowledge/chat/preset/react/features/search.md +531 -0
- package/resource/knowledge/chat/preset/react/features/theme.md +16 -0
- package/resource/knowledge/chat/preset/vue/features/chat-header.md +331 -0
- package/resource/{doc/chatkit/vue/components → knowledge/chat/preset/vue/features}/chat-setting.md +0 -4
- package/resource/{doc/chatkit/vue/components → knowledge/chat/preset/vue/features}/contact-list.md +59 -53
- package/resource/{doc/chatkit/vue/components → knowledge/chat/preset/vue/features}/conversation-actions.md +49 -43
- package/resource/{doc/chatkit/vue/components → knowledge/chat/preset/vue/features}/conversation-list.md +61 -49
- package/resource/{doc/chatkit/vue/components → knowledge/chat/preset/vue/features}/conversation-preview.md +43 -40
- package/resource/{doc/chatkit/vue/components → knowledge/chat/preset/vue/features}/conversation-search.md +1 -1
- package/resource/{doc/chatkit/vue/components → knowledge/chat/preset/vue/features}/message-input.md +128 -105
- package/resource/{doc/chatkit/vue/components → knowledge/chat/preset/vue/features}/message-list.md +108 -195
- package/resource/{doc/chatkit/vue/components → knowledge/chat/preset/vue/features}/search.md +74 -68
- package/resource/knowledge/chat/preset/vue/features/theme.md +136 -0
- package/resource/knowledge/chat/urls/error-code.md +16 -0
- package/resource/knowledge/chat/urls/product.md +61 -0
- package/resource/knowledge/chat/urls/restapi.md +226 -0
- package/resource/knowledge/chat/urls/sdk/android.md +84 -0
- package/resource/knowledge/chat/urls/sdk/flutter.md +73 -0
- package/resource/knowledge/chat/urls/sdk/ios.md +84 -0
- package/resource/knowledge/chat/urls/sdk/web.md +88 -0
- package/resource/knowledge/chat/urls/webhook.md +73 -0
- package/resource/{doc/livekit/core-sdk/live/android/api-reference → knowledge/livekit/core-sdk/api-reference/android}/AudioEffectStore.md +79 -76
- package/resource/knowledge/livekit/core-sdk/api-reference/android/BarrageStore.md +174 -0
- package/resource/knowledge/livekit/core-sdk/api-reference/android/BattleStore.md +329 -0
- package/resource/{doc/livekit/core-sdk/live/android/api-reference → knowledge/livekit/core-sdk/api-reference/android}/CameraView.md +7 -6
- package/resource/knowledge/livekit/core-sdk/api-reference/android/CoGuestStore.md +434 -0
- package/resource/knowledge/livekit/core-sdk/api-reference/android/CoHostStore.md +362 -0
- package/resource/knowledge/livekit/core-sdk/api-reference/android/DeviceStore.md +466 -0
- package/resource/knowledge/livekit/core-sdk/api-reference/android/GiftStore.md +173 -0
- package/resource/{doc/livekit/core-sdk/live/android/api-reference → knowledge/livekit/core-sdk/api-reference/android}/LikeStore.md +12 -10
- package/resource/knowledge/livekit/core-sdk/api-reference/android/LiveAudienceStore.md +291 -0
- package/resource/knowledge/livekit/core-sdk/api-reference/android/LiveCoreView.md +78 -0
- package/resource/knowledge/livekit/core-sdk/api-reference/android/LiveSeatStore.md +439 -0
- package/resource/knowledge/livekit/core-sdk/api-reference/android/LoginStore.md +221 -0
- package/resource/{doc/livekit/core-sdk/live/flutter/api-reference → knowledge/livekit/core-sdk/api-reference/flutter}/AudioEffectStore.md +79 -76
- package/resource/knowledge/livekit/core-sdk/api-reference/flutter/BarrageStore.md +212 -0
- package/resource/{doc/livekit/core-sdk/live/flutter/api-reference → knowledge/livekit/core-sdk/api-reference/flutter}/BaseBeautyStore.md +43 -45
- package/resource/knowledge/livekit/core-sdk/api-reference/flutter/BattleStore.md +312 -0
- package/resource/knowledge/livekit/core-sdk/api-reference/flutter/CoGuestStore.md +404 -0
- package/resource/knowledge/livekit/core-sdk/api-reference/flutter/CoHostStore.md +334 -0
- package/resource/knowledge/livekit/core-sdk/api-reference/flutter/DeviceStore.md +420 -0
- package/resource/knowledge/livekit/core-sdk/api-reference/flutter/GiftStore.md +166 -0
- package/resource/{doc/livekit/core-sdk/live/flutter/api-reference → knowledge/livekit/core-sdk/api-reference/flutter}/LikeStore.md +12 -11
- package/resource/knowledge/livekit/core-sdk/api-reference/flutter/LiveAudienceStore.md +281 -0
- package/resource/{doc/livekit/core-sdk/live/flutter/api-reference → knowledge/livekit/core-sdk/api-reference/flutter}/LiveCoreView.md +49 -42
- package/resource/knowledge/livekit/core-sdk/api-reference/flutter/LiveSeatStore.md +397 -0
- package/resource/knowledge/livekit/core-sdk/api-reference/flutter/LoginStore.md +183 -0
- package/resource/{doc/livekit/core-sdk/live/ios/api-reference → knowledge/livekit/core-sdk/api-reference/ios}/AudioEffectStore.md +79 -75
- package/resource/knowledge/livekit/core-sdk/api-reference/ios/BarrageStore.md +192 -0
- package/resource/knowledge/livekit/core-sdk/api-reference/ios/BaseBeautyStore.md +146 -0
- package/resource/knowledge/livekit/core-sdk/api-reference/ios/BattleStore.md +309 -0
- package/resource/knowledge/livekit/core-sdk/api-reference/ios/CoGuestStore.md +370 -0
- package/resource/knowledge/livekit/core-sdk/api-reference/ios/CoHostStore.md +339 -0
- package/resource/knowledge/livekit/core-sdk/api-reference/ios/DeviceStore.md +503 -0
- package/resource/knowledge/livekit/core-sdk/api-reference/ios/GiftStore.md +188 -0
- package/resource/{doc/livekit/core-sdk/live/ios/api-reference → knowledge/livekit/core-sdk/api-reference/ios}/LikeStore.md +12 -10
- package/resource/knowledge/livekit/core-sdk/api-reference/ios/LiveAudienceStore.md +289 -0
- package/resource/knowledge/livekit/core-sdk/api-reference/ios/LiveCoreView.md +78 -0
- package/resource/knowledge/livekit/core-sdk/api-reference/ios/LiveSeatStore.md +434 -0
- package/resource/knowledge/livekit/core-sdk/api-reference/ios/LoginStore.md +187 -0
- package/resource/knowledge/livekit/core-sdk/api-reference/web/index.md +780 -0
- package/resource/{doc → knowledge}/livekit/core-sdk/live/android/live-audience-list.md +59 -51
- package/resource/{doc → knowledge}/livekit/core-sdk/live/android/live-audio-effect.md +37 -34
- package/resource/{doc → knowledge}/livekit/core-sdk/live/android/live-barrage.md +68 -38
- package/resource/{doc → knowledge}/livekit/core-sdk/live/android/live-base-beauty.md +18 -15
- package/resource/{doc → knowledge}/livekit/core-sdk/live/android/live-co-guest-interaction.md +17 -17
- package/resource/{doc → knowledge}/livekit/core-sdk/live/android/live-gift.md +86 -80
- package/resource/{doc → knowledge}/livekit/core-sdk/live/android/live-host-interaction.md +53 -49
- package/resource/{doc → knowledge}/livekit/core-sdk/live/android/live-integration.md +47 -45
- package/resource/{doc → knowledge}/livekit/core-sdk/live/android/live-live-list.md +26 -22
- package/resource/{doc → knowledge}/livekit/core-sdk/live/flutter/live-audience-list.md +16 -13
- package/resource/{doc → knowledge}/livekit/core-sdk/live/flutter/live-audio-effect.md +28 -24
- package/resource/{doc → knowledge}/livekit/core-sdk/live/flutter/live-barrage.md +33 -21
- package/resource/{doc → knowledge}/livekit/core-sdk/live/flutter/live-base-beauty.md +29 -25
- package/resource/{doc → knowledge}/livekit/core-sdk/live/flutter/live-co-guest-interaction.md +21 -20
- package/resource/{doc → knowledge}/livekit/core-sdk/live/flutter/live-gift.md +78 -69
- package/resource/{doc → knowledge}/livekit/core-sdk/live/flutter/live-host-interaction.md +47 -43
- package/resource/{doc → knowledge}/livekit/core-sdk/live/flutter/live-integration.md +48 -45
- package/resource/{doc → knowledge}/livekit/core-sdk/live/flutter/live-live-list.md +27 -23
- package/resource/{doc → knowledge}/livekit/core-sdk/live/ios/live-audience-list.md +15 -12
- package/resource/{doc → knowledge}/livekit/core-sdk/live/ios/live-audio-effect.md +39 -36
- package/resource/{doc → knowledge}/livekit/core-sdk/live/ios/live-barrage.md +42 -29
- package/resource/{doc → knowledge}/livekit/core-sdk/live/ios/live-base-beauty.md +19 -16
- package/resource/{doc → knowledge}/livekit/core-sdk/live/ios/live-co-guest-interaction.md +20 -19
- package/resource/{doc → knowledge}/livekit/core-sdk/live/ios/live-gift.md +55 -49
- package/resource/{doc → knowledge}/livekit/core-sdk/live/ios/live-host-interaction.md +50 -46
- package/resource/{doc → knowledge}/livekit/core-sdk/live/ios/live-integration.md +48 -46
- package/resource/{doc → knowledge}/livekit/core-sdk/live/ios/live-live-list.md +26 -22
- package/resource/{doc → knowledge}/livekit/core-sdk/voice/android/voice-audience-list.md +59 -51
- package/resource/{doc → knowledge}/livekit/core-sdk/voice/android/voice-audio-effect.md +41 -38
- package/resource/{doc → knowledge}/livekit/core-sdk/voice/android/voice-barrage.md +67 -37
- package/resource/{doc → knowledge}/livekit/core-sdk/voice/android/voice-co-guest-interaction.md +53 -46
- package/resource/{doc → knowledge}/livekit/core-sdk/voice/android/voice-gift.md +86 -80
- package/resource/{doc → knowledge}/livekit/core-sdk/voice/android/voice-host-interaction.md +45 -40
- package/resource/{doc → knowledge}/livekit/core-sdk/voice/android/voice-integration.md +43 -42
- package/resource/knowledge/livekit/core-sdk/voice/android/voice-room-list.md +523 -0
- package/resource/{doc → knowledge}/livekit/core-sdk/voice/flutter/voice-audience-list.md +16 -13
- package/resource/{doc → knowledge}/livekit/core-sdk/voice/flutter/voice-audio-effect.md +54 -50
- package/resource/{doc → knowledge}/livekit/core-sdk/voice/flutter/voice-barrage.md +33 -21
- package/resource/{doc → knowledge}/livekit/core-sdk/voice/flutter/voice-co-guest-interaction.md +34 -28
- package/resource/{doc → knowledge}/livekit/core-sdk/voice/flutter/voice-gift.md +73 -64
- package/resource/{doc → knowledge}/livekit/core-sdk/voice/flutter/voice-integration.md +46 -43
- package/resource/{doc → knowledge}/livekit/core-sdk/voice/flutter/voice-room-list.md +165 -148
- package/resource/{doc → knowledge}/livekit/core-sdk/voice/ios/voice-audience-list.md +19 -16
- package/resource/{doc → knowledge}/livekit/core-sdk/voice/ios/voice-audio-effect.md +40 -37
- package/resource/{doc → knowledge}/livekit/core-sdk/voice/ios/voice-barrage.md +41 -28
- package/resource/{doc → knowledge}/livekit/core-sdk/voice/ios/voice-co-guest-interaction.md +54 -47
- package/resource/{doc → knowledge}/livekit/core-sdk/voice/ios/voice-gift.md +52 -46
- package/resource/{doc → knowledge}/livekit/core-sdk/voice/ios/voice-host-interaction.md +55 -50
- package/resource/{doc → knowledge}/livekit/core-sdk/voice/ios/voice-integration.md +47 -45
- package/resource/knowledge/livekit/core-sdk/voice/ios/voice-room-list.md +404 -0
- package/resource/{doc → knowledge}/livekit/core-sdk/voice/uni-app/voice-audience-list.md +40 -57
- package/resource/{doc → knowledge}/livekit/core-sdk/voice/uni-app/voice-audio-effect.md +38 -49
- package/resource/{doc → knowledge}/livekit/core-sdk/voice/uni-app/voice-barrage.md +53 -53
- package/resource/{doc → knowledge}/livekit/core-sdk/voice/uni-app/voice-co-guest-interaction.md +106 -116
- package/resource/{doc → knowledge}/livekit/core-sdk/voice/uni-app/voice-gift.md +49 -59
- package/resource/{doc → knowledge}/livekit/core-sdk/voice/uni-app/voice-integration.md +52 -45
- package/resource/{doc → knowledge}/livekit/core-sdk/voice/uni-app/voice-room-list.md +38 -46
- package/resource/knowledge/livekit/preset/live/vue/features/barrage.md +915 -0
- package/resource/knowledge/livekit/preset/live/vue/features/live-audience-list.md +179 -0
- package/resource/knowledge/livekit/preset/live/vue/features/live-view.md +419 -0
- package/resource/knowledge/push/config/android/fcm.md +133 -0
- package/resource/knowledge/push/config/android/honor.md +111 -0
- package/resource/knowledge/push/config/android/huawei.md +106 -0
- package/resource/knowledge/push/config/android/meizu.md +121 -0
- package/resource/knowledge/push/config/android/oppo.md +108 -0
- package/resource/knowledge/push/config/android/vivo.md +101 -0
- package/resource/knowledge/push/config/android/xiaomi.md +99 -0
- package/resource/knowledge/push/integration/android.md +1028 -0
- package/resource/knowledge/push/integration/donut.md +271 -0
- package/resource/knowledge/push/integration/flutter.md +363 -0
- package/resource/knowledge/push/integration/harmonyos.md +72 -0
- package/resource/knowledge/push/integration/ios.md +705 -0
- package/resource/knowledge/push/integration/react-native.md +337 -0
- package/resource/knowledge/push/integration/uni-app.md +461 -0
- package/resource/knowledge/push/integration/unity.md +357 -0
- package/resource/knowledge/push/integration/unreal-engine.md +353 -0
- package/resource/knowledge/push/overview/prepare.md +30 -0
- package/resource/{doc/roomkit/android/features → knowledge/roomkit/core-sdk/android}/call-user-to-room.md +22 -20
- package/resource/{doc/roomkit/android/features → knowledge/roomkit/core-sdk/android}/room-participant-state.md +22 -193
- package/resource/{doc/roomkit/android/features → knowledge/roomkit/core-sdk/android}/room-state.md +33 -32
- package/resource/{doc/roomkit/android/features → knowledge/roomkit/core-sdk/android}/schedule-room.md +30 -29
- package/resource/knowledge/roomkit/core-sdk/flutter/call-user-to-room.md +230 -0
- package/resource/{doc/roomkit/flutter/features → knowledge/roomkit/core-sdk/flutter}/room-participant-state.md +22 -21
- package/resource/{doc/roomkit/flutter/features → knowledge/roomkit/core-sdk/flutter}/room-state.md +29 -28
- package/resource/{doc/roomkit/flutter/features → knowledge/roomkit/core-sdk/flutter}/schedule-room.md +17 -16
- package/resource/{doc/roomkit/ios/features → knowledge/roomkit/core-sdk/ios}/call-user-to-room.md +22 -20
- package/resource/{doc/roomkit/ios/features → knowledge/roomkit/core-sdk/ios}/room-participant-state.md +49 -218
- package/resource/{doc/roomkit/ios/features → knowledge/roomkit/core-sdk/ios}/room-state.md +37 -37
- package/resource/{doc/roomkit/ios/features → knowledge/roomkit/core-sdk/ios}/schedule-room.md +28 -28
- package/resource/{doc/roomkit/vue/features → knowledge/roomkit/core-sdk/vue}/call-user-to-room.md +122 -7
- package/resource/{doc/roomkit/vue/features → knowledge/roomkit/core-sdk/vue}/device-detection.md +318 -3
- package/resource/knowledge/roomkit/core-sdk/vue/device-state.md +1504 -0
- package/resource/{doc/roomkit/vue/features → knowledge/roomkit/core-sdk/vue}/free-beauty-panel.md +4 -3
- package/resource/knowledge/roomkit/core-sdk/vue/room-chat.md +709 -0
- package/resource/knowledge/roomkit/core-sdk/vue/room-participant-state.md +1105 -0
- package/resource/knowledge/roomkit/core-sdk/vue/room-state.md +635 -0
- package/resource/knowledge/roomkit/core-sdk/vue/room-view.md +529 -0
- package/resource/{doc/roomkit/vue/features → knowledge/roomkit/core-sdk/vue}/schedule-room.md +256 -13
- package/resource/{doc/roomkit/vue/features → knowledge/roomkit/core-sdk/vue}/screen-share.md +218 -25
- package/resource/{doc/roomkit/vue/features → knowledge/roomkit/core-sdk/vue}/virtual-background.md +4 -3
- package/resource/{doc/roomkit → knowledge/roomkit/preset}/android/integration.md +50 -64
- package/resource/{doc/roomkit → knowledge/roomkit/preset}/flutter/integration.md +34 -31
- package/resource/{doc/roomkit → knowledge/roomkit/preset}/ios/integration.md +45 -53
- package/resource/knowledge/roomkit/preset/react/integration.md +571 -0
- package/resource/{doc → knowledge}/rtcengine/web/how_to_run_web_sdk_demo.md +31 -15
- package/resource/{doc → knowledge}/rtcengine/web/plugin/21-advanced-auto-play-policy.md +9 -3
- package/resource/{doc → knowledge}/rtcengine/web/plugin/22-advanced-audio-mixer.md +1 -1
- package/resource/{doc → knowledge}/rtcengine/web/plugin/23-advanced-support-detection.md +1 -1
- package/resource/{doc → knowledge}/rtcengine/web/plugin/24-advanced-network-quality.md +6 -6
- package/resource/{doc → knowledge}/rtcengine/web/plugin/25-advanced-device-change.md +1 -1
- package/resource/{doc → knowledge}/rtcengine/web/plugin/26-advanced-publish-cdn-stream.md +4 -4
- package/resource/{doc → knowledge}/rtcengine/web/plugin/27-advanced-small-stream.md +4 -4
- package/resource/{doc → knowledge}/rtcengine/web/plugin/31-advanced-plugins-overview.md +1 -1
- package/resource/{doc → knowledge}/trtc/android/TRTCCloud.md +547 -495
- package/resource/{doc → knowledge}/trtc/android/TRTCCloudDef.md +434 -403
- package/resource/{doc → knowledge}/trtc/android/TRTCCloudListener.md +394 -348
- package/resource/{doc → knowledge}/trtc/android/TRTCStatistics.md +17 -15
- package/resource/{doc → knowledge}/trtc/android/TXAudioEffectManager.md +227 -197
- package/resource/knowledge/trtc/android/TXBeautyManager.md +415 -0
- package/resource/{doc → knowledge}/trtc/android/TXDeviceManager.md +70 -63
- package/resource/{doc → knowledge}/trtc/android/TXLiteAVCode.md +19 -17
- package/resource/{doc/trtc/C++ → knowledge/trtc/c++}/ITRTCCloud.md +599 -544
- package/resource/{doc/trtc/C++ → knowledge/trtc/c++}/ITRTCStatistics.md +17 -15
- package/resource/knowledge/trtc/c++/ITXAudioEffectManager.md +502 -0
- package/resource/knowledge/trtc/c++/ITXDeviceManager.md +403 -0
- package/resource/{doc/trtc/C++ → knowledge/trtc/c++}/TRTCCloudCallback.md +439 -387
- package/resource/{doc/trtc/C++ → knowledge/trtc/c++}/TRTCTypeDef.md +417 -387
- package/resource/{doc/trtc/C++ → knowledge/trtc/c++}/TXLiteAVCode.md +19 -17
- package/resource/{doc/trtc/iOS → knowledge/trtc/ios}/TRTCCloud.md +619 -559
- package/resource/{doc/trtc/iOS → knowledge/trtc/ios}/TRTCCloudDelegate.md +409 -360
- package/resource/{doc/trtc/iOS → knowledge/trtc/ios}/TRTCStatistics.md +17 -15
- package/resource/{doc/trtc/iOS → knowledge/trtc/ios}/TXAudioEffectManager.md +187 -164
- package/resource/knowledge/trtc/ios/TXBeautyManager.md +416 -0
- package/resource/knowledge/trtc/ios/TXDeviceManager.md +399 -0
- package/resource/{doc/trtc/iOS → knowledge/trtc/ios}/TXLiteAVCode.md +19 -17
- package/resource/{doc/trtc/iOS → knowledge/trtc/ios}/TXLiveSDKTypeDef.md +422 -396
- package/server-config.js +0 -1
- package/server.js +22 -12
- package/streamable-http.js +0 -1
- package/tools/call/get_native_call_uikit_integration.js +2 -4
- package/tools/call/get_native_callkit_core_integration.js +2 -6
- package/tools/call/get_web_call_uikit_integration.js +2 -4
- package/tools/chat/get_native_chat_uikit_integration.js +2 -4
- package/tools/chat/get_web_chat_uikit_integration.js +2 -4
- package/tools/common/get_usersig.js +0 -1
- package/tools/common/present_framework_choice.js +9 -4
- package/tools/common/record_answer.js +19 -26
- package/tools/common/record_feedback.js +17 -31
- package/tools/common/search_trtc_knowledge.js +44 -0
- package/tools/definitions/get_native_call_uikit_integration_def.js +2 -1
- package/tools/definitions/get_native_callkit_core_integration_def.js +2 -1
- package/tools/definitions/get_native_chat_uikit_integration_def.js +3 -2
- package/tools/definitions/get_native_livekit_core_integration_def.js +2 -1
- package/tools/definitions/get_usersig_def.js +0 -1
- package/tools/definitions/get_web_call_uikit_integration_def.js +2 -1
- package/tools/definitions/get_web_chat_uikit_integration_def.js +2 -1
- package/tools/definitions/get_web_live_uikit_integration_def.js +4 -3
- package/tools/definitions/get_web_room_core_integration_def.js +46 -0
- package/tools/definitions/get_web_room_uikit_integration_def.js +3 -1
- package/tools/definitions/integration-boundary.js +5 -0
- package/tools/definitions/present_framework_choice_def.js +11 -10
- package/tools/definitions/record_answer_def.js +6 -5
- package/tools/definitions/record_feedback_def.js +4 -3
- package/tools/definitions/search_trtc_knowledge_def.js +69 -0
- package/tools/index.js +5 -37
- package/tools/live/get_native_livekit_core_integration.js +1 -4
- package/tools/live/get_web_live_uikit_integration.js +2 -5
- package/tools/room/get_web_room_core_integration.js +47 -0
- package/tools/room/get_web_room_uikit_integration.js +2 -4
- package/utils/generate-structured-result.js +4 -11
- package/utils/generate-usersig.js +0 -1
- package/utils/get-device-identifier.js +0 -1
- package/utils/get-doc-content.js +14 -9
- package/utils/http-get.js +0 -1
- package/utils/http-post.js +0 -1
- package/utils/report-cls-client.js +22 -21
- package/utils/report-es-client.js +1 -2
- package/utils/report-runtime-error-cls-client.js +0 -1
- package/index.js.map +0 -1
- package/resource/doc/callkit/core-sdk/.gitkeep +0 -0
- package/resource/doc/callkit/core-sdk/android/answer-call.md +0 -942
- package/resource/doc/callkit/core-sdk/android/make-call.md +0 -876
- package/resource/doc/callkit/core-sdk/android/offline-push.md +0 -368
- package/resource/doc/callkit/core-sdk/flutter/answer-call.md +0 -1132
- package/resource/doc/callkit/core-sdk/flutter/make-call.md +0 -1206
- package/resource/doc/callkit/core-sdk/flutter/offline-push.md +0 -357
- package/resource/doc/callkit/core-sdk/ios/answer-call.md +0 -1009
- package/resource/doc/callkit/core-sdk/ios/make-call.md +0 -1154
- package/resource/doc/callkit/core-sdk/ios/offline-push.md +0 -470
- package/resource/doc/callkit/core-sdk/uni-app/answer-call.md +0 -1146
- package/resource/doc/callkit/core-sdk/uni-app/make-call.md +0 -1267
- package/resource/doc/callkit/faq/android-faq.md +0 -767
- package/resource/doc/callkit/faq/flutter-faq.md +0 -749
- package/resource/doc/callkit/faq/ios-faq.md +0 -759
- package/resource/doc/callkit/faq/web-faq.md +0 -753
- package/resource/doc/callkit/preset/android/api.md +0 -330
- package/resource/doc/callkit/preset/flutter/api.md +0 -401
- package/resource/doc/callkit/preset/ios/api.md +0 -282
- package/resource/doc/callkit/preset/ios/integration.md +0 -188
- package/resource/doc/callkit/preset/react/api.md +0 -600
- package/resource/doc/callkit/preset/react/integration.md +0 -86
- package/resource/doc/callkit/preset/vue/api.md +0 -600
- package/resource/doc/callkit/preset/vue/integration.md +0 -83
- package/resource/doc/chatkit/android/faq.md +0 -109
- package/resource/doc/chatkit/faq/android_sdk/client-api.md +0 -280
- package/resource/doc/chatkit/faq/common/product.md +0 -82
- package/resource/doc/chatkit/faq/common/server.md +0 -53
- package/resource/doc/chatkit/faq/common/server_error_code.md +0 -74
- package/resource/doc/chatkit/faq/flutter_sdk/client-api.md +0 -183
- package/resource/doc/chatkit/faq/flutter_sdk/faq.md +0 -54
- package/resource/doc/chatkit/faq/ios_sdk/client-api.md +0 -279
- package/resource/doc/chatkit/faq/web_sdk/error_code.md +0 -47
- package/resource/doc/chatkit/faq/web_sdk/faq.md +0 -292
- package/resource/doc/chatkit/flutter/faq.md +0 -22
- package/resource/doc/chatkit/ios/faq.md +0 -109
- package/resource/doc/chatkit/react/components/avatar.md +0 -104
- package/resource/doc/chatkit/react/components/chat-header.md +0 -148
- package/resource/doc/chatkit/react/components/chat-setting.md +0 -117
- package/resource/doc/chatkit/react/components/chat.md +0 -38
- package/resource/doc/chatkit/react/components/component-list.md +0 -35
- package/resource/doc/chatkit/react/components/conversation-actions.md +0 -174
- package/resource/doc/chatkit/react/components/conversation-preview.md +0 -116
- package/resource/doc/chatkit/react/components/conversation-search.md +0 -57
- package/resource/doc/chatkit/react/components/search.md +0 -282
- package/resource/doc/chatkit/react/components/tuikit.md +0 -43
- package/resource/doc/chatkit/react/faq.md +0 -26
- package/resource/doc/chatkit/vue/components/avatar.md +0 -104
- package/resource/doc/chatkit/vue/components/chat-header.md +0 -149
- package/resource/doc/chatkit/vue/components/chat.md +0 -42
- package/resource/doc/chatkit/vue/components/component-list.md +0 -89
- package/resource/doc/chatkit/vue/components/tuikit.md +0 -45
- package/resource/doc/chatkit/vue/components/userpicker.md +0 -256
- package/resource/doc/chatkit/vue/faq.md +0 -35
- package/resource/doc/livekit/core-sdk/live/android/api-reference/BarrageStore.md +0 -148
- package/resource/doc/livekit/core-sdk/live/android/api-reference/BattleStore.md +0 -316
- package/resource/doc/livekit/core-sdk/live/android/api-reference/CoGuestStore.md +0 -419
- package/resource/doc/livekit/core-sdk/live/android/api-reference/CoHostStore.md +0 -325
- package/resource/doc/livekit/core-sdk/live/android/api-reference/DeviceStore.md +0 -436
- package/resource/doc/livekit/core-sdk/live/android/api-reference/GiftStore.md +0 -165
- package/resource/doc/livekit/core-sdk/live/android/api-reference/LiveAudienceStore.md +0 -239
- package/resource/doc/livekit/core-sdk/live/android/api-reference/LiveCoreView.md +0 -74
- package/resource/doc/livekit/core-sdk/live/android/api-reference/LiveSeatStore.md +0 -417
- package/resource/doc/livekit/core-sdk/live/android/api-reference/LoginStore.md +0 -207
- package/resource/doc/livekit/core-sdk/live/flutter/api-reference/BarrageStore.md +0 -158
- package/resource/doc/livekit/core-sdk/live/flutter/api-reference/BattleStore.md +0 -304
- package/resource/doc/livekit/core-sdk/live/flutter/api-reference/CoGuestStore.md +0 -394
- package/resource/doc/livekit/core-sdk/live/flutter/api-reference/CoHostStore.md +0 -303
- package/resource/doc/livekit/core-sdk/live/flutter/api-reference/DeviceStore.md +0 -410
- package/resource/doc/livekit/core-sdk/live/flutter/api-reference/GiftStore.md +0 -160
- package/resource/doc/livekit/core-sdk/live/flutter/api-reference/LiveAudienceStore.md +0 -231
- package/resource/doc/livekit/core-sdk/live/flutter/api-reference/LiveSeatStore.md +0 -375
- package/resource/doc/livekit/core-sdk/live/flutter/api-reference/LoginStore.md +0 -170
- package/resource/doc/livekit/core-sdk/live/ios/api-reference/BarrageStore.md +0 -165
- package/resource/doc/livekit/core-sdk/live/ios/api-reference/BaseBeautyStore.md +0 -143
- package/resource/doc/livekit/core-sdk/live/ios/api-reference/BattleStore.md +0 -298
- package/resource/doc/livekit/core-sdk/live/ios/api-reference/CoGuestStore.md +0 -349
- package/resource/doc/livekit/core-sdk/live/ios/api-reference/CoHostStore.md +0 -297
- package/resource/doc/livekit/core-sdk/live/ios/api-reference/DeviceStore.md +0 -471
- package/resource/doc/livekit/core-sdk/live/ios/api-reference/GiftStore.md +0 -179
- package/resource/doc/livekit/core-sdk/live/ios/api-reference/LiveAudienceStore.md +0 -238
- package/resource/doc/livekit/core-sdk/live/ios/api-reference/LiveCoreView.md +0 -74
- package/resource/doc/livekit/core-sdk/live/ios/api-reference/LiveSeatStore.md +0 -412
- package/resource/doc/livekit/core-sdk/live/ios/api-reference/LoginStore.md +0 -173
- package/resource/doc/livekit/core-sdk/voice/android/voice-room-list.md +0 -365
- package/resource/doc/livekit/core-sdk/voice/ios/voice-room-list.md +0 -336
- package/resource/doc/livekit/preset/live/vue/api-reference/index.md +0 -780
- package/resource/doc/livekit/preset/live/vue/components/barrage.md +0 -291
- package/resource/doc/livekit/preset/live/vue/components/co-guest-panel.md +0 -88
- package/resource/doc/livekit/preset/live/vue/components/live-audience-list.md +0 -164
- package/resource/doc/livekit/preset/live/vue/components/live-scene-panel.md +0 -130
- package/resource/doc/livekit/preset/live/vue/components/live-view.md +0 -203
- package/resource/doc/livekit/preset/live/vue/components/stream-mixer.md +0 -211
- package/resource/doc/livekit/preset/live/vue/faq.md +0 -1
- package/resource/doc/roomkit/faq/common/error-code.md +0 -67
- package/resource/doc/roomkit/flutter/features/call-user-to-room.md +0 -228
- package/resource/doc/roomkit/vue/faq.md +0 -1
- package/resource/doc/roomkit/vue/features/device-state.md +0 -460
- package/resource/doc/roomkit/vue/features/room-chat.md +0 -369
- package/resource/doc/roomkit/vue/features/room-participant-state.md +0 -385
- package/resource/doc/roomkit/vue/features/room-state.md +0 -280
- package/resource/doc/roomkit/vue/features/room-view.md +0 -241
- package/resource/doc/roomkit/vue/integration.md +0 -315
- package/resource/doc/rtcengine/faq/web_sdk/.gitkeep +0 -0
- package/resource/doc/trtc/C++/ITXAudioEffectManager.md +0 -472
- package/resource/doc/trtc/C++/ITXDeviceManager.md +0 -388
- package/resource/doc/trtc/android/TXBeautyManager.md +0 -403
- package/resource/doc/trtc/iOS/TXBeautyManager.md +0 -404
- package/resource/doc/trtc/iOS/TXDeviceManager.md +0 -382
- package/server-config.js.map +0 -1
- package/server.js.map +0 -1
- package/streamable-http.js.map +0 -1
- package/tools/call/get_callkit_api.js +0 -33
- package/tools/call/get_callkit_api.js.map +0 -1
- package/tools/call/get_native_call_uikit_integration.js.map +0 -1
- package/tools/call/get_native_callkit_core_integration.js.map +0 -1
- package/tools/call/get_web_call_uikit_integration.js.map +0 -1
- package/tools/chat/get_native_chat_uikit_feature_detail.js +0 -35
- package/tools/chat/get_native_chat_uikit_feature_detail.js.map +0 -1
- package/tools/chat/get_native_chat_uikit_integration.js.map +0 -1
- package/tools/chat/get_web_chat_uikit_component_detail.js +0 -35
- package/tools/chat/get_web_chat_uikit_component_detail.js.map +0 -1
- package/tools/chat/get_web_chat_uikit_integration.js.map +0 -1
- package/tools/common/get_faq.js +0 -266
- package/tools/common/get_faq.js.map +0 -1
- package/tools/common/get_usersig.js.map +0 -1
- package/tools/common/present_framework_choice.js.map +0 -1
- package/tools/common/record_answer.js.map +0 -1
- package/tools/common/record_feedback.js.map +0 -1
- package/tools/common/record_skill_session.js +0 -69
- package/tools/common/record_skill_session.js.map +0 -1
- package/tools/definitions/get_callkit_api_def.js +0 -28
- package/tools/definitions/get_callkit_api_def.js.map +0 -1
- package/tools/definitions/get_faq_def.js +0 -40
- package/tools/definitions/get_faq_def.js.map +0 -1
- package/tools/definitions/get_native_call_uikit_integration_def.js.map +0 -1
- package/tools/definitions/get_native_callkit_core_integration_def.js.map +0 -1
- package/tools/definitions/get_native_chat_uikit_feature_detail_def.js +0 -31
- package/tools/definitions/get_native_chat_uikit_feature_detail_def.js.map +0 -1
- package/tools/definitions/get_native_chat_uikit_integration_def.js.map +0 -1
- package/tools/definitions/get_native_livekit_core_features_def.js +0 -33
- package/tools/definitions/get_native_livekit_core_features_def.js.map +0 -1
- package/tools/definitions/get_native_livekit_core_integration_def.js.map +0 -1
- package/tools/definitions/get_native_trtc_sdk_docs_def.js +0 -32
- package/tools/definitions/get_native_trtc_sdk_docs_def.js.map +0 -1
- package/tools/definitions/get_usersig_def.js.map +0 -1
- package/tools/definitions/get_web_call_uikit_integration_def.js.map +0 -1
- package/tools/definitions/get_web_chat_uikit_component_detail_def.js +0 -31
- package/tools/definitions/get_web_chat_uikit_component_detail_def.js.map +0 -1
- package/tools/definitions/get_web_chat_uikit_integration_def.js.map +0 -1
- package/tools/definitions/get_web_live_uikit_integration_def.js.map +0 -1
- package/tools/definitions/get_web_livekit_api_def.js +0 -27
- package/tools/definitions/get_web_livekit_api_def.js.map +0 -1
- package/tools/definitions/get_web_livekit_component_detail_def.js +0 -29
- package/tools/definitions/get_web_livekit_component_detail_def.js.map +0 -1
- package/tools/definitions/get_web_room_uikit_integration_def.js.map +0 -1
- package/tools/definitions/get_web_roomkit_feature_detail_def.js +0 -30
- package/tools/definitions/get_web_roomkit_feature_detail_def.js.map +0 -1
- package/tools/definitions/get_web_trtc_sdk_api_def.js +0 -25
- package/tools/definitions/get_web_trtc_sdk_api_def.js.map +0 -1
- package/tools/definitions/get_web_trtc_sdk_integration_def.js +0 -25
- package/tools/definitions/get_web_trtc_sdk_integration_def.js.map +0 -1
- package/tools/definitions/get_web_trtc_sdk_plugin_def.js +0 -25
- package/tools/definitions/get_web_trtc_sdk_plugin_def.js.map +0 -1
- package/tools/definitions/present_framework_choice_def.js.map +0 -1
- package/tools/definitions/record_answer_def.js.map +0 -1
- package/tools/definitions/record_feedback_def.js.map +0 -1
- package/tools/definitions/record_skill_session_def.js +0 -31
- package/tools/definitions/record_skill_session_def.js.map +0 -1
- package/tools/index.js.map +0 -1
- package/tools/live/get_native_livekit_core_features.js +0 -68
- package/tools/live/get_native_livekit_core_features.js.map +0 -1
- package/tools/live/get_native_livekit_core_integration.js.map +0 -1
- package/tools/live/get_web_live_uikit_integration.js.map +0 -1
- package/tools/live/get_web_livekit_api.js +0 -33
- package/tools/live/get_web_livekit_api.js.map +0 -1
- package/tools/live/get_web_livekit_component_detail.js +0 -35
- package/tools/live/get_web_livekit_component_detail.js.map +0 -1
- package/tools/room/get_web_room_uikit_integration.js.map +0 -1
- package/tools/room/get_web_roomkit_feature_detail.js +0 -69
- package/tools/room/get_web_roomkit_feature_detail.js.map +0 -1
- package/tools/rtcengine/get_web_trtc_sdk_api.js +0 -32
- package/tools/rtcengine/get_web_trtc_sdk_api.js.map +0 -1
- package/tools/rtcengine/get_web_trtc_sdk_integration.js +0 -32
- package/tools/rtcengine/get_web_trtc_sdk_integration.js.map +0 -1
- package/tools/rtcengine/get_web_trtc_sdk_plugin.js +0 -32
- package/tools/rtcengine/get_web_trtc_sdk_plugin.js.map +0 -1
- package/tools/trtc/get_native_trtc_sdk_docs.js +0 -74
- package/tools/trtc/get_native_trtc_sdk_docs.js.map +0 -1
- package/utils/build-session-directives.js +0 -122
- package/utils/build-session-directives.js.map +0 -1
- package/utils/generate-structured-result.js.map +0 -1
- package/utils/generate-usersig.js.map +0 -1
- package/utils/get-device-identifier.js.map +0 -1
- package/utils/get-doc-content.js.map +0 -1
- package/utils/handle-framework.js +0 -9
- package/utils/handle-framework.js.map +0 -1
- package/utils/handle-state-name.js +0 -29
- package/utils/handle-state-name.js.map +0 -1
- package/utils/http-get.js.map +0 -1
- package/utils/http-post.js.map +0 -1
- package/utils/report-cls-client.js.map +0 -1
- package/utils/report-es-client.js.map +0 -1
- package/utils/report-runtime-error-cls-client.js.map +0 -1
- /package/resource/{doc/callkit/faq/common → knowledge/callkit/faq}/error-code.md +0 -0
- /package/resource/{doc/livekit/faq/common → knowledge/livekit/faq}/error-code.md +0 -0
- /package/resource/{doc → knowledge}/rtcengine/web/api.md +0 -0
- /package/resource/{doc/rtcengine/faq/web/web.md → knowledge/rtcengine/web/faq.md} +0 -0
- /package/resource/{doc → knowledge}/rtcengine/web/how_to_integrated_web_sdk.md +0 -0
- /package/resource/{doc → knowledge}/rtcengine/web/plugin/20-advanced-customized-capture-rendering.md +0 -0
- /package/resource/{doc → knowledge}/rtcengine/web/plugin/28-advanced-beauty.md +0 -0
- /package/resource/{doc → knowledge}/rtcengine/web/plugin/29-advanced-water-mark.md +0 -0
- /package/resource/{doc → knowledge}/rtcengine/web/plugin/30-advanced-cross-room-link.md +0 -0
- /package/resource/{doc → knowledge}/rtcengine/web/plugin/34-advanced-proxy.md +0 -0
- /package/resource/{doc → knowledge}/rtcengine/web/plugin/35-advanced-ai-denoiser.md +0 -0
- /package/resource/{doc → knowledge}/rtcengine/web/plugin/36-advanced-virtual-background.md +0 -0
- /package/resource/{doc → knowledge}/rtcengine/web/plugin/37-advanced-voice-changer.md +0 -0
- /package/resource/{doc → knowledge}/rtcengine/web/plugin/38-advanced-basic-beauty.md +0 -0
- /package/resource/{doc → knowledge}/rtcengine/web/plugin/39-advanced-video-decoder.md +0 -0
- /package/resource/{doc → knowledge}/rtcengine/web/plugin/40-advanced-video-mixer.md +0 -0
- /package/resource/{doc → knowledge}/rtcengine/web/plugin/41-advanced-small-stream-auto-switcher.md +0 -0
- /package/resource/{doc → knowledge}/rtcengine/web/plugin/42-advanced-realtime-transcriber.md +0 -0
- /package/resource/{doc → knowledge}/rtcengine/web/plugin/43-advanced-face-detection.md +0 -0
- /package/resource/{doc/rtcengine/faq/common → knowledge/share}/userSig.md +0 -0
|
@@ -1,749 +0,0 @@
|
|
|
1
|
-
# ALL
|
|
2
|
-
|
|
3
|
-
### 音视频通话功能出现了未开通的错误提示?
|
|
4
|
-
|
|
5
|
-
您可以选择体验版(7 天试用)或者购买正式版。
|
|
6
|
-
|
|
7
|
-
##### **对于体验版**
|
|
8
|
-
|
|
9
|
-
进入 [即时通信 IM 控制台](https://console.cloud.tencent.com/im) 的配置页面,并在页面的右下角找到开通腾讯实时音视频服务功能区,单击**免费体验**,选择**领取7天试用,**即可开通 TUICallKit 的 7 天免费试用服务,成为体验版。
|
|
10
|
-
|
|
11
|
-
##### **对于正式版**
|
|
12
|
-
|
|
13
|
-
如果您体验过 7 天体验期后,需要购买正式套餐。IM 音视频通话能力针对不同的业务需求提供了差异化的付费版本供您选择,您可以在 [IM 购买页](https://buy.cloud.tencent.com/avc) 了解包含功能并选购您适合的版本。
|
|
14
|
-
|
|
15
|
-
### 在 TUIChat + TUICallKit 融合场景下,升级 TUICallKit 版本后出现新版本呼叫旧版本,旧版本无法收到通话问题?
|
|
16
|
-
|
|
17
|
-
TUICallKit 3.1 版本起,在 TUIChat + TUICallKit 融合场景下,通过 TUIChat 中的通话按钮发起通话默认使用 calls 新接口,所以如果您的业务已经上线,您可以通过高级接口将通话接口切换为 call、groupCall,用来保持与线上版本的用户互通。
|
|
18
|
-
|
|
19
|
-
您需要在登录成功后调用一次高级接口,各个平台的具体使用为:
|
|
20
|
-
|
|
21
|
-
【Flutter(Dart)】
|
|
22
|
-
``` java
|
|
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;
|
|
31
|
-
}
|
|
32
|
-
```
|
|
33
|
-
|
|
34
|
-
### TUICalling 如何升级到 TUICallKit?
|
|
35
|
-
|
|
36
|
-
TUICallKit 是腾讯云推出一款新的音视频通话 UI 组件,**是 TUICalling 的升级版本**,支持群组通话、AI 降噪等更多功能特性、支持全平台间互通呼叫,功能更加稳定。 从 TUICalling 升级到 TUICallKit 您可以参考:
|
|
37
|
-
|
|
38
|
-
- Flutter 升级方案
|
|
39
|
-
|
|
40
|
-
### 报错 inviteID 无效或邀请已处理
|
|
41
|
-
|
|
42
|
-
该 inviteID 已经被主叫方取消,或者该邀请已经被接受。由于信令发送受网络带宽等诸多因素影响,在极端情况下(accept 与 reject 接口重复调用)可能会导致 inviteID 无效的错误。
|
|
43
|
-
|
|
44
|
-
### 消息发送方或接收方 UserID 无效或不存在
|
|
45
|
-
|
|
46
|
-
您呼叫的用户还没有登录过 TIM,导致呼叫失败,请尝试呼叫已经登录成功过的用户。
|
|
47
|
-
|
|
48
|
-
### TUICallKit 是否可以不引入 IM SDK,只使用 TRTC?
|
|
49
|
-
|
|
50
|
-
**不可以**,TUIKit 全系组件都使用了腾讯云 IM SDK 作为通信的基础服务,比如通话拨打信令、通话忙线信令等核心逻辑,如果您已经购买有其他 IM 产品,也可以参照 TUICallKit 逻辑进行适配。
|
|
51
|
-
|
|
52
|
-
### 如何购买音视频通话套餐?
|
|
53
|
-
|
|
54
|
-
请参考购买链接 [音视频通话 SDK 价格总览](https://cloud.tencent.com/document/product/1640/79968),如有其他问题,请点击页面右侧,进行售前套餐咨询;或者加入 QQ 群:**605115878**,进行咨询和反馈。
|
|
55
|
-
|
|
56
|
-
### **如何获取通话的房间号 Roomid?**
|
|
57
|
-
|
|
58
|
-
通话接通后,您可以通过 [onCallBegin](https://cloud.tencent.com/document/product/647/78751#oncallbegin) 返回 roomid 字段进行获取。
|
|
59
|
-
|
|
60
|
-
### 查询用户在线状态
|
|
61
|
-
|
|
62
|
-
TUICallKit 底层通过 IM 管理用户,可以通过 IM 查询用户的在线状态,方式有以下两种:
|
|
63
|
-
- **方式一:**通过 getUserStatus 高级接口查询
|
|
64
|
-
|
|
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)),您可以调用不同平台的接口去查询。
|
|
66
|
-
|
|
67
|
-
> **注意:**
|
|
68
|
-
>
|
|
69
|
-
> - 查询其他用户状态需要升级 TUICallKit 套餐包到**群组通话版本**。
|
|
70
|
-
> - 查询其他用户状态需要提前在 [即时通信 IM 控制台](https://console.cloud.tencent.com/im) 开启 “用户状态查询及状态变更通知”。不开启,调用`getUserStatus`会报错。
|
|
71
|
-
|
|
72
|
-
>
|
|
73
|
-
>
|
|
74
|
-
|
|
75
|
-
getUserStatus接口的返回结果有以下几种:
|
|
76
|
-
|
|
77
|
-
- 未知(UNKNOWN)
|
|
78
|
-
|
|
79
|
-
- 在线(ONLINE):当前用户已登录上线,通常情况下,该用户可以正常收到通话请求。
|
|
80
|
-
|
|
81
|
-
- 离线(OFFLINE):用户未主动调用`logout`退出登录,但长连接中断的状态。通常情况下,若接入了离线推送,该用户可以收到离线推送的消息。
|
|
82
|
-
|
|
83
|
-
- 未登录(UNLOGINED):用户注册账号后从未登录过,或者用户主动调用`logout`退出登录,该用户收不到通话请求。
|
|
84
|
-
|
|
85
|
-
- **方式二:**通过 rest-api 进行查询
|
|
86
|
-
|
|
87
|
-
详情可参考:[查询账号在线状态](https://cloud.tencent.com/document/product/269/2566)。
|
|
88
|
-
|
|
89
|
-
### **音视频通话信令里各字段常见问题?**
|
|
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 |
|
|
99
|
-
|
|
100
|
-
# Web
|
|
101
|
-
> **说明:**
|
|
102
|
-
>
|
|
103
|
-
> - 如果并没有解决您的问题,也欢迎您加入我们的 TUICallKit 技术交流 QQ 群: **605115878 **来进行交流讨论。
|
|
104
|
-
> - 我们团队即将在 Web 端丰富更多不同的组件,以满足您的开发需求。
|
|
105
|
-
|
|
106
|
-
> 希望您能抽出几分钟时间,为您自己的需求投上一票,我们将优先开发!
|
|
107
|
-
>
|
|
108
|
-
|
|
109
|
-
## 一、基础环境问题
|
|
110
|
-
|
|
111
|
-
> **说明:**
|
|
112
|
-
>
|
|
113
|
-
|
|
114
|
-
> 以下问题对于 TUICallKit 与 TUICallEngine SDK 同样适用。
|
|
115
|
-
>
|
|
116
|
-
|
|
117
|
-
### TUICallEngine 和 TUICallKit 分别是什么?
|
|
118
|
-
|
|
119
|
-
TUICallKit 是含 UI 音视频通话组件,底层是用 TUICallEngine SDK,目前支持 Typescript+Vue2 / Typescript+Vue3,可直接将组件放到页面中,调用简单的接口即可直接实现音视频通话,开源地址为:[TUICallKit/Web](https://github.com/tencentyun/TUICallKit/tree/main/Web)。
|
|
120
|
-
|
|
121
|
-
TUICallEngine SDK 是音视频通话组件的无 UI SDK,如果 TUICallKit 的交互并不满足您的需求,您可以使用这套接口自己封装交互。npm 地址为 [@tencentcloud/call-engine-js](https://www.npmjs.com/package/@tencentcloud/call-engine-js)。
|
|
122
|
-
|
|
123
|
-
### Web 端支持哪些浏览器?报错“获取设备权限失败”?
|
|
124
|
-
|
|
125
|
-
请先确保页面已被授权使用麦克风或摄像头,参见 [设备授权说明](https://web.sdk.qcloud.com/trtc/webrtc/doc/zh-cn/tutorial-05-info-browser.html#h2-5)。
|
|
126
|
-
|
|
127
|
-
对浏览器的详细支持度,请参见 [浏览器兼容信息](https://web.sdk.qcloud.com/trtc/webrtc/doc/zh-cn/tutorial-05-info-browser.html#h2-2)。
|
|
128
|
-
|
|
129
|
-
对于上述没有列出的环境,您可以在需要检测的浏览器打开 [能力测试](https://web.sdk.qcloud.com/trtc/webrtc/demo/detect/index.html) 测试是否完整的支持 WebRTC 的功能。
|
|
130
|
-
|
|
131
|
-
### 为什么本地开发测试能正常使用,但是部署到线上用 IP 访问后无法正常视频/语音通话?
|
|
132
|
-
- **对网站域名协议的要求**
|
|
133
|
-
|
|
134
|
-
出于对用户安全、隐私等问题的考虑,浏览器限制网页在 HTTPS 协议下才能正常使用本文档中所对接组件的全部功能。为确保生产环境中的用户能够顺畅体验产品功能,请将您的网站部署在 `https://` 协议的域名下。更多请参见 [页面访问协议说明](https://web.sdk.qcloud.com/trtc/webrtc/doc/zh-cn/tutorial-05-info-browser.html#h2-3)。
|
|
135
|
-
|
|
136
|
-
- **对网络环境的要求**
|
|
137
|
-
|
|
138
|
-
在使用 TUICallKit 时,用户可能因防火墙限制导致无法正常进行音视频通话,请参考 [应对防火墙策略](https://web.sdk.qcloud.com/trtc/webrtc/doc/zh-cn/tutorial-05-info-browser.html#h2-4) 将相应端口及域名添加至防火墙白名单中。
|
|
139
|
-
|
|
140
|
-
### 在接通过程中报:"is not included in the current tim's package"?
|
|
141
|
-
|
|
142
|
-
TUICallKit(含 TUICallEngine SDK)依赖的 `tim-js-sdk` 版本需要 ≥ 2.21.2。
|
|
143
|
-
|
|
144
|
-
如果 `tim-js-sdk` 依赖包版本正确,则可能是 SDKAppID 未购买音视频套餐或套餐包不支持所调用的功能,请访问 [音视频通话功能出现了未开通的错误提示](https://cloud.tencent.com/document/product/647/84363)。
|
|
145
|
-
|
|
146
|
-
### TUICallKit(含 TUICallEngine)是否支持接收离线消息?
|
|
147
|
-
|
|
148
|
-
不支持接收离线消息。
|
|
149
|
-
|
|
150
|
-
支持离线消息推送,可以通过 call / groupCall 中的 offlinePushInfo 添加需要推送的消息。
|
|
151
|
-
|
|
152
|
-
### TUICallEngine init 未完成,需要在 init 完成后使用此API
|
|
153
|
-
|
|
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)。
|
|
155
|
-
|
|
156
|
-
> **注意:**
|
|
157
|
-
>
|
|
158
|
-
|
|
159
|
-
> [TUICallEngine login](https://web.sdk.qcloud.com/component/trtccalling/doc/TUICallEngine/web/TUICallEngine.html#login) 是一个异步接口,避免在 login 还未完成,直接调用 TUICallEngine 的接口。
|
|
160
|
-
>
|
|
161
|
-
|
|
162
|
-
### 当前通话状态无法使用该 API
|
|
163
|
-
|
|
164
|
-
API 与通话状态对照表:
|
|
165
|
-
| API | idle | calling | connected |
|
|
166
|
-
| --- | --- | --- | --- |
|
|
167
|
-
| call | ✓ | × | × |
|
|
168
|
-
| groupCall | ✓ | × | × |
|
|
169
|
-
| accept | × | ✓ | × |
|
|
170
|
-
| reject | × | ✓ | × |
|
|
171
|
-
| hangup | × | ✓ | ✓ |
|
|
172
|
-
| inviteUser | × | ✓ | ✓ |
|
|
173
|
-
| joinInGroupCall | ✓ | × | × |
|
|
174
|
-
|
|
175
|
-
## 二、TUICallKit 问题(含 UI)
|
|
176
|
-
|
|
177
|
-
### 1. TUICallKit Web 支持什么框架?支持 H5 吗?
|
|
178
|
-
|
|
179
|
-
TUICallKit 适用于 `Vue2.7 + Typescript` 或者 `Vue3 + Typescript` 项目,若您采用其他语言或者技术栈,请访问 [界面定制指引](https://cloud.tencent.com/document/product/647/81014)。
|
|
180
|
-
|
|
181
|
-
TUICallKit 支持 H5,通过页面 UA 自动修改适应移动端的布局,为了移动端的良好体验,推荐通过修改 CSS 在 H5 时将 `<TUICallKit/>` 组件放大至全屏。
|
|
182
|
-
|
|
183
|
-
### 2. TUICallKit 打包失败?
|
|
184
|
-
|
|
185
|
-
对于 Vite 项目,您需要在 `vite.config.js` 中添加 `base: "./"`。
|
|
186
|
-
|
|
187
|
-
对于 Vue-CLI 创建的 webpack 项目,您需要在 `vue.config.js` 中添加 `publicPath: "./"`。
|
|
188
|
-
|
|
189
|
-
### 3. TUICallKit 报错“获取设备权限失败”?
|
|
190
|
-
|
|
191
|
-
请先确保页面已被授权使用麦克风或摄像头,参见 [设备授权说明](https://web.sdk.qcloud.com/trtc/webrtc/doc/zh-cn/tutorial-05-info-browser.html#h2-5)。
|
|
192
|
-
|
|
193
|
-
可以尝试 Github Demo 是否可以正常通话,然后在 [设备检测页面](https://web.sdk.qcloud.com/trtc/webrtc/demo/detect/index.html) 检查是否支持 webrtc。
|
|
194
|
-
|
|
195
|
-
### 4. timeout 字段设置无效原因?
|
|
196
|
-
|
|
197
|
-
该字段目前在 call / groupcall API 中会被使用到。
|
|
198
|
-
|
|
199
|
-
**目前全平台 TUICallKit 的策略是被叫登录后,仅拉取 30s 内的历史消息。**所以被叫登录后无法拉到主叫 30s 前的呼叫信息,从而导致被叫无法拉起邀请页面进行通话。
|
|
200
|
-
|
|
201
|
-
### 5. 视频通话切换大小屏出现闪屏现象?
|
|
202
|
-
|
|
203
|
-
ios 17 设备和 WebRTC 底层兼容性问题,等待后续修复。
|
|
204
|
-
|
|
205
|
-
### 6. safari 浏览器省电模式出现暂停键?
|
|
206
|
-
|
|
207
|
-
浏览器层面针对省电模式的视频播放策略,SDK 无法处理。
|
|
208
|
-
|
|
209
|
-
### 7.如何生成 UserSig?
|
|
210
|
-
|
|
211
|
-
UserSig 是腾讯云为其云服务设计的一种安全保护签名,是一种登录凭证,由 SDKAppID 与 SecretKey 等信息组合加密得到。
|
|
212
|
-
- **方式一:**控制台获取,参考 [获取临时 userSig](https://console.cloud.tencent.com/trtc/usersigtool)。
|
|
213
|
-
|
|
214
|
-
- **方式二:**部署临时生成脚本。
|
|
215
|
-
|
|
216
|
-
> **警告:**
|
|
217
|
-
>
|
|
218
|
-
|
|
219
|
-
> 此方式是在前端代码中配置 SecretKey,该方法中 SecretKey 很容易被反编译逆向破解,一旦您的密钥泄露,攻击者就可以盗用您的腾讯云流量,因此**该方法仅适合本地跑通功能调试**,生产环境请看方式三。
|
|
220
|
-
>
|
|
221
|
-
|
|
222
|
-
为方便初期调试,userSig 可临时使用 `GenerateTestUserSig-es.js` 中 `genTestUserSig(params)` 函数来计算 ,例如:
|
|
223
|
-
|
|
224
|
-
``` javascript
|
|
225
|
-
import { genTestUserSig } from "@tencentcloud/call-uikit-vue/debug/GenerateTestUserSig-es.js";
|
|
226
|
-
const { userSig } = genTestUserSig({ userID: "Alice", SDKAppID: 0, SecretKey: "YOUT_SECRETKEY" });
|
|
227
|
-
```
|
|
228
|
-
- **方式三:**正式环境使用。
|
|
229
|
-
|
|
230
|
-
正确的 UserSig 签发方式是将 UserSig 的计算代码集成到您的服务端,并提供面向项目的接口,在需要 UserSig 时由您的项目向业务服务器发起请求获取动态 UserSig。更多详情请参见 [服务端生成 UserSig](https://cloud.tencent.com/document/product/269/32688#GeneratingdynamicUserSig)。
|
|
231
|
-
|
|
232
|
-
### 8.如何创建 userID?
|
|
233
|
-
- 通过 userID 与 UserSig 登录过一次,会默认创建该用户。
|
|
234
|
-
|
|
235
|
-
- 通过 [即时通信 IM 控制台](https://console.cloud.tencent.com/im) 进行创建和获取,单击目标应用卡片,进入应用的账号管理页面,也可创建账号并获取 userID。
|
|
236
|
-
|
|
237
|
-
### 9.
|
|
238
|
-
|
|
239
|
-
**解决源码拷贝可能导致的报错**
|
|
240
|
-
|
|
241
|
-
【ESLint 报错】
|
|
242
|
-
|
|
243
|
-
若 TUICallKit 与您项目的代码风格不一致导致报错,可将本组件目录屏蔽,如在项目根目录增加 `.eslintignore` 文件,如:
|
|
244
|
-
``` plaintext
|
|
245
|
-
# .eslintignore
|
|
246
|
-
src/components/TUICallKit
|
|
247
|
-
```
|
|
248
|
-
|
|
249
|
-
【TypeScript 报错】
|
|
250
|
-
|
|
251
|
-
如遇 `Cannot find module '../package.json'`报错,是因为 TUICallKit 内引用了 JSON 文件,可在`tsconfig.json`中添加相关配置。
|
|
252
|
-
|
|
253
|
-
其他 TSConfig 问题请参见 [TSConfig Reference](https://www.typescriptlang.org/tsconfig)。
|
|
254
|
-
``` json
|
|
255
|
-
{
|
|
256
|
-
"compilerOptions": {
|
|
257
|
-
"resolveJsonModule": true
|
|
258
|
-
}
|
|
259
|
-
}
|
|
260
|
-
```
|
|
261
|
-
|
|
262
|
-
### 10. 如何源码集成 TUICallKit?
|
|
263
|
-
|
|
264
|
-
#### 步骤一:下载 TUICallKit 组件源码及相关插件
|
|
265
|
-
|
|
266
|
-
【Vue3】
|
|
267
|
-
``` bash
|
|
268
|
-
npm install @tencentcloud/call-uikit-vue
|
|
269
|
-
```
|
|
270
|
-
|
|
271
|
-
【Vue2.7】
|
|
272
|
-
``` bash
|
|
273
|
-
npm install @tencentcloud/call-uikit-vue2
|
|
274
|
-
```
|
|
275
|
-
|
|
276
|
-
【Vue2.6】
|
|
277
|
-
``` plaintext
|
|
278
|
-
npm install @tencentcloud/call-uikit-vue2.6 @vue/composition-api
|
|
279
|
-
```
|
|
280
|
-
|
|
281
|
-
源码集成需要安装 [unplugin-vue2-script-setup](https://www.npmjs.com/package/unplugin-vue2-script-setup) 插件。
|
|
282
|
-
``` bash
|
|
283
|
-
npm i -D unplugin-vue2-script-setup
|
|
284
|
-
```
|
|
285
|
-
|
|
286
|
-
修改构建工具配置文件。
|
|
287
|
-
|
|
288
|
-
【Vue Cli】
|
|
289
|
-
``` javascript
|
|
290
|
-
// vue.config.js
|
|
291
|
-
const ScriptSetup = require('unplugin-vue2-script-setup/webpack').default
|
|
292
|
-
|
|
293
|
-
module.exports = {
|
|
294
|
-
parallel: false, // disable thread-loader, which is not compactible with this plugin
|
|
295
|
-
configureWebpack: {
|
|
296
|
-
plugins: [
|
|
297
|
-
ScriptSetup({ /* options */ }),
|
|
298
|
-
],
|
|
299
|
-
},
|
|
300
|
-
}
|
|
301
|
-
```
|
|
302
|
-
|
|
303
|
-
【vite】
|
|
304
|
-
``` javascript
|
|
305
|
-
// vite.config.ts
|
|
306
|
-
import { defineConfig } from 'vite'
|
|
307
|
-
import { createVuePlugin as Vue2 } from 'vite-plugin-vue2'
|
|
308
|
-
import ScriptSetup from 'unplugin-vue2-script-setup/vite'
|
|
309
|
-
|
|
310
|
-
export default defineConfig({
|
|
311
|
-
plugins: [
|
|
312
|
-
Vue2(),
|
|
313
|
-
ScriptSetup({ /* options */ }),
|
|
314
|
-
],
|
|
315
|
-
})
|
|
316
|
-
|
|
317
|
-
```
|
|
318
|
-
|
|
319
|
-
【Webpack】
|
|
320
|
-
``` javascript
|
|
321
|
-
// webpack.config.js
|
|
322
|
-
const ScriptSetup = require('unplugin-vue2-script-setup/webpack').default
|
|
323
|
-
|
|
324
|
-
module.exports = {
|
|
325
|
-
/* ... */
|
|
326
|
-
plugins: [
|
|
327
|
-
ScriptSetup({ /* options */ }),
|
|
328
|
-
]
|
|
329
|
-
}
|
|
330
|
-
```
|
|
331
|
-
|
|
332
|
-
#### 步骤二:源码集成 TUICallKit 组件包
|
|
333
|
-
|
|
334
|
-
将源码拷贝到自己的项目中,以拷贝到`src/components/`目录为例:
|
|
335
|
-
|
|
336
|
-
【macOS + Vue3】
|
|
337
|
-
``` html
|
|
338
|
-
mkdir -p ./src/components/TUICallKit && cp -r ./node_modules/@tencentcloud/call-uikit-vue/* ./src/components/TUICallKit
|
|
339
|
-
```
|
|
340
|
-
|
|
341
|
-
【macOS + Vue2】
|
|
342
|
-
``` html
|
|
343
|
-
mkdir -p ./src/components/TUICallKit && cp -r ./node_modules/@tencentcloud/call-uikit-vue2/* ./src/components/TUICallKit
|
|
344
|
-
```
|
|
345
|
-
|
|
346
|
-
【Windows + Vue3】
|
|
347
|
-
``` html
|
|
348
|
-
xcopy .\node_modules\@tencentcloud\call-uikit-vue .\src\components\TUICallKit /i /e
|
|
349
|
-
```
|
|
350
|
-
|
|
351
|
-
【Windows + Vue2】
|
|
352
|
-
``` html
|
|
353
|
-
xcopy .\node_modules\@tencentcloud\call-uikit-vue2 .\src\components\TUICallKit /i /e
|
|
354
|
-
```
|
|
355
|
-
|
|
356
|
-
#### 步骤三:修改 TUICallKit 引入路径
|
|
357
|
-
|
|
358
|
-
修改 TUICallKit 引入路径为本地文件引入。
|
|
359
|
-
|
|
360
|
-
> **注意:**
|
|
361
|
-
>
|
|
362
|
-
|
|
363
|
-
> 此方法可能与您的 ESLint、TypeScript 配置冲突,若出现报错,可参见 解决源码拷贝导致的报错。
|
|
364
|
-
>
|
|
365
|
-
|
|
366
|
-
``` typescript
|
|
367
|
-
import { TUICallKit, TUICallKitServer } from "./components/TUICallKit/src/index";
|
|
368
|
-
```
|
|
369
|
-
|
|
370
|
-
接下来请参见上面的步骤及说明,使用 TUICallKit 组件提供的功能。
|
|
371
|
-
|
|
372
|
-
## 三、套餐问题
|
|
373
|
-
|
|
374
|
-
### 1. 错误提示“The package you purchased does not support this ability”?
|
|
375
|
-
|
|
376
|
-
由于您当前应用的音视频通话能力包过期或未开通,请参见 [开通服务](https://cloud.tencent.com/document/product/647/104662),领取或者开通音视频通话能力,进而继续使用 TUICallKit 组件。
|
|
377
|
-
|
|
378
|
-
### 2. 如何购买套餐?
|
|
379
|
-
|
|
380
|
-
请参考购买链接 [音视频通话 SDK 价格总览](https://cloud.tencent.com/document/product/1640/79968),如有其他问题,请点击页面右侧,进行售前套餐咨询,或 [进入 IM 社群](https://zhiliao.qq.com/) 进行咨询和反馈。
|
|
381
|
-
|
|
382
|
-
## 四、内网代理
|
|
383
|
-
|
|
384
|
-
### 内网的环境下如何使用 callkit?
|
|
385
|
-
1. 通过 getTRTCCloudInstance 获取 TRTCCloud 实例。
|
|
386
|
-
|
|
387
|
-
> **注意:**
|
|
388
|
-
>
|
|
389
|
-
|
|
390
|
-
> **v3.1.3+ 支持。**
|
|
391
|
-
>
|
|
392
|
-
|
|
393
|
-
``` javascript
|
|
394
|
-
const trtcCloud = TUICallKitServer.getTUICallEngineInstance().getTRTCCloudInstance();
|
|
395
|
-
```
|
|
396
|
-
2. 通过 TRTCCloud 实例调用 callExperimentalAPI 完成代理服务器的设置(注意:需要在通话前调用)。具体如下:
|
|
397
|
-
|
|
398
|
-
``` javascript
|
|
399
|
-
trtcCloud.callExperimentalAPI(JSON.stringify({
|
|
400
|
-
api: 'setNetworkProxy',
|
|
401
|
-
params: {
|
|
402
|
-
websocketProxy: 'wss://proxy.example.com/ws/',
|
|
403
|
-
turnServer: [{
|
|
404
|
-
url: '14.3.3.3:3478',
|
|
405
|
-
username: 'turn',
|
|
406
|
-
credential: 'turn',
|
|
407
|
-
}],
|
|
408
|
-
iceTransportPolicy: 'relay',
|
|
409
|
-
},
|
|
410
|
-
}));
|
|
411
|
-
```
|
|
412
|
-
|
|
413
|
-
> **注意:**
|
|
414
|
-
>
|
|
415
|
-
|
|
416
|
-
> TRTC 应对防火墙受限参见 [设置代理服务器](https://web.sdk.qcloud.com/component/trtccalling/doc/TUICallEngine/web/zh-cn/tutorial-11-set_proxy_server.html)。
|
|
417
|
-
>
|
|
418
|
-
|
|
419
|
-
## 五、其它
|
|
420
|
-
|
|
421
|
-
### 1. 如何关闭美颜?
|
|
422
|
-
- web 端默认无美颜。
|
|
423
|
-
|
|
424
|
-
- 小程序端调用 [setBeautyLevel API](https://cloud.tencent.com/document/product/647/78761#setBeautyLevel),传入参数为0时,会关闭默认美颜。
|
|
425
|
-
|
|
426
|
-
``` javascript
|
|
427
|
-
TUICallKitServer.getTUICallEngineInstance().setBeautyLevel(0);
|
|
428
|
-
```
|
|
429
|
-
|
|
430
|
-
# Android
|
|
431
|
-
### TUICallKit 是否可以不引入 IM SDK,只使用 TRTC?
|
|
432
|
-
|
|
433
|
-
**不可以**,TUIKit 全系组件都使用了腾讯云 IM SDK 作为通信的基础服务,例如通话拨打信令、通话忙线信令等核心逻辑,如果您已经购买有其他 IM 产品,也可以参照 TUICallKit 逻辑进行适配。
|
|
434
|
-
|
|
435
|
-
### 错误提示“The package you purchased does not support this ability”?
|
|
436
|
-
|
|
437
|
-
如遇以上错误提示,是由于您当前应用的音视频通话能力包过期或未开通,请参见 开通服务,领取或者开通音视频通话能力,进而继续使用 TUICallKit 组件。
|
|
438
|
-
|
|
439
|
-
### 如何购买音视频通话套餐?
|
|
440
|
-
|
|
441
|
-
请参考购买链接 [音视频通话 SDK 价格总览](https://cloud.tencent.com/document/product/1640/79968),如有其他问题,请点击页面右侧,进行售前套餐咨询;或者加入 QQ 群:**605115878**,进行咨询和反馈。
|
|
442
|
-
|
|
443
|
-
### TUICallKit 崩溃,崩溃日志:"No implementation found for xxxx"?
|
|
444
|
-
|
|
445
|
-
堆栈信息如下:
|
|
446
|
-
``` java
|
|
447
|
-
java.lang.UnsatisfiedLinkError: No implementation found for void com.tencent.liteav.base.Log.nativeWriteLogToNative(int, java.lang.String, java.lang.String) (tried Java_com_tencent_liteav_base_Log_nativeWriteLogToNative and Java_com_tencent_liteav_base_Log_nativeWriteLogToNative__ILjava_lang_String_2Ljava_lang_String_2)
|
|
448
|
-
at com.tencent.liteav.base.Log.nativeWriteLogToNative(Native Method)
|
|
449
|
-
at com.tencent.liteav.base.Log.i(SourceFile:177)
|
|
450
|
-
at com.tencent.liteav.basic.log.TXCLog.i(SourceFile:36)
|
|
451
|
-
at com.tencent.liteav.trtccalling.model.impl.base.TRTCLogger.i(TRTCLogger.java:15)
|
|
452
|
-
at com.tencent.liteav.trtccalling.model.impl.ServiceInitializer.init(ServiceInitializer.java:36)
|
|
453
|
-
at com.tencent.liteav.trtccalling.model.impl.ServiceInitializer.onCreate(ServiceInitializer.java:101)
|
|
454
|
-
at android.content.ContentProvider.attachInfo(ContentProvider.java:2097)
|
|
455
|
-
at android.content.ContentProvider.attachInfo(ContentProvider.java:2070)
|
|
456
|
-
at android.app.ActivityThread.installProvider(ActivityThread.java:8168)
|
|
457
|
-
at android.app.ActivityThread.installContentProviders(ActivityThread.java:7709)
|
|
458
|
-
at android.app.ActivityThread.handleBindApplication(ActivityThread.java:7573)
|
|
459
|
-
at android.app.ActivityThread.access$2600(ActivityThread.java:260)
|
|
460
|
-
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2435)
|
|
461
|
-
at android.os.Handler.dispatchMessage(Handler.java:110)
|
|
462
|
-
at android.os.Looper.loop(Looper.java:219)
|
|
463
|
-
at android.app.ActivityThread.main(ActivityThread.java:8668)
|
|
464
|
-
at java.lang.reflect.Method.invoke(Native Method)
|
|
465
|
-
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:513)
|
|
466
|
-
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1109)
|
|
467
|
-
```
|
|
468
|
-
|
|
469
|
-
> **注意:**
|
|
470
|
-
>
|
|
471
|
-
|
|
472
|
-
> 上述异常,是因为 TUICallKit 依赖的 TRTC 等 SDK 部分接口使用了 JNI 实现,Android Studio 在某些条件进行编译 APK 的时候可能并不会把 Native 的 .so 库打包进去,导致出现这类报错,重新 Clean 一下工程,卸载重装即可。
|
|
473
|
-
>
|
|
474
|
-
|
|
475
|
-
### allowBackup 异常?
|
|
476
|
-
- **报错信息**:`Manifest merger failed : Attribute application@allowBackup value=(true) from AndroidManifest.xml`
|
|
477
|
-
|
|
478
|
-
- **问题原因**:TUICallKit 依赖的 IM SDK 中默认 allowBackup 的值为 false ,表示关闭应用的备份和恢复功能。
|
|
479
|
-
|
|
480
|
-
- **解决方法**:您可以在您工程的 `AndroidManifest.xml` 文件中删除 allowBackup 属性或将该属性改为 false,表示关闭备份和恢复功能;也可以在 `AndroidManifest.xml` 文件的 application 节点中添加 `tools:replace="android:allowBackup";` 表示覆盖 IM SDK 的设置,使用您自己的设置。
|
|
481
|
-
|
|
482
|
-
### TUICallKit 是否支持离线推送呢?
|
|
483
|
-
|
|
484
|
-
**支持**,Android 离线推送采用腾讯云的**TIMPush推送插件**以及**自集成推送**,接入方式详见:离线唤醒。
|
|
485
|
-
|
|
486
|
-
### 在通话邀请超时时间内,被邀请者如果离线再上线,能否弹出通话界面?
|
|
487
|
-
|
|
488
|
-
单人通话时,如果在超时时间内上线,会触发来电邀请;群组通话,如果在超时时间内上线,会拉起未处理的20条群消息,如果存在通话邀请,则触发来电邀请。在不同的版本上来电的显示策略有所不同(详见下方:被叫端来电显示策略)。
|
|
489
|
-
|
|
490
|
-
### 应用在后台时,不能自动将通话界面拉取到前台
|
|
491
|
-
1. TUICallKit 2.3 及以上版本([Android&iOS 发布日志](https://cloud.tencent.com/document/product/647/80931))调整了被叫端的来电显示策略,见下方:被叫端来电显示策略。
|
|
492
|
-
|
|
493
|
-
2. TUICallKit 2.3 版本之前,将应用从后台自动拉取到前台,需要检查 App 是否开启了“后台自启动”或“悬浮窗”权限。
|
|
494
|
-
|
|
495
|
-
不同厂商、甚至同一厂商不同 Android 版本,其对于应用开放的权限以及权限名称也会存在不一致。例如,小米6只需要开启后台弹出界面权限,而红米需要同时打开后台弹出界面和显示悬浮窗权限。如何开启权限,详见下方:相关权限开启。
|
|
496
|
-
|
|
497
|
-
3. 如果遇到以下场景拉不起通话界面,原因是:应用的启动堆栈变化,导致 CallKitActivity 界面被遮挡移除了。
|
|
498
|
-
|
|
499
|
-
场景一:接通后退到后台,点击桌面图标进入应用,原通话界面消失;
|
|
500
|
-
|
|
501
|
-
场景二:应用在后台时,开启banner的情况下,收到通知View,不点击View,点击桌面图标进入应用,拉不起通话界面且通知消失;
|
|
502
|
-
|
|
503
|
-
场景三:应用在后台时,收到离线推送,不点击推送通知,点击桌面图标进入应用,无法拉起通话界面或通话界面闪了一下;
|
|
504
|
-
|
|
505
|
-
以上几种情况,需要在您自己业务的默认启动的主 Activity 中添加以下代码,每个应用默认启动的 Activity 都不一样,详见 AndroidManifest.xml 配置,以目前大部分应用的启动页 SplashActivity 为例:
|
|
506
|
-
|
|
507
|
-
【添加代码】
|
|
508
|
-
``` java
|
|
509
|
-
if (!isTaskRoot() && getIntent() != null && getIntent().hasCategory(Intent.CATEGORY_LAUNCHER)
|
|
510
|
-
&& Intent.ACTION_MAIN.equals(getIntent().getAction())) {
|
|
511
|
-
finish();
|
|
512
|
-
return;
|
|
513
|
-
}
|
|
514
|
-
```
|
|
515
|
-
|
|
516
|
-
【具体添加位置】
|
|
517
|
-
|
|
518
|
-
> **说明:**
|
|
519
|
-
>
|
|
520
|
-
|
|
521
|
-
> SplashActivity 的启动模式不能是 singleTask;singleTask 模式下 isTaskRoot 是 true,上述方法不生效。
|
|
522
|
-
>
|
|
523
|
-
|
|
524
|
-
>
|
|
525
|
-
|
|
526
|
-
### 被叫端来电显示策略
|
|
527
|
-
|
|
528
|
-
为使 TUICallKit 适应不同的业务需求,增加产品特色,提升用户的使用体验,TUICallKit **2.3 及以上版本**([发布日志](https://cloud.tencent.com/document/product/647/80931)),优化收到来电后的通话页面显示弹出策略,详情如下所示:
|
|
529
|
-
| 全屏显示通话等待界面 | 横幅显示来电请求 |
|
|
530
|
-
| --- | --- |
|
|
531
|
-
| | |
|
|
532
|
-
|
|
533
|
-
【2.3.0.920版本及之后的版本】
|
|
534
|
-
1. 如果您想要被叫端收到邀请时,尽量去拉起全屏通话界面,那么您可以更新 [tuicallkit-kt](https://github.com/Tencent-RTC/TUICallKit/tree/main/Android/tuicallkit-kt) 代码到最新。该情况下,被叫端的来电显示策略如下:
|
|
535
|
-
|
|
536
|
-
2. 如果您想在被叫端收到通话的时候,先展示一个横幅,然后根据需要拉起全屏通话界面,那么您可以调用以下接口开启该功能。
|
|
537
|
-
|
|
538
|
-
``` java
|
|
539
|
-
TUICallKit.createInstance(context).enableIncomingBanner(true);
|
|
540
|
-
```
|
|
541
|
-
|
|
542
|
-
开启后,被叫端的来电策略如下所示,只要开启**悬浮窗权限,**就能尽可能的展示来电横幅。
|
|
543
|
-
|
|
544
|
-
【2.3版本之前】
|
|
545
|
-
|
|
546
|
-
> **说明:**
|
|
547
|
-
>
|
|
548
|
-
|
|
549
|
-
> 相关权限如何开启,详见下方:相关权限开启。
|
|
550
|
-
>
|
|
551
|
-
|
|
552
|
-
### **相关权限开启**
|
|
553
|
-
|
|
554
|
-
为实现良好的通话体验,建议您在应用中开启“通知”权限、“显示在其他应用上层(悬浮窗)”以及“后台拉起界面”权限,具体方法如下:
|
|
555
|
-
|
|
556
|
-
【代码指引】
|
|
557
|
-
- **通知权限**:便于展示推送通知:请参见 [通知运行时权限](https://developer.android.com/develop/ui/views/notifications/notification-permission) 和 [请求运行时权限](https://developer.android.com/training/permissions/requesting#request-permission) 根据业务需求自行实现。
|
|
558
|
-
|
|
559
|
-
- **悬浮窗权限**:用于展示自定义的来电横幅,以及通话悬浮窗。
|
|
560
|
-
|
|
561
|
-
- **后台拉起界面权限**:用于当应用在后台时拉起界面(例如:vivo手机)。
|
|
562
|
-
|
|
563
|
-
``` java
|
|
564
|
-
fun requestPermission(context: Context?) {
|
|
565
|
-
//In TUICallKit,Please open both OverlayWindows and Background pop-ups permission.
|
|
566
|
-
PermissionRequester.newInstance(
|
|
567
|
-
PermissionRequester.FLOAT_PERMISSION, PermissionRequester.BG_START_PERMISSION)
|
|
568
|
-
.request()
|
|
569
|
-
}
|
|
570
|
-
```
|
|
571
|
-
|
|
572
|
-
【手动开启】
|
|
573
|
-
|
|
574
|
-
安装应用后,您可以长按应用图标,选择“应用信息”,然后开启“通知”权限、“显示在其他应用上层”以及“后台拉起界面”权限。或者您可以到`手机 > 系统设置 > 应用管理 > 应用`中手动开启上述权限。
|
|
575
|
-
| Pixel 4a | 小米 | vivo |
|
|
576
|
-
| --- | --- | --- |
|
|
577
|
-
| | | |
|
|
578
|
-
|
|
579
|
-
# iOS
|
|
580
|
-
### 错误提示“The package you purchased does not support this ability”?
|
|
581
|
-
|
|
582
|
-
如遇以上错误提示,是由于您当前应用的音视频通话能力包过期或未开通,请参见 开通服务,领取或者开通音视频通话能力,进而继续使用TUICallKit组件。
|
|
583
|
-
|
|
584
|
-
### 如何购买音视频通话套餐?
|
|
585
|
-
|
|
586
|
-
请参见购买链接 [开通正式版](https://cloud.tencent.com/document/product/647/104662#formal),如有其他问题,请点击页面右侧,进行售前套餐咨询;也可以加入我们的 TUICallKit 技术交流平台 [zhiliao](https://zhiliao.qq.com/s/cWSPGIIM62CC/cEUPGIIM62CE),进行咨询和反馈。
|
|
587
|
-
|
|
588
|
-
### 如何修改 TUICallKit 源码?
|
|
589
|
-
|
|
590
|
-
使用 `CocoaPods` 导入组件,具体步骤如下:
|
|
591
|
-
1. 在您的工程 `Podfile` 文件同一级目录下创建 `TUICallKit` 文件夹。
|
|
592
|
-
|
|
593
|
-
2. 单击进入 [Github/TUICallKit](https://github.com/tencentyun/TUICalling) ,选择克隆/下载代码,然后将 [iOS](https://github.com/tencentyun/TUICalling/tree/main/iOS) 目录下的 [TUICallKit_Swift](https://github.com/Tencent-RTC/TUICallKit/tree/main/iOS/TUICallKit_Swift) 文件夹和 [TUICallKit_Swift.podspec](https://github.com/Tencent-RTC/TUICallKit/blob/main/iOS/TUICallKit_Swift.podspec) 文件拷贝到您在 `步骤1` 创建的 `TUICallKit` 文件夹下。
|
|
594
|
-
|
|
595
|
-
3. 在您的 `Podfile` 文件中添加以下依赖。
|
|
596
|
-
|
|
597
|
-
``` bash
|
|
598
|
-
# :path => "指向 TUICallKit_Swift.podspec 的相对路径"
|
|
599
|
-
pod 'TUICallKit_Swift', :path => "TUICallKit/TUICallKit_Swift.podspec"
|
|
600
|
-
```
|
|
601
|
-
4. 执行 `pod install` 命令,完成导入。
|
|
602
|
-
|
|
603
|
-
> **注意:**
|
|
604
|
-
>
|
|
605
|
-
|
|
606
|
-
> `TUICallKit_Swift`文件夹和`TUICallKit_Swift.podspec`文件必须在同一目录下。
|
|
607
|
-
>
|
|
608
|
-
|
|
609
|
-
**TUICallKit_Swift 组件集成后效果**:
|
|
610
|
-
|
|
611
|
-
> **说明:**
|
|
612
|
-
>
|
|
613
|
-
|
|
614
|
-
> TUICallKit_Swift 组件集成后支持文件夹分层显示,方便您阅读和修改源代码。
|
|
615
|
-
>
|
|
616
|
-
|
|
617
|
-
### Xcode 15 编译报错?
|
|
618
|
-
|
|
619
|
-
#### 1、出现 **Sandbox: rsync **编译报错
|
|
620
|
-
|
|
621
|
-
可以在 **Build Settings **中把 **User Script Sandboxing **设置为 **NO:**
|
|
622
|
-
|
|
623
|
-
#### 2、出现 **SDK does not contain **编译报错
|
|
624
|
-
|
|
625
|
-
可以在 Podfile 添加如下代码:
|
|
626
|
-
``` bash
|
|
627
|
-
# target 'xxxx' do
|
|
628
|
-
# ...
|
|
629
|
-
# pod 'TUICallKit_Swift'
|
|
630
|
-
# end
|
|
631
|
-
|
|
632
|
-
post_install do |installer|
|
|
633
|
-
installer.pods_project.targets.each do |target|
|
|
634
|
-
target.build_configurations.each do |config|
|
|
635
|
-
config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '13.0'
|
|
636
|
-
end
|
|
637
|
-
end
|
|
638
|
-
end
|
|
639
|
-
```
|
|
640
|
-
|
|
641
|
-
#### 3、如果在 **M 系列电脑**上运行模拟器,可能会出现 **Linker command failed with exit code 1 (use -v to see invocation) **编译报错
|
|
642
|
-
|
|
643
|
-
可以在 Podfile 添加如下代码:
|
|
644
|
-
``` bash
|
|
645
|
-
# target 'xxxx' do
|
|
646
|
-
# ...
|
|
647
|
-
# pod 'TUICallKit_Swift'
|
|
648
|
-
# end
|
|
649
|
-
|
|
650
|
-
post_install do |installer|
|
|
651
|
-
installer.pods_project.targets.each do |target|
|
|
652
|
-
target.build_configurations.each do |config|
|
|
653
|
-
config.build_settings['EXCLUDED_ARCHS[sdk=iphonesimulator*]'] = "arm64"
|
|
654
|
-
end
|
|
655
|
-
end
|
|
656
|
-
end
|
|
657
|
-
```
|
|
658
|
-
|
|
659
|
-
### TUICallKit 和自己集成的音视频库冲突了?
|
|
660
|
-
|
|
661
|
-
腾讯云的 `音视频库` 不能同时集成,可能存在符号冲突,可以按照下面的场景处理。
|
|
662
|
-
1. 如果您使用了 `TXLiteAVSDK_TRTC` 库,不会发生符号冲突。可直接在 `Podfile` 文件中添加依赖,
|
|
663
|
-
|
|
664
|
-
``` bash
|
|
665
|
-
pod 'TUICallKit_Swift'
|
|
666
|
-
```
|
|
667
|
-
2. 如果您使用了 `TXLiteAVSDK_Professional` 库,会产生符号冲突。您可在 `Podfile` 文件中添加依赖,
|
|
668
|
-
|
|
669
|
-
``` bash
|
|
670
|
-
pod 'TUICallKit_Swift/Professional'
|
|
671
|
-
```
|
|
672
|
-
3. 如果您使用了 `TXLiteAVSDK_Enterprise` 库,会产生符号冲突。建议升级到 `TXLiteAVSDK_Professional` 后使用 TUICallKit_Swift`/Professional`。
|
|
673
|
-
|
|
674
|
-
### TUICallKit 是否可以不引入 IM SDK,只使用 TRTC?
|
|
675
|
-
|
|
676
|
-
**不可以。**`TUIKit` 全系组件都使用了腾讯云 IM SDK 作为通信的基础服务,比如通话拨打信令、通话忙线信令等核心逻辑,如果您已经购买有其他 `IM` 产品,也可以参照 `TUICallKit` 逻辑进行适配。
|
|
677
|
-
|
|
678
|
-
### TUICallKit 组件支持自定义铃声吗?
|
|
679
|
-
|
|
680
|
-
**支持**,调用 setCallingBell 即可。
|
|
681
|
-
|
|
682
|
-
### TUICallKit 是否支持后台运行?
|
|
683
|
-
|
|
684
|
-
**支持**,如需要进入后台仍然运行相关功能,可选中当前工程项目,在 **Capabilities** 下的 **Background Modes** 模块中勾选 **Audio,AirPlay and Picture in Picture** ,如下图所示:
|
|
685
|
-
|
|
686
|
-
### 如何查看 TRTC 日志?
|
|
687
|
-
|
|
688
|
-
TRTC 的日志默认压缩加密,后缀为 .xlog。日志是否加密是可以通过 setLogCompressEnabled 来控制,生成的文件名里面含 C(compressed) 的就是加密压缩的,含 R(raw) 的就是明文的。
|
|
689
|
-
|
|
690
|
-
iOS:`sandbox的Documents/log`
|
|
691
|
-
|
|
692
|
-
> **说明:**
|
|
693
|
-
>
|
|
694
|
-
> - 查看 .xlog 文件需要下载 [解密工具](https://dldir1.qq.com/hudongzhibo/log_tool/decode_mars_log_file.py),在 Python 2.7环境中放到 xlog 文件同目录下直接使用 `python decode_mars_log_file.py` 运行即可。
|
|
695
|
-
> - 查看 .clog 文件(9.6 版本以后新的日志格式)需要下载 [解密工具](http://dldir1.qq.com/hudongzhibo/log_tool/decompress_clog.py),在 Python 2.7 环境中放到 clog 文件同目录下直接使用 `python decompress_clog.py `运行即可。
|
|
696
|
-
|
|
697
|
-
# Flutter
|
|
698
|
-
### 同时集成 tencent_calls_uikit 和 tencent_trtc_cloud,或同时集成 tencent_calls_uikit 和 live_flutter_plugin,出现符号冲突报错,怎么解决?
|
|
699
|
-
|
|
700
|
-
问题详情:当引入 flutter ''tencent_calls_uikit'' 进我们现有的 project 后,Android 构建 APK 时出现如下报错:
|
|
701
|
-
``` bash
|
|
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
|
|
704
|
-
(com.tencent.liteav:LiteAVSDK_TRTC:10.3.0.11225)
|
|
705
|
-
```
|
|
706
|
-
|
|
707
|
-
iOS 在执行`pod install`出现如下报错:
|
|
708
|
-
``` plaintext
|
|
709
|
-
[!] The 'Pods-Runner' target has frameworks with conflicting names: txsoundtouch.xcframework and txffmpeg.xcframework.
|
|
710
|
-
```
|
|
711
|
-
|
|
712
|
-
这个问题原因是您使用的 tencent_calls_uikit 和 tencent_trtc_cloud 分别依赖于 TRTC Android SDK 的专业版和精简版,这个问题我们已经在最新的版本中解决,只需要您将 [tencent_calls_uikit](https://pub.dev/packages/tencent_calls_uikit) 和 [tencent_trtc_cloud](https://pub.dev/packages/tencent_trtc_cloud)升级到最新版本即可。
|
|
713
|
-
|
|
714
|
-
### Flutter Android未添加混淆设置,怎么设置?
|
|
715
|
-
|
|
716
|
-
如果您需要编译运行在 Android 平台,由于我们在 SDK 内部使用了Java 的反射特性,需要将 SDK 中的部分类加入不混淆名单,因此需要您在 proguard-rules.pro 文件中添加如下代码:
|
|
717
|
-
``` html
|
|
718
|
-
-keep class com.tencent.** { *; }
|
|
719
|
-
```
|
|
720
|
-
|
|
721
|
-
### 从1.8.0以下的版本升级到1.8.0及以上的版本,导致编译报错或者拉不起页面问题如何修复?
|
|
722
|
-
|
|
723
|
-
如果是从1.8.0以下升级到1.8.0及以上的版本,需要您检查下面几个步骤是否正常:
|
|
724
|
-
1. 将 navigatorObservers 添加到 MateriaApp。 目的是在收到呼叫邀请时导航到 TUICallKit 页面。示例代码如下:
|
|
725
|
-
|
|
726
|
-
``` plaintext
|
|
727
|
-
import 'package:tencent_calls_uikit/tuicall_kit.dart';
|
|
728
|
-
|
|
729
|
-
MaterialApp(
|
|
730
|
-
navigatorObservers:[TUICallKit.navigatorObserver],
|
|
731
|
-
...
|
|
732
|
-
)
|
|
733
|
-
```
|
|
734
|
-
2. tencent_calls_engine 插件中的导入文件统一替换为新的。
|
|
735
|
-
|
|
736
|
-
``` plaintext
|
|
737
|
-
import 'package:tencent_calls_engine/tuicall_engine.dart';
|
|
738
|
-
import 'package:tencent_calls_engine/tuicall_observer.dart';
|
|
739
|
-
import 'package:tencent_calls_engine/tuicall_define.dart';
|
|
740
|
-
```
|
|
741
|
-
|
|
742
|
-
上图内容替换为下图所示:
|
|
743
|
-
|
|
744
|
-
``` plaintext
|
|
745
|
-
import 'package:tencent_calls_engine/tencent_calls_engine.dart';
|
|
746
|
-
```
|
|
747
|
-
3. 登录 API 调整更规范,不需要再指定参数。
|
|
748
|
-
|
|
749
|
-
4. 离线推送参数构造优化。
|