@tencentcloud/sdk-mcp 1.3.8 → 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.
- package/index.js +1 -1
- package/index.js.map +1 -1
- package/package.json +2 -2
- package/resource/doc/{tuicallkit/android/faq.md → callkit/faq/android-faq.md} +75 -308
- package/resource/doc/{tuicallkit/faq/common/error_code.md → callkit/faq/common/error-code.md} +2 -2
- package/resource/doc/{tuicallkit/flutter/faq.md → callkit/faq/flutter-faq.md} +83 -315
- package/resource/doc/{tuicallkit/iOS/faq.md → callkit/faq/ios-faq.md} +76 -313
- package/resource/doc/{tuicallkit/react/faq.md → callkit/faq/web-faq.md} +78 -311
- package/resource/doc/callkit/preset/android/api.md +330 -0
- package/resource/doc/callkit/preset/android/integration.md +530 -0
- package/resource/doc/callkit/preset/flutter/api.md +401 -0
- package/resource/doc/{tuicallkit → callkit/preset}/flutter/integration.md +53 -273
- package/resource/doc/callkit/preset/ios/api.md +282 -0
- package/resource/doc/{tuicallkit/iOS → callkit/preset/ios}/integration.md +39 -120
- package/resource/doc/callkit/preset/react/api.md +600 -0
- package/resource/doc/{tuicallkit → callkit/preset}/react/integration.md +6 -6
- package/resource/doc/callkit/preset/vue/api.md +600 -0
- package/resource/doc/{tuicallkit → callkit/preset}/vue/integration.md +5 -5
- package/resource/doc/{chatuikit → chatkit}/android/faq.md +29 -37
- package/resource/doc/{chatuikit → chatkit}/android/features/theme.md +22 -166
- package/resource/doc/chatkit/android/integration.md +498 -0
- package/resource/doc/chatkit/faq/android_sdk/client-api.md +280 -0
- package/resource/doc/{chatuikit → chatkit}/faq/common/product.md +4 -17
- package/resource/doc/{chatuikit → chatkit}/faq/common/server.md +1 -2
- package/resource/doc/chatkit/faq/flutter_sdk/client-api.md +183 -0
- package/resource/doc/{chatuikit → chatkit}/faq/flutter_sdk/faq.md +3 -3
- package/resource/doc/chatkit/faq/ios_sdk/client-api.md +279 -0
- package/resource/doc/{chatuikit → chatkit}/faq/web_sdk/error_code.md +1 -1
- package/resource/doc/{chatuikit → chatkit}/faq/web_sdk/faq.md +4 -4
- package/resource/doc/{chatuikit → chatkit}/flutter/features/theme.md +22 -166
- package/resource/doc/{chatuikit → chatkit}/flutter/integration.md +20 -95
- package/resource/doc/{chatuikit/iOS → chatkit/ios}/faq.md +29 -37
- package/resource/doc/{chatuikit/iOS → chatkit/ios}/features/theme.md +27 -176
- package/resource/doc/{chatuikit/iOS → chatkit/ios}/integration.md +78 -280
- package/resource/doc/{chatuikit/vue → chatkit/react}/components/avatar.md +0 -1
- package/resource/doc/{chatuikit → chatkit}/react/components/chat-header.md +7 -12
- package/resource/doc/{chatuikit → chatkit}/react/components/chat-setting.md +10 -17
- package/resource/doc/{chatuikit → chatkit}/react/components/chat.md +1 -1
- package/resource/doc/{chatuikit → chatkit}/react/components/component-list.md +0 -1
- package/resource/doc/{chatuikit → chatkit}/react/components/contact-list.md +122 -703
- package/resource/doc/chatkit/react/components/conversation-actions.md +174 -0
- package/resource/doc/chatkit/react/components/conversation-list.md +333 -0
- package/resource/doc/chatkit/react/components/conversation-preview.md +116 -0
- package/resource/doc/chatkit/react/components/conversation-search.md +57 -0
- package/resource/doc/{chatuikit → chatkit}/react/components/message-input.md +36 -186
- package/resource/doc/{chatuikit → chatkit}/react/components/message-list.md +21 -113
- package/resource/doc/chatkit/react/components/search.md +282 -0
- package/resource/doc/{chatuikit → chatkit}/react/components/tuikit.md +5 -26
- package/resource/doc/{chatuikit → chatkit}/react/integration.md +37 -104
- package/resource/doc/{chatuikit/react → chatkit/vue}/components/avatar.md +0 -1
- package/resource/doc/{chatuikit → chatkit}/vue/components/chat-header.md +7 -13
- package/resource/doc/{chatuikit → chatkit}/vue/components/chat-setting.md +13 -18
- package/resource/doc/{chatuikit → chatkit}/vue/components/chat.md +1 -2
- package/resource/doc/{chatuikit → chatkit}/vue/components/component-list.md +0 -1
- package/resource/doc/chatkit/vue/components/contact-list.md +271 -0
- package/resource/doc/chatkit/vue/components/conversation-actions.md +228 -0
- package/resource/doc/{chatuikit → chatkit}/vue/components/conversation-list.md +42 -316
- package/resource/doc/chatkit/vue/components/conversation-preview.md +213 -0
- package/resource/doc/chatkit/vue/components/conversation-search.md +50 -0
- package/resource/doc/{chatuikit → chatkit}/vue/components/message-input.md +1 -23
- package/resource/doc/{chatuikit → chatkit}/vue/components/message-list.md +23 -134
- package/resource/doc/{chatuikit → chatkit}/vue/components/search.md +73 -640
- package/resource/doc/chatkit/vue/components/tuikit.md +45 -0
- package/resource/doc/{chatuikit → chatkit}/vue/components/userpicker.md +4 -4
- package/resource/doc/{chatuikit → chatkit}/vue/faq.md +1 -1
- package/resource/doc/{chatuikit → chatkit}/vue/integration.md +53 -121
- package/resource/doc/livekit/core-sdk/live/android/api-reference/AudioEffectStore.md +283 -0
- package/resource/doc/livekit/core-sdk/live/android/api-reference/BarrageStore.md +148 -0
- package/resource/doc/livekit/core-sdk/live/android/api-reference/BattleStore.md +316 -0
- package/resource/doc/livekit/core-sdk/live/android/api-reference/CameraView.md +57 -0
- package/resource/doc/livekit/core-sdk/live/android/api-reference/CoGuestStore.md +419 -0
- package/resource/doc/livekit/core-sdk/live/android/api-reference/CoHostStore.md +325 -0
- package/resource/doc/livekit/core-sdk/live/android/api-reference/DeviceStore.md +436 -0
- package/resource/doc/livekit/core-sdk/live/android/api-reference/GiftStore.md +165 -0
- package/resource/doc/livekit/core-sdk/live/android/api-reference/LikeStore.md +49 -0
- package/resource/doc/livekit/core-sdk/live/android/api-reference/LiveAudienceStore.md +239 -0
- package/resource/doc/livekit/core-sdk/live/android/api-reference/LiveCoreView.md +74 -0
- package/resource/doc/livekit/core-sdk/live/android/api-reference/LiveSeatStore.md +417 -0
- package/resource/doc/livekit/core-sdk/live/android/api-reference/LoginStore.md +207 -0
- package/resource/doc/livekit/{live → core-sdk/live}/android/live-audience-list.md +17 -88
- package/resource/doc/livekit/{live → core-sdk/live}/android/live-audio-effect.md +34 -192
- package/resource/doc/livekit/{live → core-sdk/live}/android/live-barrage.md +26 -139
- package/resource/doc/livekit/{live → core-sdk/live}/android/live-base-beauty.md +16 -99
- package/resource/doc/livekit/{live → core-sdk/live}/android/live-co-guest-interaction.md +54 -161
- package/resource/doc/livekit/{live → core-sdk/live}/android/live-gift.md +75 -455
- package/resource/doc/livekit/{live → core-sdk/live}/android/live-host-interaction.md +91 -338
- package/resource/doc/livekit/{live → core-sdk/live}/android/live-integration.md +108 -492
- package/resource/doc/livekit/{live → core-sdk/live}/android/live-live-list.md +27 -165
- package/resource/doc/livekit/core-sdk/live/flutter/api-reference/AudioEffectStore.md +279 -0
- package/resource/doc/livekit/core-sdk/live/flutter/api-reference/BarrageStore.md +158 -0
- package/resource/doc/livekit/core-sdk/live/flutter/api-reference/BaseBeautyStore.md +155 -0
- package/resource/doc/livekit/core-sdk/live/flutter/api-reference/BattleStore.md +304 -0
- package/resource/doc/livekit/core-sdk/live/flutter/api-reference/CoGuestStore.md +394 -0
- package/resource/doc/livekit/core-sdk/live/flutter/api-reference/CoHostStore.md +303 -0
- package/resource/doc/livekit/core-sdk/live/flutter/api-reference/DeviceStore.md +410 -0
- package/resource/doc/livekit/core-sdk/live/flutter/api-reference/GiftStore.md +160 -0
- package/resource/doc/livekit/core-sdk/live/flutter/api-reference/LikeStore.md +51 -0
- package/resource/doc/livekit/core-sdk/live/flutter/api-reference/LiveAudienceStore.md +231 -0
- package/resource/doc/livekit/core-sdk/live/flutter/api-reference/LiveCoreView.md +143 -0
- package/resource/doc/livekit/core-sdk/live/flutter/api-reference/LiveSeatStore.md +375 -0
- package/resource/doc/livekit/core-sdk/live/flutter/api-reference/LoginStore.md +170 -0
- package/resource/doc/livekit/{live → core-sdk/live}/flutter/live-audience-list.md +13 -91
- package/resource/doc/livekit/{live → core-sdk/live}/flutter/live-audio-effect.md +34 -177
- package/resource/doc/livekit/{live → core-sdk/live}/flutter/live-barrage.md +18 -102
- package/resource/doc/livekit/{live → core-sdk/live}/flutter/live-base-beauty.md +24 -164
- package/resource/doc/livekit/{live → core-sdk/live}/flutter/live-co-guest-interaction.md +56 -161
- package/resource/doc/livekit/{live → core-sdk/live}/flutter/live-gift.md +66 -460
- package/resource/doc/livekit/{live → core-sdk/live}/flutter/live-host-interaction.md +117 -364
- package/resource/doc/livekit/core-sdk/live/flutter/live-integration.md +687 -0
- package/resource/doc/livekit/{live → core-sdk/live}/flutter/live-live-list.md +22 -161
- package/resource/doc/livekit/core-sdk/live/ios/api-reference/AudioEffectStore.md +287 -0
- package/resource/doc/livekit/core-sdk/live/ios/api-reference/BarrageStore.md +165 -0
- package/resource/doc/livekit/core-sdk/live/ios/api-reference/BaseBeautyStore.md +143 -0
- package/resource/doc/livekit/core-sdk/live/ios/api-reference/BattleStore.md +298 -0
- package/resource/doc/livekit/core-sdk/live/ios/api-reference/CoGuestStore.md +349 -0
- package/resource/doc/livekit/core-sdk/live/ios/api-reference/CoHostStore.md +297 -0
- package/resource/doc/livekit/core-sdk/live/ios/api-reference/DeviceStore.md +471 -0
- package/resource/doc/livekit/core-sdk/live/ios/api-reference/GiftStore.md +179 -0
- package/resource/doc/livekit/core-sdk/live/ios/api-reference/LikeStore.md +49 -0
- package/resource/doc/livekit/core-sdk/live/ios/api-reference/LiveAudienceStore.md +238 -0
- package/resource/doc/livekit/core-sdk/live/ios/api-reference/LiveCoreView.md +74 -0
- package/resource/doc/livekit/core-sdk/live/ios/api-reference/LiveSeatStore.md +412 -0
- package/resource/doc/livekit/core-sdk/live/ios/api-reference/LoginStore.md +173 -0
- package/resource/doc/livekit/{live → core-sdk/live}/ios/live-audience-list.md +23 -96
- package/resource/doc/livekit/{live → core-sdk/live}/ios/live-audio-effect.md +33 -195
- package/resource/doc/livekit/{live → core-sdk/live}/ios/live-barrage.md +35 -150
- package/resource/doc/livekit/{live → core-sdk/live}/ios/live-base-beauty.md +20 -105
- package/resource/doc/livekit/{live → core-sdk/live}/ios/live-co-guest-interaction.md +35 -140
- package/resource/doc/livekit/{live → core-sdk/live}/ios/live-gift.md +77 -457
- package/resource/doc/livekit/{live → core-sdk/live}/ios/live-host-interaction.md +70 -317
- package/resource/doc/livekit/{live → core-sdk/live}/ios/live-integration.md +90 -473
- package/resource/doc/livekit/{live → core-sdk/live}/ios/live-live-list.md +28 -163
- package/resource/doc/livekit/core-sdk/voice/android/voice-audience-list.md +264 -0
- package/resource/doc/livekit/core-sdk/voice/android/voice-audio-effect.md +226 -0
- package/resource/doc/livekit/core-sdk/voice/android/voice-barrage.md +456 -0
- package/resource/doc/livekit/core-sdk/voice/android/voice-co-guest-interaction.md +539 -0
- package/resource/doc/livekit/core-sdk/voice/android/voice-gift.md +453 -0
- package/resource/doc/livekit/core-sdk/voice/android/voice-host-interaction.md +516 -0
- package/resource/doc/livekit/core-sdk/voice/android/voice-integration.md +509 -0
- package/resource/doc/livekit/core-sdk/voice/android/voice-room-list.md +365 -0
- package/resource/doc/livekit/core-sdk/voice/flutter/voice-audience-list.md +259 -0
- package/resource/doc/livekit/core-sdk/voice/flutter/voice-audio-effect.md +596 -0
- package/resource/doc/livekit/core-sdk/voice/flutter/voice-barrage.md +494 -0
- package/resource/doc/livekit/core-sdk/voice/flutter/voice-co-guest-interaction.md +516 -0
- package/resource/doc/livekit/core-sdk/voice/flutter/voice-gift.md +418 -0
- package/resource/doc/livekit/core-sdk/voice/flutter/voice-integration.md +563 -0
- package/resource/doc/livekit/core-sdk/voice/flutter/voice-room-list.md +709 -0
- package/resource/doc/livekit/core-sdk/voice/ios/voice-audience-list.md +262 -0
- package/resource/doc/livekit/core-sdk/voice/ios/voice-audio-effect.md +211 -0
- package/resource/doc/livekit/core-sdk/voice/ios/voice-barrage.md +414 -0
- package/resource/doc/livekit/core-sdk/voice/ios/voice-co-guest-interaction.md +492 -0
- package/resource/doc/livekit/core-sdk/voice/ios/voice-gift.md +405 -0
- package/resource/doc/livekit/core-sdk/voice/ios/voice-host-interaction.md +611 -0
- package/resource/doc/livekit/core-sdk/voice/ios/voice-integration.md +478 -0
- package/resource/doc/livekit/core-sdk/voice/ios/voice-room-list.md +336 -0
- package/resource/doc/livekit/core-sdk/voice/uni-app/voice-audience-list.md +234 -0
- package/resource/doc/livekit/core-sdk/voice/uni-app/voice-audio-effect.md +218 -0
- package/resource/doc/livekit/core-sdk/voice/uni-app/voice-barrage.md +376 -0
- package/resource/doc/livekit/core-sdk/voice/uni-app/voice-co-guest-interaction.md +648 -0
- package/resource/doc/livekit/core-sdk/voice/uni-app/voice-gift.md +362 -0
- package/resource/doc/livekit/core-sdk/voice/uni-app/voice-integration.md +323 -0
- package/resource/doc/livekit/core-sdk/voice/uni-app/voice-room-list.md +470 -0
- package/resource/doc/livekit/faq/common/{error_code.md → error-code.md} +2 -3
- package/resource/doc/livekit/preset/live/vue/api-reference/index.md +780 -0
- package/resource/doc/livekit/preset/live/vue/components/barrage.md +291 -0
- package/resource/doc/livekit/{live → preset/live}/vue/components/co-guest-panel.md +9 -48
- package/resource/doc/livekit/{live → preset/live}/vue/components/live-audience-list.md +27 -145
- package/resource/doc/livekit/{live → preset/live}/vue/components/live-scene-panel.md +13 -76
- package/resource/doc/livekit/{live → preset/live}/vue/components/live-view.md +33 -224
- package/resource/doc/livekit/preset/live/vue/components/stream-mixer.md +211 -0
- package/resource/doc/livekit/preset/live/vue/faq.md +1 -0
- package/resource/doc/livekit/preset/live/vue/live-list-integration.md +244 -0
- package/resource/doc/livekit/preset/live/vue/live-player-desk-integration.md +301 -0
- package/resource/doc/livekit/preset/live/vue/live-player-h5-integration.md +307 -0
- package/resource/doc/livekit/preset/live/vue/live-pusher-integration.md +754 -0
- package/resource/doc/roomkit/android/features/call-user-to-room.md +234 -0
- package/resource/doc/roomkit/android/features/room-participant-state.md +850 -0
- package/resource/doc/roomkit/android/features/room-state.md +358 -0
- package/resource/doc/roomkit/android/features/schedule-room.md +336 -0
- package/resource/doc/roomkit/android/integration.md +433 -0
- package/resource/doc/roomkit/{common/error_code.md → faq/common/error-code.md} +1 -1
- package/resource/doc/roomkit/flutter/features/call-user-to-room.md +228 -0
- package/resource/doc/roomkit/flutter/features/room-participant-state.md +796 -0
- package/resource/doc/roomkit/flutter/features/room-state.md +324 -0
- package/resource/doc/roomkit/flutter/features/schedule-room.md +324 -0
- package/resource/doc/roomkit/flutter/integration.md +405 -0
- package/resource/doc/roomkit/ios/features/call-user-to-room.md +226 -0
- package/resource/doc/roomkit/ios/features/room-participant-state.md +821 -0
- package/resource/doc/roomkit/ios/features/room-state.md +320 -0
- package/resource/doc/roomkit/ios/features/schedule-room.md +318 -0
- package/resource/doc/roomkit/ios/integration.md +384 -0
- package/resource/doc/roomkit/vue/faq.md +1 -0
- package/resource/doc/roomkit/vue/features/call-user-to-room.md +17 -53
- package/resource/doc/roomkit/vue/features/device-detection.md +30 -48
- package/resource/doc/roomkit/vue/features/device-state.md +24 -44
- package/resource/doc/roomkit/vue/features/free-beauty-panel.md +13 -36
- package/resource/doc/roomkit/vue/features/room-chat.md +31 -89
- package/resource/doc/roomkit/vue/features/room-participant-state.md +28 -50
- package/resource/doc/roomkit/vue/features/room-state.md +25 -36
- package/resource/doc/roomkit/vue/features/room-view.md +30 -127
- package/resource/doc/roomkit/vue/features/schedule-room.md +9 -40
- package/resource/doc/roomkit/vue/features/screen-share.md +22 -90
- package/resource/doc/roomkit/vue/features/virtual-background.md +13 -34
- package/resource/doc/roomkit/vue/integration.md +118 -282
- package/resource/doc/rtcengine/faq/common/userSig.md +17 -141
- package/resource/doc/rtcengine/faq/web/web.md +15 -22
- package/resource/doc/rtcengine/web/api.md +17 -21
- package/resource/doc/rtcengine/web/how_to_integrated_web_sdk.md +4 -10
- package/resource/doc/rtcengine/web/how_to_run_web_sdk_demo.md +4 -8
- package/resource/doc/rtcengine/web/plugin/20-advanced-customized-capture-rendering.md +3 -3
- package/resource/doc/rtcengine/web/plugin/21-advanced-auto-play-policy.md +2 -3
- package/resource/doc/rtcengine/web/plugin/22-advanced-audio-mixer.md +6 -6
- package/resource/doc/rtcengine/web/plugin/23-advanced-support-detection.md +2 -2
- package/resource/doc/rtcengine/web/plugin/24-advanced-network-quality.md +2 -4
- package/resource/doc/rtcengine/web/plugin/25-advanced-device-change.md +1 -2
- package/resource/doc/rtcengine/web/plugin/26-advanced-publish-cdn-stream.md +2 -6
- package/resource/doc/rtcengine/web/plugin/27-advanced-small-stream.md +13 -14
- package/resource/doc/rtcengine/web/plugin/28-advanced-beauty.md +10 -90
- package/resource/doc/rtcengine/web/plugin/31-advanced-plugins-overview.md +5 -8
- package/resource/doc/rtcengine/web/plugin/34-advanced-proxy.md +31 -35
- package/resource/doc/rtcengine/web/plugin/35-advanced-ai-denoiser.md +0 -2
- package/resource/doc/rtcengine/web/plugin/36-advanced-virtual-background.md +7 -49
- package/resource/doc/rtcengine/web/plugin/37-advanced-voice-changer.md +1 -1
- package/resource/doc/rtcengine/web/plugin/39-advanced-video-decoder.md +0 -3
- package/resource/doc/rtcengine/web/plugin/40-advanced-video-mixer.md +20 -20
- package/resource/doc/rtcengine/web/plugin/41-advanced-small-stream-auto-switcher.md +1 -1
- package/resource/doc/rtcengine/web/plugin/42-advanced-realtime-transcriber.md +4 -4
- package/resource/doc/rtcengine/web/plugin/43-advanced-face-detection.md +3 -3
- package/resource/doc/trtc/C++/ITRTCCloud.md +718 -2847
- package/resource/doc/trtc/C++/ITRTCStatistics.md +53 -308
- package/resource/doc/trtc/C++/ITXAudioEffectManager.md +207 -1041
- package/resource/doc/trtc/C++/ITXDeviceManager.md +127 -768
- package/resource/doc/trtc/C++/TRTCCloudCallback.md +634 -2259
- package/resource/doc/trtc/C++/TRTCTypeDef.md +726 -3465
- package/resource/doc/trtc/C++/TXLiteAVCode.md +117 -916
- package/resource/doc/trtc/android/TRTCCloud.md +638 -2612
- package/resource/doc/trtc/android/TRTCCloudDef.md +769 -3697
- package/resource/doc/trtc/android/TRTCCloudListener.md +609 -2070
- package/resource/doc/trtc/android/TRTCStatistics.md +48 -278
- package/resource/doc/trtc/android/TXAudioEffectManager.md +207 -1049
- package/resource/doc/trtc/android/TXBeautyManager.md +127 -704
- package/resource/doc/trtc/android/TXDeviceManager.md +51 -318
- package/resource/doc/trtc/android/TXLiteAVCode.md +115 -900
- package/resource/doc/trtc/iOS/TRTCCloud.md +726 -2930
- package/resource/doc/trtc/iOS/TRTCCloudDelegate.md +580 -2099
- package/resource/doc/trtc/iOS/TRTCStatistics.md +48 -278
- package/resource/doc/trtc/iOS/TXAudioEffectManager.md +179 -896
- package/resource/doc/trtc/iOS/TXBeautyManager.md +128 -710
- package/resource/doc/trtc/iOS/TXDeviceManager.md +129 -772
- package/resource/doc/trtc/iOS/TXLiteAVCode.md +117 -915
- package/resource/doc/trtc/iOS/TXLiveSDKTypeDef.md +747 -3559
- package/server.js +1 -5
- package/server.js.map +1 -1
- package/tools/call/get_callkit_api.js +32 -0
- package/tools/call/get_callkit_api.js.map +1 -0
- package/tools/call/get_native_call_uikit_integration.js +34 -0
- package/tools/call/get_native_call_uikit_integration.js.map +1 -0
- package/tools/call/{get-web-call-integration.js → get_web_call_uikit_integration.js} +13 -8
- package/tools/call/get_web_call_uikit_integration.js.map +1 -0
- package/tools/chat/get_native_chat_uikit_feature_detail.js +34 -0
- package/tools/chat/get_native_chat_uikit_feature_detail.js.map +1 -0
- package/tools/chat/get_native_chat_uikit_integration.js +45 -0
- package/tools/chat/get_native_chat_uikit_integration.js.map +1 -0
- package/tools/chat/get_web_chat_uikit_component_detail.js +34 -0
- package/tools/chat/get_web_chat_uikit_component_detail.js.map +1 -0
- package/tools/chat/get_web_chat_uikit_integration.js +45 -0
- package/tools/chat/get_web_chat_uikit_integration.js.map +1 -0
- package/tools/common/get_faq.js +265 -0
- package/tools/common/get_faq.js.map +1 -0
- package/tools/common/{get-usersig.js → get_usersig.js} +6 -3
- package/tools/common/get_usersig.js.map +1 -0
- package/tools/common/present_framework_choice.js +63 -0
- package/tools/common/present_framework_choice.js.map +1 -0
- package/tools/definitions/get_callkit_api_def.js +28 -0
- package/tools/definitions/get_callkit_api_def.js.map +1 -0
- package/tools/definitions/get_faq_def.js +18 -19
- package/tools/definitions/get_faq_def.js.map +1 -1
- package/tools/definitions/get_native_call_uikit_integration_def.js +15 -18
- package/tools/definitions/get_native_call_uikit_integration_def.js.map +1 -1
- package/tools/definitions/get_native_chat_uikit_feature_detail_def.js +31 -0
- package/tools/definitions/get_native_chat_uikit_feature_detail_def.js.map +1 -0
- package/tools/definitions/get_native_chat_uikit_integration_def.js +16 -19
- package/tools/definitions/get_native_chat_uikit_integration_def.js.map +1 -1
- package/tools/definitions/get_native_livekit_core_features_def.js +33 -0
- package/tools/definitions/get_native_livekit_core_features_def.js.map +1 -0
- package/tools/definitions/get_native_livekit_core_integration_def.js +33 -0
- package/tools/definitions/get_native_livekit_core_integration_def.js.map +1 -0
- package/tools/definitions/get_native_trtc_sdk_docs_def.js +32 -0
- package/tools/definitions/get_native_trtc_sdk_docs_def.js.map +1 -0
- package/tools/definitions/get_usersig_def.js +17 -24
- package/tools/definitions/get_usersig_def.js.map +1 -1
- package/tools/definitions/get_web_call_uikit_integration_def.js +15 -7
- package/tools/definitions/get_web_call_uikit_integration_def.js.map +1 -1
- package/tools/definitions/get_web_chat_uikit_component_detail_def.js +17 -49
- package/tools/definitions/get_web_chat_uikit_component_detail_def.js.map +1 -1
- package/tools/definitions/get_web_chat_uikit_integration_def.js +16 -19
- package/tools/definitions/get_web_chat_uikit_integration_def.js.map +1 -1
- package/tools/definitions/get_web_live_uikit_integration_def.js +13 -18
- package/tools/definitions/get_web_live_uikit_integration_def.js.map +1 -1
- package/tools/definitions/get_web_livekit_api_def.js +27 -0
- package/tools/definitions/get_web_livekit_api_def.js.map +1 -0
- package/tools/definitions/get_web_livekit_component_detail_def.js +29 -0
- package/tools/definitions/get_web_livekit_component_detail_def.js.map +1 -0
- package/tools/definitions/get_web_room_uikit_integration_def.js +13 -30
- package/tools/definitions/get_web_room_uikit_integration_def.js.map +1 -1
- package/tools/definitions/get_web_roomkit_feature_detail_def.js +30 -0
- package/tools/definitions/get_web_roomkit_feature_detail_def.js.map +1 -0
- package/tools/definitions/get_web_trtc_sdk_api_def.js +25 -0
- package/tools/definitions/get_web_trtc_sdk_api_def.js.map +1 -0
- package/tools/definitions/get_web_trtc_sdk_integration_def.js +25 -0
- package/tools/definitions/get_web_trtc_sdk_integration_def.js.map +1 -0
- package/tools/definitions/get_web_trtc_sdk_plugin_def.js +25 -0
- package/tools/definitions/get_web_trtc_sdk_plugin_def.js.map +1 -0
- package/tools/definitions/present_framework_choice_def.js +23 -12
- package/tools/definitions/present_framework_choice_def.js.map +1 -1
- package/tools/index.js +47 -59
- package/tools/index.js.map +1 -1
- package/tools/live/get_native_livekit_core_features.js +65 -0
- package/tools/live/get_native_livekit_core_features.js.map +1 -0
- package/tools/live/get_native_livekit_core_integration.js +59 -0
- package/tools/live/get_native_livekit_core_integration.js.map +1 -0
- package/tools/live/get_web_live_uikit_integration.js +48 -0
- package/tools/live/get_web_live_uikit_integration.js.map +1 -0
- package/tools/live/get_web_livekit_api.js +32 -0
- package/tools/live/get_web_livekit_api.js.map +1 -0
- package/tools/live/get_web_livekit_component_detail.js +34 -0
- package/tools/live/get_web_livekit_component_detail.js.map +1 -0
- package/tools/room/{get-web-room-integration.js → get_web_room_uikit_integration.js} +13 -14
- package/tools/room/get_web_room_uikit_integration.js.map +1 -0
- package/tools/room/{get-web-room-feature-detail.js → get_web_roomkit_feature_detail.js} +30 -31
- package/tools/room/get_web_roomkit_feature_detail.js.map +1 -0
- package/tools/rtcengine/get_web_trtc_sdk_api.js +31 -0
- package/tools/rtcengine/get_web_trtc_sdk_api.js.map +1 -0
- package/tools/rtcengine/get_web_trtc_sdk_integration.js +31 -0
- package/tools/rtcengine/get_web_trtc_sdk_integration.js.map +1 -0
- package/tools/rtcengine/get_web_trtc_sdk_plugin.js +31 -0
- package/tools/rtcengine/get_web_trtc_sdk_plugin.js.map +1 -0
- package/tools/trtc/get_native_trtc_sdk_docs.js +73 -0
- package/tools/trtc/get_native_trtc_sdk_docs.js.map +1 -0
- package/utils/generate-structured-result.js +61 -17
- package/utils/generate-structured-result.js.map +1 -1
- package/utils/report-cls-client.js +12 -1
- package/utils/report-cls-client.js.map +1 -1
- package/utils/report-es-client.js +1 -1
- package/resource/doc/chatuikit/android/integration.md +0 -612
- package/resource/doc/chatuikit/android/workflow.md +0 -0
- package/resource/doc/chatuikit/faq/android_sdk/client-api.md +0 -1376
- package/resource/doc/chatuikit/faq/flutter_sdk/client-api.md +0 -860
- package/resource/doc/chatuikit/faq/ios_sdk/client-api.md +0 -1371
- package/resource/doc/chatuikit/flutter/workflow.md +0 -816
- package/resource/doc/chatuikit/iOS/workflow.md +0 -0
- package/resource/doc/chatuikit/react/components/conversation-list.md +0 -765
- package/resource/doc/chatuikit/react/components/search.md +0 -885
- package/resource/doc/chatuikit/react/create-group.md +0 -22
- package/resource/doc/chatuikit/react/init.md +0 -25
- package/resource/doc/chatuikit/react/workflow.md +0 -254
- package/resource/doc/chatuikit/uniapp-app/faq.md +0 -0
- package/resource/doc/chatuikit/uniapp-app/integration.md +0 -619
- package/resource/doc/chatuikit/uniapp-app/workflow.md +0 -576
- package/resource/doc/chatuikit/vue/components/contact-list.md +0 -679
- package/resource/doc/chatuikit/vue/components/tuikit.md +0 -110
- package/resource/doc/chatuikit/vue/create-group.md +0 -26
- package/resource/doc/chatuikit/vue/init.md +0 -35
- package/resource/doc/chatuikit/vue/workflow.md +0 -395
- package/resource/doc/livekit/live/android/workflow.md +0 -322
- package/resource/doc/livekit/live/flutter/live-integration.md +0 -1029
- package/resource/doc/livekit/live/flutter/workflow.md +0 -353
- package/resource/doc/livekit/live/ios/workflow.md +0 -352
- package/resource/doc/livekit/live/vue/components/barrage.md +0 -615
- package/resource/doc/livekit/live/vue/components/stream-mixer.md +0 -442
- package/resource/doc/livekit/live/vue/faq.md +0 -0
- package/resource/doc/livekit/live/vue/live-list-integration.md +0 -195
- package/resource/doc/livekit/live/vue/live-player-desk-integration.md +0 -293
- package/resource/doc/livekit/live/vue/live-player-h5-integration.md +0 -381
- package/resource/doc/livekit/live/vue/live-pusher-integration.md +0 -598
- package/resource/doc/livekit/live/vue/states/live-state.md +0 -2656
- package/resource/doc/livekit/live/vue/workflow.md +0 -219
- package/resource/doc/native_live/android/V2TXLiveCode_api_android.md +0 -334
- package/resource/doc/native_live/android/V2TXLiveDef_api_android.md +0 -434
- package/resource/doc/native_live/android/V2TXLivePlayerObserver_api_android.md +0 -685
- package/resource/doc/native_live/android/V2TXLivePlayer_api_android.md +0 -712
- package/resource/doc/native_live/android/V2TXLivePremier_api_android.md +0 -284
- package/resource/doc/native_live/android/V2TXLivePusherObserver_api_android.md +0 -849
- package/resource/doc/native_live/android/V2TXLivePusher_api_android.md +0 -1046
- package/resource/doc/native_live/flutter/V2TXLiveCode_api_flutter.md +0 -460
- package/resource/doc/native_live/flutter/V2TXLiveDef_api_flutter.md +0 -558
- package/resource/doc/native_live/flutter/V2TXLivePlayerObserver_api_flutter.md +0 -879
- package/resource/doc/native_live/flutter/V2TXLivePlayer_api_flutter.md +0 -668
- package/resource/doc/native_live/flutter/V2TXLivePremier_api_flutter.md +0 -456
- package/resource/doc/native_live/flutter/V2TXLivePusherObserver_api_flutter.md +0 -332
- package/resource/doc/native_live/flutter/V2TXLivePusher_api_flutter.md +0 -748
- package/resource/doc/native_live/iOS/V2TXLiveCode_api_iOS.md +0 -328
- package/resource/doc/native_live/iOS/V2TXLiveDef_api_iOS.md +0 -505
- package/resource/doc/native_live/iOS/V2TXLivePlayerObserver_api_iOS.md +0 -507
- package/resource/doc/native_live/iOS/V2TXLivePlayer_api_iOS.md +0 -676
- package/resource/doc/native_live/iOS/V2TXLivePremier_api_iOS.md +0 -284
- package/resource/doc/native_live/iOS/V2TXLivePusherObserver_api_iOS.md +0 -820
- package/resource/doc/native_live/iOS/V2TXLivePusher_api_iOS.md +0 -1065
- package/resource/doc/roomkit/vue/features/workflow.md +0 -553
- package/resource/doc/roomkit/vue/workflow.md +0 -487
- package/resource/doc/tuicallkit/android/integration.md +0 -302
- package/resource/doc/tuicallkit/android/workflow.md +0 -0
- package/resource/doc/tuicallkit/faq/android_sdk/call-observer-api.md +0 -786
- package/resource/doc/tuicallkit/faq/android_sdk/callkit-api.md +0 -663
- package/resource/doc/tuicallkit/faq/flutter_sdk/call-define-api.md +0 -932
- package/resource/doc/tuicallkit/faq/flutter_sdk/call-observer-api.md +0 -926
- package/resource/doc/tuicallkit/faq/flutter_sdk/callkit-api.md +0 -452
- package/resource/doc/tuicallkit/faq/ios_sdk/call-observer-api.md +0 -779
- package/resource/doc/tuicallkit/faq/ios_sdk/callkit-api.md +0 -635
- package/resource/doc/tuicallkit/flutter/workflow.md +0 -331
- package/resource/doc/tuicallkit/react/api.md +0 -1512
- package/resource/doc/tuicallkit/vue/api.md +0 -1512
- package/resource/doc/tuicallkit/vue/faq.md +0 -986
- package/tools/call/get-native-call-integration.js +0 -43
- package/tools/call/get-native-call-integration.js.map +0 -1
- package/tools/call/get-web-call-api.js +0 -27
- package/tools/call/get-web-call-api.js.map +0 -1
- package/tools/call/get-web-call-integration.js.map +0 -1
- package/tools/chat/get-native-chat-feature-detail.js +0 -30
- package/tools/chat/get-native-chat-feature-detail.js.map +0 -1
- package/tools/chat/get-native-chat-integration.js +0 -45
- package/tools/chat/get-native-chat-integration.js.map +0 -1
- package/tools/chat/get-web-chat-component-detail.js +0 -31
- package/tools/chat/get-web-chat-component-detail.js.map +0 -1
- package/tools/chat/get-web-chat-integration.js +0 -45
- package/tools/chat/get-web-chat-integration.js.map +0 -1
- package/tools/chat/get-web-chat-uikit-init.js +0 -28
- package/tools/chat/get-web-chat-uikit-init.js.map +0 -1
- package/tools/chat/get-web-create-group-doc.js +0 -28
- package/tools/chat/get-web-create-group-doc.js.map +0 -1
- package/tools/common/get-faq.js +0 -91
- 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 +0 -16
- package/tools/common/present-framework-choice.js.map +0 -1
- package/tools/common/record-prompt.js +0 -55
- package/tools/common/record-prompt.js.map +0 -1
- package/tools/common/record-result.js +0 -60
- package/tools/common/record-result.js.map +0 -1
- package/tools/definitions/get_native_chat_feature_detail_def.js +0 -32
- package/tools/definitions/get_native_chat_feature_detail_def.js.map +0 -1
- package/tools/definitions/get_native_live_api_def.js +0 -22
- package/tools/definitions/get_native_live_api_def.js.map +0 -1
- package/tools/definitions/get_native_live_uikit_extra_features_def.js +0 -109
- package/tools/definitions/get_native_live_uikit_extra_features_def.js.map +0 -1
- package/tools/definitions/get_native_live_uikit_integration_def.js +0 -50
- package/tools/definitions/get_native_live_uikit_integration_def.js.map +0 -1
- package/tools/definitions/get_native_live_uikit_interaction_def.js +0 -115
- package/tools/definitions/get_native_live_uikit_interaction_def.js.map +0 -1
- package/tools/definitions/get_trtc_native_api_def.js +0 -17
- package/tools/definitions/get_trtc_native_api_def.js.map +0 -1
- package/tools/definitions/get_web_call_uikit_api_def.js +0 -23
- package/tools/definitions/get_web_call_uikit_api_def.js.map +0 -1
- package/tools/definitions/get_web_chat_uikit_init_def.js +0 -23
- package/tools/definitions/get_web_chat_uikit_init_def.js.map +0 -1
- package/tools/definitions/get_web_create_group_doc_def.js +0 -18
- package/tools/definitions/get_web_create_group_doc_def.js.map +0 -1
- package/tools/definitions/get_web_live_state_detail_def.js +0 -19
- package/tools/definitions/get_web_live_state_detail_def.js.map +0 -1
- package/tools/definitions/get_web_live_uikit_component_detail_def.js +0 -27
- package/tools/definitions/get_web_live_uikit_component_detail_def.js.map +0 -1
- package/tools/definitions/get_web_room_feature_detail_def.js +0 -95
- package/tools/definitions/get_web_room_feature_detail_def.js.map +0 -1
- package/tools/definitions/record_prompt_def.js +0 -53
- package/tools/definitions/record_prompt_def.js.map +0 -1
- package/tools/definitions/record_result_def.js +0 -30
- package/tools/definitions/record_result_def.js.map +0 -1
- package/tools/live/get-native-live-uikit-integration.js +0 -101
- package/tools/live/get-native-live-uikit-integration.js.map +0 -1
- package/tools/live/get-web-live-component-detail.js +0 -31
- package/tools/live/get-web-live-component-detail.js.map +0 -1
- package/tools/live/get-web-live-state-detail.js +0 -31
- package/tools/live/get-web-live-state-detail.js.map +0 -1
- package/tools/live/get-web-live-uikit-integration.js +0 -52
- package/tools/live/get-web-live-uikit-integration.js.map +0 -1
- package/tools/live/get_native_live_uikit_extra_features.js +0 -105
- package/tools/live/get_native_live_uikit_extra_features.js.map +0 -1
- package/tools/live/get_native_live_uikit_interaction.js +0 -101
- package/tools/live/get_native_live_uikit_interaction.js.map +0 -1
- package/tools/native_live/get-native-live-api.js +0 -31
- package/tools/native_live/get-native-live-api.js.map +0 -1
- package/tools/room/get-web-room-feature-detail.js.map +0 -1
- package/tools/room/get-web-room-integration.js.map +0 -1
- package/tools/rtcengine/get-rtcengine-web-sdk-integration.js +0 -28
- package/tools/rtcengine/get-rtcengine-web-sdk-integration.js.map +0 -1
- package/tools/rtcengine/get-trtc-sdk-faq.js +0 -32
- package/tools/rtcengine/get-trtc-sdk-faq.js.map +0 -1
- package/tools/rtcengine/get-trtc-web-sdk-api.js +0 -28
- package/tools/rtcengine/get-trtc-web-sdk-api.js.map +0 -1
- package/tools/rtcengine/get-trtc-web-sdk-faq.js +0 -30
- package/tools/rtcengine/get-trtc-web-sdk-faq.js.map +0 -1
- package/tools/rtcengine/get-trtc-web-sdk-integration.js +0 -29
- package/tools/rtcengine/get-trtc-web-sdk-integration.js.map +0 -1
- package/tools/rtcengine/get-trtc-web-sdk-plugin.js +0 -45
- package/tools/rtcengine/get-trtc-web-sdk-plugin.js.map +0 -1
- package/tools/trtc/get-trtc-native-api.js +0 -31
- package/tools/trtc/get-trtc-native-api.js.map +0 -1
- package/utils/handle-component-name.js +0 -33
- package/utils/handle-component-name.js.map +0 -1
- /package/resource/doc/{rtcengine/web → callkit/core-sdk}/.gitkeep +0 -0
- /package/resource/doc/{chatuikit → chatkit}/faq/common/server_error_code.md +0 -0
- /package/resource/doc/{chatuikit → chatkit}/flutter/faq.md +0 -0
- /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
|
-

