@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
|
@@ -0,0 +1,282 @@
|
|
|
1
|
+
## TUICallKit API 简介
|
|
2
|
+
|
|
3
|
+
TUICallKit API 是音视频通话组件的**含 UI 接口**,使用TUICallKit API,您可以通过简单接口快速实现一个类微信的音视频通话场景,更详细的接入步骤,详情请参见 [快速接入TUICallKit](https://cloud.tencent.com/document/product/647/78730)。
|
|
4
|
+
|
|
5
|
+
## API 概览
|
|
6
|
+
| API | 描述 |
|
|
7
|
+
| --- | --- |
|
|
8
|
+
| [createInstance](https://cloud.tencent.com/document/product/647/78753#createInstance) | 创建 TUICallKit 实例(单例模式) |
|
|
9
|
+
| [setSelfInfo](https://cloud.tencent.com/document/product/647/78753#setSelfInfo) | 设置用户的昵称、头像 |
|
|
10
|
+
| [calls](https://cloud.tencent.com/document/product/647/78753#calls) | 发起单人或多人通话 |
|
|
11
|
+
| [join](https://cloud.tencent.com/document/product/647/78753#join) | 主动加入通话 |
|
|
12
|
+
| [setCallingBell](https://cloud.tencent.com/document/product/647/78753#setCallingBell) | 设置自定义来电铃音 |
|
|
13
|
+
| [enableMuteMode](https://cloud.tencent.com/document/product/647/78753#enableMuteMode) | 开启/关闭静音模式 |
|
|
14
|
+
| [enableFloatWindow](https://cloud.tencent.com/document/product/647/78753#enableFloatWindow) | 开启/关闭悬浮窗功能 |
|
|
15
|
+
| [enableIncomingBanner](https://cloud.tencent.com/document/product/647/78753#enableIncomingBanner) | 开启/关闭来电横幅显示 |
|
|
16
|
+
|
|
17
|
+
## API 详情
|
|
18
|
+
|
|
19
|
+
### createInstance
|
|
20
|
+
|
|
21
|
+
创建 TUICallKit 的单例。
|
|
22
|
+
|
|
23
|
+
【Objective-C】
|
|
24
|
+
``` objectivec
|
|
25
|
+
- (instancetype)createInstance;
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
【Swift】
|
|
29
|
+
``` swift
|
|
30
|
+
public static func createInstance() -> TUICallKit
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
### setSelfInfo
|
|
34
|
+
|
|
35
|
+
设置用户昵称、头像。用户昵称不能超过500字节,用户头像必须是 URL 格式。
|
|
36
|
+
|
|
37
|
+
【Objective-C】
|
|
38
|
+
``` objectivec
|
|
39
|
+
- (void)setSelfInfo:(NSString * _Nullable)nickname avatar:(NSString * _Nullable)avatar succ:(TUICallSucc)succ fail:(TUICallFail)fail;
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
【Swift】
|
|
43
|
+
``` swift
|
|
44
|
+
public func setSelfInfo(nickname: String, avatar: String, succ:@escaping TUICallSucc, fail: @escaping TUICallFail)
|
|
45
|
+
```
|
|
46
|
+
| 参数 | 类型 | 含义 |
|
|
47
|
+
| --- | --- | --- |
|
|
48
|
+
| nickname | NSString | 用户昵称 |
|
|
49
|
+
| avatar | NSString | 用户头像(格式为 URL) |
|
|
50
|
+
| succ | TUICallSucc | 成功回调 |
|
|
51
|
+
| fail | TUICallFail | 失败回调 |
|
|
52
|
+
|
|
53
|
+
### calls
|
|
54
|
+
|
|
55
|
+
发起通话。
|
|
56
|
+
|
|
57
|
+
【Swift】
|
|
58
|
+
``` swift
|
|
59
|
+
func calls(userIdList: [String], callMediaType: TUICallMediaType, params: TUICallParams,
|
|
60
|
+
succ: @escaping TUICallSucc, fail: @escaping TUICallFail)
|
|
61
|
+
|
|
62
|
+
```
|
|
63
|
+
|
|
64
|
+
【Objective-C】
|
|
65
|
+
``` objectivec
|
|
66
|
+
- (void)calls:(NSArray<NSString *> *)userIdList callMediaType:(TUICallMediaType)callMediaType params:(TUICallParams *)params succ:(TUICallSucc)succ fail:(TUICallFail)fail;
|
|
67
|
+
```
|
|
68
|
+
|
|
69
|
+
参数如下表所示:
|
|
70
|
+
| 参数 | 类型 | 含义 |
|
|
71
|
+
| --- | --- | --- |
|
|
72
|
+
| userIdList | NSArray | 目标用户的 userId 列表 |
|
|
73
|
+
| callMediaType | [TUICallMediaType](https://cloud.tencent.com/document/product/647/90446#MediaType) | 通话的媒体类型,比如视频通话、语音通话 |
|
|
74
|
+
| params | [TUICallParams](https://cloud.tencent.com/document/product/647/90446#CallParams) | 通话扩展参数,例如:房间号、通话邀请超时时间,离线推送自定义内容等 |
|
|
75
|
+
|
|
76
|
+
### join
|
|
77
|
+
|
|
78
|
+
主动加入通话。
|
|
79
|
+
|
|
80
|
+
【Swift】
|
|
81
|
+
``` java
|
|
82
|
+
func join(callId: String)
|
|
83
|
+
```
|
|
84
|
+
|
|
85
|
+
【Objective-C】
|
|
86
|
+
``` java
|
|
87
|
+
- (void)join:(NSString *)callId;
|
|
88
|
+
```
|
|
89
|
+
|
|
90
|
+
参数如下表所示:
|
|
91
|
+
| 参数 | 类型 | 含义 |
|
|
92
|
+
| --- | --- | --- |
|
|
93
|
+
| callId | NSString | 此次通话的唯一 ID |
|
|
94
|
+
|
|
95
|
+
### setCallingBell
|
|
96
|
+
|
|
97
|
+
设置自定义来电铃音。
|
|
98
|
+
这里仅限传入本地文件地址,需要确保该文件目录是应用可以访问的。
|
|
99
|
+
- 铃声设置后与设备绑定,更换用户,铃声依旧会生效。
|
|
100
|
+
|
|
101
|
+
- 如需恢复默认铃声,`filePath` 传空即可。
|
|
102
|
+
|
|
103
|
+
【Objective-C】
|
|
104
|
+
``` objectivec
|
|
105
|
+
- (void)setCallingBell:(NSString *)filePath;
|
|
106
|
+
```
|
|
107
|
+
|
|
108
|
+
【Swift】
|
|
109
|
+
``` swift
|
|
110
|
+
public func setCallingBell(filePath: String)
|
|
111
|
+
```
|
|
112
|
+
|
|
113
|
+
### enableMuteMode
|
|
114
|
+
|
|
115
|
+
开启后,收到通话请求,不会播放来电铃声。
|
|
116
|
+
|
|
117
|
+
【Objective-C】
|
|
118
|
+
``` objectivec
|
|
119
|
+
- (void)enableMuteMode:(BOOL)enable;
|
|
120
|
+
```
|
|
121
|
+
|
|
122
|
+
【Swift】
|
|
123
|
+
``` swift
|
|
124
|
+
public func enableMuteMode(enable: Bool)
|
|
125
|
+
```
|
|
126
|
+
|
|
127
|
+
### enableFloatWindow
|
|
128
|
+
|
|
129
|
+
开启/关闭悬浮窗功能。
|
|
130
|
+
默认为`false`,通话界面左上角的悬浮窗按钮隐藏,设置为 true 后显示。
|
|
131
|
+
|
|
132
|
+
【Objective-C】
|
|
133
|
+
``` objectivec
|
|
134
|
+
- (void)enableFloatWindow:(BOOL)enable;
|
|
135
|
+
```
|
|
136
|
+
|
|
137
|
+
【Swift】
|
|
138
|
+
``` swift
|
|
139
|
+
public func enableFloatWindow(enable: Bool)
|
|
140
|
+
```
|
|
141
|
+
|
|
142
|
+
### enableIncomingBanner
|
|
143
|
+
|
|
144
|
+
开启/关闭来电横幅显示。
|
|
145
|
+
|
|
146
|
+
默认为`false`,被叫端收到邀请后默认弹出全屏通话等待界面,开启后先展示一个横幅,然后根据需要拉起全屏通话界面。
|
|
147
|
+
``` swift
|
|
148
|
+
public func enableIncomingBanner(enable: Bool)
|
|
149
|
+
```
|
|
150
|
+
|
|
151
|
+
## 废弃接口
|
|
152
|
+
|
|
153
|
+
### call
|
|
154
|
+
|
|
155
|
+
拨打电话(1v1通话)。**注意:建议使用 calls 接口。**
|
|
156
|
+
|
|
157
|
+
【Objective-C】
|
|
158
|
+
``` objectivec
|
|
159
|
+
- (void)call:(NSString *)userId callMediaType:(TUICallMediaType)callMediaType;
|
|
160
|
+
```
|
|
161
|
+
|
|
162
|
+
【Swift】
|
|
163
|
+
``` swift
|
|
164
|
+
public func call(userId: String, callMediaType: TUICallMediaType)
|
|
165
|
+
```
|
|
166
|
+
|
|
167
|
+
参数如下表所示:
|
|
168
|
+
| 参数 | 类型 | 含义 |
|
|
169
|
+
| --- | --- | --- |
|
|
170
|
+
| userId | NSString | 目标用户的 userId |
|
|
171
|
+
| callMediaType | [TUICallMediaType](https://cloud.tencent.com/document/product/647/90446#MediaType) | 通话的媒体类型,比如视频通话、语音通话 |
|
|
172
|
+
|
|
173
|
+
### call
|
|
174
|
+
|
|
175
|
+
拨打电话(1v1通话),支持自定义房间号、通话邀请超时时间,离线推送内容等。**注意:建议使用 calls 接口。**
|
|
176
|
+
|
|
177
|
+
【Objective-C】
|
|
178
|
+
``` objectivec
|
|
179
|
+
- (void)call:(NSString *)userId callMediaType:(TUICallMediaType)callMediaType params:(TUICallParams *)params succ:(TUICallSucc __nullable)succ fail:(TUICallFail __nullable)fail;
|
|
180
|
+
```
|
|
181
|
+
|
|
182
|
+
【Swift】
|
|
183
|
+
``` swift
|
|
184
|
+
public func call(userId: String, callMediaType: TUICallMediaType, params: TUICallParams,
|
|
185
|
+
succ: @escaping TUICallSucc, fail: @escaping TUICallFail)
|
|
186
|
+
```
|
|
187
|
+
|
|
188
|
+
参数如下表所示:
|
|
189
|
+
| 参数 | 类型 | 含义 |
|
|
190
|
+
| --- | --- | --- |
|
|
191
|
+
| userId | NSString | 目标用户的 userId |
|
|
192
|
+
| callMediaType | [TUICallMediaType](https://cloud.tencent.com/document/product/647/90446#MediaType) | 通话的媒体类型,比如视频通话、语音通话 |
|
|
193
|
+
| params | [TUICallParams](https://cloud.tencent.com/document/product/647/90446#CallParams) | 通话扩展参数,例如:房间号、通话邀请超时时间,离线推送自定义内容等 |
|
|
194
|
+
| succ | TUICallSucc | 成功回调 |
|
|
195
|
+
| fail | TUICallFail | 失败回调 |
|
|
196
|
+
|
|
197
|
+
### groupCall
|
|
198
|
+
|
|
199
|
+
发起群组通话。**注意:建议使用 calls 接口。**
|
|
200
|
+
|
|
201
|
+
> **注意:**
|
|
202
|
+
>
|
|
203
|
+
|
|
204
|
+
> 使用群组通话前需要创建 IM 群组,如果已经创建,请忽略。
|
|
205
|
+
>
|
|
206
|
+
|
|
207
|
+
> 群组的创建详见:[IM 群组管理](https://cloud.tencent.com/document/product/269/75394#.E5.88.9B.E5.BB.BA.E7.BE.A4.E7.BB.84) ,或者您也可以直接使用 [IM TUIKit](https://cloud.tencent.com/document/product/269/37059),一站式集成聊天、通话等场景。
|
|
208
|
+
>
|
|
209
|
+
|
|
210
|
+
【Objective-C】
|
|
211
|
+
``` objectivec
|
|
212
|
+
- (void)groupCall:(NSString *)groupId userIdList:(NSArray<NSString *> *)userIdList callMediaType:(TUICallMediaType)callMediaType;
|
|
213
|
+
```
|
|
214
|
+
|
|
215
|
+
【Swift】
|
|
216
|
+
``` swift
|
|
217
|
+
public func groupCall(groupId: String, userIdList: [String], callMediaType: TUICallMediaType)
|
|
218
|
+
```
|
|
219
|
+
| 参数 | 类型 | 含义 |
|
|
220
|
+
| --- | --- | --- |
|
|
221
|
+
| groupId | NSString | 此次群组通话的群 ID |
|
|
222
|
+
| userIdList | NSArray | 目标用户的 userId 列表 |
|
|
223
|
+
| callMediaType | [TUICallMediaType](https://cloud.tencent.com/document/product/647/90446#MediaType) | 通话的媒体类型,比如视频通话、语音通话 |
|
|
224
|
+
|
|
225
|
+
### groupCall
|
|
226
|
+
|
|
227
|
+
发起群组通话,支持自定义房间号、通话邀请超时时间,离线推送内容等。**注意:建议使用 calls 接口。**
|
|
228
|
+
|
|
229
|
+
> **注意:**
|
|
230
|
+
>
|
|
231
|
+
|
|
232
|
+
> 使用群组通话前需要创建 IM 群组,如果已经创建,请忽略。
|
|
233
|
+
>
|
|
234
|
+
|
|
235
|
+
> 群组的创建详见:[IM 群组管理](https://cloud.tencent.com/document/product/269/75394#.E5.88.9B.E5.BB.BA.E7.BE.A4.E7.BB.84) ,或者您也可以直接使用 [IM TUIKit](https://cloud.tencent.com/document/product/269/37059),一站式集成聊天、通话等场景。
|
|
236
|
+
>
|
|
237
|
+
|
|
238
|
+
【Objective-C】
|
|
239
|
+
``` objectivec
|
|
240
|
+
- (void)groupCall:(NSString *)groupId userIdList:(NSArray<NSString *> *)userIdList callMediaType:(TUICallMediaType)callMediaType params:(TUICallParams *)params succ:(TUICallSucc __nullable)succ fail:(TUICallFail __nullable)fail;
|
|
241
|
+
```
|
|
242
|
+
|
|
243
|
+
【Swift】
|
|
244
|
+
``` swift
|
|
245
|
+
public func groupCall(groupId: String, userIdList: [String], callMediaType: TUICallMediaType, params: TUICallParams, succ: @escaping TUICallSucc, fail: @escaping TUICallFail)
|
|
246
|
+
```
|
|
247
|
+
| 参数 | 类型 | 含义 |
|
|
248
|
+
| --- | --- | --- |
|
|
249
|
+
| groupId | NSString | 此次群组通话的群 ID |
|
|
250
|
+
| userIdList | NSArray | 目标用户的 userId 列表 |
|
|
251
|
+
| callMediaType | [TUICallMediaType](https://cloud.tencent.com/document/product/647/90446#MediaType) | 通话的媒体类型,比如视频通话、语音通话 |
|
|
252
|
+
| params | [TUICallParams](https://cloud.tencent.com/document/product/647/90446#CallParams) | 通话扩展参数,例如:房间号、通话邀请超时时间,离线推送自定义内容等 |
|
|
253
|
+
| succ | TUICallSucc | 成功回调 |
|
|
254
|
+
| fail | TUICallFail | 失败回调 |
|
|
255
|
+
|
|
256
|
+
### joinInGroupCall
|
|
257
|
+
|
|
258
|
+
加入群组中已有的音视频通话。**注意:建议使用 join 接口。**
|
|
259
|
+
|
|
260
|
+
> **注意:**
|
|
261
|
+
>
|
|
262
|
+
|
|
263
|
+
> 加入群组中已有的音视频通话前,需要提前创建或加入 IM 群组,并且群组中已有用户在通话中,如果已经创建,请忽略。
|
|
264
|
+
>
|
|
265
|
+
|
|
266
|
+
> 群组的创建详见:[IM 群组管理](https://cloud.tencent.com/document/product/269/75394#.E5.88.9B.E5.BB.BA.E7.BE.A4.E7.BB.84) ,或者您也可以直接使用 [IM TUIKit](https://cloud.tencent.com/document/product/269/37059),一站式集成聊天、通话等场景。
|
|
267
|
+
>
|
|
268
|
+
|
|
269
|
+
【Objective-C】
|
|
270
|
+
``` objectivec
|
|
271
|
+
- (void)joinInGroupCall:(TUIRoomId *)roomId groupId:(NSString *)groupId callMediaType:(TUICallMediaType)callMediaType;
|
|
272
|
+
```
|
|
273
|
+
|
|
274
|
+
【Swift】
|
|
275
|
+
``` swift
|
|
276
|
+
public func joinInGroupCall(roomId: TUIRoomId, groupId: String, callMediaType: TUICallMediaType)
|
|
277
|
+
```
|
|
278
|
+
| 参数 | 类型 | 含义 |
|
|
279
|
+
| --- | --- | --- |
|
|
280
|
+
| roomId | [TUIRoomId](https://cloud.tencent.com/document/product/647/90446#RoomId) | 此次通话的音视频房间 ID |
|
|
281
|
+
| groupId | NSString | 此次群组通话的群 ID |
|
|
282
|
+
| callMediaType | [TUICallMediaType](https://cloud.tencent.com/document/product/647/90446#MediaType) | 通话的媒体类型,比如视频通话、语音通话 |
|
|
@@ -1,18 +1,7 @@
|
|
|
1
1
|
本文将介绍如何快速完成 TUICallKit 组件的接入,您将在 10 分钟内完成以下几个关键步骤,并最终得到一个包含完备 UI 界面的视频通话功能。
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
<td rowspan="1" colSpan="1" >群组通话</td>
|
|
7
|
-
</tr>
|
|
8
|
-
|
|
9
|
-
<tr>
|
|
10
|
-
<td rowspan="1" colSpan="1" ></td>
|
|
11
|
-
|
|
12
|
-
<td rowspan="1" colSpan="1" ></td>
|
|
13
|
-
</tr>
|
|
14
|
-
</table>
|
|
15
|
-
|
|
2
|
+
| 1v1 视频通话 | 群组通话 |
|
|
3
|
+
| --- | --- |
|
|
4
|
+
| | |
|
|
16
5
|
|
|
17
6
|
## 环境准备
|
|
18
7
|
- Xcode 13 及以上。
|
|
@@ -21,16 +10,15 @@
|
|
|
21
10
|
|
|
22
11
|
- CocoaPods 环境安装,单击 [查看](https://guides.cocoapods.org/using/getting-started.html)。
|
|
23
12
|
|
|
24
|
-
- 如果您的接入和使用中遇到问题,请参见
|
|
25
|
-
|
|
13
|
+
- 如果您的接入和使用中遇到问题,请参见 常见问题。
|
|
26
14
|
|
|
27
15
|
## 步骤一:开通服务
|
|
28
16
|
|
|
29
|
-
请参见
|
|
17
|
+
请参见 开通服务,获取 `SDKAppID、SDKSecretKey`,他们将在 步骤四:初始化 TUICallKit 组件 作为**必填参数**使用。
|
|
30
18
|
|
|
31
19
|
## 步骤二:导入组件
|
|
32
20
|
|
|
33
|
-
使用 CocoaPods 导入组件,如果您遇到问题,请先参见
|
|
21
|
+
使用 CocoaPods 导入组件,如果您遇到问题,请先参见 环境准备。导入组件具体骤如下:
|
|
34
22
|
1. 请在您的 `Podfile` 文件中添加 `pod 'TUICallKit_Swift'` 依赖,建议指定`Subspec`为`Professional`,如果您遇到任何问题,请参见 [Example](https://github.com/Tencent-RTC/TUICallKit/blob/main/iOS/Example/Podfile) 工程。
|
|
35
23
|
|
|
36
24
|
``` bash
|
|
@@ -38,71 +26,56 @@
|
|
|
38
26
|
...
|
|
39
27
|
pod 'TUICallKit_Swift/Professional'
|
|
40
28
|
end
|
|
41
|
-
```
|
|
29
|
+
```
|
|
42
30
|
|
|
43
31
|
> **说明:**
|
|
44
|
-
>
|
|
32
|
+
>
|
|
45
33
|
|
|
46
34
|
> 如果您的项目中缺少`Podfile` 文件,您需要在终端中`cd` 到`xxxx.xcodeproj`目录,然后,通过执行以下命令来创建`Podfile`文件:
|
|
47
|
-
>
|
|
35
|
+
>
|
|
48
36
|
> `pod init`
|
|
49
37
|
|
|
50
38
|
2. 在终端中,首先`cd`到`Podfile`目录下,然后执行以下命令,安装组件。
|
|
51
39
|
|
|
52
40
|
``` bash
|
|
53
41
|
pod install
|
|
54
|
-
```
|
|
42
|
+
```
|
|
55
43
|
|
|
56
44
|
> **说明:**
|
|
57
|
-
>
|
|
45
|
+
>
|
|
58
46
|
|
|
59
47
|
> 如果无法安装 TUICallKit 最新版本,可以先删除 **Podfile.lock **和 **Pods**。然后执行以下命令更新本地的 CocoaPods 仓库列表。
|
|
60
|
-
>
|
|
48
|
+
>
|
|
61
49
|
> `pod repo update`
|
|
62
50
|
|
|
63
51
|
> 之后执行以下命令,更新组件库的 Pod 版本。
|
|
64
|
-
>
|
|
52
|
+
>
|
|
65
53
|
> `pod update`
|
|
66
54
|
|
|
67
|
-
3. 建议您编译并运行一次。如果遇到问题,可以参见我们的
|
|
68
|
-
|
|
55
|
+
3. 建议您编译并运行一次。如果遇到问题,可以参见我们的 常见问题。如果问题仍未解决,您可以尝试运行我们的 [Example](https://github.com/Tencent-RTC/TUICallKit/tree/main/iOS/Example) 工程。在接入和使用过程中,如果遇到问题,欢迎向我们 [反馈](https://github.com/Tencent-RTC/TUICallKit/issues)。
|
|
69
56
|
|
|
70
57
|
## 步骤三:工程配置
|
|
71
58
|
|
|
72
59
|
使用音视频功能,需要授权摄像头和麦克风的使用权限,请根据实际项目需要,设置项目所需权限。
|
|
73
60
|
1. 在 **Xcode** 中,选择 **TARGETS** > **Info** > **Custom iOS Target Properties **菜单。
|
|
74
61
|
|
|
75
|
-
|
|
76
|
-

|
|
77
|
-
|
|
78
62
|
2. 单击 **+**,添加摄像头和麦克风权限。
|
|
79
63
|
|
|
80
64
|
- `Privacy - Camera Usage Description`
|
|
81
65
|
|
|
82
66
|
- `Privacy - Microphone Usage Description`
|
|
83
67
|
|
|
84
|
-
|
|
85
|
-

|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
68
|
## 步骤四:登录 TUI 组件
|
|
91
69
|
|
|
92
|
-
|
|
93
70
|
在您的项目中添加如下代码,它的作用是通过调用 TUICore 中的相关接口完成 TUI 组件的登录。这一步骤至关重要,只有在成功登录之后,您才能正常使用 TUICallKit 提供的各项功能。
|
|
94
71
|
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
72
|
【Swift】
|
|
100
73
|
``` swift
|
|
101
74
|
import TUICore
|
|
102
75
|
import TUICallKit_Swift
|
|
103
76
|
|
|
104
77
|
func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool {
|
|
105
|
-
|
|
78
|
+
|
|
106
79
|
let userID = "denny" // 请替换为您的 UserId
|
|
107
80
|
let sdkAppID: Int32 = 0 // 请替换为第一步在控制台得到的 SDKAppID
|
|
108
81
|
let secretKey = "****" // 请替换为第一步在控制台得到的 SecretKey
|
|
@@ -119,14 +92,13 @@ func application(_ application: UIApplication, didFinishLaunchingWithOptions lau
|
|
|
119
92
|
}
|
|
120
93
|
```
|
|
121
94
|
|
|
122
|
-
|
|
123
95
|
【Objective-C】
|
|
124
96
|
``` objectivec
|
|
125
97
|
#import <TUICore/TUILogin.h>
|
|
126
98
|
#import <TUICallKit_Swift/TUICallKit_Swift-Swift.h>
|
|
127
99
|
|
|
128
100
|
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
|
|
129
|
-
|
|
101
|
+
|
|
130
102
|
NSString *userID = @"denny"; // 请替换为您的 UserId
|
|
131
103
|
int sdkAppID = 0; // 请替换为第一步在控制台得到的 SDKAppID
|
|
132
104
|
NSString *secretKey = @"****"; // 请替换为第一步在控制台得到的 SecretKey
|
|
@@ -141,66 +113,26 @@ func application(_ application: UIApplication, didFinishLaunchingWithOptions lau
|
|
|
141
113
|
} fail:^(int code, NSString * _Nullable msg) {
|
|
142
114
|
NSLog(@"login failed, code: %d, error: %@", code, msg);
|
|
143
115
|
}];
|
|
144
|
-
|
|
116
|
+
|
|
145
117
|
return YES;
|
|
146
118
|
}
|
|
147
119
|
```
|
|
148
120
|
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
<td rowspan="1" colSpan="1" >说明</td>
|
|
156
|
-
</tr>
|
|
157
|
-
|
|
158
|
-
<tr>
|
|
159
|
-
<td rowspan="1" colSpan="1" >userID</td>
|
|
160
|
-
|
|
161
|
-
<td rowspan="1" colSpan="1" >String</td>
|
|
162
|
-
|
|
163
|
-
<td rowspan="1" colSpan="1" >客户根据自己的业务自定义用户 ID,只允许包含大小写英文字母(a-z A-Z)、数字(0-9)及下划线和连词符。</td>
|
|
164
|
-
</tr>
|
|
165
|
-
|
|
166
|
-
<tr>
|
|
167
|
-
<td rowspan="1" colSpan="1" >sdkAppID</td>
|
|
168
|
-
|
|
169
|
-
<td rowspan="1" colSpan="1" >Int32</td>
|
|
170
|
-
|
|
171
|
-
<td rowspan="1" colSpan="1" >在 [实时音视频 TRTC 控制台](https://console.cloud.tencent.com/trtc) 创建的音视频应用的唯一标识 SDKAppID。</td>
|
|
172
|
-
</tr>
|
|
173
|
-
|
|
174
|
-
<tr>
|
|
175
|
-
<td rowspan="1" colSpan="1" >secretKey</td>
|
|
176
|
-
|
|
177
|
-
<td rowspan="1" colSpan="1" >String</td>
|
|
178
|
-
|
|
179
|
-
<td rowspan="1" colSpan="1" >在 [实时音视频 TRTC 控制台](https://console.cloud.tencent.com/trtc) 创建的音视频应用的 SDKSecretKey。</td>
|
|
180
|
-
</tr>
|
|
181
|
-
|
|
182
|
-
<tr>
|
|
183
|
-
<td rowspan="1" colSpan="1" >userSig</td>
|
|
184
|
-
|
|
185
|
-
<td rowspan="1" colSpan="1" >String</td>
|
|
186
|
-
|
|
187
|
-
<td rowspan="1" colSpan="1" >一种安全保护签名,用于对用户进行登录鉴权认证,确认用户是否真实,阻止恶意攻击者盗用您的云服务使用权。</td>
|
|
188
|
-
</tr>
|
|
189
|
-
</table>
|
|
190
|
-
|
|
121
|
+
| 参数 | 类型 | 说明 |
|
|
122
|
+
| --- | --- | --- |
|
|
123
|
+
| userID | String | 客户根据自己的业务自定义用户 ID,只允许包含大小写英文字母(a-z A-Z)、数字(0-9)及下划线和连词符。 |
|
|
124
|
+
| sdkAppID | Int32 | 在 [实时音视频 TRTC 控制台](https://console.cloud.tencent.com/trtc) 创建的音视频应用的唯一标识 SDKAppID。 |
|
|
125
|
+
| secretKey | String | 在 [实时音视频 TRTC 控制台](https://console.cloud.tencent.com/trtc) 创建的音视频应用的 SDKSecretKey。 |
|
|
126
|
+
| userSig | String | 一种安全保护签名,用于对用户进行登录鉴权认证,确认用户是否真实,阻止恶意攻击者盗用您的云服务使用权。 |
|
|
191
127
|
|
|
192
128
|
> **注意:**
|
|
193
|
-
>
|
|
129
|
+
>
|
|
194
130
|
> - **开发环境**:如果您处于本地开发调试阶段,可以使用本地 GenerateTestUserSig.genTestSig 函数生成 userSig。但请注意,该方法中的 secretKey 容易被反编译逆向破解。一旦密钥泄露,攻击者可能盗用您的腾讯云流量。
|
|
195
|
-
> - **生产环境**:如果您的项目要发布上线,请采用
|
|
196
|
-
|
|
131
|
+
> - **生产环境**:如果您的项目要发布上线,请采用 服务端生成 UserSig 的方式。
|
|
197
132
|
|
|
198
133
|
## 步骤五:拨打您的第一通电话
|
|
199
134
|
|
|
200
|
-
通过调用 TUICallKit 的
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
135
|
+
通过调用 TUICallKit 的 calls 函数并指定通话类型和被叫方的 userId,就可以发起语音或者视频通话。
|
|
204
136
|
|
|
205
137
|
【Swift】
|
|
206
138
|
``` swift
|
|
@@ -211,11 +143,10 @@ import RTCRoomEngine
|
|
|
211
143
|
TUICallKit.createInstance().calls(userIdList: ["mike"], callMediaType: .audio, params: nil) {
|
|
212
144
|
|
|
213
145
|
} fail: { code, message in
|
|
214
|
-
|
|
146
|
+
|
|
215
147
|
}
|
|
216
148
|
```
|
|
217
149
|
|
|
218
|
-
|
|
219
150
|
【Objective-C】
|
|
220
151
|
``` objectivec
|
|
221
152
|
#import <TUICallKit_Swift/TUICallKit_Swift-Swift.h>
|
|
@@ -226,42 +157,30 @@ TUICallKit.createInstance().calls(userIdList: ["mike"], callMediaType: .audio, p
|
|
|
226
157
|
} fail:^(int code, NSString * _Nullable errMsg) {
|
|
227
158
|
}];
|
|
228
159
|
```
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
<td rowspan="1" colSpan="1" >被叫方</td>
|
|
234
|
-
</tr>
|
|
235
|
-
|
|
236
|
-
<tr>
|
|
237
|
-
<td rowspan="1" colSpan="1" ></td>
|
|
238
|
-
|
|
239
|
-
<td rowspan="1" colSpan="1" ></td>
|
|
240
|
-
</tr>
|
|
241
|
-
</table>
|
|
242
|
-
|
|
160
|
+
| 主叫方 | 被叫方 |
|
|
161
|
+
| --- | --- |
|
|
162
|
+
| | |
|
|
243
163
|
|
|
244
164
|
## 更多特性
|
|
245
|
-
-
|
|
246
|
-
|
|
247
|
-
- [离线推送](https://write.woa.com/document/86735802219454464)
|
|
165
|
+
- 界面定制
|
|
248
166
|
|
|
249
|
-
-
|
|
167
|
+
- 离线推送
|
|
250
168
|
|
|
251
|
-
-
|
|
169
|
+
- 多人通话
|
|
252
170
|
|
|
253
|
-
-
|
|
171
|
+
- 悬浮窗
|
|
254
172
|
|
|
255
|
-
-
|
|
173
|
+
- 美颜特效
|
|
256
174
|
|
|
257
|
-
-
|
|
175
|
+
- 自定义铃声
|
|
258
176
|
|
|
259
|
-
-
|
|
177
|
+
- 监听通话状态
|
|
260
178
|
|
|
179
|
+
- 云端录制
|
|
261
180
|
|
|
262
181
|
## 常见问题
|
|
263
182
|
|
|
264
|
-
如果您的接入和使用中遇到问题,请参见
|
|
183
|
+
如果您的接入和使用中遇到问题,请参见 常见问题。
|
|
265
184
|
|
|
266
185
|
## 交流与反馈
|
|
267
186
|
- 如果您在使用过程中,有什么建议或者意见,可以在这里反馈:[TUICallKit 产品反馈问卷](https://wj.qq.com/s2/10796805/6960/),感谢您的反馈。
|