@tencentcloud/sdk-mcp 1.3.9 → 1.4.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 +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/vue/faq.md → callkit/faq/web-faq.md} +78 -311
- package/resource/doc/callkit/preset/android/api.md +330 -0
- package/resource/doc/{tuicallkit → callkit/preset}/android/integration.md +63 -420
- 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/{chatuikit → chatkit}/android/integration.md +30 -126
- 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/{live → core-sdk/live}/flutter/live-integration.md +160 -543
- 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/{voice → core-sdk/voice}/android/voice-audience-list.md +17 -88
- package/resource/doc/livekit/{voice → core-sdk/voice}/android/voice-audio-effect.md +34 -192
- package/resource/doc/livekit/{voice → core-sdk/voice}/android/voice-barrage.md +26 -139
- package/resource/doc/livekit/{voice → core-sdk/voice}/android/voice-co-guest-interaction.md +53 -262
- package/resource/doc/livekit/{voice → core-sdk/voice}/android/voice-gift.md +75 -455
- package/resource/doc/livekit/{voice → core-sdk/voice}/android/voice-host-interaction.md +60 -272
- package/resource/doc/livekit/{voice → core-sdk/voice}/android/voice-integration.md +63 -440
- package/resource/doc/livekit/{voice → core-sdk/voice}/android/voice-room-list.md +23 -151
- package/resource/doc/livekit/{voice → core-sdk/voice}/flutter/voice-audience-list.md +13 -91
- package/resource/doc/livekit/{voice → core-sdk/voice}/flutter/voice-audio-effect.md +34 -177
- package/resource/doc/livekit/{voice → core-sdk/voice}/flutter/voice-barrage.md +18 -102
- package/resource/doc/livekit/{voice → core-sdk/voice}/flutter/voice-co-guest-interaction.md +44 -201
- package/resource/doc/livekit/{voice → core-sdk/voice}/flutter/voice-gift.md +66 -460
- package/resource/doc/livekit/{voice → core-sdk/voice}/flutter/voice-integration.md +57 -419
- package/resource/doc/livekit/{voice → core-sdk/voice}/flutter/voice-room-list.md +24 -157
- package/resource/doc/livekit/{voice → core-sdk/voice}/ios/voice-audience-list.md +23 -96
- package/resource/doc/livekit/{voice → core-sdk/voice}/ios/voice-audio-effect.md +33 -195
- package/resource/doc/livekit/{voice → core-sdk/voice}/ios/voice-barrage.md +35 -150
- package/resource/doc/livekit/{voice → core-sdk/voice}/ios/voice-co-guest-interaction.md +45 -254
- package/resource/doc/livekit/{voice → core-sdk/voice}/ios/voice-gift.md +77 -457
- package/resource/doc/livekit/{voice → core-sdk/voice}/ios/voice-host-interaction.md +52 -261
- package/resource/doc/livekit/core-sdk/voice/ios/voice-integration.md +478 -0
- package/resource/doc/livekit/{voice → core-sdk/voice}/ios/voice-room-list.md +36 -167
- package/resource/doc/livekit/{voice → core-sdk/voice}/uni-app/voice-audience-list.md +15 -45
- package/resource/doc/livekit/{voice → core-sdk/voice}/uni-app/voice-audio-effect.md +23 -137
- package/resource/doc/livekit/{voice → core-sdk/voice}/uni-app/voice-barrage.md +25 -131
- package/resource/doc/livekit/{voice → core-sdk/voice}/uni-app/voice-co-guest-interaction.md +70 -366
- package/resource/doc/livekit/{voice → core-sdk/voice}/uni-app/voice-gift.md +70 -424
- package/resource/doc/livekit/core-sdk/voice/uni-app/voice-integration.md +323 -0
- package/resource/doc/livekit/{voice → core-sdk/voice}/uni-app/voice-room-list.md +24 -116
- 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 +21 -80
- 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/common/record_skill_session.js +58 -0
- package/tools/common/record_skill_session.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 -34
- 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 -41
- 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 -46
- 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/definitions/record_skill_session_def.js +31 -0
- package/tools/definitions/record_skill_session_def.js.map +1 -0
- package/tools/index.js +49 -61
- 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 +21 -1
- package/utils/report-cls-client.js.map +1 -1
- package/utils/report-es-client.js +1 -1
- package/resource/doc/chatuikit/android/workflow.md +0 -713
- 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/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/livekit/voice/android/workflow.md +0 -333
- package/resource/doc/livekit/voice/flutter/workflow.md +0 -359
- package/resource/doc/livekit/voice/ios/voice-integration.md +0 -853
- package/resource/doc/livekit/voice/ios/workflow.md +0 -358
- package/resource/doc/livekit/voice/uni-app/voice-integration.md +0 -613
- package/resource/doc/livekit/voice/uni-app/workflow.md +0 -369
- 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 -733
- package/resource/doc/tuicallkit/android/workflow.md +0 -432
- 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/react/faq.md +0 -986
- package/resource/doc/tuicallkit/vue/api.md +0 -1512
- 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/present-scenario-choice.js +0 -16
- package/tools/common/present-scenario-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 -75
- package/tools/definitions/get_native_live_uikit_integration_def.js.map +0 -1
- package/tools/definitions/get_native_live_uikit_interaction_def.js +0 -63
- 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 -92
- package/tools/definitions/get_web_room_feature_detail_def.js.map +0 -1
- package/tools/definitions/present_scenario_choice_def.js +0 -53
- package/tools/definitions/present_scenario_choice_def.js.map +0 -1
- package/tools/definitions/record_prompt_def.js +0 -58
- package/tools/definitions/record_prompt_def.js.map +0 -1
- package/tools/definitions/record_result_def.js +0 -46
- package/tools/definitions/record_result_def.js.map +0 -1
- package/tools/live/get-native-live-uikit-integration.js +0 -177
- 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 -194
- 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,14 +33,13 @@ TUICallKitServer.getTUICallEngineInstance().callExperimentalAPI(JSON.stringfy(js
|
|
|
35
33
|
### TUICalling 如何升级到 TUICallKit?
|
|
36
34
|
|
|
37
35
|
TUICallKit 是腾讯云推出一款新的音视频通话 UI 组件,**是 TUICalling 的升级版本**,支持群组通话、AI 降噪等更多功能特性、支持全平台间互通呼叫,功能更加稳定。 从 TUICalling 升级到 TUICallKit 您可以参考:
|
|
38
|
-
-
|
|
39
|
-
|
|
40
|
-
- [Web 升级方案](https://write.woa.com/document/95817920823971840)
|
|
36
|
+
- 微信小程序升级方案
|
|
41
37
|
|
|
42
|
-
-
|
|
38
|
+
- Web 升级方案
|
|
43
39
|
|
|
44
|
-
-
|
|
40
|
+
- uni-app (客户端) 升级方案
|
|
45
41
|
|
|
42
|
+
- uni-app (小程序) 升级方案
|
|
46
43
|
|
|
47
44
|
### 报错 inviteID 无效或邀请已处理
|
|
48
45
|
|
|
@@ -69,18 +66,15 @@ TUICallKit 是腾讯云推出一款新的音视频通话 UI 组件,**是 TUICa
|
|
|
69
66
|
TUICallKit 底层通过 IM 管理用户,可以通过 IM 查询用户的在线状态,方式有以下两种:
|
|
70
67
|
- **方式一:**通过 getUserStatus 高级接口查询
|
|
71
68
|
|
|
72
|
-
|
|
73
69
|
详情可参考:查询用户状态([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)),您可以调用不同平台的接口去查询。
|
|
74
|
-
|
|
75
70
|
|
|
76
71
|
> **注意:**
|
|
77
|
-
>
|
|
72
|
+
>
|
|
78
73
|
> - 查询其他用户状态需要升级 TUICallKit 套餐包到**群组通话版本**。
|
|
79
74
|
> - 查询其他用户状态需要提前在 [即时通信 IM 控制台](https://console.cloud.tencent.com/im) 开启 “用户状态查询及状态变更通知”。不开启,调用`getUserStatus`会报错。
|
|
80
75
|
|
|
81
|
-
>
|
|
82
|
-
>
|
|
83
|
-
|
|
76
|
+
>
|
|
77
|
+
>
|
|
84
78
|
|
|
85
79
|
getUserStatus接口的返回结果有以下几种:
|
|
86
80
|
|
|
@@ -94,82 +88,35 @@ TUICallKit 底层通过 IM 管理用户,可以通过 IM 查询用户的在线
|
|
|
94
88
|
|
|
95
89
|
- **方式二:**通过 rest-api 进行查询
|
|
96
90
|
|
|
97
|
-
|
|
98
91
|
详情可参考:[查询账号在线状态](https://cloud.tencent.com/document/product/269/2566)。
|
|
99
92
|
|
|
100
|
-
|
|
101
93
|
### **音视频通话信令里各字段常见问题?**
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
<td rowspan="1" colSpan="1" >actionType = 1 且 cmd = 'videoCall' 或 'audioCall'</td>
|
|
113
|
-
</tr>
|
|
114
|
-
|
|
115
|
-
<tr>
|
|
116
|
-
<td rowspan="1" colSpan="1" >如何判断 “已接听”</td>
|
|
117
|
-
|
|
118
|
-
<td rowspan="1" colSpan="1" >actionType = 3 </td>
|
|
119
|
-
</tr>
|
|
120
|
-
|
|
121
|
-
<tr>
|
|
122
|
-
<td rowspan="1" colSpan="1" >如何判断 “通话已结束”,“通话时长是多收”</td>
|
|
123
|
-
|
|
124
|
-
<td rowspan="1" colSpan="1" >actionType = 1 且 cmd = 'hangup',通话时长取 call_end 字段,单位:秒</td>
|
|
125
|
-
</tr>
|
|
126
|
-
|
|
127
|
-
<tr>
|
|
128
|
-
<td rowspan="1" colSpan="1" >如何判断 “取消通话”</td>
|
|
129
|
-
|
|
130
|
-
<td rowspan="1" colSpan="1" >actionType = 2</td>
|
|
131
|
-
</tr>
|
|
132
|
-
|
|
133
|
-
<tr>
|
|
134
|
-
<td rowspan="1" colSpan="1" >如何判断 “拒绝通话”</td>
|
|
135
|
-
|
|
136
|
-
<td rowspan="1" colSpan="1" >actionType = 4</td>
|
|
137
|
-
</tr>
|
|
138
|
-
|
|
139
|
-
<tr>
|
|
140
|
-
<td rowspan="1" colSpan="1" >如何判断对端忙线产生的 “拒绝通话”</td>
|
|
141
|
-
|
|
142
|
-
<td rowspan="1" colSpan="1" >actionType = 4 且 "line_busy" = "line_busy"</td>
|
|
143
|
-
</tr>
|
|
144
|
-
|
|
145
|
-
<tr>
|
|
146
|
-
<td rowspan="1" colSpan="1" >如何被叫判断 “超时未接听”</td>
|
|
147
|
-
|
|
148
|
-
<td rowspan="1" colSpan="1" >actionType = 5</td>
|
|
149
|
-
</tr>
|
|
150
|
-
</table>
|
|
94
|
+
| **问题** | **说明** |
|
|
95
|
+
| --- | --- |
|
|
96
|
+
| 如何判断 “发起通话” | actionType = 1 且 cmd = 'videoCall' 或 'audioCall' |
|
|
97
|
+
| 如何判断 “已接听” | actionType = 3 |
|
|
98
|
+
| 如何判断 “通话已结束”,“通话时长是多收” | actionType = 1 且 cmd = 'hangup',通话时长取 call_end 字段,单位:秒 |
|
|
99
|
+
| 如何判断 “取消通话” | actionType = 2 |
|
|
100
|
+
| 如何判断 “拒绝通话” | actionType = 4 |
|
|
101
|
+
| 如何判断对端忙线产生的 “拒绝通话” | actionType = 4 且 "line_busy" = "line_busy" |
|
|
102
|
+
| 如何被叫判断 “超时未接听” | actionType = 5 |
|
|
151
103
|
|
|
152
104
|
# Web
|
|
153
105
|
> **说明:**
|
|
154
|
-
>
|
|
106
|
+
>
|
|
155
107
|
> - 如果并没有解决您的问题,也欢迎您加入我们的 TUICallKit 技术交流 QQ 群: **605115878 **来进行交流讨论。
|
|
156
108
|
> - 我们团队即将在 Web 端丰富更多不同的组件,以满足您的开发需求。
|
|
157
109
|
|
|
158
110
|
> 希望您能抽出几分钟时间,为您自己的需求投上一票,我们将优先开发!
|
|
159
|
-
>
|
|
160
|
-
|
|
161
|
-
> 问卷地址:[TUICallKit Web 问卷调查](https://wj.qq.com/s2/11263124/1556/)
|
|
162
|
-
>
|
|
163
|
-
|
|
111
|
+
>
|
|
164
112
|
|
|
165
113
|
## 一、基础环境问题
|
|
166
114
|
|
|
167
115
|
> **说明:**
|
|
168
|
-
>
|
|
116
|
+
>
|
|
169
117
|
|
|
170
118
|
> 以下问题对于 TUICallKit 与 TUICallEngine SDK 同样适用。
|
|
171
|
-
>
|
|
172
|
-
|
|
119
|
+
>
|
|
173
120
|
|
|
174
121
|
### TUICallEngine 和 TUICallKit 分别是什么?
|
|
175
122
|
|
|
@@ -188,15 +135,12 @@ TUICallEngine SDK 是音视频通话组件的无 UI SDK,如果 TUICallKit 的
|
|
|
188
135
|
### 为什么本地开发测试能正常使用,但是部署到线上用 IP 访问后无法正常视频/语音通话?
|
|
189
136
|
- **对网站域名协议的要求**
|
|
190
137
|
|
|
191
|
-
|
|
192
138
|
出于对用户安全、隐私等问题的考虑,浏览器限制网页在 HTTPS 协议下才能正常使用本文档中所对接组件的全部功能。为确保生产环境中的用户能够顺畅体验产品功能,请将您的网站部署在 `https://` 协议的域名下。更多请参见 [页面访问协议说明](https://web.sdk.qcloud.com/trtc/webrtc/doc/zh-cn/tutorial-05-info-browser.html#h2-3)。
|
|
193
139
|
|
|
194
140
|
- **对网络环境的要求**
|
|
195
141
|
|
|
196
|
-
|
|
197
142
|
在使用 TUICallKit 时,用户可能因防火墙限制导致无法正常进行音视频通话,请参考 [应对防火墙策略](https://web.sdk.qcloud.com/trtc/webrtc/doc/zh-cn/tutorial-05-info-browser.html#h2-4) 将相应端口及域名添加至防火墙白名单中。
|
|
198
143
|
|
|
199
|
-
|
|
200
144
|
### 在接通过程中报:"is not included in the current tim's package"?
|
|
201
145
|
|
|
202
146
|
TUICallKit(含 TUICallEngine SDK)依赖的 `tim-js-sdk` 版本需要 ≥ 2.21.2。
|
|
@@ -214,97 +158,23 @@ TUICallKit(含 TUICallEngine SDK)依赖的 `tim-js-sdk` 版本需要 ≥ 2.2
|
|
|
214
158
|
未调用 [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)。
|
|
215
159
|
|
|
216
160
|
> **注意:**
|
|
217
|
-
>
|
|
161
|
+
>
|
|
218
162
|
|
|
219
163
|
> [TUICallEngine login](https://web.sdk.qcloud.com/component/trtccalling/doc/TUICallEngine/web/TUICallEngine.html#login) 是一个异步接口,避免在 login 还未完成,直接调用 TUICallEngine 的接口。
|
|
220
|
-
>
|
|
221
|
-
|
|
164
|
+
>
|
|
222
165
|
|
|
223
|
-
### 当前通话状态无法使用该 API
|
|
166
|
+
### 当前通话状态无法使用该 API
|
|
224
167
|
|
|
225
168
|
API 与通话状态对照表:
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
</tr>
|
|
236
|
-
|
|
237
|
-
<tr>
|
|
238
|
-
<td rowspan="1" colSpan="1" >call</td>
|
|
239
|
-
|
|
240
|
-
<td rowspan="1" colSpan="1" >✓</td>
|
|
241
|
-
|
|
242
|
-
<td rowspan="1" colSpan="1" >×</td>
|
|
243
|
-
|
|
244
|
-
<td rowspan="1" colSpan="1" >×</td>
|
|
245
|
-
</tr>
|
|
246
|
-
|
|
247
|
-
<tr>
|
|
248
|
-
<td rowspan="1" colSpan="1" >groupCall</td>
|
|
249
|
-
|
|
250
|
-
<td rowspan="1" colSpan="1" >✓</td>
|
|
251
|
-
|
|
252
|
-
<td rowspan="1" colSpan="1" >×</td>
|
|
253
|
-
|
|
254
|
-
<td rowspan="1" colSpan="1" >×</td>
|
|
255
|
-
</tr>
|
|
256
|
-
|
|
257
|
-
<tr>
|
|
258
|
-
<td rowspan="1" colSpan="1" >accept</td>
|
|
259
|
-
|
|
260
|
-
<td rowspan="1" colSpan="1" >×</td>
|
|
261
|
-
|
|
262
|
-
<td rowspan="1" colSpan="1" >✓</td>
|
|
263
|
-
|
|
264
|
-
<td rowspan="1" colSpan="1" >×</td>
|
|
265
|
-
</tr>
|
|
266
|
-
|
|
267
|
-
<tr>
|
|
268
|
-
<td rowspan="1" colSpan="1" >reject</td>
|
|
269
|
-
|
|
270
|
-
<td rowspan="1" colSpan="1" >×</td>
|
|
271
|
-
|
|
272
|
-
<td rowspan="1" colSpan="1" >✓</td>
|
|
273
|
-
|
|
274
|
-
<td rowspan="1" colSpan="1" >×</td>
|
|
275
|
-
</tr>
|
|
276
|
-
|
|
277
|
-
<tr>
|
|
278
|
-
<td rowspan="1" colSpan="1" >hangup</td>
|
|
279
|
-
|
|
280
|
-
<td rowspan="1" colSpan="1" >×</td>
|
|
281
|
-
|
|
282
|
-
<td rowspan="1" colSpan="1" >✓</td>
|
|
283
|
-
|
|
284
|
-
<td rowspan="1" colSpan="1" >✓</td>
|
|
285
|
-
</tr>
|
|
286
|
-
|
|
287
|
-
<tr>
|
|
288
|
-
<td rowspan="1" colSpan="1" >inviteUser</td>
|
|
289
|
-
|
|
290
|
-
<td rowspan="1" colSpan="1" >×</td>
|
|
291
|
-
|
|
292
|
-
<td rowspan="1" colSpan="1" >✓</td>
|
|
293
|
-
|
|
294
|
-
<td rowspan="1" colSpan="1" >✓</td>
|
|
295
|
-
</tr>
|
|
296
|
-
|
|
297
|
-
<tr>
|
|
298
|
-
<td rowspan="1" colSpan="1" >joinInGroupCall</td>
|
|
299
|
-
|
|
300
|
-
<td rowspan="1" colSpan="1" >✓</td>
|
|
301
|
-
|
|
302
|
-
<td rowspan="1" colSpan="1" >×</td>
|
|
303
|
-
|
|
304
|
-
<td rowspan="1" colSpan="1" >×</td>
|
|
305
|
-
</tr>
|
|
306
|
-
</table>
|
|
307
|
-
|
|
169
|
+
| API | idle | calling | connected |
|
|
170
|
+
| --- | --- | --- | --- |
|
|
171
|
+
| call | ✓ | × | × |
|
|
172
|
+
| groupCall | ✓ | × | × |
|
|
173
|
+
| accept | × | ✓ | × |
|
|
174
|
+
| reject | × | ✓ | × |
|
|
175
|
+
| hangup | × | ✓ | ✓ |
|
|
176
|
+
| inviteUser | × | ✓ | ✓ |
|
|
177
|
+
| joinInGroupCall | ✓ | × | × |
|
|
308
178
|
|
|
309
179
|
## 二、TUICallKit 问题(含 UI)
|
|
310
180
|
|
|
@@ -324,7 +194,7 @@ TUICallKit 支持 H5,通过页面 UA 自动修改适应移动端的布局,
|
|
|
324
194
|
|
|
325
195
|
请先确保页面已被授权使用麦克风或摄像头,参见 [设备授权说明](https://web.sdk.qcloud.com/trtc/webrtc/doc/zh-cn/tutorial-05-info-browser.html#h2-5)。
|
|
326
196
|
|
|
327
|
-
可以尝试
|
|
197
|
+
可以尝试 Github Demo 是否可以正常通话,然后在 [设备检测页面](https://web.sdk.qcloud.com/trtc/webrtc/demo/detect/index.html) 检查是否支持 webrtc。
|
|
328
198
|
|
|
329
199
|
### 4. timeout 字段设置无效原因?
|
|
330
200
|
|
|
@@ -346,14 +216,12 @@ UserSig 是腾讯云为其云服务设计的一种安全保护签名,是一种
|
|
|
346
216
|
- **方式一:**控制台获取,参考 [获取临时 userSig](https://console.cloud.tencent.com/trtc/usersigtool)。
|
|
347
217
|
|
|
348
218
|
- **方式二:**部署临时生成脚本。
|
|
349
|
-
|
|
350
219
|
|
|
351
220
|
> **警告:**
|
|
352
|
-
>
|
|
221
|
+
>
|
|
353
222
|
|
|
354
223
|
> 此方式是在前端代码中配置 SecretKey,该方法中 SecretKey 很容易被反编译逆向破解,一旦您的密钥泄露,攻击者就可以盗用您的腾讯云流量,因此**该方法仅适合本地跑通功能调试**,生产环境请看方式三。
|
|
355
|
-
>
|
|
356
|
-
|
|
224
|
+
>
|
|
357
225
|
|
|
358
226
|
为方便初期调试,userSig 可临时使用 `GenerateTestUserSig-es.js` 中 `genTestUserSig(params)` 函数来计算 ,例如:
|
|
359
227
|
|
|
@@ -363,24 +231,17 @@ UserSig 是腾讯云为其云服务设计的一种安全保护签名,是一种
|
|
|
363
231
|
```
|
|
364
232
|
- **方式三:**正式环境使用。
|
|
365
233
|
|
|
366
|
-
|
|
367
234
|
正确的 UserSig 签发方式是将 UserSig 的计算代码集成到您的服务端,并提供面向项目的接口,在需要 UserSig 时由您的项目向业务服务器发起请求获取动态 UserSig。更多详情请参见 [服务端生成 UserSig](https://cloud.tencent.com/document/product/269/32688#GeneratingdynamicUserSig)。
|
|
368
235
|
|
|
369
|
-
|
|
370
236
|
### 8.如何创建 userID?
|
|
371
237
|
- 通过 userID 与 UserSig 登录过一次,会默认创建该用户。
|
|
372
238
|
|
|
373
|
-
- 通过 [即时通信 IM 控制台](https://console.cloud.tencent.com/im) 进行创建和获取,单击目标应用卡片,进入应用的账号管理页面,也可创建账号并获取 userID
|
|
374
|
-
|
|
239
|
+
- 通过 [即时通信 IM 控制台](https://console.cloud.tencent.com/im) 进行创建和获取,单击目标应用卡片,进入应用的账号管理页面,也可创建账号并获取 userID。
|
|
375
240
|
|
|
376
|
-
### 9.
|
|
241
|
+
### 9.
|
|
377
242
|
|
|
378
243
|
**解决源码拷贝可能导致的报错**
|
|
379
244
|
|
|
380
|
-
如果您在使 TUICallKit 组件时遇到了报错,请不要担心,大多数情况下这是由于 ESLint 和 TSConfig 配置不一致造成的。您可以查阅文档,按照要求正确配置即可。如果您需要帮助,请随时联系我们,我们将确保您能够成功地使用此组件。以下是几个常见的问题:
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
245
|
【ESLint 报错】
|
|
385
246
|
|
|
386
247
|
若 TUICallKit 与您项目的代码风格不一致导致报错,可将本组件目录屏蔽,如在项目根目录增加 `.eslintignore` 文件,如:
|
|
@@ -406,8 +267,6 @@ src/components/TUICallKit
|
|
|
406
267
|
|
|
407
268
|
#### 步骤一:下载 TUICallKit 组件源码及相关插件
|
|
408
269
|
|
|
409
|
-
|
|
410
|
-
|
|
411
270
|
【Vue3】
|
|
412
271
|
``` bash
|
|
413
272
|
npm install @tencentcloud/call-uikit-vue
|
|
@@ -420,7 +279,7 @@ npm install @tencentcloud/call-uikit-vue2
|
|
|
420
279
|
|
|
421
280
|
【Vue2.6】
|
|
422
281
|
``` plaintext
|
|
423
|
-
npm install @tencentcloud/call-uikit-vue2.6 @vue/composition-api
|
|
282
|
+
npm install @tencentcloud/call-uikit-vue2.6 @vue/composition-api
|
|
424
283
|
```
|
|
425
284
|
|
|
426
285
|
源码集成需要安装 [unplugin-vue2-script-setup](https://www.npmjs.com/package/unplugin-vue2-script-setup) 插件。
|
|
@@ -430,9 +289,6 @@ npm i -D unplugin-vue2-script-setup
|
|
|
430
289
|
|
|
431
290
|
修改构建工具配置文件。
|
|
432
291
|
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
292
|
【Vue Cli】
|
|
437
293
|
``` javascript
|
|
438
294
|
// vue.config.js
|
|
@@ -448,7 +304,6 @@ module.exports = {
|
|
|
448
304
|
}
|
|
449
305
|
```
|
|
450
306
|
|
|
451
|
-
|
|
452
307
|
【vite】
|
|
453
308
|
``` javascript
|
|
454
309
|
// vite.config.ts
|
|
@@ -465,7 +320,6 @@ export default defineConfig({
|
|
|
465
320
|
|
|
466
321
|
```
|
|
467
322
|
|
|
468
|
-
|
|
469
323
|
【Webpack】
|
|
470
324
|
``` javascript
|
|
471
325
|
// webpack.config.js
|
|
@@ -483,27 +337,21 @@ module.exports = {
|
|
|
483
337
|
|
|
484
338
|
将源码拷贝到自己的项目中,以拷贝到`src/components/`目录为例:
|
|
485
339
|
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
340
|
【macOS + Vue3】
|
|
490
341
|
``` html
|
|
491
342
|
mkdir -p ./src/components/TUICallKit && cp -r ./node_modules/@tencentcloud/call-uikit-vue/* ./src/components/TUICallKit
|
|
492
343
|
```
|
|
493
344
|
|
|
494
|
-
|
|
495
345
|
【macOS + Vue2】
|
|
496
346
|
``` html
|
|
497
347
|
mkdir -p ./src/components/TUICallKit && cp -r ./node_modules/@tencentcloud/call-uikit-vue2/* ./src/components/TUICallKit
|
|
498
348
|
```
|
|
499
349
|
|
|
500
|
-
|
|
501
350
|
【Windows + Vue3】
|
|
502
351
|
``` html
|
|
503
352
|
xcopy .\node_modules\@tencentcloud\call-uikit-vue .\src\components\TUICallKit /i /e
|
|
504
353
|
```
|
|
505
354
|
|
|
506
|
-
|
|
507
355
|
【Windows + Vue2】
|
|
508
356
|
``` html
|
|
509
357
|
xcopy .\node_modules\@tencentcloud\call-uikit-vue2 .\src\components\TUICallKit /i /e
|
|
@@ -514,10 +362,10 @@ xcopy .\node_modules\@tencentcloud\call-uikit-vue2 .\src\components\TUICallKit
|
|
|
514
362
|
修改 TUICallKit 引入路径为本地文件引入。
|
|
515
363
|
|
|
516
364
|
> **注意:**
|
|
517
|
-
>
|
|
365
|
+
>
|
|
518
366
|
|
|
519
|
-
> 此方法可能与您的 ESLint、TypeScript 配置冲突,若出现报错,可参见
|
|
520
|
-
>
|
|
367
|
+
> 此方法可能与您的 ESLint、TypeScript 配置冲突,若出现报错,可参见 解决源码拷贝导致的报错。
|
|
368
|
+
>
|
|
521
369
|
|
|
522
370
|
``` typescript
|
|
523
371
|
import { TUICallKit, TUICallKitServer } from "./components/TUICallKit/src/index";
|
|
@@ -539,13 +387,12 @@ import { TUICallKit, TUICallKitServer } from "./components/TUICallKit/src/index"
|
|
|
539
387
|
|
|
540
388
|
### 内网的环境下如何使用 callkit?
|
|
541
389
|
1. 通过 getTRTCCloudInstance 获取 TRTCCloud 实例。
|
|
542
|
-
|
|
543
390
|
|
|
544
391
|
> **注意:**
|
|
545
|
-
>
|
|
392
|
+
>
|
|
546
393
|
|
|
547
394
|
> **v3.1.3+ 支持。**
|
|
548
|
-
>
|
|
395
|
+
>
|
|
549
396
|
|
|
550
397
|
``` javascript
|
|
551
398
|
const trtcCloud = TUICallKitServer.getTUICallEngineInstance().getTRTCCloudInstance();
|
|
@@ -565,14 +412,13 @@ import { TUICallKit, TUICallKitServer } from "./components/TUICallKit/src/index"
|
|
|
565
412
|
iceTransportPolicy: 'relay',
|
|
566
413
|
},
|
|
567
414
|
}));
|
|
568
|
-
```
|
|
415
|
+
```
|
|
569
416
|
|
|
570
417
|
> **注意:**
|
|
571
|
-
>
|
|
418
|
+
>
|
|
572
419
|
|
|
573
420
|
> TRTC 应对防火墙受限参见 [设置代理服务器](https://web.sdk.qcloud.com/component/trtccalling/doc/TUICallEngine/web/zh-cn/tutorial-11-set_proxy_server.html)。
|
|
574
|
-
>
|
|
575
|
-
|
|
421
|
+
>
|
|
576
422
|
|
|
577
423
|
## 五、其它
|
|
578
424
|
|
|
@@ -585,7 +431,6 @@ import { TUICallKit, TUICallKitServer } from "./components/TUICallKit/src/index"
|
|
|
585
431
|
TUICallKitServer.getTUICallEngineInstance().setBeautyLevel(0);
|
|
586
432
|
```
|
|
587
433
|
|
|
588
|
-
|
|
589
434
|
# Android
|
|
590
435
|
### TUICallKit 是否可以不引入 IM SDK,只使用 TRTC?
|
|
591
436
|
|
|
@@ -593,7 +438,7 @@ import { TUICallKit, TUICallKitServer } from "./components/TUICallKit/src/index"
|
|
|
593
438
|
|
|
594
439
|
### 错误提示“The package you purchased does not support this ability”?
|
|
595
440
|
|
|
596
|
-
如遇以上错误提示,是由于您当前应用的音视频通话能力包过期或未开通,请参见
|
|
441
|
+
如遇以上错误提示,是由于您当前应用的音视频通话能力包过期或未开通,请参见 开通服务,领取或者开通音视频通话能力,进而继续使用 TUICallKit 组件。
|
|
597
442
|
|
|
598
443
|
### 如何购买音视频通话套餐?
|
|
599
444
|
|
|
@@ -626,11 +471,10 @@ java.lang.UnsatisfiedLinkError: No implementation found for void com.tencent.lit
|
|
|
626
471
|
```
|
|
627
472
|
|
|
628
473
|
> **注意:**
|
|
629
|
-
>
|
|
474
|
+
>
|
|
630
475
|
|
|
631
476
|
> 上述异常,是因为 TUICallKit 依赖的 TRTC 等 SDK 部分接口使用了 JNI 实现,Android Studio 在某些条件进行编译 APK 的时候可能并不会把 Native 的 .so 库打包进去,导致出现这类报错,重新 Clean 一下工程,卸载重装即可。
|
|
632
|
-
>
|
|
633
|
-
|
|
477
|
+
>
|
|
634
478
|
|
|
635
479
|
### allowBackup 异常?
|
|
636
480
|
- **报错信息**:`Manifest merger failed : Attribute application@allowBackup value=(true) from AndroidManifest.xml`
|
|
@@ -639,43 +483,34 @@ java.lang.UnsatisfiedLinkError: No implementation found for void com.tencent.lit
|
|
|
639
483
|
|
|
640
484
|
- **解决方法**:您可以在您工程的 `AndroidManifest.xml` 文件中删除 allowBackup 属性或将该属性改为 false,表示关闭备份和恢复功能;也可以在 `AndroidManifest.xml` 文件的 application 节点中添加 `tools:replace="android:allowBackup";` 表示覆盖 IM SDK 的设置,使用您自己的设置。
|
|
641
485
|
|
|
642
|
-
|
|
643
486
|
### TUICallKit 是否支持离线推送呢?
|
|
644
487
|
|
|
645
|
-
**支持**,Android 离线推送采用腾讯云的**TIMPush
|
|
488
|
+
**支持**,Android 离线推送采用腾讯云的**TIMPush推送插件**以及**自集成推送**,接入方式详见:离线唤醒。
|
|
646
489
|
|
|
647
490
|
### 在通话邀请超时时间内,被邀请者如果离线再上线,能否弹出通话界面?
|
|
648
491
|
|
|
649
|
-
单人通话时,如果在超时时间内上线,会触发来电邀请;群组通话,如果在超时时间内上线,会拉起未处理的20
|
|
492
|
+
单人通话时,如果在超时时间内上线,会触发来电邀请;群组通话,如果在超时时间内上线,会拉起未处理的20条群消息,如果存在通话邀请,则触发来电邀请。在不同的版本上来电的显示策略有所不同(详见下方:被叫端来电显示策略)。
|
|
650
493
|
|
|
651
494
|
### 应用在后台时,不能自动将通话界面拉取到前台
|
|
652
|
-
1. TUICallKit 2.3 及以上版本([Android&iOS 发布日志](https://cloud.tencent.com/document/product/647/80931)
|
|
495
|
+
1. TUICallKit 2.3 及以上版本([Android&iOS 发布日志](https://cloud.tencent.com/document/product/647/80931))调整了被叫端的来电显示策略,见下方:被叫端来电显示策略。
|
|
653
496
|
|
|
654
497
|
2. TUICallKit 2.3 版本之前,将应用从后台自动拉取到前台,需要检查 App 是否开启了“后台自启动”或“悬浮窗”权限。
|
|
655
498
|
|
|
656
|
-
|
|
657
|
-
不同厂商、甚至同一厂商不同 Android 版本,其对于应用开放的权限以及权限名称也会存在不一致。例如,小米6只需要开启后台弹出界面权限,而红米需要同时打开后台弹出界面和显示悬浮窗权限。如何开启权限,详见下方:[相关权限开启](https://write.woa.com/document/86735803114926080)。
|
|
499
|
+
不同厂商、甚至同一厂商不同 Android 版本,其对于应用开放的权限以及权限名称也会存在不一致。例如,小米6只需要开启后台弹出界面权限,而红米需要同时打开后台弹出界面和显示悬浮窗权限。如何开启权限,详见下方:相关权限开启。
|
|
658
500
|
|
|
659
501
|
3. 如果遇到以下场景拉不起通话界面,原因是:应用的启动堆栈变化,导致 CallKitActivity 界面被遮挡移除了。
|
|
660
502
|
|
|
661
|
-
|
|
662
503
|
场景一:接通后退到后台,点击桌面图标进入应用,原通话界面消失;
|
|
663
504
|
|
|
664
|
-
|
|
665
505
|
场景二:应用在后台时,开启banner的情况下,收到通知View,不点击View,点击桌面图标进入应用,拉不起通话界面且通知消失;
|
|
666
506
|
|
|
667
|
-
|
|
668
507
|
场景三:应用在后台时,收到离线推送,不点击推送通知,点击桌面图标进入应用,无法拉起通话界面或通话界面闪了一下;
|
|
669
508
|
|
|
670
|
-
|
|
671
509
|
以上几种情况,需要在您自己业务的默认启动的主 Activity 中添加以下代码,每个应用默认启动的 Activity 都不一样,详见 AndroidManifest.xml 配置,以目前大部分应用的启动页 SplashActivity 为例:
|
|
672
510
|
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
676
511
|
【添加代码】
|
|
677
512
|
``` java
|
|
678
|
-
if (!isTaskRoot() && getIntent() != null && getIntent().hasCategory(Intent.CATEGORY_LAUNCHER)
|
|
513
|
+
if (!isTaskRoot() && getIntent() != null && getIntent().hasCategory(Intent.CATEGORY_LAUNCHER)
|
|
679
514
|
&& Intent.ACTION_MAIN.equals(getIntent().getAction())) {
|
|
680
515
|
finish();
|
|
681
516
|
return;
|
|
@@ -684,44 +519,24 @@ if (!isTaskRoot() && getIntent() != null && getIntent().hasCategory(Intent.CATEG
|
|
|
684
519
|
|
|
685
520
|
【具体添加位置】
|
|
686
521
|
|
|
687
|
-

|
|
688
|
-
|
|
689
|
-
|
|
690
522
|
> **说明:**
|
|
691
|
-
>
|
|
523
|
+
>
|
|
692
524
|
|
|
693
525
|
> SplashActivity 的启动模式不能是 singleTask;singleTask 模式下 isTaskRoot 是 true,上述方法不生效。
|
|
694
|
-
>
|
|
695
|
-
|
|
696
|
-
> 如果您在开发中开启了所有权限或做了上述尝试,依然无法自动拉起通话界面到前台,请加入 TUICallKit 技术交流平台 [zhiliao](https://zhiliao.qq.com/s/cWSPGIIM62CC/cEUPGIIM62CE),联系我们协助处理。
|
|
697
|
-
>
|
|
526
|
+
>
|
|
698
527
|
|
|
528
|
+
>
|
|
699
529
|
|
|
700
530
|
### 被叫端来电显示策略
|
|
701
531
|
|
|
702
532
|
为使 TUICallKit 适应不同的业务需求,增加产品特色,提升用户的使用体验,TUICallKit **2.3 及以上版本**([发布日志](https://cloud.tencent.com/document/product/647/80931)),优化收到来电后的通话页面显示弹出策略,详情如下所示:
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
<td rowspan="1" colSpan="1" >横幅显示来电请求</td>
|
|
708
|
-
</tr>
|
|
709
|
-
|
|
710
|
-
<tr>
|
|
711
|
-
<td rowspan="1" colSpan="1" ></td>
|
|
712
|
-
|
|
713
|
-
<td rowspan="1" colSpan="1" ></td>
|
|
714
|
-
</tr>
|
|
715
|
-
</table>
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
533
|
+
| 全屏显示通话等待界面 | 横幅显示来电请求 |
|
|
534
|
+
| --- | --- |
|
|
535
|
+
| | |
|
|
719
536
|
|
|
720
537
|
【2.3.0.920版本及之后的版本】
|
|
721
538
|
1. 如果您想要被叫端收到邀请时,尽量去拉起全屏通话界面,那么您可以更新 [tuicallkit-kt](https://github.com/Tencent-RTC/TUICallKit/tree/main/Android/tuicallkit-kt) 代码到最新。该情况下,被叫端的来电显示策略如下:
|
|
722
539
|
|
|
723
|
-
|
|
724
|
-

|
|
725
540
|
2. 如果您想在被叫端收到通话的时候,先展示一个横幅,然后根据需要拉起全屏通话界面,那么您可以调用以下接口开启该功能。
|
|
726
541
|
|
|
727
542
|
``` java
|
|
@@ -730,27 +545,18 @@ if (!isTaskRoot() && getIntent() != null && getIntent().hasCategory(Intent.CATEG
|
|
|
730
545
|
|
|
731
546
|
开启后,被叫端的来电策略如下所示,只要开启**悬浮窗权限,**就能尽可能的展示来电横幅。
|
|
732
547
|
|
|
733
|
-

|
|
734
|
-
|
|
735
548
|
【2.3版本之前】
|
|
736
549
|
|
|
737
|
-

|
|
738
|
-
|
|
739
550
|
> **说明:**
|
|
740
|
-
>
|
|
741
|
-
|
|
742
|
-
> 相关权限如何开启,详见下方:[相关权限开启](https://write.woa.com/document/86735803114926080)。
|
|
743
|
-
>
|
|
551
|
+
>
|
|
744
552
|
|
|
745
|
-
|
|
746
|
-
|
|
553
|
+
> 相关权限如何开启,详见下方:相关权限开启。
|
|
554
|
+
>
|
|
747
555
|
|
|
748
556
|
### **相关权限开启**
|
|
749
557
|
|
|
750
558
|
为实现良好的通话体验,建议您在应用中开启“通知”权限、“显示在其他应用上层(悬浮窗)”以及“后台拉起界面”权限,具体方法如下:
|
|
751
559
|
|
|
752
|
-
|
|
753
|
-
|
|
754
560
|
【代码指引】
|
|
755
561
|
- **通知权限**:便于展示推送通知:请参见 [通知运行时权限](https://developer.android.com/develop/ui/views/notifications/notification-permission) 和 [请求运行时权限](https://developer.android.com/training/permissions/requesting#request-permission) 根据业务需求自行实现。
|
|
756
562
|
|
|
@@ -770,29 +576,14 @@ fun requestPermission(context: Context?) {
|
|
|
770
576
|
【手动开启】
|
|
771
577
|
|
|
772
578
|
安装应用后,您可以长按应用图标,选择“应用信息”,然后开启“通知”权限、“显示在其他应用上层”以及“后台拉起界面”权限。或者您可以到`手机 > 系统设置 > 应用管理 > 应用`中手动开启上述权限。
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
|
|
776
|
-
|
|
777
|
-
<td rowspan="1" colSpan="1" >小米</td>
|
|
778
|
-
|
|
779
|
-
<td rowspan="1" colSpan="1" >vivo</td>
|
|
780
|
-
</tr>
|
|
781
|
-
|
|
782
|
-
<tr>
|
|
783
|
-
<td rowspan="1" colSpan="1" ></td>
|
|
784
|
-
|
|
785
|
-
<td rowspan="1" colSpan="1" ></td>
|
|
786
|
-
|
|
787
|
-
<td rowspan="1" colSpan="1" ></td>
|
|
788
|
-
</tr>
|
|
789
|
-
</table>
|
|
790
|
-
|
|
579
|
+
| Pixel 4a | 小米 | vivo |
|
|
580
|
+
| --- | --- | --- |
|
|
581
|
+
| | | |
|
|
791
582
|
|
|
792
583
|
# iOS
|
|
793
584
|
### 错误提示“The package you purchased does not support this ability”?
|
|
794
585
|
|
|
795
|
-
如遇以上错误提示,是由于您当前应用的音视频通话能力包过期或未开通,请参见
|
|
586
|
+
如遇以上错误提示,是由于您当前应用的音视频通话能力包过期或未开通,请参见 开通服务,领取或者开通音视频通话能力,进而继续使用TUICallKit组件。
|
|
796
587
|
|
|
797
588
|
### 如何购买音视频通话套餐?
|
|
798
589
|
|
|
@@ -812,42 +603,29 @@ fun requestPermission(context: Context?) {
|
|
|
812
603
|
pod 'TUICallKit_Swift', :path => "TUICallKit/TUICallKit_Swift.podspec"
|
|
813
604
|
```
|
|
814
605
|
4. 执行 `pod install` 命令,完成导入。
|
|
815
|
-
|
|
816
606
|
|
|
817
607
|
> **注意:**
|
|
818
|
-
>
|
|
608
|
+
>
|
|
819
609
|
|
|
820
610
|
> `TUICallKit_Swift`文件夹和`TUICallKit_Swift.podspec`文件必须在同一目录下。
|
|
821
|
-
>
|
|
822
|
-
|
|
611
|
+
>
|
|
823
612
|
|
|
824
613
|
**TUICallKit_Swift 组件集成后效果**:
|
|
825
614
|
|
|
826
|
-
|
|
827
|
-

|
|
828
|
-
|
|
829
|
-
|
|
830
615
|
> **说明:**
|
|
831
|
-
>
|
|
616
|
+
>
|
|
832
617
|
|
|
833
618
|
> TUICallKit_Swift 组件集成后支持文件夹分层显示,方便您阅读和修改源代码。
|
|
834
|
-
>
|
|
835
|
-
|
|
619
|
+
>
|
|
836
620
|
|
|
837
621
|
### Xcode 15 编译报错?
|
|
838
622
|
|
|
839
623
|
#### 1、出现 **Sandbox: rsync **编译报错
|
|
840
624
|
|
|
841
|
-

|
|
842
|
-
|
|
843
625
|
可以在 **Build Settings **中把 **User Script Sandboxing **设置为 **NO:**
|
|
844
626
|
|
|
845
|
-

|
|
846
|
-
|
|
847
627
|
#### 2、出现 **SDK does not contain **编译报错
|
|
848
628
|
|
|
849
|
-

|
|
850
|
-
|
|
851
629
|
可以在 Podfile 添加如下代码:
|
|
852
630
|
``` bash
|
|
853
631
|
# target 'xxxx' do
|
|
@@ -866,8 +644,6 @@ end
|
|
|
866
644
|
|
|
867
645
|
#### 3、如果在 **M 系列电脑**上运行模拟器,可能会出现 **Linker command failed with exit code 1 (use -v to see invocation) **编译报错
|
|
868
646
|
|
|
869
|
-

|
|
870
|
-
|
|
871
647
|
可以在 Podfile 添加如下代码:
|
|
872
648
|
``` bash
|
|
873
649
|
# target 'xxxx' do
|
|
@@ -899,21 +675,18 @@ end
|
|
|
899
675
|
```
|
|
900
676
|
3. 如果您使用了 `TXLiteAVSDK_Enterprise` 库,会产生符号冲突。建议升级到 `TXLiteAVSDK_Professional` 后使用 TUICallKit_Swift`/Professional`。
|
|
901
677
|
|
|
902
|
-
|
|
903
678
|
### TUICallKit 是否可以不引入 IM SDK,只使用 TRTC?
|
|
904
679
|
|
|
905
680
|
**不可以。**`TUIKit` 全系组件都使用了腾讯云 IM SDK 作为通信的基础服务,比如通话拨打信令、通话忙线信令等核心逻辑,如果您已经购买有其他 `IM` 产品,也可以参照 `TUICallKit` 逻辑进行适配。
|
|
906
681
|
|
|
907
682
|
### TUICallKit 组件支持自定义铃声吗?
|
|
908
683
|
|
|
909
|
-
**支持**,调用
|
|
684
|
+
**支持**,调用 setCallingBell 即可。
|
|
910
685
|
|
|
911
686
|
### TUICallKit 是否支持后台运行?
|
|
912
687
|
|
|
913
688
|
**支持**,如需要进入后台仍然运行相关功能,可选中当前工程项目,在 **Capabilities** 下的 **Background Modes** 模块中勾选 **Audio,AirPlay and Picture in Picture** ,如下图所示:
|
|
914
689
|
|
|
915
|
-

|
|
916
|
-
|
|
917
690
|
### 如何查看 TRTC 日志?
|
|
918
691
|
|
|
919
692
|
TRTC 的日志默认压缩加密,后缀为 .xlog。日志是否加密是可以通过 setLogCompressEnabled 来控制,生成的文件名里面含 C(compressed) 的就是加密压缩的,含 R(raw) 的就是明文的。
|
|
@@ -921,18 +694,17 @@ TRTC 的日志默认压缩加密,后缀为 .xlog。日志是否加密是可以
|
|
|
921
694
|
iOS:`sandbox的Documents/log`
|
|
922
695
|
|
|
923
696
|
> **说明:**
|
|
924
|
-
>
|
|
697
|
+
>
|
|
925
698
|
> - 查看 .xlog 文件需要下载 [解密工具](https://dldir1.qq.com/hudongzhibo/log_tool/decode_mars_log_file.py),在 Python 2.7环境中放到 xlog 文件同目录下直接使用 `python decode_mars_log_file.py` 运行即可。
|
|
926
699
|
> - 查看 .clog 文件(9.6 版本以后新的日志格式)需要下载 [解密工具](http://dldir1.qq.com/hudongzhibo/log_tool/decompress_clog.py),在 Python 2.7 环境中放到 clog 文件同目录下直接使用 `python decompress_clog.py `运行即可。
|
|
927
700
|
|
|
928
|
-
|
|
929
701
|
# Flutter
|
|
930
702
|
### 同时集成 tencent_calls_uikit 和 tencent_trtc_cloud,或同时集成 tencent_calls_uikit 和 live_flutter_plugin,出现符号冲突报错,怎么解决?
|
|
931
703
|
|
|
932
704
|
问题详情:当引入 flutter ''tencent_calls_uikit'' 进我们现有的 project 后,Android 构建 APK 时出现如下报错:
|
|
933
705
|
``` bash
|
|
934
|
-
Duplicate class com.tencent.liteav.LiveSettingJni found in modules jetified-LiteAVSDK_Professional-10.7.0.13053-runtime
|
|
935
|
-
(com.tencent.liteav:LiteAVSDK_Professional:10.7.0.13053) and jetified-LiteAVSDK_TRTC-10.3.0.11225-runtime
|
|
706
|
+
Duplicate class com.tencent.liteav.LiveSettingJni found in modules jetified-LiteAVSDK_Professional-10.7.0.13053-runtime
|
|
707
|
+
(com.tencent.liteav:LiteAVSDK_Professional:10.7.0.13053) and jetified-LiteAVSDK_TRTC-10.3.0.11225-runtime
|
|
936
708
|
(com.tencent.liteav:LiteAVSDK_TRTC:10.3.0.11225)
|
|
937
709
|
```
|
|
938
710
|
|
|
@@ -950,18 +722,18 @@ iOS 在执行`pod install`出现如下报错:
|
|
|
950
722
|
-keep class com.tencent.** { *; }
|
|
951
723
|
```
|
|
952
724
|
|
|
953
|
-
### 从1.8.0以下的版本升级到1.8.0及以上的版本,导致编译报错或者拉不起页面问题如何修复?
|
|
725
|
+
### 从1.8.0以下的版本升级到1.8.0及以上的版本,导致编译报错或者拉不起页面问题如何修复?
|
|
954
726
|
|
|
955
727
|
如果是从1.8.0以下升级到1.8.0及以上的版本,需要您检查下面几个步骤是否正常:
|
|
956
728
|
1. 将 navigatorObservers 添加到 MateriaApp。 目的是在收到呼叫邀请时导航到 TUICallKit 页面。示例代码如下:
|
|
957
729
|
|
|
958
730
|
``` plaintext
|
|
959
731
|
import 'package:tencent_calls_uikit/tuicall_kit.dart';
|
|
960
|
-
|
|
732
|
+
|
|
961
733
|
MaterialApp(
|
|
962
734
|
navigatorObservers:[TUICallKit.navigatorObserver],
|
|
963
735
|
...
|
|
964
|
-
)
|
|
736
|
+
)
|
|
965
737
|
```
|
|
966
738
|
2. tencent_calls_engine 插件中的导入文件统一替换为新的。
|
|
967
739
|
|
|
@@ -978,9 +750,4 @@ iOS 在执行`pod install`出现如下报错:
|
|
|
978
750
|
```
|
|
979
751
|
3. 登录 API 调整更规范,不需要再指定参数。
|
|
980
752
|
|
|
981
|
-

|
|
982
|
-
|
|
983
753
|
4. 离线推送参数构造优化。
|
|
984
|
-
|
|
985
|
-

|
|
986
|
-
|