|
|
12
|
-
|
|
13
11
|
##### **对于正式版**
|
|
14
12
|
|
|
15
13
|
如果您体验过 7 天体验期后,需要购买正式套餐。IM 音视频通话能力针对不同的业务需求提供了差异化的付费版本供您选择,您可以在 [IM 购买页](https://buy.cloud.tencent.com/avc) 了解包含功能并选购您适合的版本。
|
|
@@ -35,7 +33,6 @@ TUICallKit 3.1 版本起,在 TUIChat + TUICallKit 融合场景下,通过 TUI
|
|
|
35
33
|
|
|
36
34
|
```
|
|
37
35
|
|
|
38
|
-
|
|
39
36
|
【Android(kotlin)】
|
|
40
37
|
``` java
|
|
41
38
|
try {
|
|
@@ -56,7 +53,7 @@ try {
|
|
|
56
53
|
|
|
57
54
|
TUICallKit 是腾讯云推出一款新的音视频通话 UI 组件,**是 TUICalling 的升级版本**,支持群组通话、AI 降噪等更多功能特性、支持全平台间互通呼叫,功能更加稳定。 从 TUICalling 升级到 TUICallKit 您可以参考:
|
|
58
55
|
|
|
59
|
-
-
|
|
56
|
+
- Android 升级方案
|
|
60
57
|
|
|
61
58
|
### 报错 inviteID 无效或邀请已处理
|
|
62
59
|
|
|
@@ -83,18 +80,15 @@ TUICallKit 是腾讯云推出一款新的音视频通话 UI 组件,**是 TUICa
|
|
|
83
80
|
TUICallKit 底层通过 IM 管理用户,可以通过 IM 查询用户的在线状态,方式有以下两种:
|
|
84
81
|
- **方式一:**通过 getUserStatus 高级接口查询
|
|
85
82
|
|
|
86
|
-
|
|
87
83
|
详情可参考:查询用户状态([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)),您可以调用不同平台的接口去查询。
|
|
88
|
-
|
|
89
84
|
|
|
90
85
|
> **注意:**
|
|
91
|
-
>
|
|
86
|
+
>
|
|
92
87
|
> - 查询其他用户状态需要升级 TUICallKit 套餐包到**群组通话版本**。
|
|
93
88
|
> - 查询其他用户状态需要提前在 [即时通信 IM 控制台](https://console.cloud.tencent.com/im) 开启 “用户状态查询及状态变更通知”。不开启,调用`getUserStatus`会报错。
|
|
94
89
|
|
|
95
|
-
>
|
|
96
|
-
>
|
|
97
|
-
|
|
90
|
+
>
|
|
91
|
+
>
|
|
98
92
|
|
|
99
93
|
getUserStatus接口的返回结果有以下几种:
|
|
100
94
|
|
|
@@ -108,82 +102,35 @@ TUICallKit 底层通过 IM 管理用户,可以通过 IM 查询用户的在线
|
|
|
108
102
|
|
|
109
103
|
- **方式二:**通过 rest-api 进行查询
|
|
110
104
|
|
|
111
|
-
|
|
112
105
|
详情可参考:[查询账号在线状态](https://cloud.tencent.com/document/product/269/2566)。
|
|
113
106
|
|
|
114
|
-
|
|
115
107
|
### **音视频通话信令里各字段常见问题?**
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
<td rowspan="1" colSpan="1" >actionType = 1 且 cmd = 'videoCall' 或 'audioCall'</td>
|
|
127
|
-
</tr>
|
|
128
|
-
|
|
129
|
-
<tr>
|
|
130
|
-
<td rowspan="1" colSpan="1" >如何判断 “已接听”</td>
|
|
131
|
-
|
|
132
|
-
<td rowspan="1" colSpan="1" >actionType = 3 </td>
|
|
133
|
-
</tr>
|
|
134
|
-
|
|
135
|
-
<tr>
|
|
136
|
-
<td rowspan="1" colSpan="1" >如何判断 “通话已结束”,“通话时长是多收”</td>
|
|
137
|
-
|
|
138
|
-
<td rowspan="1" colSpan="1" >actionType = 1 且 cmd = 'hangup',通话时长取 call_end 字段,单位:秒</td>
|
|
139
|
-
</tr>
|
|
140
|
-
|
|
141
|
-
<tr>
|
|
142
|
-
<td rowspan="1" colSpan="1" >如何判断 “取消通话”</td>
|
|
143
|
-
|
|
144
|
-
<td rowspan="1" colSpan="1" >actionType = 2</td>
|
|
145
|
-
</tr>
|
|
146
|
-
|
|
147
|
-
<tr>
|
|
148
|
-
<td rowspan="1" colSpan="1" >如何判断 “拒绝通话”</td>
|
|
149
|
-
|
|
150
|
-
<td rowspan="1" colSpan="1" >actionType = 4</td>
|
|
151
|
-
</tr>
|
|
152
|
-
|
|
153
|
-
<tr>
|
|
154
|
-
<td rowspan="1" colSpan="1" >如何判断对端忙线产生的 “拒绝通话”</td>
|
|
155
|
-
|
|
156
|
-
<td rowspan="1" colSpan="1" >actionType = 4 且 "line_busy" = "line_busy"</td>
|
|
157
|
-
</tr>
|
|
158
|
-
|
|
159
|
-
<tr>
|
|
160
|
-
<td rowspan="1" colSpan="1" >如何被叫判断 “超时未接听”</td>
|
|
161
|
-
|
|
162
|
-
<td rowspan="1" colSpan="1" >actionType = 5</td>
|
|
163
|
-
</tr>
|
|
164
|
-
</table>
|
|
108
|
+
| **问题** | **说明** |
|
|
109
|
+
| --- | --- |
|
|
110
|
+
| 如何判断 “发起通话” | actionType = 1 且 cmd = 'videoCall' 或 'audioCall' |
|
|
111
|
+
| 如何判断 “已接听” | actionType = 3 |
|
|
112
|
+
| 如何判断 “通话已结束”,“通话时长是多收” | actionType = 1 且 cmd = 'hangup',通话时长取 call_end 字段,单位:秒 |
|
|
113
|
+
| 如何判断 “取消通话” | actionType = 2 |
|
|
114
|
+
| 如何判断 “拒绝通话” | actionType = 4 |
|
|
115
|
+
| 如何判断对端忙线产生的 “拒绝通话” | actionType = 4 且 "line_busy" = "line_busy" |
|
|
116
|
+
| 如何被叫判断 “超时未接听” | actionType = 5 |
|
|
165
117
|
|
|
166
118
|
# Web
|
|
167
119
|
> **说明:**
|
|
168
|
-
>
|
|
120
|
+
>
|
|
169
121
|
> - 如果并没有解决您的问题,也欢迎您加入我们的 TUICallKit 技术交流 QQ 群: **605115878 **来进行交流讨论。
|
|
170
122
|
> - 我们团队即将在 Web 端丰富更多不同的组件,以满足您的开发需求。
|
|
171
123
|
|
|
172
124
|
> 希望您能抽出几分钟时间,为您自己的需求投上一票,我们将优先开发!
|
|
173
|
-
>
|
|
174
|
-
|
|
175
|
-
> 问卷地址:[TUICallKit Web 问卷调查](https://wj.qq.com/s2/11263124/1556/)
|
|
176
|
-
>
|
|
177
|
-
|
|
125
|
+
>
|
|
178
126
|
|
|
179
127
|
## 一、基础环境问题
|
|
180
128
|
|
|
181
129
|
> **说明:**
|
|
182
|
-
>
|
|
130
|
+
>
|
|
183
131
|
|
|
184
132
|
> 以下问题对于 TUICallKit 与 TUICallEngine SDK 同样适用。
|
|
185
|
-
>
|
|
186
|
-
|
|
133
|
+
>
|
|
187
134
|
|
|
188
135
|
### TUICallEngine 和 TUICallKit 分别是什么?
|
|
189
136
|
|
|
@@ -202,15 +149,12 @@ TUICallEngine SDK 是音视频通话组件的无 UI SDK,如果 TUICallKit 的
|
|
|
202
149
|
### 为什么本地开发测试能正常使用,但是部署到线上用 IP 访问后无法正常视频/语音通话?
|
|
203
150
|
- **对网站域名协议的要求**
|
|
204
151
|
|
|
205
|
-
|
|
206
152
|
出于对用户安全、隐私等问题的考虑,浏览器限制网页在 HTTPS 协议下才能正常使用本文档中所对接组件的全部功能。为确保生产环境中的用户能够顺畅体验产品功能,请将您的网站部署在 `https://` 协议的域名下。更多请参见 [页面访问协议说明](https://web.sdk.qcloud.com/trtc/webrtc/doc/zh-cn/tutorial-05-info-browser.html#h2-3)。
|
|
207
153
|
|
|
208
154
|
- **对网络环境的要求**
|
|
209
155
|
|
|
210
|
-
|
|
211
156
|
在使用 TUICallKit 时,用户可能因防火墙限制导致无法正常进行音视频通话,请参考 [应对防火墙策略](https://web.sdk.qcloud.com/trtc/webrtc/doc/zh-cn/tutorial-05-info-browser.html#h2-4) 将相应端口及域名添加至防火墙白名单中。
|
|
212
157
|
|
|
213
|
-
|
|
214
158
|
### 在接通过程中报:"is not included in the current tim's package"?
|
|
215
159
|
|
|
216
160
|
TUICallKit(含 TUICallEngine SDK)依赖的 `tim-js-sdk` 版本需要 ≥ 2.21.2。
|
|
@@ -228,97 +172,23 @@ TUICallKit(含 TUICallEngine SDK)依赖的 `tim-js-sdk` 版本需要 ≥ 2.2
|
|
|
228
172
|
未调用 [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)。
|
|
229
173
|
|
|
230
174
|
> **注意:**
|
|
231
|
-
>
|
|
175
|
+
>
|
|
232
176
|
|
|
233
177
|
> [TUICallEngine login](https://web.sdk.qcloud.com/component/trtccalling/doc/TUICallEngine/web/TUICallEngine.html#login) 是一个异步接口,避免在 login 还未完成,直接调用 TUICallEngine 的接口。
|
|
234
|
-
>
|
|
235
|
-
|
|
178
|
+
>
|
|
236
179
|
|
|
237
|
-
### 当前通话状态无法使用该 API
|
|
180
|
+
### 当前通话状态无法使用该 API
|
|
238
181
|
|
|
239
182
|
API 与通话状态对照表:
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
</tr>
|
|
250
|
-
|
|
251
|
-
<tr>
|
|
252
|
-
<td rowspan="1" colSpan="1" >call</td>
|
|
253
|
-
|
|
254
|
-
<td rowspan="1" colSpan="1" >✓</td>
|
|
255
|
-
|
|
256
|
-
<td rowspan="1" colSpan="1" >×</td>
|
|
257
|
-
|
|
258
|
-
<td rowspan="1" colSpan="1" >×</td>
|
|
259
|
-
</tr>
|
|
260
|
-
|
|
261
|
-
<tr>
|
|
262
|
-
<td rowspan="1" colSpan="1" >groupCall</td>
|
|
263
|
-
|
|
264
|
-
<td rowspan="1" colSpan="1" >✓</td>
|
|
265
|
-
|
|
266
|
-
<td rowspan="1" colSpan="1" >×</td>
|
|
267
|
-
|
|
268
|
-
<td rowspan="1" colSpan="1" >×</td>
|
|
269
|
-
</tr>
|
|
270
|
-
|
|
271
|
-
<tr>
|
|
272
|
-
<td rowspan="1" colSpan="1" >accept</td>
|
|
273
|
-
|
|
274
|
-
<td rowspan="1" colSpan="1" >×</td>
|
|
275
|
-
|
|
276
|
-
<td rowspan="1" colSpan="1" >✓</td>
|
|
277
|
-
|
|
278
|
-
<td rowspan="1" colSpan="1" >×</td>
|
|
279
|
-
</tr>
|
|
280
|
-
|
|
281
|
-
<tr>
|
|
282
|
-
<td rowspan="1" colSpan="1" >reject</td>
|
|
283
|
-
|
|
284
|
-
<td rowspan="1" colSpan="1" >×</td>
|
|
285
|
-
|
|
286
|
-
<td rowspan="1" colSpan="1" >✓</td>
|
|
287
|
-
|
|
288
|
-
<td rowspan="1" colSpan="1" >×</td>
|
|
289
|
-
</tr>
|
|
290
|
-
|
|
291
|
-
<tr>
|
|
292
|
-
<td rowspan="1" colSpan="1" >hangup</td>
|
|
293
|
-
|
|
294
|
-
<td rowspan="1" colSpan="1" >×</td>
|
|
295
|
-
|
|
296
|
-
<td rowspan="1" colSpan="1" >✓</td>
|
|
297
|
-
|
|
298
|
-
<td rowspan="1" colSpan="1" >✓</td>
|
|
299
|
-
</tr>
|
|
300
|
-
|
|
301
|
-
<tr>
|
|
302
|
-
<td rowspan="1" colSpan="1" >inviteUser</td>
|
|
303
|
-
|
|
304
|
-
<td rowspan="1" colSpan="1" >×</td>
|
|
305
|
-
|
|
306
|
-
<td rowspan="1" colSpan="1" >✓</td>
|
|
307
|
-
|
|
308
|
-
<td rowspan="1" colSpan="1" >✓</td>
|
|
309
|
-
</tr>
|
|
310
|
-
|
|
311
|
-
<tr>
|
|
312
|
-
<td rowspan="1" colSpan="1" >joinInGroupCall</td>
|
|
313
|
-
|
|
314
|
-
<td rowspan="1" colSpan="1" >✓</td>
|
|
315
|
-
|
|
316
|
-
<td rowspan="1" colSpan="1" >×</td>
|
|
317
|
-
|
|
318
|
-
<td rowspan="1" colSpan="1" >×</td>
|
|
319
|
-
</tr>
|
|
320
|
-
</table>
|
|
321
|
-
|
|
183
|
+
| API | idle | calling | connected |
|
|
184
|
+
| --- | --- | --- | --- |
|
|
185
|
+
| call | ✓ | × | × |
|
|
186
|
+
| groupCall | ✓ | × | × |
|
|
187
|
+
| accept | × | ✓ | × |
|
|
188
|
+
| reject | × | ✓ | × |
|
|
189
|
+
| hangup | × | ✓ | ✓ |
|
|
190
|
+
| inviteUser | × | ✓ | ✓ |
|
|
191
|
+
| joinInGroupCall | ✓ | × | × |
|
|
322
192
|
|
|
323
193
|
## 二、TUICallKit 问题(含 UI)
|
|
324
194
|
|
|
@@ -338,7 +208,7 @@ TUICallKit 支持 H5,通过页面 UA 自动修改适应移动端的布局,
|
|
|
338
208
|
|
|
339
209
|
请先确保页面已被授权使用麦克风或摄像头,参见 [设备授权说明](https://web.sdk.qcloud.com/trtc/webrtc/doc/zh-cn/tutorial-05-info-browser.html#h2-5)。
|
|
340
210
|
|
|
341
|
-
可以尝试
|
|
211
|
+
可以尝试 Github Demo 是否可以正常通话,然后在 [设备检测页面](https://web.sdk.qcloud.com/trtc/webrtc/demo/detect/index.html) 检查是否支持 webrtc。
|
|
342
212
|
|
|
343
213
|
### 4. timeout 字段设置无效原因?
|
|
344
214
|
|
|
@@ -360,14 +230,12 @@ UserSig 是腾讯云为其云服务设计的一种安全保护签名,是一种
|
|
|
360
230
|
- **方式一:**控制台获取,参考 [获取临时 userSig](https://console.cloud.tencent.com/trtc/usersigtool)。
|
|
361
231
|
|
|
362
232
|
- **方式二:**部署临时生成脚本。
|
|
363
|
-
|
|
364
233
|
|
|
365
234
|
> **警告:**
|
|
366
|
-
>
|
|
235
|
+
>
|
|
367
236
|
|
|
368
237
|
> 此方式是在前端代码中配置 SecretKey,该方法中 SecretKey 很容易被反编译逆向破解,一旦您的密钥泄露,攻击者就可以盗用您的腾讯云流量,因此**该方法仅适合本地跑通功能调试**,生产环境请看方式三。
|
|
369
|
-
>
|
|
370
|
-
|
|
238
|
+
>
|
|
371
239
|
|
|
372
240
|
为方便初期调试,userSig 可临时使用 `GenerateTestUserSig-es.js` 中 `genTestUserSig(params)` 函数来计算 ,例如:
|
|
373
241
|
|
|
@@ -377,24 +245,17 @@ UserSig 是腾讯云为其云服务设计的一种安全保护签名,是一种
|
|
|
377
245
|
```
|
|
378
246
|
- **方式三:**正式环境使用。
|
|
379
247
|
|
|
380
|
-
|
|
381
248
|
正确的 UserSig 签发方式是将 UserSig 的计算代码集成到您的服务端,并提供面向项目的接口,在需要 UserSig 时由您的项目向业务服务器发起请求获取动态 UserSig。更多详情请参见 [服务端生成 UserSig](https://cloud.tencent.com/document/product/269/32688#GeneratingdynamicUserSig)。
|
|
382
249
|
|
|
383
|
-
|
|
384
250
|
### 8.如何创建 userID?
|
|
385
251
|
- 通过 userID 与 UserSig 登录过一次,会默认创建该用户。
|
|
386
252
|
|
|
387
|
-
- 通过 [即时通信 IM 控制台](https://console.cloud.tencent.com/im) 进行创建和获取,单击目标应用卡片,进入应用的账号管理页面,也可创建账号并获取 userID
|
|
388
|
-
|
|
253
|
+
- 通过 [即时通信 IM 控制台](https://console.cloud.tencent.com/im) 进行创建和获取,单击目标应用卡片,进入应用的账号管理页面,也可创建账号并获取 userID。
|
|
389
254
|
|
|
390
|
-
### 9.
|
|
255
|
+
### 9.
|
|
391
256
|
|
|
392
257
|
**解决源码拷贝可能导致的报错**
|
|
393
258
|
|
|
394
|
-
如果您在使 TUICallKit 组件时遇到了报错,请不要担心,大多数情况下这是由于 ESLint 和 TSConfig 配置不一致造成的。您可以查阅文档,按照要求正确配置即可。如果您需要帮助,请随时联系我们,我们将确保您能够成功地使用此组件。以下是几个常见的问题:
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
259
|
【ESLint 报错】
|
|
399
260
|
|
|
400
261
|
若 TUICallKit 与您项目的代码风格不一致导致报错,可将本组件目录屏蔽,如在项目根目录增加 `.eslintignore` 文件,如:
|
|
@@ -420,8 +281,6 @@ src/components/TUICallKit
|
|
|
420
281
|
|
|
421
282
|
#### 步骤一:下载 TUICallKit 组件源码及相关插件
|
|
422
283
|
|
|
423
|
-
|
|
424
|
-
|
|
425
284
|
【Vue3】
|
|
426
285
|
``` bash
|
|
427
286
|
npm install @tencentcloud/call-uikit-vue
|
|
@@ -434,7 +293,7 @@ npm install @tencentcloud/call-uikit-vue2
|
|
|
434
293
|
|
|
435
294
|
【Vue2.6】
|
|
436
295
|
``` plaintext
|
|
437
|
-
npm install @tencentcloud/call-uikit-vue2.6 @vue/composition-api
|
|
296
|
+
npm install @tencentcloud/call-uikit-vue2.6 @vue/composition-api
|
|
438
297
|
```
|
|
439
298
|
|
|
440
299
|
源码集成需要安装 [unplugin-vue2-script-setup](https://www.npmjs.com/package/unplugin-vue2-script-setup) 插件。
|
|
@@ -444,9 +303,6 @@ npm i -D unplugin-vue2-script-setup
|
|
|
444
303
|
|
|
445
304
|
修改构建工具配置文件。
|
|
446
305
|
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
306
|
【Vue Cli】
|
|
451
307
|
``` javascript
|
|
452
308
|
// vue.config.js
|
|
@@ -462,7 +318,6 @@ module.exports = {
|
|
|
462
318
|
}
|
|
463
319
|
```
|
|
464
320
|
|
|
465
|
-
|
|
466
321
|
【vite】
|
|
467
322
|
``` javascript
|
|
468
323
|
// vite.config.ts
|
|
@@ -479,7 +334,6 @@ export default defineConfig({
|
|
|
479
334
|
|
|
480
335
|
```
|
|
481
336
|
|
|
482
|
-
|
|
483
337
|
【Webpack】
|
|
484
338
|
``` javascript
|
|
485
339
|
// webpack.config.js
|
|
@@ -497,27 +351,21 @@ module.exports = {
|
|
|
497
351
|
|
|
498
352
|
将源码拷贝到自己的项目中,以拷贝到`src/components/`目录为例:
|
|
499
353
|
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
354
|
【macOS + Vue3】
|
|
504
355
|
``` html
|
|
505
356
|
mkdir -p ./src/components/TUICallKit && cp -r ./node_modules/@tencentcloud/call-uikit-vue/* ./src/components/TUICallKit
|
|
506
357
|
```
|
|
507
358
|
|
|
508
|
-
|
|
509
359
|
【macOS + Vue2】
|
|
510
360
|
``` html
|
|
511
361
|
mkdir -p ./src/components/TUICallKit && cp -r ./node_modules/@tencentcloud/call-uikit-vue2/* ./src/components/TUICallKit
|
|
512
362
|
```
|
|
513
363
|
|
|
514
|
-
|
|
515
364
|
【Windows + Vue3】
|
|
516
365
|
``` html
|
|
517
366
|
xcopy .\node_modules\@tencentcloud\call-uikit-vue .\src\components\TUICallKit /i /e
|
|
518
367
|
```
|
|
519
368
|
|
|
520
|
-
|
|
521
369
|
【Windows + Vue2】
|
|
522
370
|
``` html
|
|
523
371
|
xcopy .\node_modules\@tencentcloud\call-uikit-vue2 .\src\components\TUICallKit /i /e
|
|
@@ -528,10 +376,10 @@ xcopy .\node_modules\@tencentcloud\call-uikit-vue2 .\src\components\TUICallKit
|
|
|
528
376
|
修改 TUICallKit 引入路径为本地文件引入。
|
|
529
377
|
|
|
530
378
|
> **注意:**
|
|
531
|
-
>
|
|
379
|
+
>
|
|
532
380
|
|
|
533
|
-
> 此方法可能与您的 ESLint、TypeScript 配置冲突,若出现报错,可参见
|
|
534
|
-
>
|
|
381
|
+
> 此方法可能与您的 ESLint、TypeScript 配置冲突,若出现报错,可参见 解决源码拷贝导致的报错。
|
|
382
|
+
>
|
|
535
383
|
|
|
536
384
|
``` typescript
|
|
537
385
|
import { TUICallKit, TUICallKitServer } from "./components/TUICallKit/src/index";
|
|
@@ -553,13 +401,12 @@ import { TUICallKit, TUICallKitServer } from "./components/TUICallKit/src/index"
|
|
|
553
401
|
|
|
554
402
|
### 内网的环境下如何使用 callkit?
|
|
555
403
|
1. 通过 getTRTCCloudInstance 获取 TRTCCloud 实例。
|
|
556
|
-
|
|
557
404
|
|
|
558
405
|
> **注意:**
|
|
559
|
-
>
|
|
406
|
+
>
|
|
560
407
|
|
|
561
408
|
> **v3.1.3+ 支持。**
|
|
562
|
-
>
|
|
409
|
+
>
|
|
563
410
|
|
|
564
411
|
``` javascript
|
|
565
412
|
const trtcCloud = TUICallKitServer.getTUICallEngineInstance().getTRTCCloudInstance();
|
|
@@ -579,14 +426,13 @@ import { TUICallKit, TUICallKitServer } from "./components/TUICallKit/src/index"
|
|
|
579
426
|
iceTransportPolicy: 'relay',
|
|
580
427
|
},
|
|
581
428
|
}));
|
|
582
|
-
```
|
|
429
|
+
```
|
|
583
430
|
|
|
584
431
|
> **注意:**
|
|
585
|
-
>
|
|
432
|
+
>
|
|
586
433
|
|
|
587
434
|
> TRTC 应对防火墙受限参见 [设置代理服务器](https://web.sdk.qcloud.com/component/trtccalling/doc/TUICallEngine/web/zh-cn/tutorial-11-set_proxy_server.html)。
|
|
588
|
-
>
|
|
589
|
-
|
|
435
|
+
>
|
|
590
436
|
|
|
591
437
|
## 五、其它
|
|
592
438
|
|
|
@@ -599,7 +445,6 @@ import { TUICallKit, TUICallKitServer } from "./components/TUICallKit/src/index"
|
|
|
599
445
|
TUICallKitServer.getTUICallEngineInstance().setBeautyLevel(0);
|
|
600
446
|
```
|
|
601
447
|
|
|
602
|
-
|
|
603
448
|
# Android
|
|
604
449
|
### TUICallKit 是否可以不引入 IM SDK,只使用 TRTC?
|
|
605
450
|
|
|
@@ -607,7 +452,7 @@ import { TUICallKit, TUICallKitServer } from "./components/TUICallKit/src/index"
|
|
|
607
452
|
|
|
608
453
|
### 错误提示“The package you purchased does not support this ability”?
|
|
609
454
|
|
|
610
|
-
如遇以上错误提示,是由于您当前应用的音视频通话能力包过期或未开通,请参见
|
|
455
|
+
如遇以上错误提示,是由于您当前应用的音视频通话能力包过期或未开通,请参见 开通服务,领取或者开通音视频通话能力,进而继续使用 TUICallKit 组件。
|
|
611
456
|
|
|
612
457
|
### 如何购买音视频通话套餐?
|
|
613
458
|
|
|
@@ -640,11 +485,10 @@ java.lang.UnsatisfiedLinkError: No implementation found for void com.tencent.lit
|
|
|
640
485
|
```
|
|
641
486
|
|
|
642
487
|
> **注意:**
|
|
643
|
-
>
|
|
488
|
+
>
|
|
644
489
|
|
|
645
490
|
> 上述异常,是因为 TUICallKit 依赖的 TRTC 等 SDK 部分接口使用了 JNI 实现,Android Studio 在某些条件进行编译 APK 的时候可能并不会把 Native 的 .so 库打包进去,导致出现这类报错,重新 Clean 一下工程,卸载重装即可。
|
|
646
|
-
>
|
|
647
|
-
|
|
491
|
+
>
|
|
648
492
|
|
|
649
493
|
### allowBackup 异常?
|
|
650
494
|
- **报错信息**:`Manifest merger failed : Attribute application@allowBackup value=(true) from AndroidManifest.xml`
|
|
@@ -653,43 +497,34 @@ java.lang.UnsatisfiedLinkError: No implementation found for void com.tencent.lit
|
|
|
653
497
|
|
|
654
498
|
- **解决方法**:您可以在您工程的 `AndroidManifest.xml` 文件中删除 allowBackup 属性或将该属性改为 false,表示关闭备份和恢复功能;也可以在 `AndroidManifest.xml` 文件的 application 节点中添加 `tools:replace="android:allowBackup";` 表示覆盖 IM SDK 的设置,使用您自己的设置。
|
|
655
499
|
|
|
656
|
-
|
|
657
500
|
### TUICallKit 是否支持离线推送呢?
|
|
658
501
|
|
|
659
|
-
**支持**,Android 离线推送采用腾讯云的**TIMPush
|
|
502
|
+
**支持**,Android 离线推送采用腾讯云的**TIMPush推送插件**以及**自集成推送**,接入方式详见:离线唤醒。
|
|
660
503
|
|
|
661
504
|
### 在通话邀请超时时间内,被邀请者如果离线再上线,能否弹出通话界面?
|
|
662
505
|
|
|
663
|
-
单人通话时,如果在超时时间内上线,会触发来电邀请;群组通话,如果在超时时间内上线,会拉起未处理的20
|
|
506
|
+
单人通话时,如果在超时时间内上线,会触发来电邀请;群组通话,如果在超时时间内上线,会拉起未处理的20条群消息,如果存在通话邀请,则触发来电邀请。在不同的版本上来电的显示策略有所不同(详见下方:被叫端来电显示策略)。
|
|
664
507
|
|
|
665
508
|
### 应用在后台时,不能自动将通话界面拉取到前台
|
|
666
|
-
1. TUICallKit 2.3 及以上版本([Android&iOS 发布日志](https://cloud.tencent.com/document/product/647/80931)
|
|
509
|
+
1. TUICallKit 2.3 及以上版本([Android&iOS 发布日志](https://cloud.tencent.com/document/product/647/80931))调整了被叫端的来电显示策略,见下方:被叫端来电显示策略。
|
|
667
510
|
|
|
668
511
|
2. TUICallKit 2.3 版本之前,将应用从后台自动拉取到前台,需要检查 App 是否开启了“后台自启动”或“悬浮窗”权限。
|
|
669
512
|
|
|
670
|
-
|
|
671
|
-
不同厂商、甚至同一厂商不同 Android 版本,其对于应用开放的权限以及权限名称也会存在不一致。例如,小米6只需要开启后台弹出界面权限,而红米需要同时打开后台弹出界面和显示悬浮窗权限。如何开启权限,详见下方:[相关权限开启](https://write.woa.com/document/86735803114926080)。
|
|
513
|
+
不同厂商、甚至同一厂商不同 Android 版本,其对于应用开放的权限以及权限名称也会存在不一致。例如,小米6只需要开启后台弹出界面权限,而红米需要同时打开后台弹出界面和显示悬浮窗权限。如何开启权限,详见下方:相关权限开启。
|
|
672
514
|
|
|
673
515
|
3. 如果遇到以下场景拉不起通话界面,原因是:应用的启动堆栈变化,导致 CallKitActivity 界面被遮挡移除了。
|
|
674
516
|
|
|
675
|
-
|
|
676
517
|
场景一:接通后退到后台,点击桌面图标进入应用,原通话界面消失;
|
|
677
518
|
|
|
678
|
-
|
|
679
519
|
场景二:应用在后台时,开启banner的情况下,收到通知View,不点击View,点击桌面图标进入应用,拉不起通话界面且通知消失;
|
|
680
520
|
|
|
681
|
-
|
|
682
521
|
场景三:应用在后台时,收到离线推送,不点击推送通知,点击桌面图标进入应用,无法拉起通话界面或通话界面闪了一下;
|
|
683
522
|
|
|
684
|
-
|
|
685
523
|
以上几种情况,需要在您自己业务的默认启动的主 Activity 中添加以下代码,每个应用默认启动的 Activity 都不一样,详见 AndroidManifest.xml 配置,以目前大部分应用的启动页 SplashActivity 为例:
|
|
686
524
|
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
|
|
690
525
|
【添加代码】
|
|
691
526
|
``` java
|
|
692
|
-
if (!isTaskRoot() && getIntent() != null && getIntent().hasCategory(Intent.CATEGORY_LAUNCHER)
|
|
527
|
+
if (!isTaskRoot() && getIntent() != null && getIntent().hasCategory(Intent.CATEGORY_LAUNCHER)
|
|
693
528
|
&& Intent.ACTION_MAIN.equals(getIntent().getAction())) {
|
|
694
529
|
finish();
|
|
695
530
|
return;
|
|
@@ -698,44 +533,24 @@ if (!isTaskRoot() && getIntent() != null && getIntent().hasCategory(Intent.CATEG
|
|
|
698
533
|
|
|
699
534
|
【具体添加位置】
|
|
700
535
|
|
|
701
|
-

|
|
702
|
-
|
|
703
|
-
|
|
704
536
|
> **说明:**
|
|
705
|
-
>
|
|
537
|
+
>
|
|
706
538
|
|
|
707
539
|
> SplashActivity 的启动模式不能是 singleTask;singleTask 模式下 isTaskRoot 是 true,上述方法不生效。
|
|
708
|
-
>
|
|
709
|
-
|
|
710
|
-
> 如果您在开发中开启了所有权限或做了上述尝试,依然无法自动拉起通话界面到前台,请加入 TUICallKit 技术交流平台 [zhiliao](https://zhiliao.qq.com/s/cWSPGIIM62CC/cEUPGIIM62CE),联系我们协助处理。
|
|
711
|
-
>
|
|
540
|
+
>
|
|
712
541
|
|
|
542
|
+
>
|
|
713
543
|
|
|
714
544
|
### 被叫端来电显示策略
|
|
715
545
|
|
|
716
546
|
为使 TUICallKit 适应不同的业务需求,增加产品特色,提升用户的使用体验,TUICallKit **2.3 及以上版本**([发布日志](https://cloud.tencent.com/document/product/647/80931)),优化收到来电后的通话页面显示弹出策略,详情如下所示:
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
<td rowspan="1" colSpan="1" >横幅显示来电请求</td>
|
|
722
|
-
</tr>
|
|
723
|
-
|
|
724
|
-
<tr>
|
|
725
|
-
<td rowspan="1" colSpan="1" ></td>
|
|
726
|
-
|
|
727
|
-
<td rowspan="1" colSpan="1" ></td>
|
|
728
|
-
</tr>
|
|
729
|
-
</table>
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
|
|
547
|
+
| 全屏显示通话等待界面 | 横幅显示来电请求 |
|
|
548
|
+
| --- | --- |
|
|
549
|
+
| | |
|
|
733
550
|
|
|
734
551
|
【2.3.0.920版本及之后的版本】
|
|
735
552
|
1. 如果您想要被叫端收到邀请时,尽量去拉起全屏通话界面,那么您可以更新 [tuicallkit-kt](https://github.com/Tencent-RTC/TUICallKit/tree/main/Android/tuicallkit-kt) 代码到最新。该情况下,被叫端的来电显示策略如下:
|
|
736
553
|
|
|
737
|
-
|
|
738
|
-

|
|
739
554
|
2. 如果您想在被叫端收到通话的时候,先展示一个横幅,然后根据需要拉起全屏通话界面,那么您可以调用以下接口开启该功能。
|
|
740
555
|
|
|
741
556
|
``` java
|
|
@@ -744,27 +559,18 @@ if (!isTaskRoot() && getIntent() != null && getIntent().hasCategory(Intent.CATEG
|
|
|
744
559
|
|
|
745
560
|
开启后,被叫端的来电策略如下所示,只要开启**悬浮窗权限,**就能尽可能的展示来电横幅。
|
|
746
561
|
|
|
747
|
-

|
|
748
|
-
|
|
749
562
|
【2.3版本之前】
|
|
750
563
|
|
|
751
|
-

|
|
752
|
-
|
|
753
564
|
> **说明:**
|
|
754
|
-
>
|
|
755
|
-
|
|
756
|
-
> 相关权限如何开启,详见下方:[相关权限开启](https://write.woa.com/document/86735803114926080)。
|
|
757
|
-
>
|
|
565
|
+
>
|
|
758
566
|
|
|
759
|
-
|
|
760
|
-
|
|
567
|
+
> 相关权限如何开启,详见下方:相关权限开启。
|
|
568
|
+
>
|
|
761
569
|
|
|
762
570
|
### **相关权限开启**
|
|
763
571
|
|
|
764
572
|
为实现良好的通话体验,建议您在应用中开启“通知”权限、“显示在其他应用上层(悬浮窗)”以及“后台拉起界面”权限,具体方法如下:
|
|
765
573
|
|
|
766
|
-
|
|
767
|
-
|
|
768
574
|
【代码指引】
|
|
769
575
|
- **通知权限**:便于展示推送通知:请参见 [通知运行时权限](https://developer.android.com/develop/ui/views/notifications/notification-permission) 和 [请求运行时权限](https://developer.android.com/training/permissions/requesting#request-permission) 根据业务需求自行实现。
|
|
770
576
|
|
|
@@ -784,29 +590,14 @@ fun requestPermission(context: Context?) {
|
|
|
784
590
|
【手动开启】
|
|
785
591
|
|
|
786
592
|
安装应用后,您可以长按应用图标,选择“应用信息”,然后开启“通知”权限、“显示在其他应用上层”以及“后台拉起界面”权限。或者您可以到`手机 > 系统设置 > 应用管理 > 应用`中手动开启上述权限。
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
<td rowspan="1" colSpan="1" >小米</td>
|
|
792
|
-
|
|
793
|
-
<td rowspan="1" colSpan="1" >vivo</td>
|
|
794
|
-
</tr>
|
|
795
|
-
|
|
796
|
-
<tr>
|
|
797
|
-
<td rowspan="1" colSpan="1" ></td>
|
|
798
|
-
|
|
799
|
-
<td rowspan="1" colSpan="1" ></td>
|
|
800
|
-
|
|
801
|
-
<td rowspan="1" colSpan="1" ></td>
|
|
802
|
-
</tr>
|
|
803
|
-
</table>
|
|
804
|
-
|
|
593
|
+
| Pixel 4a | 小米 | vivo |
|
|
594
|
+
| --- | --- | --- |
|
|
595
|
+
| | | |
|
|
805
596
|
|
|
806
597
|
# iOS
|
|
807
598
|
### 错误提示“The package you purchased does not support this ability”?
|
|
808
599
|
|
|
809
|
-
如遇以上错误提示,是由于您当前应用的音视频通话能力包过期或未开通,请参见
|
|
600
|
+
如遇以上错误提示,是由于您当前应用的音视频通话能力包过期或未开通,请参见 开通服务,领取或者开通音视频通话能力,进而继续使用TUICallKit组件。
|
|
810
601
|
|
|
811
602
|
### 如何购买音视频通话套餐?
|
|
812
603
|
|
|
@@ -826,42 +617,29 @@ fun requestPermission(context: Context?) {
|
|
|
826
617
|
pod 'TUICallKit_Swift', :path => "TUICallKit/TUICallKit_Swift.podspec"
|
|
827
618
|
```
|
|
828
619
|
4. 执行 `pod install` 命令,完成导入。
|
|
829
|
-
|
|
830
620
|
|
|
831
621
|
> **注意:**
|
|
832
|
-
>
|
|
622
|
+
>
|
|
833
623
|
|
|
834
624
|
> `TUICallKit_Swift`文件夹和`TUICallKit_Swift.podspec`文件必须在同一目录下。
|
|
835
|
-
>
|
|
836
|
-
|
|
625
|
+
>
|
|
837
626
|
|
|
838
627
|
**TUICallKit_Swift 组件集成后效果**:
|
|
839
628
|
|
|
840
|
-
|
|
841
|
-

|
|
842
|
-
|
|
843
|
-
|
|
844
629
|
> **说明:**
|
|
845
|
-
>
|
|
630
|
+
>
|
|
846
631
|
|
|
847
632
|
> TUICallKit_Swift 组件集成后支持文件夹分层显示,方便您阅读和修改源代码。
|
|
848
|
-
>
|
|
849
|
-
|
|
633
|
+
>
|
|
850
634
|
|
|
851
635
|
### Xcode 15 编译报错?
|
|
852
636
|
|
|
853
637
|
#### 1、出现 **Sandbox: rsync **编译报错
|
|
854
638
|
|
|
855
|
-

|
|
856
|
-
|
|
857
639
|
可以在 **Build Settings **中把 **User Script Sandboxing **设置为 **NO:**
|
|
858
640
|
|
|
859
|
-

|
|
860
|
-
|
|
861
641
|
#### 2、出现 **SDK does not contain **编译报错
|
|
862
642
|
|
|
863
|
-

|
|
864
|
-
|
|
865
643
|
可以在 Podfile 添加如下代码:
|
|
866
644
|
``` bash
|
|
867
645
|
# target 'xxxx' do
|
|
@@ -880,8 +658,6 @@ end
|
|
|
880
658
|
|
|
881
659
|
#### 3、如果在 **M 系列电脑**上运行模拟器,可能会出现 **Linker command failed with exit code 1 (use -v to see invocation) **编译报错
|
|
882
660
|
|
|
883
|
-

|
|
884
|
-
|
|
885
661
|
可以在 Podfile 添加如下代码:
|
|
886
662
|
``` bash
|
|
887
663
|
# target 'xxxx' do
|
|
@@ -913,21 +689,18 @@ end
|
|
|
913
689
|
```
|
|
914
690
|
3. 如果您使用了 `TXLiteAVSDK_Enterprise` 库,会产生符号冲突。建议升级到 `TXLiteAVSDK_Professional` 后使用 TUICallKit_Swift`/Professional`。
|
|
915
691
|
|
|
916
|
-
|
|
917
692
|
### TUICallKit 是否可以不引入 IM SDK,只使用 TRTC?
|
|
918
693
|
|
|
919
694
|
**不可以。**`TUIKit` 全系组件都使用了腾讯云 IM SDK 作为通信的基础服务,比如通话拨打信令、通话忙线信令等核心逻辑,如果您已经购买有其他 `IM` 产品,也可以参照 `TUICallKit` 逻辑进行适配。
|
|
920
695
|
|
|
921
696
|
### TUICallKit 组件支持自定义铃声吗?
|
|
922
697
|
|
|
923
|
-
**支持**,调用
|
|
698
|
+
**支持**,调用 setCallingBell 即可。
|
|
924
699
|
|
|
925
700
|
### TUICallKit 是否支持后台运行?
|
|
926
701
|
|
|
927
702
|
**支持**,如需要进入后台仍然运行相关功能,可选中当前工程项目,在 **Capabilities** 下的 **Background Modes** 模块中勾选 **Audio,AirPlay and Picture in Picture** ,如下图所示:
|
|
928
703
|
|
|
929
|
-

|
|
930
|
-
|
|
931
704
|
### 如何查看 TRTC 日志?
|
|
932
705
|
|
|
933
706
|
TRTC 的日志默认压缩加密,后缀为 .xlog。日志是否加密是可以通过 setLogCompressEnabled 来控制,生成的文件名里面含 C(compressed) 的就是加密压缩的,含 R(raw) 的就是明文的。
|
|
@@ -935,18 +708,17 @@ TRTC 的日志默认压缩加密,后缀为 .xlog。日志是否加密是可以
|
|
|
935
708
|
iOS:`sandbox的Documents/log`
|
|
936
709
|
|
|
937
710
|
> **说明:**
|
|
938
|
-
>
|
|
711
|
+
>
|
|
939
712
|
> - 查看 .xlog 文件需要下载 [解密工具](https://dldir1.qq.com/hudongzhibo/log_tool/decode_mars_log_file.py),在 Python 2.7环境中放到 xlog 文件同目录下直接使用 `python decode_mars_log_file.py` 运行即可。
|
|
940
713
|
> - 查看 .clog 文件(9.6 版本以后新的日志格式)需要下载 [解密工具](http://dldir1.qq.com/hudongzhibo/log_tool/decompress_clog.py),在 Python 2.7 环境中放到 clog 文件同目录下直接使用 `python decompress_clog.py `运行即可。
|
|
941
714
|
|
|
942
|
-
|
|
943
715
|
# Flutter
|
|
944
716
|
### 同时集成 tencent_calls_uikit 和 tencent_trtc_cloud,或同时集成 tencent_calls_uikit 和 live_flutter_plugin,出现符号冲突报错,怎么解决?
|
|
945
717
|
|
|
946
718
|
问题详情:当引入 flutter ''tencent_calls_uikit'' 进我们现有的 project 后,Android 构建 APK 时出现如下报错:
|
|
947
719
|
``` bash
|
|
948
|
-
Duplicate class com.tencent.liteav.LiveSettingJni found in modules jetified-LiteAVSDK_Professional-10.7.0.13053-runtime
|
|
949
|
-
(com.tencent.liteav:LiteAVSDK_Professional:10.7.0.13053) and jetified-LiteAVSDK_TRTC-10.3.0.11225-runtime
|
|
720
|
+
Duplicate class com.tencent.liteav.LiveSettingJni found in modules jetified-LiteAVSDK_Professional-10.7.0.13053-runtime
|
|
721
|
+
(com.tencent.liteav:LiteAVSDK_Professional:10.7.0.13053) and jetified-LiteAVSDK_TRTC-10.3.0.11225-runtime
|
|
950
722
|
(com.tencent.liteav:LiteAVSDK_TRTC:10.3.0.11225)
|
|
951
723
|
```
|
|
952
724
|
|
|
@@ -964,18 +736,18 @@ iOS 在执行`pod install`出现如下报错:
|
|
|
964
736
|
-keep class com.tencent.** { *; }
|
|
965
737
|
```
|
|
966
738
|
|
|
967
|
-
### 从1.8.0以下的版本升级到1.8.0及以上的版本,导致编译报错或者拉不起页面问题如何修复?
|
|
739
|
+
### 从1.8.0以下的版本升级到1.8.0及以上的版本,导致编译报错或者拉不起页面问题如何修复?
|
|
968
740
|
|
|
969
741
|
如果是从1.8.0以下升级到1.8.0及以上的版本,需要您检查下面几个步骤是否正常:
|
|
970
742
|
1. 将 navigatorObservers 添加到 MateriaApp。 目的是在收到呼叫邀请时导航到 TUICallKit 页面。示例代码如下:
|
|
971
743
|
|
|
972
744
|
``` plaintext
|
|
973
745
|
import 'package:tencent_calls_uikit/tuicall_kit.dart';
|
|
974
|
-
|
|
746
|
+
|
|
975
747
|
MaterialApp(
|
|
976
748
|
navigatorObservers:[TUICallKit.navigatorObserver],
|
|
977
749
|
...
|
|
978
|
-
)
|
|
750
|
+
)
|
|
979
751
|
```
|
|
980
752
|
2. tencent_calls_engine 插件中的导入文件统一替换为新的。
|
|
981
753
|
|
|
@@ -992,9 +764,4 @@ iOS 在执行`pod install`出现如下报错:
|
|
|
992
764
|
```
|
|
993
765
|
3. 登录 API 调整更规范,不需要再指定参数。
|
|
994
766
|
|
|
995
|
-

|
|
996
|
-
|
|
997
767
|
4. 离线推送参数构造优化。
|
|
998
|
-
|
|
999
|
-

|
|
1000
|
-
|