@tencent-rtc/mcp 1.3.9 → 1.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +2 -2
- package/resource/doc/{tuicallkit/iOS/faq.md → callkit/faq/android-faq.md} +10 -22
- package/resource/doc/{tuicallkit/android/faq.md → callkit/faq/flutter-faq.md} +10 -22
- package/resource/doc/{tuicallkit/flutter/faq.md → callkit/faq/ios-faq.md} +10 -22
- package/resource/doc/callkit/preset/android/api.md +296 -0
- package/resource/doc/{tuicallkit → callkit/preset}/android/integration.md +53 -365
- package/resource/doc/callkit/preset/flutter/api.md +410 -0
- package/resource/doc/{tuicallkit → callkit/preset}/flutter/integration.md +35 -97
- package/resource/doc/callkit/preset/ios/api.md +80 -0
- package/resource/doc/{tuicallkit/iOS → callkit/preset/ios}/integration.md +37 -118
- package/resource/doc/callkit/preset/react/api.md +501 -0
- package/resource/doc/{tuicallkit → callkit/preset}/react/integration.md +5 -20
- package/resource/doc/callkit/preset/vue/api.md +501 -0
- package/resource/doc/{tuicallkit → callkit/preset}/vue/integration.md +4 -19
- package/resource/doc/{chatuikit → chatkit}/android/faq.md +29 -38
- package/resource/doc/{chatuikit → chatkit}/android/features/theme.md +22 -166
- package/resource/doc/{chatuikit → chatkit}/android/integration.md +28 -121
- package/resource/doc/chatkit/faq/android_sdk/client-api.md +281 -0
- package/resource/doc/{chatuikit → chatkit}/faq/common/product.md +0 -1
- package/resource/doc/{chatuikit → chatkit}/faq/common/server.md +1 -1
- package/resource/doc/chatkit/faq/flutter_sdk/client-api.md +199 -0
- package/resource/doc/{chatuikit → chatkit}/faq/flutter_sdk/faq.md +3 -3
- package/resource/doc/chatkit/faq/ios_sdk/client-api.md +235 -0
- package/resource/doc/{chatuikit → chatkit}/faq/web_sdk/faq.md +3 -3
- package/resource/doc/{chatuikit → chatkit}/flutter/features/theme.md +22 -166
- package/resource/doc/{chatuikit → chatkit}/flutter/integration.md +18 -87
- package/resource/doc/{chatuikit/iOS → chatkit/ios}/faq.md +29 -38
- package/resource/doc/{chatuikit/iOS → chatkit/ios}/features/theme.md +27 -176
- package/resource/doc/{chatuikit/iOS → chatkit/ios}/integration.md +47 -165
- package/resource/doc/{chatuikit → chatkit}/react/components/avatar.md +0 -33
- package/resource/doc/{chatuikit → chatkit}/react/components/chat-header.md +8 -49
- package/resource/doc/{chatuikit → chatkit}/react/components/chat-setting.md +6 -35
- package/resource/doc/{chatuikit → chatkit}/react/components/chat.md +0 -6
- package/resource/doc/{chatuikit → chatkit}/react/components/component-list.md +0 -11
- package/resource/doc/{chatuikit → chatkit}/react/components/contact-list.md +96 -502
- 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 +118 -0
- package/resource/doc/chatkit/react/components/conversation-search.md +60 -0
- package/resource/doc/{chatuikit → chatkit}/react/components/message-input.md +36 -337
- package/resource/doc/{chatuikit → chatkit}/react/components/message-list.md +20 -212
- package/resource/doc/chatkit/react/components/search.md +243 -0
- package/resource/doc/{chatuikit → chatkit}/react/components/tuikit.md +1 -47
- package/resource/doc/{chatuikit → chatkit}/react/integration.md +21 -81
- package/resource/doc/{chatuikit → chatkit}/vue/components/avatar.md +0 -33
- package/resource/doc/{chatuikit → chatkit}/vue/components/chat-header.md +7 -48
- package/resource/doc/{chatuikit → chatkit}/vue/components/chat-setting.md +3 -5
- package/resource/doc/{chatuikit → chatkit}/vue/components/chat.md +0 -5
- package/resource/doc/{chatuikit → chatkit}/vue/components/component-list.md +0 -15
- 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 -492
- 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 +2 -223
- package/resource/doc/{chatuikit → chatkit}/vue/components/message-list.md +23 -252
- package/resource/doc/{chatuikit → chatkit}/vue/components/search.md +73 -640
- package/resource/doc/{chatuikit → chatkit}/vue/components/tuikit.md +7 -21
- package/resource/doc/{chatuikit → chatkit}/vue/components/userpicker.md +3 -62
- package/resource/doc/{chatuikit → chatkit}/vue/faq.md +1 -1
- package/resource/doc/{chatuikit → chatkit}/vue/integration.md +22 -23
- package/resource/doc/livekit/{live → core-sdk/live}/android/live-audience-list.md +18 -89
- 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 +28 -141
- package/resource/doc/livekit/{live → core-sdk/live}/android/live-base-beauty.md +20 -112
- package/resource/doc/livekit/{live → core-sdk/live}/android/live-co-guest-interaction.md +59 -193
- 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 +94 -344
- package/resource/doc/livekit/{live → core-sdk/live}/android/live-integration.md +107 -515
- package/resource/doc/livekit/{live → core-sdk/live}/android/live-live-list.md +33 -173
- package/resource/doc/livekit/{live → core-sdk/live}/flutter/live-audience-list.md +14 -93
- package/resource/doc/livekit/{live → core-sdk/live}/flutter/live-audio-effect.md +34 -179
- package/resource/doc/livekit/{live → core-sdk/live}/flutter/live-barrage.md +19 -107
- package/resource/doc/livekit/{live → core-sdk/live}/flutter/live-base-beauty.md +24 -166
- package/resource/doc/livekit/{live → core-sdk/live}/flutter/live-co-guest-interaction.md +56 -163
- package/resource/doc/livekit/{live → core-sdk/live}/flutter/live-gift.md +69 -443
- 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 +107 -492
- package/resource/doc/livekit/{live → core-sdk/live}/flutter/live-live-list.md +23 -165
- package/resource/doc/livekit/{live → core-sdk/live}/ios/live-audience-list.md +35 -111
- package/resource/doc/livekit/{live → core-sdk/live}/ios/live-audio-effect.md +35 -193
- package/resource/doc/livekit/{live → core-sdk/live}/ios/live-barrage.md +31 -144
- package/resource/doc/livekit/{live → core-sdk/live}/ios/live-base-beauty.md +24 -116
- package/resource/doc/livekit/{live → core-sdk/live}/ios/live-co-guest-interaction.md +37 -171
- package/resource/doc/livekit/{live → core-sdk/live}/ios/live-gift.md +79 -459
- package/resource/doc/livekit/{live → core-sdk/live}/ios/live-host-interaction.md +69 -320
- package/resource/doc/livekit/{live → core-sdk/live}/ios/live-integration.md +85 -502
- package/resource/doc/livekit/{live → core-sdk/live}/ios/live-live-list.md +32 -169
- package/resource/doc/livekit/{voice → core-sdk/voice}/android/voice-audience-list.md +18 -89
- 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 +28 -141
- package/resource/doc/livekit/{voice → core-sdk/voice}/android/voice-co-guest-interaction.md +50 -259
- 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 +51 -265
- package/resource/doc/livekit/{voice → core-sdk/voice}/android/voice-integration.md +61 -427
- package/resource/doc/livekit/{voice → core-sdk/voice}/android/voice-room-list.md +33 -173
- package/resource/doc/livekit/{voice → core-sdk/voice}/flutter/voice-co-guest-interaction.md +44 -203
- package/resource/doc/livekit/{voice → core-sdk/voice}/flutter/voice-integration.md +56 -416
- package/resource/doc/livekit/{voice → core-sdk/voice}/ios/voice-audience-list.md +35 -111
- package/resource/doc/livekit/{voice → core-sdk/voice}/ios/voice-audio-effect.md +35 -193
- package/resource/doc/livekit/{voice → core-sdk/voice}/ios/voice-barrage.md +31 -144
- package/resource/doc/livekit/{voice → core-sdk/voice}/ios/voice-co-guest-interaction.md +43 -252
- package/resource/doc/livekit/{voice → core-sdk/voice}/ios/voice-gift.md +79 -459
- package/resource/doc/livekit/{voice → core-sdk/voice}/ios/voice-host-interaction.md +46 -264
- package/resource/doc/livekit/{voice → core-sdk/voice}/ios/voice-integration.md +61 -445
- package/resource/doc/livekit/{voice → core-sdk/voice}/ios/voice-room-list.md +32 -169
- package/resource/doc/livekit/faq/common/{error_code.md → error-code.md} +2 -2
- 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 +10 -49
- package/resource/doc/livekit/{live → preset/live}/vue/components/live-audience-list.md +26 -144
- package/resource/doc/livekit/{live → preset/live}/vue/components/live-scene-panel.md +12 -75
- package/resource/doc/livekit/{live → preset/live}/vue/components/live-view.md +36 -227
- package/resource/doc/livekit/preset/live/vue/components/stream-mixer.md +215 -0
- package/resource/doc/livekit/preset/live/vue/faq.md +1 -0
- package/resource/doc/livekit/preset/live/vue/live-list-integration.md +241 -0
- package/resource/doc/livekit/preset/live/vue/live-player-desk-integration.md +299 -0
- package/resource/doc/livekit/preset/live/vue/live-player-h5-integration.md +300 -0
- package/resource/doc/livekit/preset/live/vue/live-pusher-integration.md +743 -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 -34
- package/resource/doc/roomkit/vue/features/room-view.md +30 -125
- 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 -29
- package/resource/doc/roomkit/vue/integration.md +21 -76
- package/resource/doc/rtcengine/faq/common/error_code.md +1 -0
- package/resource/doc/rtcengine/faq/web/web.md +14 -24
- package/resource/doc/rtcengine/web/api.md +1 -3
- package/resource/doc/rtcengine/web/how_to_integrated_web_sdk.md +3 -10
- package/resource/doc/rtcengine/web/how_to_run_web_sdk_demo.md +1 -5
- package/resource/doc/rtcengine/web/plugin/20-advanced-customized-capture-rendering.md +1 -2
- package/resource/doc/rtcengine/web/plugin/21-advanced-auto-play-policy.md +2 -4
- package/resource/doc/rtcengine/web/plugin/23-advanced-support-detection.md +3 -5
- package/resource/doc/rtcengine/web/plugin/24-advanced-network-quality.md +1 -7
- package/resource/doc/rtcengine/web/plugin/25-advanced-device-change.md +0 -2
- package/resource/doc/rtcengine/web/plugin/26-advanced-publish-cdn-stream.md +4 -8
- package/resource/doc/rtcengine/web/plugin/27-advanced-small-stream.md +11 -11
- package/resource/doc/rtcengine/web/plugin/28-advanced-beauty.md +12 -88
- package/resource/doc/rtcengine/web/plugin/31-advanced-plugins-overview.md +5 -5
- package/resource/doc/rtcengine/web/plugin/34-advanced-proxy.md +30 -37
- package/resource/doc/rtcengine/web/plugin/36-advanced-virtual-background.md +13 -90
- package/resource/doc/rtcengine/web/plugin/37-advanced-voice-changer.md +1 -2
- package/resource/doc/rtcengine/web/plugin/39-advanced-video-decoder.md +1 -2
- package/resource/doc/rtcengine/web/plugin/40-advanced-video-mixer.md +19 -19
- 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 -5
- package/resource/doc/rtcengine/web/plugin/43-advanced-face-detection.md +3 -3
- package/resource/doc/trtc/C++/ITRTCCloud.md +686 -2835
- package/resource/doc/trtc/C++/ITRTCStatistics.md +53 -308
- package/resource/doc/trtc/C++/ITXAudioEffectManager.md +202 -1022
- package/resource/doc/trtc/C++/ITXDeviceManager.md +126 -767
- package/resource/doc/trtc/C++/TRTCCloudCallback.md +579 -2147
- package/resource/doc/trtc/C++/TRTCTypeDef.md +703 -3378
- package/resource/doc/trtc/C++/TXLiteAVCode.md +116 -908
- package/resource/doc/trtc/android/TRTCCloud.md +606 -2573
- package/resource/doc/trtc/android/TRTCCloudDef.md +752 -3640
- package/resource/doc/trtc/android/TRTCCloudListener.md +581 -2008
- package/resource/doc/trtc/android/TRTCStatistics.md +48 -278
- package/resource/doc/trtc/android/TXAudioEffectManager.md +202 -1022
- 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 +114 -892
- package/resource/doc/trtc/iOS/TRTCCloud.md +694 -2904
- package/resource/doc/trtc/iOS/TRTCCloudDef.md +726 -3498
- package/resource/doc/trtc/iOS/TRTCCloudDelegate.md +543 -2028
- package/resource/doc/trtc/iOS/TRTCStatistics.md +48 -278
- package/resource/doc/trtc/iOS/TXAudioEffectManager.md +174 -877
- 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/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 +29 -0
- package/tools/definitions/get_callkit_api_def.js.map +1 -0
- package/tools/definitions/get_faq_def.js +17 -18
- 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 +34 -0
- package/tools/definitions/get_native_livekit_core_features_def.js.map +1 -0
- package/tools/definitions/get_native_livekit_core_integration_def.js +34 -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 -22
- 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 +15 -18
- package/tools/definitions/get_web_live_uikit_integration_def.js.map +1 -1
- package/tools/definitions/get_web_livekit_api_def.js +30 -0
- package/tools/definitions/get_web_livekit_api_def.js.map +1 -0
- package/tools/definitions/get_web_livekit_component_detail_def.js +32 -0
- package/tools/definitions/get_web_livekit_component_detail_def.js.map +1 -0
- package/tools/definitions/get_web_room_uikit_integration_def.js +15 -46
- package/tools/definitions/get_web_room_uikit_integration_def.js.map +1 -1
- package/tools/definitions/get_web_roomkit_feature_detail_def.js +31 -0
- package/tools/definitions/get_web_roomkit_feature_detail_def.js.map +1 -0
- package/tools/definitions/get_web_trtc_sdk_api_def.js +27 -0
- package/tools/definitions/get_web_trtc_sdk_api_def.js.map +1 -0
- package/tools/definitions/get_web_trtc_sdk_integration_def.js +27 -0
- package/tools/definitions/get_web_trtc_sdk_integration_def.js.map +1 -0
- package/tools/definitions/get_web_trtc_sdk_plugin_def.js +27 -0
- package/tools/definitions/get_web_trtc_sdk_plugin_def.js.map +1 -0
- package/tools/definitions/present_framework_choice_def.js +24 -12
- package/tools/definitions/present_framework_choice_def.js.map +1 -1
- package/tools/index.js +47 -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 +12 -1
- package/utils/report-cls-client.js.map +1 -1
- package/utils/report-es-client.js +2 -2
- package/resource/doc/chatuikit/android/workflow.md +0 -713
- package/resource/doc/chatuikit/faq/android_sdk/client-api.md +0 -1371
- package/resource/doc/chatuikit/faq/flutter_sdk/client-api.md +0 -932
- package/resource/doc/chatuikit/faq/ios_sdk/client-api.md +0 -1119
- package/resource/doc/chatuikit/flutter/workflow.md +0 -941
- package/resource/doc/chatuikit/react/components/conversation-list.md +0 -1017
- package/resource/doc/chatuikit/react/components/search.md +0 -745
- package/resource/doc/chatuikit/react/create-group.md +0 -23
- package/resource/doc/chatuikit/react/init.md +0 -26
- package/resource/doc/chatuikit/react/workflow.md +0 -258
- package/resource/doc/chatuikit/vue/components/contact-list.md +0 -679
- package/resource/doc/chatuikit/vue/create-group.md +0 -25
- package/resource/doc/chatuikit/vue/init.md +0 -40
- package/resource/doc/chatuikit/vue/workflow.md +0 -395
- package/resource/doc/livekit/live/android/workflow.md +0 -320
- package/resource/doc/livekit/live/flutter/workflow.md +0 -353
- package/resource/doc/livekit/live/ios/workflow.md +0 -454
- package/resource/doc/livekit/live/vue/components/barrage.md +0 -616
- package/resource/doc/livekit/live/vue/components/stream-mixer.md +0 -446
- package/resource/doc/livekit/live/vue/faq.md +0 -0
- package/resource/doc/livekit/live/vue/live-list-integration.md +0 -200
- package/resource/doc/livekit/live/vue/live-player-desk-integration.md +0 -269
- package/resource/doc/livekit/live/vue/live-player-h5-integration.md +0 -269
- package/resource/doc/livekit/live/vue/live-pusher-integration.md +0 -595
- package/resource/doc/livekit/live/vue/states/live-state.md +0 -3591
- package/resource/doc/livekit/live/vue/workflow.md +0 -218
- package/resource/doc/native_live/android/V2TXLiveCode_api_android.md +0 -312
- package/resource/doc/native_live/android/V2TXLiveDef_api_android.md +0 -430
- package/resource/doc/native_live/android/V2TXLivePlayerObserver_api_android.md +0 -679
- package/resource/doc/native_live/android/V2TXLivePlayer_api_android.md +0 -671
- package/resource/doc/native_live/android/V2TXLivePremier_api_android.md +0 -271
- 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 -865
- package/resource/doc/native_live/flutter/V2TXLivePlayer_api_flutter.md +0 -657
- package/resource/doc/native_live/flutter/V2TXLivePremier_api_flutter.md +0 -437
- package/resource/doc/native_live/flutter/V2TXLivePusherObserver_api_flutter.md +0 -335
- package/resource/doc/native_live/flutter/V2TXLivePusher_api_flutter.md +0 -748
- package/resource/doc/native_live/iOS/V2TXLiveCode_api_iOS.md +0 -327
- package/resource/doc/native_live/iOS/V2TXLiveDef_api_iOS.md +0 -507
- package/resource/doc/native_live/iOS/V2TXLivePlayerObserver_api_iOS.md +0 -507
- package/resource/doc/native_live/iOS/V2TXLivePlayer_api_iOS.md +0 -659
- package/resource/doc/native_live/iOS/V2TXLivePremier_api_iOS.md +0 -284
- package/resource/doc/native_live/iOS/V2TXLivePusherObserver_api_iOS.md +0 -814
- package/resource/doc/native_live/iOS/V2TXLivePusher_api_iOS.md +0 -1000
- 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 -441
- package/resource/doc/tuicallkit/faq/android_sdk/call-observer-api.md +0 -784
- package/resource/doc/tuicallkit/faq/android_sdk/callkit-api.md +0 -610
- package/resource/doc/tuicallkit/faq/flutter_sdk/call-define-api.md +0 -938
- package/resource/doc/tuicallkit/faq/flutter_sdk/call-observer-api.md +0 -897
- package/resource/doc/tuicallkit/faq/flutter_sdk/callkit-api.md +0 -469
- package/resource/doc/tuicallkit/faq/ios_sdk/call-observer-api.md +0 -781
- package/resource/doc/tuicallkit/faq/ios_sdk/callkit-api.md +0 -398
- package/resource/doc/tuicallkit/flutter/workflow.md +0 -331
- package/resource/doc/tuicallkit/react/api.md +0 -1404
- package/resource/doc/tuicallkit/vue/api.md +0 -1406
- package/resource/doc/tuicallkit/vue/faq.md +0 -36
- 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 -23
- package/tools/definitions/get_native_live_api_def.js.map +0 -1
- package/tools/definitions/get_native_live_uikit_extra_features_def.js +0 -87
- 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 -16
- 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/get_web_room_state_detail_def.js +0 -19
- package/tools/definitions/get_web_room_state_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/{chatuikit/iOS/workflow.md → callkit/core-sdk/.gitkeep} +0 -0
- /package/resource/doc/{tuicallkit/faq/common/error_code.md → callkit/faq/common/error-code.md} +0 -0
- /package/resource/doc/{tuicallkit/react/faq.md → callkit/faq/web-faq.md} +0 -0
- /package/resource/doc/{chatuikit → chatkit}/faq/common/server_error_code.md +0 -0
- /package/resource/doc/{chatuikit → chatkit}/faq/web_sdk/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
- /package/resource/doc/roomkit/faq/common/{error_code.md → error-code.md} +0 -0
|
@@ -1,441 +0,0 @@
|
|
|
1
|
-
# Android TUICallKit Audio/Video Call Application Code Generation Workflow Instructions
|
|
2
|
-
|
|
3
|
-
## 🌐 Language Requirements
|
|
4
|
-
|
|
5
|
-
**IMPORTANT**: All generated code, UI text, comments, and user interface elements **MUST be in English**. This includes:
|
|
6
|
-
- Variable names, method names, class names
|
|
7
|
-
- UI text (button labels, hints, error messages, etc.)
|
|
8
|
-
- Code comments and documentation
|
|
9
|
-
- Log messages and debug output
|
|
10
|
-
- User-facing strings and prompts
|
|
11
|
-
|
|
12
|
-
## 📋 Instruction Purpose
|
|
13
|
-
|
|
14
|
-
Provide Agent with a **code generation blueprint for implementing Android TUICallKit audio/video call core functionality**, and guide Agent to **prioritize using real-time latest documentation content obtained from tools**, specifically for Android audio/video call application scenarios.
|
|
15
|
-
|
|
16
|
-
---
|
|
17
|
-
|
|
18
|
-
## 🛑 Agent Execution Hard Constraints (Guardrails)
|
|
19
|
-
|
|
20
|
-
Agent must strictly follow these instructions when generating code:
|
|
21
|
-
|
|
22
|
-
### 0. 🚨 Core Principles (Highest Priority)
|
|
23
|
-
|
|
24
|
-
- ✅ Strictly generate code according to examples in integration documentation, do not modify arbitrarily
|
|
25
|
-
- ✅ Fully implement login, single-person call, and multi-person call functionality
|
|
26
|
-
- ✅ Use `get_usersig` tool to generate UserSig for test accounts
|
|
27
|
-
- ✅ Use source code method to import components (clone `tuicallkit-kt` and `atomic_x` from GitHub)
|
|
28
|
-
|
|
29
|
-
### 1. Documentation-Driven Integration
|
|
30
|
-
- Strictly follow the steps in `llm_code_generation_instructions_md` returned by tools
|
|
31
|
-
- Follow best practices and example code from integration documentation
|
|
32
|
-
|
|
33
|
-
### 2. Component Import Method
|
|
34
|
-
- **Source Code Import Method**: Clone code from GitHub, copy `tuicallkit-kt` and `atomic_x` directories to project
|
|
35
|
-
```bash
|
|
36
|
-
# Clone TUIKit_Android repository
|
|
37
|
-
git clone https://github.com/Tencent-RTC/TUIKit_Android.git
|
|
38
|
-
# Copy atomic_x and call/tuicallkit-kt directories to project app sibling directory
|
|
39
|
-
```
|
|
40
|
-
- **settings.gradle.kts configuration**:
|
|
41
|
-
```kotlin
|
|
42
|
-
include(":tuicallkit-kt")
|
|
43
|
-
include(":atomic_x")
|
|
44
|
-
```
|
|
45
|
-
- **settings.gradle configuration**:
|
|
46
|
-
```groovy
|
|
47
|
-
include ':tuicallkit-kt'
|
|
48
|
-
include ':atomic_x'
|
|
49
|
-
```
|
|
50
|
-
- **app/build.gradle.kts dependency configuration**:
|
|
51
|
-
```kotlin
|
|
52
|
-
dependencies {
|
|
53
|
-
api(project(":tuicallkit-kt"))
|
|
54
|
-
}
|
|
55
|
-
```
|
|
56
|
-
- **app/build.gradle dependency configuration**:
|
|
57
|
-
```groovy
|
|
58
|
-
dependencies {
|
|
59
|
-
api project(':tuicallkit-kt')
|
|
60
|
-
}
|
|
61
|
-
```
|
|
62
|
-
|
|
63
|
-
### 3. Silent Integration Execution
|
|
64
|
-
- After all code writing is completed, automatically sync Gradle and build project in the final step
|
|
65
|
-
- **Gradle Command Execution Strategy (Multi-level Fallback to Ensure Success)**:
|
|
66
|
-
1. **First Priority**: Try executing `./gradlew build` directly
|
|
67
|
-
2. **Second Priority**: If failed, try `./gradlew assembleDebug`
|
|
68
|
-
3. **Third Priority**: If still failed, **guide user to manually sync in Android Studio** (see guidance below)
|
|
69
|
-
- After successful build, prompt user to run application on emulator or real device
|
|
70
|
-
|
|
71
|
-
#### 📋 Manual Execution Fallback Guidance
|
|
72
|
-
|
|
73
|
-
**When automatic execution fails, guide user to execute manually**:
|
|
74
|
-
|
|
75
|
-
1. Click **File → Sync Project with Gradle Files** in Android Studio
|
|
76
|
-
2. Wait for Gradle sync to complete
|
|
77
|
-
3. Click **Run** button to run application
|
|
78
|
-
|
|
79
|
-
**Common Issues**: Gradle sync failure → Check JDK version (requires JDK 17+); Compilation failure → Check Android SDK version
|
|
80
|
-
|
|
81
|
-
### 4. Authentication Credential Configuration (Important)
|
|
82
|
-
- Call `get_usersig` tool to get SDKAppID, UserID, UserSig
|
|
83
|
-
- Generate UserSig for 4 test accounts (user001/002/003/004)
|
|
84
|
-
- Authentication information can be hardcoded during testing phase, but must be annotated as test-only
|
|
85
|
-
- ⚠️ Security Warning: Inform user that UserSig must be generated on server side in production environment
|
|
86
|
-
|
|
87
|
-
### 5. LoginActivity Implementation Constraints 🔴
|
|
88
|
-
|
|
89
|
-
**⚠️ Priority Check Item: Check if login page already exists in project**:
|
|
90
|
-
- Before implementing login page, **must first check if login page already exists in project**
|
|
91
|
-
- If login page already exists, **must ask user if they want to execute default behavior**:
|
|
92
|
-
- **Option 1**: Use default behavior (create new LoginActivity, including dropdown, 4 test accounts, etc.)
|
|
93
|
-
- **Option 2**: Modify based on existing login page (retain user's UI and interaction logic, only add necessary TUILogin login logic)
|
|
94
|
-
- If user chooses Option 2, should:
|
|
95
|
-
- Retain user's existing login page UI and interaction logic
|
|
96
|
-
- Only call `TUILogin.login` for secondary login after successful login
|
|
97
|
-
- Do not force use of dropdown and 4 test accounts
|
|
98
|
-
- If no login page exists in project, or user chooses Option 1, implement according to default behavior below
|
|
99
|
-
|
|
100
|
-
**Default Login Page Implementation Requirements**:
|
|
101
|
-
- **Must implement login page**, including the following functionality:
|
|
102
|
-
1. **Dropdown to select UserID**: Provide four options: user001, user002, user003, user004
|
|
103
|
-
2. **Display SDKAppID**: Get from `get_usersig` and display (read-only, not editable)
|
|
104
|
-
3. **Auto-generate UserSig**: Automatically match from pre-generated UserSig based on selected UserID
|
|
105
|
-
4. **Login button**: Call `TUILogin.login` to login
|
|
106
|
-
- **Login interface must call `TUILogin.login`**, passing complete credentials obtained from `get_usersig`
|
|
107
|
-
- Automatically navigate to main page (MainActivity/HomePage) after successful login
|
|
108
|
-
|
|
109
|
-
**LoginActivity Core Implementation Points (Kotlin)**:
|
|
110
|
-
|
|
111
|
-
```kotlin
|
|
112
|
-
// 1. Import necessary classes
|
|
113
|
-
import com.tencent.qcloud.tuicore.TUILogin
|
|
114
|
-
import com.tencent.qcloud.tuicore.interfaces.TUICallback
|
|
115
|
-
|
|
116
|
-
// 2. Define test account mapping table (get from get_usersig)
|
|
117
|
-
val userSigMap = mapOf(
|
|
118
|
-
"user001" to "xxx",
|
|
119
|
-
"user002" to "xxx",
|
|
120
|
-
"user003" to "xxx",
|
|
121
|
-
"user004" to "xxx"
|
|
122
|
-
)
|
|
123
|
-
|
|
124
|
-
// 3. UI components
|
|
125
|
-
// - SDKAppID display (read-only TextView)
|
|
126
|
-
// - UserID dropdown (Spinner, options generated from userSigMap.keys)
|
|
127
|
-
// - Login button
|
|
128
|
-
|
|
129
|
-
// 4. Login logic
|
|
130
|
-
TUILogin.login(context, sdkAppId, userId, userSig, object : TUICallback() {
|
|
131
|
-
override fun onSuccess() {
|
|
132
|
-
// Navigate to MainActivity
|
|
133
|
-
}
|
|
134
|
-
override fun onError(errorCode: Int, errorMessage: String) {
|
|
135
|
-
// Display error message
|
|
136
|
-
}
|
|
137
|
-
})
|
|
138
|
-
```
|
|
139
|
-
|
|
140
|
-
### 6. MainActivity/HomePage Implementation Constraints 🔴
|
|
141
|
-
|
|
142
|
-
**Must implement main page**, including the following functionality:
|
|
143
|
-
|
|
144
|
-
1. **Display current logged-in UserID**
|
|
145
|
-
2. **Audio/Video Call Functionality** (unified user selection):
|
|
146
|
-
- **User List (multi-select)**: Display selectable users (user002, user003, user004, excluding current logged-in user)
|
|
147
|
-
- **Smart Call Type Detection**:
|
|
148
|
-
- Select **1 user** → Automatically initiate **single-person call**
|
|
149
|
-
- Select **multiple users** → Automatically initiate **multi-person call**
|
|
150
|
-
- **Voice Call Button**: Call `TUICallKit.createInstance(context).calls` to initiate voice call
|
|
151
|
-
- **Video Call Button**: Call `TUICallKit.createInstance(context).calls` to initiate video call
|
|
152
|
-
- **Implementation Method**: Use CheckBox list, support single and multi-selection
|
|
153
|
-
3. **Logout Button**: Call `TUILogin.logout` to logout
|
|
154
|
-
|
|
155
|
-
**MainActivity Core Implementation Points (Kotlin)**:
|
|
156
|
-
|
|
157
|
-
```kotlin
|
|
158
|
-
// 1. Import necessary classes
|
|
159
|
-
import com.tencent.qcloud.tuikit.tuicallkit.TUICallKit
|
|
160
|
-
import io.trtc.tuikit.atomicxcore.api.call.CallMediaType
|
|
161
|
-
import io.trtc.tuikit.atomicxcore.api.call.CallParams
|
|
162
|
-
|
|
163
|
-
// 2. Display current logged-in user (TextView)
|
|
164
|
-
|
|
165
|
-
// 3. User selection area (unified single/multi-person call)
|
|
166
|
-
// - User list: val availableUsers = listOf("user002", "user003", "user004").filter { it != currentUserId }
|
|
167
|
-
// - Multi-select box: CheckBox (support selecting 1 or multiple users)
|
|
168
|
-
// - Selected users: val selectedUsers = mutableListOf<String>()
|
|
169
|
-
|
|
170
|
-
// 4. Call button area
|
|
171
|
-
// - Voice call button: Button
|
|
172
|
-
// - Video call button: Button
|
|
173
|
-
|
|
174
|
-
// 5. Initiate call logic
|
|
175
|
-
val params = CallParams()
|
|
176
|
-
TUICallKit.createInstance(context).calls(selectedUsers, CallMediaType.Audio, params, object : CompletionHandler {
|
|
177
|
-
override fun onSuccess() {
|
|
178
|
-
// Success callback
|
|
179
|
-
}
|
|
180
|
-
override fun onFailure(code: Int, desc: String) {
|
|
181
|
-
// Failure callback
|
|
182
|
-
}
|
|
183
|
-
})
|
|
184
|
-
|
|
185
|
-
// 6. Logout logic
|
|
186
|
-
TUILogin.logout(object : TUICallback() {
|
|
187
|
-
override fun onSuccess() {
|
|
188
|
-
// Navigate back to LoginActivity
|
|
189
|
-
}
|
|
190
|
-
override fun onError(errorCode: Int, errorMessage: String) {
|
|
191
|
-
// Display error message
|
|
192
|
-
}
|
|
193
|
-
})
|
|
194
|
-
```
|
|
195
|
-
|
|
196
|
-
### 7. Project Configuration Constraints 🔴
|
|
197
|
-
|
|
198
|
-
**Must complete the following project configurations**:
|
|
199
|
-
|
|
200
|
-
1. **Obfuscation Rules Configuration**: Add to the end of `app/proguard-rules.pro` file:
|
|
201
|
-
```proguard
|
|
202
|
-
-keep class com.tencent.** { *; }
|
|
203
|
-
```
|
|
204
|
-
|
|
205
|
-
2. **AndroidManifest.xml Configuration**: Add `tools:replace="android:allowBackup"` in application node:
|
|
206
|
-
```xml
|
|
207
|
-
<application
|
|
208
|
-
android:name=".BaseApplication"
|
|
209
|
-
android:allowBackup="false"
|
|
210
|
-
android:icon="@drawable/app_ic_launcher"
|
|
211
|
-
android:label="@string/app_name"
|
|
212
|
-
android:largeHeap="true"
|
|
213
|
-
android:theme="@style/AppTheme"
|
|
214
|
-
tools:replace="android:allowBackup">
|
|
215
|
-
```
|
|
216
|
-
|
|
217
|
-
3. **Gradle JDK Version**: AGP 8.0+ requires Gradle runtime to use Java 17 or higher
|
|
218
|
-
|
|
219
|
-
### 8. Build Script Syntax Check (Important) 🔴
|
|
220
|
-
|
|
221
|
-
**⚠️ Before configuring build scripts, must first check the build script type used by the project**, choose correct syntax based on actual situation:
|
|
222
|
-
|
|
223
|
-
| Build Script File | Syntax Type | Example |
|
|
224
|
-
|-------------|---------|------|
|
|
225
|
-
| `settings.gradle` | Groovy DSL | `include ':tuicallkit-kt'` |
|
|
226
|
-
| `settings.gradle.kts` | Kotlin DSL | `include(":tuicallkit-kt")` |
|
|
227
|
-
| `build.gradle` | Groovy DSL | `api project(':tuicallkit-kt')` |
|
|
228
|
-
| `build.gradle.kts` | Kotlin DSL | `api(project(":tuicallkit-kt"))` |
|
|
229
|
-
|
|
230
|
-
**Check Steps**:
|
|
231
|
-
1. Check build script file names in project root directory and `app/` directory
|
|
232
|
-
2. If ends with `.gradle` → Use Groovy syntax
|
|
233
|
-
3. If ends with `.gradle.kts` → Use Kotlin DSL syntax
|
|
234
|
-
|
|
235
|
-
### 9. Android Project Standards
|
|
236
|
-
- Android version requirement: Android 5.0 (SDK API Level 21) and above
|
|
237
|
-
- Gradle version requirement: Gradle 4.2.1 and above
|
|
238
|
-
- Use Kotlin language (recommended), also supports Java
|
|
239
|
-
|
|
240
|
-
### 10. Environment Dependency Preparation
|
|
241
|
-
- Ensure user has installed Android Studio
|
|
242
|
-
- Ensure user has configured Android SDK
|
|
243
|
-
- JDK 17+ version (AGP 8.0+ requirement)
|
|
244
|
-
- **If automatic build fails, must guide user to manually sync Gradle in Android Studio**
|
|
245
|
-
|
|
246
|
-
---
|
|
247
|
-
|
|
248
|
-
## 📦 Core Version Requirements
|
|
249
|
-
|
|
250
|
-
| Tool/Platform | Minimum Version Requirement |
|
|
251
|
-
|----------|-------------|
|
|
252
|
-
| **Android** | >= 5.0 (API Level 21) |
|
|
253
|
-
| **Gradle** | >= 4.2.1 |
|
|
254
|
-
| **JDK** | >= 17 (AGP 8.0+) |
|
|
255
|
-
|
|
256
|
-
**For detailed tool version requirements, please refer to the "Preparation Work - Environment Requirements" section in the integration documentation**
|
|
257
|
-
|
|
258
|
-
---
|
|
259
|
-
|
|
260
|
-
## 📦 Automated Execution Commands
|
|
261
|
-
|
|
262
|
-
After Agent code generation is completed, execute automatically in order:
|
|
263
|
-
|
|
264
|
-
```bash
|
|
265
|
-
# 1. Clone TUIKit_Android repository (if not already cloned)
|
|
266
|
-
git clone https://github.com/Tencent-RTC/TUIKit_Android.git
|
|
267
|
-
|
|
268
|
-
# 2. Copy components to project directory
|
|
269
|
-
cp -r TUIKit_Android/atomic_x ./
|
|
270
|
-
cp -r TUIKit_Android/call/tuicallkit-kt ./
|
|
271
|
-
|
|
272
|
-
# 3. Build project
|
|
273
|
-
./gradlew assembleDebug
|
|
274
|
-
```
|
|
275
|
-
|
|
276
|
-
**Fallback Strategy**: `./gradlew` failure → Guide user to manually sync Gradle in Android Studio
|
|
277
|
-
|
|
278
|
-
---
|
|
279
|
-
|
|
280
|
-
## 📱 Real Device Debugging Guidance (User Guide)
|
|
281
|
-
|
|
282
|
-
### Android Real Device Debugging
|
|
283
|
-
1. USB connect device
|
|
284
|
-
2. Enable developer mode (tap version number 7 times) + USB debugging
|
|
285
|
-
3. Device authorize USB debugging (allow)
|
|
286
|
-
4. Execute `adb devices` to verify connection
|
|
287
|
-
5. Click Run button in Android Studio, select target device
|
|
288
|
-
|
|
289
|
-
### Android Emulator Debugging
|
|
290
|
-
1. Open Android Studio → Device Manager
|
|
291
|
-
2. Create or start emulator
|
|
292
|
-
3. Click Run button to run application
|
|
293
|
-
|
|
294
|
-
---
|
|
295
|
-
|
|
296
|
-
## 🔄 Complete Automation Workflow
|
|
297
|
-
|
|
298
|
-
```mermaid
|
|
299
|
-
graph TD
|
|
300
|
-
A[Receive User Requirements] --> B[Check Android Development Environment]
|
|
301
|
-
B --> C[Clone TUIKit_Android Repository]
|
|
302
|
-
C --> D[Copy tuicallkit-kt and atomic_x to Project]
|
|
303
|
-
D --> E[Configure settings.gradle: Add include]
|
|
304
|
-
E --> F[Configure app/build.gradle: Add Dependencies]
|
|
305
|
-
F --> G[Configure Obfuscation Rules: proguard-rules.pro]
|
|
306
|
-
G --> H[Configure AndroidManifest.xml]
|
|
307
|
-
H --> I[Call get_usersig Tool to Generate UserSig for 4 Accounts]
|
|
308
|
-
I --> J[Implement LoginActivity: Dropdown Select UserID]
|
|
309
|
-
J --> K[Implement MainActivity: Single-person Call and Multi-person Call]
|
|
310
|
-
K --> L[Call record_result to Record Integration Results]
|
|
311
|
-
L --> M[Execute Gradle Build]
|
|
312
|
-
M --> N{Build Successful?}
|
|
313
|
-
N -->|Yes| O[Guide User to Connect Device and Run]
|
|
314
|
-
N -->|No| P[Guide User to Manually Sync in Android Studio]
|
|
315
|
-
O --> Q[Project Launch Successful]
|
|
316
|
-
P --> Q
|
|
317
|
-
```
|
|
318
|
-
|
|
319
|
-
---
|
|
320
|
-
|
|
321
|
-
## 📝 Key Points Summary
|
|
322
|
-
|
|
323
|
-
| Category | Requirement |
|
|
324
|
-
|------|------|
|
|
325
|
-
| **Android Version** | Android 5.0 (API Level 21) and above |
|
|
326
|
-
| **Integration Method** | Source code method (clone `tuicallkit-kt` and `atomic_x` from GitHub) |
|
|
327
|
-
| **Documentation Priority** | ⚠️ Strictly follow example code in integration documentation, do not modify arbitrarily |
|
|
328
|
-
| **Silent Integration** | Automatically build project after code writing is completed |
|
|
329
|
-
| **Credential Acquisition** | ⚠️ Must use `get_usersig` tool to generate UserSig for 4 test accounts (user001/002/003/004) |
|
|
330
|
-
| **Login Page** | ⚠️ Must implement dropdown to select UserID, automatically match UserSig, prohibit manual input |
|
|
331
|
-
| **Main Page** | ⚠️ Must support unified user list, selecting 1 user automatically initiates single-person call, selecting multiple users automatically initiates multi-person call |
|
|
332
|
-
| **Security Notice** | ⚠️ Must inform user: Client-generated UserSig is only suitable for testing, production environment must generate UserSig on server side |
|
|
333
|
-
| **Result Recording** | ⚠️ Must call `record_result` tool to record results after integration completion |
|
|
334
|
-
| **Project Configuration** | ⚠️ Must configure obfuscation rules and AndroidManifest.xml |
|
|
335
|
-
|
|
336
|
-
---
|
|
337
|
-
|
|
338
|
-
## 🎯 Agent Execution Checklist
|
|
339
|
-
|
|
340
|
-
After completing code generation, Agent must confirm all the following items:
|
|
341
|
-
|
|
342
|
-
### Component Import
|
|
343
|
-
- [ ] Cloned TUIKit_Android repository
|
|
344
|
-
- [ ] Copied `tuicallkit-kt` and `atomic_x` to project app sibling directory
|
|
345
|
-
- [ ] Configured `settings.gradle(.kts)` to add include
|
|
346
|
-
- [ ] Configured `app/build.gradle(.kts)` to add dependencies
|
|
347
|
-
|
|
348
|
-
### Project Configuration
|
|
349
|
-
- [ ] Configured `proguard-rules.pro` obfuscation rules
|
|
350
|
-
- [ ] Configured `AndroidManifest.xml` to add `tools:replace`
|
|
351
|
-
|
|
352
|
-
### Code Generation
|
|
353
|
-
- [ ] Called `get_usersig` tool to generate UserSig for 4 accounts
|
|
354
|
-
- [ ] Implemented LoginActivity (dropdown select UserID, no manual input box)
|
|
355
|
-
- [ ] Implemented MainActivity (unified user list, select 1 for single-person call, select multiple for multi-person call)
|
|
356
|
-
|
|
357
|
-
### Final Check
|
|
358
|
-
- [ ] Called `record_result` tool to record integration results
|
|
359
|
-
- [ ] Executed Gradle build or guided user to manually sync
|
|
360
|
-
- [ ] Prompted user to select device to run application
|
|
361
|
-
- [ ] Informed user: Production environment must generate UserSig on server side
|
|
362
|
-
|
|
363
|
-
---
|
|
364
|
-
|
|
365
|
-
## ❓ Having Issues? AI Can Help You Solve Them Quickly
|
|
366
|
-
|
|
367
|
-
**When dependency sync or compilation errors occur, please provide complete error information to AI, which can help you quickly locate and solve problems.**
|
|
368
|
-
|
|
369
|
-
### 📋 Common Error Scenarios
|
|
370
|
-
|
|
371
|
-
| Error Type | Description | AI Can Help You |
|
|
372
|
-
|---------|------|-----------|
|
|
373
|
-
| **Gradle Sync Failure** | Dependency download failure, version conflicts, repository connection timeout, etc. | Analyze dependency conflicts, recommend mirror sources, fix version compatibility |
|
|
374
|
-
| **Compilation Errors** | Class not found, method signature mismatch, API version incompatibility, etc. | Locate missing dependencies, fix import statements, adapt API changes |
|
|
375
|
-
| **Runtime Crashes** | Null pointer, missing permissions, initialization order errors, etc. | Analyze stack information, check permission configuration, fix initialization logic |
|
|
376
|
-
| **Obfuscation Issues** | Release package functionality abnormal, classes incorrectly obfuscated, etc. | Supplement obfuscation rules, locate obfuscated classes |
|
|
377
|
-
|
|
378
|
-
### 💡 How to Efficiently Report Errors
|
|
379
|
-
|
|
380
|
-
To help AI solve problems more quickly and accurately, please provide the following information:
|
|
381
|
-
|
|
382
|
-
1. **Complete Error Log**: Copy complete error information from Android Studio's Build Output or Logcat
|
|
383
|
-
2. **Error Timing**: Explain whether it occurred during Gradle sync, compilation, or runtime
|
|
384
|
-
3. **Operation Steps**: Briefly describe what operations you performed before the error occurred
|
|
385
|
-
|
|
386
|
-
**Example Feedback Format**:
|
|
387
|
-
```
|
|
388
|
-
Error Timing: During Gradle sync
|
|
389
|
-
Error Information:
|
|
390
|
-
> Could not resolve com.tencent.liteav:LiteAVSDK_TRTC:xxx
|
|
391
|
-
> Repository connection failed: xxx
|
|
392
|
-
|
|
393
|
-
Attempted Operations: Re-sync, clear cache
|
|
394
|
-
```
|
|
395
|
-
|
|
396
|
-
### 🔧 Common Issues Quick Self-Check
|
|
397
|
-
|
|
398
|
-
Before reporting to AI, you can try the following operations first:
|
|
399
|
-
|
|
400
|
-
1. **Gradle Sync Failure**:
|
|
401
|
-
- File → Invalidate Caches / Restart
|
|
402
|
-
- Check network connection, try using VPN or configure domestic mirror sources
|
|
403
|
-
- Check if JDK version is 17+
|
|
404
|
-
|
|
405
|
-
2. **Class/Method Not Found**:
|
|
406
|
-
- Confirm `tuicallkit-kt` and `atomic_x` directories have been correctly copied to project root directory
|
|
407
|
-
- Confirm include configuration has been added in `settings.gradle(.kts)`
|
|
408
|
-
- Click File → Sync Project with Gradle Files to re-sync
|
|
409
|
-
|
|
410
|
-
3. **Version Compatibility Issues**:
|
|
411
|
-
- Check `compileSdk` and `targetSdk` versions (recommended 34+)
|
|
412
|
-
- Check Gradle Plugin version and Gradle version matching relationship
|
|
413
|
-
|
|
414
|
-
---
|
|
415
|
-
|
|
416
|
-
## 🔗 Required Tools to Use
|
|
417
|
-
|
|
418
|
-
### `get_usersig` - Get Test Authentication Information
|
|
419
|
-
Get SDKAppID, UserID (user001/002/003/004), UserSig.
|
|
420
|
-
- LoginActivity: Dropdown select UserID
|
|
421
|
-
- MainActivity: Display selectable user list (excluding current logged-in user)
|
|
422
|
-
- Prohibit manual input of SDKAppID/SecretKey/UserSig
|
|
423
|
-
|
|
424
|
-
### `record_result` - Record Integration Results
|
|
425
|
-
Call after completing all integration steps and successfully building project
|
|
426
|
-
|
|
427
|
-
---
|
|
428
|
-
|
|
429
|
-
## 📚 Related Resource Links
|
|
430
|
-
|
|
431
|
-
- **TUICallKit Android GitHub**: https://github.com/Tencent-RTC/TUIKit_Android
|
|
432
|
-
- **Tencent Cloud Real-Time Communication TRTC Console**: https://console.cloud.tencent.com/trtc
|
|
433
|
-
- **Server-side UserSig Generation**: https://cloud.tencent.com/document/product/647/17275
|
|
434
|
-
- **Enable TRTC Service**: https://cloud.tencent.com/document/product/647/16788
|
|
435
|
-
- **Android Developer Official Documentation**: https://developer.android.com/docs
|
|
436
|
-
|
|
437
|
-
---
|
|
438
|
-
|
|
439
|
-
**Applicable Platform**: Android
|
|
440
|
-
**TUICallKit Version**: tuicallkit-kt (latest version)
|
|
441
|
-
**Minimum Requirements**: Android 5.0 (API Level 21), Gradle 4.2.1, JDK 17+
|