@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
|
@@ -2,189 +2,65 @@
|
|
|
2
2
|
## Feature Overview
|
|
3
3
|
`TXDeviceManager.java` provides audio and video device management for the TRTC (Real-Time Communication) SDK on Android. Use this module to control hardware devices such as cameras, microphones, and speakers.
|
|
4
4
|
|
|
5
|
-
|
|
6
5
|
## TXDeviceManager
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
<td rowspan="1" colSpan="1" >[switchCamera](https://write.woa.com/document/87029980188905472)</td>
|
|
22
|
-
|
|
23
|
-
<td rowspan="1" colSpan="1" >Switch between front and rear cameras (only for mobile terminal)</td>
|
|
24
|
-
</tr>
|
|
25
|
-
|
|
26
|
-
<tr>
|
|
27
|
-
<td rowspan="1" colSpan="1" >[getCameraZoomMaxRatio](https://write.woa.com/document/87029980188905472)</td>
|
|
28
|
-
|
|
29
|
-
<td rowspan="1" colSpan="1" >Get the maximum zoom level of the camera (only for mobile terminal)</td>
|
|
30
|
-
</tr>
|
|
31
|
-
|
|
32
|
-
<tr>
|
|
33
|
-
<td rowspan="1" colSpan="1" >[setCameraZoomRatio](https://write.woa.com/document/87029980188905472)</td>
|
|
34
|
-
|
|
35
|
-
<td rowspan="1" colSpan="1" >Set the zoom level of the camera (only for mobile terminal)</td>
|
|
36
|
-
</tr>
|
|
37
|
-
|
|
38
|
-
<tr>
|
|
39
|
-
<td rowspan="1" colSpan="1" >[isAutoFocusEnabled](https://write.woa.com/document/87029980188905472)</td>
|
|
40
|
-
|
|
41
|
-
<td rowspan="1" colSpan="1" >Check if automatic face position recognition is supported (only for mobile terminal)</td>
|
|
42
|
-
</tr>
|
|
43
|
-
|
|
44
|
-
<tr>
|
|
45
|
-
<td rowspan="1" colSpan="1" >[enableCameraAutoFocus](https://write.woa.com/document/87029980188905472)</td>
|
|
46
|
-
|
|
47
|
-
<td rowspan="1" colSpan="1" >Enable autofocus feature (only for mobile terminal)</td>
|
|
48
|
-
</tr>
|
|
49
|
-
|
|
50
|
-
<tr>
|
|
51
|
-
<td rowspan="1" colSpan="1" >[setCameraFocusPosition](https://write.woa.com/document/87029980188905472)</td>
|
|
52
|
-
|
|
53
|
-
<td rowspan="1" colSpan="1" >Set the focus position of the camera (only for mobile terminal)</td>
|
|
54
|
-
</tr>
|
|
55
|
-
|
|
56
|
-
<tr>
|
|
57
|
-
<td rowspan="1" colSpan="1" >[enableCameraTorch](https://write.woa.com/document/87029980188905472)</td>
|
|
58
|
-
|
|
59
|
-
<td rowspan="1" colSpan="1" >Turn the flash on/off, also known as flashlight mode (only for mobile terminal)</td>
|
|
60
|
-
</tr>
|
|
61
|
-
|
|
62
|
-
<tr>
|
|
63
|
-
<td rowspan="1" colSpan="1" >[setAudioRoute](https://write.woa.com/document/87029980188905472)</td>
|
|
64
|
-
|
|
65
|
-
<td rowspan="1" colSpan="1" >Set audio routing (only for mobile terminal)</td>
|
|
66
|
-
</tr>
|
|
67
|
-
|
|
68
|
-
<tr>
|
|
69
|
-
<td rowspan="1" colSpan="1" >[setExposureCompensation](https://write.woa.com/document/87029980188905472)</td>
|
|
70
|
-
|
|
71
|
-
<td rowspan="1" colSpan="1" >Set the exposure parameters of the camera, ranging from -1 to 1</td>
|
|
72
|
-
</tr>
|
|
73
|
-
|
|
74
|
-
<tr>
|
|
75
|
-
<td rowspan="1" colSpan="1" >[setCameraCapturerParam](https://write.woa.com/document/87029980188905472)</td>
|
|
76
|
-
|
|
77
|
-
<td rowspan="1" colSpan="1" >Set camera capture preferences</td>
|
|
78
|
-
</tr>
|
|
79
|
-
|
|
80
|
-
<tr>
|
|
81
|
-
<td rowspan="1" colSpan="1" >[setSystemVolumeType](https://write.woa.com/document/87029980188905472)</td>
|
|
82
|
-
|
|
83
|
-
<td rowspan="1" colSpan="1" >Set system volume type (only for mobile terminal)</td>
|
|
84
|
-
</tr>
|
|
85
|
-
</table>
|
|
86
|
-
|
|
6
|
+
| Function List | Description |
|
|
7
|
+
| --- | --- |
|
|
8
|
+
| isFrontCamera | Determine whether the current camera is front-facing (only for mobile terminal) |
|
|
9
|
+
| switchCamera | Switch between front and rear cameras (only for mobile terminal) |
|
|
10
|
+
| getCameraZoomMaxRatio | Get the maximum zoom level of the camera (only for mobile terminal) |
|
|
11
|
+
| setCameraZoomRatio | Set the zoom level of the camera (only for mobile terminal) |
|
|
12
|
+
| isAutoFocusEnabled | Check if automatic face position recognition is supported (only for mobile terminal) |
|
|
13
|
+
| enableCameraAutoFocus | Enable autofocus feature (only for mobile terminal) |
|
|
14
|
+
| setCameraFocusPosition | Set the focus position of the camera (only for mobile terminal) |
|
|
15
|
+
| enableCameraTorch | Turn the flash on/off, also known as flashlight mode (only for mobile terminal) |
|
|
16
|
+
| setAudioRoute | Set audio routing (only for mobile terminal) |
|
|
17
|
+
| setExposureCompensation | Set the exposure parameters of the camera, ranging from -1 to 1 |
|
|
18
|
+
| setCameraCapturerParam | Set camera capture preferences |
|
|
19
|
+
| setSystemVolumeType | Set system volume type (only for mobile terminal) |
|
|
87
20
|
|
|
88
21
|
## Struct Type
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
<td rowspan="1" colSpan="1" >Description</td>
|
|
94
|
-
</tr>
|
|
95
|
-
|
|
96
|
-
<tr>
|
|
97
|
-
<td rowspan="1" colSpan="1" >[TXCameraCaptureParam](https://write.woa.com/document/87029980188905472)</td>
|
|
98
|
-
|
|
99
|
-
<td rowspan="1" colSpan="1" >Camera collection parameters</td>
|
|
100
|
-
</tr>
|
|
101
|
-
</table>
|
|
102
|
-
|
|
22
|
+
| Function List | Description |
|
|
23
|
+
| --- | --- |
|
|
24
|
+
| TXCameraCaptureParam | Camera collection parameters |
|
|
103
25
|
|
|
104
26
|
## Enumeration Types
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
</tr>
|
|
111
|
-
|
|
112
|
-
<tr>
|
|
113
|
-
<td rowspan="1" colSpan="1" >[TXSystemVolumeType](https://write.woa.com/document/87029980188905472)</td>
|
|
114
|
-
|
|
115
|
-
<td rowspan="1" colSpan="1" >System Volume Type (Only applicable to mobile devices)</td>
|
|
116
|
-
</tr>
|
|
117
|
-
|
|
118
|
-
<tr>
|
|
119
|
-
<td rowspan="1" colSpan="1" >[TXAudioRoute](https://write.woa.com/document/87029980188905472)</td>
|
|
120
|
-
|
|
121
|
-
<td rowspan="1" colSpan="1" >Audio routing (i.e., the sound playback mode)</td>
|
|
122
|
-
</tr>
|
|
123
|
-
|
|
124
|
-
<tr>
|
|
125
|
-
<td rowspan="1" colSpan="1" >[TXCameraCaptureMode](https://write.woa.com/document/87029980188905472)</td>
|
|
126
|
-
|
|
127
|
-
<td rowspan="1" colSpan="1" >Camera capture preferences</td>
|
|
128
|
-
</tr>
|
|
129
|
-
</table>
|
|
130
|
-
|
|
27
|
+
| Enumeration Types | Description |
|
|
28
|
+
| --- | --- |
|
|
29
|
+
| TXSystemVolumeType | System Volume Type (Only applicable to mobile devices) |
|
|
30
|
+
| TXAudioRoute | Audio routing (i.e., the sound playback mode) |
|
|
31
|
+
| TXCameraCaptureMode | Camera capture preferences |
|
|
131
32
|
|
|
132
33
|
## isFrontCamera
|
|
133
34
|
|
|
134
|
-
|
|
135
|
-
|
|
136
35
|
#### Determine whether the current camera is front-facing (only for mobile terminal)
|
|
137
36
|
|
|
138
37
|
## switchCamera
|
|
139
38
|
|
|
140
|
-
|
|
141
|
-
|
|
142
39
|
#### Switch between front and rear cameras (only for mobile terminal)
|
|
143
40
|
|
|
144
41
|
## getCameraZoomMaxRatio
|
|
145
42
|
|
|
146
|
-
|
|
147
|
-
|
|
148
43
|
#### Get the maximum zoom level of the camera (only for mobile terminal)
|
|
149
44
|
|
|
150
45
|
## setCameraZoomRatio
|
|
151
46
|
|
|
152
|
-
|
|
153
|
-
|
|
154
47
|
#### Set the zoom level of the camera (only for mobile terminal)
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
<td rowspan="1" colSpan="1" >Description</td>
|
|
160
|
-
</tr>
|
|
161
|
-
|
|
162
|
-
<tr>
|
|
163
|
-
<td rowspan="1" colSpan="1" >zoomRatio</td>
|
|
164
|
-
|
|
165
|
-
<td rowspan="1" colSpan="1" >Value range 1 - 5, with 1 representing the farthest view (normal lens) and 5 representing the closest view (magnifier lens). The recommended maximum value is 5; exceeding 5 may cause video data to become blurry.</td>
|
|
166
|
-
</tr>
|
|
167
|
-
</table>
|
|
168
|
-
|
|
48
|
+
| Parameters | Description |
|
|
49
|
+
| --- | --- |
|
|
50
|
+
| zoomRatio | Value range 1 - 5, with 1 representing the farthest view (normal lens) and 5 representing the closest view (magnifier lens). The recommended maximum value is 5; exceeding 5 may cause video data to become blurry. |
|
|
169
51
|
|
|
170
52
|
## isAutoFocusEnabled
|
|
171
53
|
|
|
172
|
-
|
|
173
|
-
|
|
174
54
|
#### Check if automatic face position recognition is supported (only for mobile terminal)
|
|
175
55
|
|
|
176
56
|
## enableCameraAutoFocus
|
|
177
57
|
|
|
178
|
-
|
|
179
|
-
|
|
180
58
|
#### Enable autofocus feature (only for mobile terminal)
|
|
181
59
|
|
|
182
60
|
Once enabled, the SDK will automatically detect the face position in the frame and keep the camera focus on the face position.
|
|
183
61
|
|
|
184
62
|
## setCameraFocusPosition
|
|
185
63
|
|
|
186
|
-
|
|
187
|
-
|
|
188
64
|
#### Set the focus position of the camera (only for mobile terminal)
|
|
189
65
|
|
|
190
66
|
You can achieve the following interactions with this interface:
|
|
@@ -194,27 +70,15 @@ You can achieve the following interactions with this interface:
|
|
|
194
70
|
2. Display a rectangular box at the click position to indicate that the camera will focus on this point.
|
|
195
71
|
|
|
196
72
|
3. Then, pass the coordinates of the user's click position through this interface to the SDK. The SDK will control the camera to focus on the user's desired location.
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
<td rowspan="1" colSpan="1" >Description</td>
|
|
202
|
-
</tr>
|
|
203
|
-
|
|
204
|
-
<tr>
|
|
205
|
-
<td rowspan="1" colSpan="1" >position</td>
|
|
206
|
-
|
|
207
|
-
<td rowspan="1" colSpan="1" >Focus position, please pass the coordinates of the desired focus point</td>
|
|
208
|
-
</tr>
|
|
209
|
-
</table>
|
|
210
|
-
|
|
73
|
+
| Parameters | Description |
|
|
74
|
+
| --- | --- |
|
|
75
|
+
| position | Focus position, please pass the coordinates of the desired focus point |
|
|
211
76
|
|
|
212
77
|
> **Note**
|
|
213
|
-
>
|
|
214
|
-
|
|
215
|
-
> The prerequisite for using this interface is to disable the auto-focus feature through [enableCameraAutoFocus](https://write.woa.com/document/87029980188905472).
|
|
216
|
-
>
|
|
78
|
+
>
|
|
217
79
|
|
|
80
|
+
> The prerequisite for using this interface is to disable the auto-focus feature through enableCameraAutoFocus.
|
|
81
|
+
>
|
|
218
82
|
|
|
219
83
|
#### Return value description:
|
|
220
84
|
|
|
@@ -222,14 +86,10 @@ You can achieve the following interactions with this interface:
|
|
|
222
86
|
|
|
223
87
|
## enableCameraTorch
|
|
224
88
|
|
|
225
|
-
|
|
226
|
-
|
|
227
89
|
#### Turn the flash on/off, also known as flashlight mode (only for mobile terminal)
|
|
228
90
|
|
|
229
91
|
## setAudioRoute
|
|
230
92
|
|
|
231
|
-
|
|
232
|
-
|
|
233
93
|
#### Set audio routing (only for mobile terminal)
|
|
234
94
|
|
|
235
95
|
A phone has two audio playback devices: one is the earpiece at the top of the phone, and the other is the stereo speaker at the bottom of the phone.
|
|
@@ -240,86 +100,41 @@ When the audio routing is set to the speaker, the sound is relatively loud. You
|
|
|
240
100
|
|
|
241
101
|
## setExposureCompensation
|
|
242
102
|
|
|
243
|
-
|
|
244
|
-
|
|
245
103
|
#### Set the exposure parameters of the camera, ranging from -1 to 1
|
|
246
104
|
|
|
247
105
|
## setCameraCapturerParam
|
|
248
106
|
|
|
249
|
-
|
|
250
|
-
|
|
251
107
|
#### Set camera capture preferences
|
|
252
108
|
|
|
253
109
|
## setSystemVolumeType
|
|
254
110
|
|
|
255
|
-
|
|
256
|
-
|
|
257
111
|
#### Set system volume type (only for mobile terminal)
|
|
258
112
|
|
|
259
113
|
@deprecated Not recommended starting from version 9.5. It is advised to use the startLocalAudio(quality) interface in ` TRTCCloud ` as a replacement, and decide the sound quality via the quality parameter.
|
|
260
114
|
|
|
261
115
|
## TXSystemVolumeType(Deprecated)
|
|
262
116
|
|
|
263
|
-
|
|
264
|
-
|
|
265
117
|
#### System Volume Type (Only applicable to mobile devices)
|
|
266
118
|
|
|
267
119
|
@deprecated Not recommended starting from version 9.5.
|
|
268
120
|
|
|
269
|
-
|
|
270
|
-
|
|
271
121
|
Modern smartphones generally have two types of system volume: "Call Volume" and "Media Volume".
|
|
272
122
|
- Call Volume: A volume type designed specifically for making and receiving phone calls, featuring built-in echo cancellation (AEC), and supporting microphone input via Bluetooth headphones. However, the sound quality is relatively average.
|
|
273
123
|
|
|
274
|
-
|
|
275
124
|
If you press the volume button on the side of your phone to lower the volume and it cannot be set to zero (completely silent), it indicates that your phone is currently in Call Volume mode.
|
|
276
125
|
- Media Volume: A volume type designed specifically for music scenarios, which cannot use the system's AEC feature, and does not support microphone input via Bluetooth headphones, but provides better music playback quality.
|
|
277
126
|
|
|
278
|
-
|
|
279
127
|
If you press the volume button on the side of your phone to lower the volume and it can be set to completely silent, it indicates that your phone is currently in Media Volume mode.
|
|
280
128
|
|
|
281
|
-
|
|
282
|
-
|
|
283
129
|
The SDK currently offers three control modes for system volume types: Automatic Switching Mode, Full Call Volume Mode, Full Media Volume Mode.
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
<td rowspan="1" colSpan="1" >Description</td>
|
|
291
|
-
</tr>
|
|
292
|
-
|
|
293
|
-
<tr>
|
|
294
|
-
<td rowspan="1" colSpan="1" >TXSystemVolumeTypeAuto</td>
|
|
295
|
-
|
|
296
|
-
<td rowspan="1" colSpan="1" >Not Defined</td>
|
|
297
|
-
|
|
298
|
-
<td rowspan="1" colSpan="1" >Automatic Switching Mode</td>
|
|
299
|
-
</tr>
|
|
300
|
-
|
|
301
|
-
<tr>
|
|
302
|
-
<td rowspan="1" colSpan="1" >TXSystemVolumeTypeMedia</td>
|
|
303
|
-
|
|
304
|
-
<td rowspan="1" colSpan="1" >Not Defined</td>
|
|
305
|
-
|
|
306
|
-
<td rowspan="1" colSpan="1" >Full Media Volume</td>
|
|
307
|
-
</tr>
|
|
308
|
-
|
|
309
|
-
<tr>
|
|
310
|
-
<td rowspan="1" colSpan="1" >TXSystemVolumeTypeVOIP</td>
|
|
311
|
-
|
|
312
|
-
<td rowspan="1" colSpan="1" >Not Defined</td>
|
|
313
|
-
|
|
314
|
-
<td rowspan="1" colSpan="1" >Full Call Volume</td>
|
|
315
|
-
</tr>
|
|
316
|
-
</table>
|
|
317
|
-
|
|
130
|
+
| Enumeration | Value | Description |
|
|
131
|
+
| --- | --- | --- |
|
|
132
|
+
| TXSystemVolumeTypeAuto | Not Defined | Automatic Switching Mode |
|
|
133
|
+
| TXSystemVolumeTypeMedia | Not Defined | Full Media Volume |
|
|
134
|
+
| TXSystemVolumeTypeVOIP | Not Defined | Full Call Volume |
|
|
318
135
|
|
|
319
136
|
## TXAudioRoute
|
|
320
137
|
|
|
321
|
-
|
|
322
|
-
|
|
323
138
|
#### Audio routing (i.e., the sound playback mode)
|
|
324
139
|
|
|
325
140
|
Audio routing, that is, whether the sound is played through the phone's speaker or earpiece. Therefore, this interface is only applicable to mobile devices.
|
|
@@ -329,112 +144,30 @@ A mobile phone has two speakers: one is the earpiece located at the top of the p
|
|
|
329
144
|
|
|
330
145
|
- When the audio routing is set to the speaker, the sound is relatively loud. You can hear it clearly without holding the phone to your face, thus enabling the "hands-free" feature.
|
|
331
146
|
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
<td rowspan="1" colSpan="1" >Value</td>
|
|
337
|
-
|
|
338
|
-
<td rowspan="1" colSpan="1" >Description</td>
|
|
339
|
-
</tr>
|
|
340
|
-
|
|
341
|
-
<tr>
|
|
342
|
-
<td rowspan="1" colSpan="1" >TXAudioRouteSpeakerphone</td>
|
|
343
|
-
|
|
344
|
-
<td rowspan="1" colSpan="1" >Not Defined</td>
|
|
345
|
-
|
|
346
|
-
<td rowspan="1" colSpan="1" >Speakerphone: Play sound through the speaker (i.e., "hands-free"), which is located at the bottom of the phone. The volume tends to be loud, suitable for playing music out loud.</td>
|
|
347
|
-
</tr>
|
|
348
|
-
|
|
349
|
-
<tr>
|
|
350
|
-
<td rowspan="1" colSpan="1" >TXAudioRouteEarpiece</td>
|
|
351
|
-
|
|
352
|
-
<td rowspan="1" colSpan="1" >Not Defined</td>
|
|
353
|
-
|
|
354
|
-
<td rowspan="1" colSpan="1" >Earpiece: Plays through the earpiece, the earpiece is located at the top of the phone, the sound is small, suitable for privacy-protected call scenarios.</td>
|
|
355
|
-
</tr>
|
|
356
|
-
</table>
|
|
357
|
-
|
|
147
|
+
| Enumeration | Value | Description |
|
|
148
|
+
| --- | --- | --- |
|
|
149
|
+
| TXAudioRouteSpeakerphone | Not Defined | Speakerphone: Play sound through the speaker (i.e., "hands-free"), which is located at the bottom of the phone. The volume tends to be loud, suitable for playing music out loud. |
|
|
150
|
+
| TXAudioRouteEarpiece | Not Defined | Earpiece: Plays through the earpiece, the earpiece is located at the top of the phone, the sound is small, suitable for privacy-protected call scenarios. |
|
|
358
151
|
|
|
359
152
|
## TXCameraCaptureMode
|
|
360
153
|
|
|
361
|
-
|
|
362
|
-
|
|
363
154
|
#### Camera capture preferences
|
|
364
155
|
|
|
365
156
|
This enumeration type is used for camera collection parameter settings.
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
<td rowspan="1" colSpan="1" >Description</td>
|
|
373
|
-
</tr>
|
|
374
|
-
|
|
375
|
-
<tr>
|
|
376
|
-
<td rowspan="1" colSpan="1" >TXCameraResolutionStrategyAuto</td>
|
|
377
|
-
|
|
378
|
-
<td rowspan="1" colSpan="1" >Not Defined</td>
|
|
379
|
-
|
|
380
|
-
<td rowspan="1" colSpan="1" >Auto-adjust collection parameters.<br>The SDK selects appropriate camera output parameters based on the performance of the actual capture device and network conditions, maintaining a balance between device performance and video preview quality.</td>
|
|
381
|
-
</tr>
|
|
382
|
-
|
|
383
|
-
<tr>
|
|
384
|
-
<td rowspan="1" colSpan="1" >TXCameraResolutionStrategyPerformance</td>
|
|
385
|
-
|
|
386
|
-
<td rowspan="1" colSpan="1" >Not Defined</td>
|
|
387
|
-
|
|
388
|
-
<td rowspan="1" colSpan="1" >Prioritize device performance.<br>The SDK selects the closest camera output parameters based on the encoder resolution and frame rate set by the user, thus ensuring device performance.</td>
|
|
389
|
-
</tr>
|
|
390
|
-
|
|
391
|
-
<tr>
|
|
392
|
-
<td rowspan="1" colSpan="1" >TXCameraResolutionStrategyHighQuality</td>
|
|
393
|
-
|
|
394
|
-
<td rowspan="1" colSpan="1" >Not Defined</td>
|
|
395
|
-
|
|
396
|
-
<td rowspan="1" colSpan="1" >Priority is given to ensuring video preview quality.<br>The SDK selects higher camera output parameters to improve the quality of preview video. In this case, more CPU and memory will be consumed for video preprocessing.</td>
|
|
397
|
-
</tr>
|
|
398
|
-
|
|
399
|
-
<tr>
|
|
400
|
-
<td rowspan="1" colSpan="1" >TXCameraCaptureManual</td>
|
|
401
|
-
|
|
402
|
-
<td rowspan="1" colSpan="1" >Not Defined</td>
|
|
403
|
-
|
|
404
|
-
<td rowspan="1" colSpan="1" >Users are allowed to set the video aspect ratio captured by the local camera.</td>
|
|
405
|
-
</tr>
|
|
406
|
-
</table>
|
|
407
|
-
|
|
157
|
+
| Enumeration | Value | Description |
|
|
158
|
+
| --- | --- | --- |
|
|
159
|
+
| TXCameraResolutionStrategyAuto | Not Defined | Auto-adjust collection parameters.<br>The SDK selects appropriate camera output parameters based on the performance of the actual capture device and network conditions, maintaining a balance between device performance and video preview quality. |
|
|
160
|
+
| TXCameraResolutionStrategyPerformance | Not Defined | Prioritize device performance.<br>The SDK selects the closest camera output parameters based on the encoder resolution and frame rate set by the user, thus ensuring device performance. |
|
|
161
|
+
| TXCameraResolutionStrategyHighQuality | Not Defined | Priority is given to ensuring video preview quality.<br>The SDK selects higher camera output parameters to improve the quality of preview video. In this case, more CPU and memory will be consumed for video preprocessing. |
|
|
162
|
+
| TXCameraCaptureManual | Not Defined | Users are allowed to set the video aspect ratio captured by the local camera. |
|
|
408
163
|
|
|
409
164
|
## TXCameraCaptureParam
|
|
410
165
|
|
|
411
|
-
|
|
412
|
-
|
|
413
166
|
#### Camera collection parameters
|
|
414
167
|
|
|
415
168
|
This setting determines the image quality of the local preview.
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
</tr>
|
|
422
|
-
|
|
423
|
-
<tr>
|
|
424
|
-
<td rowspan="1" colSpan="1" >height</td>
|
|
425
|
-
|
|
426
|
-
<td rowspan="1" colSpan="1" >**Field Definition:** Captured Image Width</td>
|
|
427
|
-
</tr>
|
|
428
|
-
|
|
429
|
-
<tr>
|
|
430
|
-
<td rowspan="1" colSpan="1" >mode</td>
|
|
431
|
-
|
|
432
|
-
<td rowspan="1" colSpan="1" >**Field Definition:** Camera Capture Preferences, refer to [TXCameraCaptureMode](https://write.woa.com/document/87029980188905472)</td>
|
|
433
|
-
</tr>
|
|
434
|
-
|
|
435
|
-
<tr>
|
|
436
|
-
<td rowspan="1" colSpan="1" >width</td>
|
|
437
|
-
|
|
438
|
-
<td rowspan="1" colSpan="1" >**Field Definition:** Captured Image Length</td>
|
|
439
|
-
</tr>
|
|
440
|
-
</table>
|
|
169
|
+
| Enumeration Types | Description |
|
|
170
|
+
| --- | --- |
|
|
171
|
+
| height | **Field Definition:** Captured Image Width |
|
|
172
|
+
| mode | **Field Definition:** Camera Capture Preferences, refer to TXCameraCaptureMode |
|
|
173
|
+
| width | **Field Definition:** Captured Image Length |
|