@tencent-rtc/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/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/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 +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/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 +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,616 +2,235 @@
|
|
|
2
2
|
## Feature Overview
|
|
3
3
|
`ITXAudioEffectManager.h` is the manager class for handling background music, sound effects, and vocal effects on the TRTC Real-Time Communication (TRTC SDK) C++. Use this class to configure and control background music, sound effects, and vocal processing features.
|
|
4
4
|
|
|
5
|
-
|
|
6
5
|
## ITXMusicPreloadObserver
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
<td rowspan="1" colSpan="1" >Description</td>
|
|
12
|
-
</tr>
|
|
13
|
-
|
|
14
|
-
<tr>
|
|
15
|
-
<td rowspan="1" colSpan="1" >[onLoadProgress](https://write.woa.com/document/87030074293530624)</td>
|
|
16
|
-
|
|
17
|
-
<td rowspan="1" colSpan="1" >Background music preloading progress</td>
|
|
18
|
-
</tr>
|
|
19
|
-
|
|
20
|
-
<tr>
|
|
21
|
-
<td rowspan="1" colSpan="1" >[onLoadError](https://write.woa.com/document/87030074293530624)</td>
|
|
22
|
-
|
|
23
|
-
<td rowspan="1" colSpan="1" >Error in background music preloading</td>
|
|
24
|
-
</tr>
|
|
25
|
-
</table>
|
|
26
|
-
|
|
6
|
+
| Function List | Description |
|
|
7
|
+
| --- | --- |
|
|
8
|
+
| onLoadProgress | Background music preloading progress |
|
|
9
|
+
| onLoadError | Error in background music preloading |
|
|
27
10
|
|
|
28
11
|
## ITXMusicPlayObserver
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
</tr>
|
|
35
|
-
|
|
36
|
-
<tr>
|
|
37
|
-
<td rowspan="1" colSpan="1" >[onStart](https://write.woa.com/document/87030074293530624)</td>
|
|
38
|
-
|
|
39
|
-
<td rowspan="1" colSpan="1" >Start playing background music</td>
|
|
40
|
-
</tr>
|
|
41
|
-
|
|
42
|
-
<tr>
|
|
43
|
-
<td rowspan="1" colSpan="1" >[onPlayProgress](https://write.woa.com/document/87030074293530624)</td>
|
|
44
|
-
|
|
45
|
-
<td rowspan="1" colSpan="1" >Background music playback progress</td>
|
|
46
|
-
</tr>
|
|
47
|
-
|
|
48
|
-
<tr>
|
|
49
|
-
<td rowspan="1" colSpan="1" >[onComplete](https://write.woa.com/document/87030074293530624)</td>
|
|
50
|
-
|
|
51
|
-
<td rowspan="1" colSpan="1" >Background music playback completed</td>
|
|
52
|
-
</tr>
|
|
53
|
-
</table>
|
|
54
|
-
|
|
12
|
+
| Function List | Description |
|
|
13
|
+
| --- | --- |
|
|
14
|
+
| onStart | Start playing background music |
|
|
15
|
+
| onPlayProgress | Background music playback progress |
|
|
16
|
+
| onComplete | Background music playback completed |
|
|
55
17
|
|
|
56
18
|
## ITXAudioEffectManager
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
<td rowspan="1" colSpan="1" >[setVoiceChangerType](https://write.woa.com/document/87030074293530624)</td>
|
|
84
|
-
|
|
85
|
-
<td rowspan="1" colSpan="1" >Set vocal voice changing effect</td>
|
|
86
|
-
</tr>
|
|
87
|
-
|
|
88
|
-
<tr>
|
|
89
|
-
<td rowspan="1" colSpan="1" >[setVoiceCaptureVolume](https://write.woa.com/document/87030074293530624)</td>
|
|
90
|
-
|
|
91
|
-
<td rowspan="1" colSpan="1" >Set speech volume</td>
|
|
92
|
-
</tr>
|
|
93
|
-
|
|
94
|
-
<tr>
|
|
95
|
-
<td rowspan="1" colSpan="1" >[setVoicePitch](https://write.woa.com/document/87030074293530624)</td>
|
|
96
|
-
|
|
97
|
-
<td rowspan="1" colSpan="1" >Set speech tone</td>
|
|
98
|
-
</tr>
|
|
99
|
-
|
|
100
|
-
<tr>
|
|
101
|
-
<td rowspan="1" colSpan="1" >[setMusicObserver](https://write.woa.com/document/87030074293530624)</td>
|
|
102
|
-
|
|
103
|
-
<td rowspan="1" colSpan="1" >Set the event callback interface for background music</td>
|
|
104
|
-
</tr>
|
|
105
|
-
|
|
106
|
-
<tr>
|
|
107
|
-
<td rowspan="1" colSpan="1" >[startPlayMusic](https://write.woa.com/document/87030074293530624)</td>
|
|
108
|
-
|
|
109
|
-
<td rowspan="1" colSpan="1" >Start playing background music</td>
|
|
110
|
-
</tr>
|
|
111
|
-
|
|
112
|
-
<tr>
|
|
113
|
-
<td rowspan="1" colSpan="1" >[stopPlayMusic](https://write.woa.com/document/87030074293530624)</td>
|
|
114
|
-
|
|
115
|
-
<td rowspan="1" colSpan="1" >Stop playing background music</td>
|
|
116
|
-
</tr>
|
|
117
|
-
|
|
118
|
-
<tr>
|
|
119
|
-
<td rowspan="1" colSpan="1" >[pausePlayMusic](https://write.woa.com/document/87030074293530624)</td>
|
|
120
|
-
|
|
121
|
-
<td rowspan="1" colSpan="1" >Pause background music</td>
|
|
122
|
-
</tr>
|
|
123
|
-
|
|
124
|
-
<tr>
|
|
125
|
-
<td rowspan="1" colSpan="1" >[resumePlayMusic](https://write.woa.com/document/87030074293530624)</td>
|
|
126
|
-
|
|
127
|
-
<td rowspan="1" colSpan="1" >Resume background music</td>
|
|
128
|
-
</tr>
|
|
129
|
-
|
|
130
|
-
<tr>
|
|
131
|
-
<td rowspan="1" colSpan="1" >[setAllMusicVolume](https://write.woa.com/document/87030074293530624)</td>
|
|
132
|
-
|
|
133
|
-
<td rowspan="1" colSpan="1" >Set the local and remote volume of all background music</td>
|
|
134
|
-
</tr>
|
|
135
|
-
|
|
136
|
-
<tr>
|
|
137
|
-
<td rowspan="1" colSpan="1" >[setMusicPublishVolume](https://write.woa.com/document/87030074293530624)</td>
|
|
138
|
-
|
|
139
|
-
<td rowspan="1" colSpan="1" >Set the remote volume of a specific background music track</td>
|
|
140
|
-
</tr>
|
|
141
|
-
|
|
142
|
-
<tr>
|
|
143
|
-
<td rowspan="1" colSpan="1" >[setMusicPlayoutVolume](https://write.woa.com/document/87030074293530624)</td>
|
|
144
|
-
|
|
145
|
-
<td rowspan="1" colSpan="1" >Set the local volume of a specific background music track</td>
|
|
146
|
-
</tr>
|
|
147
|
-
|
|
148
|
-
<tr>
|
|
149
|
-
<td rowspan="1" colSpan="1" >[setMusicPitch](https://write.woa.com/document/87030074293530624)</td>
|
|
150
|
-
|
|
151
|
-
<td rowspan="1" colSpan="1" >Adjust the pitch of background music</td>
|
|
152
|
-
</tr>
|
|
153
|
-
|
|
154
|
-
<tr>
|
|
155
|
-
<td rowspan="1" colSpan="1" >[setMusicSpeedRate](https://write.woa.com/document/87030074293530624)</td>
|
|
156
|
-
|
|
157
|
-
<td rowspan="1" colSpan="1" >Adjust the variable speed effect of background music</td>
|
|
158
|
-
</tr>
|
|
159
|
-
|
|
160
|
-
<tr>
|
|
161
|
-
<td rowspan="1" colSpan="1" >[getMusicCurrentPosInMS](https://write.woa.com/document/87030074293530624)</td>
|
|
162
|
-
|
|
163
|
-
<td rowspan="1" colSpan="1" >Get the playback progress of background music (unit: milliseconds)</td>
|
|
164
|
-
</tr>
|
|
165
|
-
|
|
166
|
-
<tr>
|
|
167
|
-
<td rowspan="1" colSpan="1" >[getMusicDurationInMS](https://write.woa.com/document/87030074293530624)</td>
|
|
168
|
-
|
|
169
|
-
<td rowspan="1" colSpan="1" >Get the total duration of background music (unit: milliseconds)</td>
|
|
170
|
-
</tr>
|
|
171
|
-
|
|
172
|
-
<tr>
|
|
173
|
-
<td rowspan="1" colSpan="1" >[seekMusicToPosInTime](https://write.woa.com/document/87030074293530624)</td>
|
|
174
|
-
|
|
175
|
-
<td rowspan="1" colSpan="1" >Set the playback progress of background music (unit: milliseconds)</td>
|
|
176
|
-
</tr>
|
|
177
|
-
|
|
178
|
-
<tr>
|
|
179
|
-
<td rowspan="1" colSpan="1" >[setMusicScratchSpeedRate](https://write.woa.com/document/87030074293530624)</td>
|
|
180
|
-
|
|
181
|
-
<td rowspan="1" colSpan="1" >Adjust the variable speed effect of scratching</td>
|
|
182
|
-
</tr>
|
|
183
|
-
|
|
184
|
-
<tr>
|
|
185
|
-
<td rowspan="1" colSpan="1" >[setPreloadObserver](https://write.woa.com/document/87030074293530624)</td>
|
|
186
|
-
|
|
187
|
-
<td rowspan="1" colSpan="1" >Set the preloading event callback</td>
|
|
188
|
-
</tr>
|
|
189
|
-
|
|
190
|
-
<tr>
|
|
191
|
-
<td rowspan="1" colSpan="1" >[preloadMusic](https://write.woa.com/document/87030074293530624)</td>
|
|
192
|
-
|
|
193
|
-
<td rowspan="1" colSpan="1" >Preload background music</td>
|
|
194
|
-
</tr>
|
|
195
|
-
|
|
196
|
-
<tr>
|
|
197
|
-
<td rowspan="1" colSpan="1" >[getMusicTrackCount](https://write.woa.com/document/87030074293530624)</td>
|
|
198
|
-
|
|
199
|
-
<td rowspan="1" colSpan="1" >Obtain the number of background music tracks</td>
|
|
200
|
-
</tr>
|
|
201
|
-
|
|
202
|
-
<tr>
|
|
203
|
-
<td rowspan="1" colSpan="1" >[setMusicTrack](https://write.woa.com/document/87030074293530624)</td>
|
|
204
|
-
|
|
205
|
-
<td rowspan="1" colSpan="1" >Specify the playback track of background music</td>
|
|
206
|
-
</tr>
|
|
207
|
-
</table>
|
|
208
|
-
|
|
19
|
+
| Function List | Description |
|
|
20
|
+
| --- | --- |
|
|
21
|
+
| enableVoiceEarMonitor | Enable ear return |
|
|
22
|
+
| setVoiceEarMonitorVolume | Set ear return volume |
|
|
23
|
+
| setVoiceReverbType | Set vocal reverb effect |
|
|
24
|
+
| setVoiceChangerType | Set vocal voice changing effect |
|
|
25
|
+
| setVoiceCaptureVolume | Set speech volume |
|
|
26
|
+
| setVoicePitch | Set speech tone |
|
|
27
|
+
| setMusicObserver | Set the event callback interface for background music |
|
|
28
|
+
| startPlayMusic | Start playing background music |
|
|
29
|
+
| stopPlayMusic | Stop playing background music |
|
|
30
|
+
| pausePlayMusic | Pause background music |
|
|
31
|
+
| resumePlayMusic | Resume background music |
|
|
32
|
+
| setAllMusicVolume | Set the local and remote volume of all background music |
|
|
33
|
+
| setMusicPublishVolume | Set the remote volume of a specific background music track |
|
|
34
|
+
| setMusicPlayoutVolume | Set the local volume of a specific background music track |
|
|
35
|
+
| setMusicPitch | Adjust the pitch of background music |
|
|
36
|
+
| setMusicSpeedRate | Adjust the variable speed effect of background music |
|
|
37
|
+
| getMusicCurrentPosInMS | Get the playback progress of background music (unit: milliseconds) |
|
|
38
|
+
| getMusicDurationInMS | Get the total duration of background music (unit: milliseconds) |
|
|
39
|
+
| seekMusicToPosInTime | Set the playback progress of background music (unit: milliseconds) |
|
|
40
|
+
| setMusicScratchSpeedRate | Adjust the variable speed effect of scratching |
|
|
41
|
+
| setPreloadObserver | Set the preloading event callback |
|
|
42
|
+
| preloadMusic | Preload background music |
|
|
43
|
+
| getMusicTrackCount | Obtain the number of background music tracks |
|
|
44
|
+
| setMusicTrack | Specify the playback track of background music |
|
|
209
45
|
|
|
210
46
|
## Struct Type
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
<td rowspan="1" colSpan="1" >Description</td>
|
|
216
|
-
</tr>
|
|
217
|
-
|
|
218
|
-
<tr>
|
|
219
|
-
<td rowspan="1" colSpan="1" >[AudioMusicParam](https://write.woa.com/document/87030074293530624)</td>
|
|
220
|
-
|
|
221
|
-
<td rowspan="1" colSpan="1" >Playback control information for background music</td>
|
|
222
|
-
</tr>
|
|
223
|
-
</table>
|
|
224
|
-
|
|
47
|
+
| Function List | Description |
|
|
48
|
+
| --- | --- |
|
|
49
|
+
| AudioMusicParam | Playback control information for background music |
|
|
225
50
|
|
|
226
51
|
## Enumeration Types
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
<td rowspan="1" colSpan="1" >Description</td>
|
|
232
|
-
</tr>
|
|
233
|
-
|
|
234
|
-
<tr>
|
|
235
|
-
<td rowspan="1" colSpan="1" >[TXVoiceReverbType](https://write.woa.com/document/87030074293530624)</td>
|
|
236
|
-
|
|
237
|
-
<td rowspan="1" colSpan="1" >Reverb effects</td>
|
|
238
|
-
</tr>
|
|
239
|
-
|
|
240
|
-
<tr>
|
|
241
|
-
<td rowspan="1" colSpan="1" >[TXVoiceChangerType](https://write.woa.com/document/87030074293530624)</td>
|
|
242
|
-
|
|
243
|
-
<td rowspan="1" colSpan="1" >Voice changing effects</td>
|
|
244
|
-
</tr>
|
|
245
|
-
</table>
|
|
246
|
-
|
|
52
|
+
| Enumeration Types | Description |
|
|
53
|
+
| --- | --- |
|
|
54
|
+
| TXVoiceReverbType | Reverb effects |
|
|
55
|
+
| TXVoiceChangerType | Voice changing effects |
|
|
247
56
|
|
|
248
57
|
## onLoadProgress
|
|
249
58
|
|
|
250
|
-
|
|
251
|
-
|
|
252
59
|
#### Background music preloading progress
|
|
253
60
|
|
|
254
61
|
## onLoadError
|
|
255
62
|
|
|
256
|
-
|
|
257
|
-
|
|
258
63
|
#### Error in background music preloading
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
<td rowspan="1" colSpan="1" >Description</td>
|
|
264
|
-
</tr>
|
|
265
|
-
|
|
266
|
-
<tr>
|
|
267
|
-
<td rowspan="1" colSpan="1" >errorCode</td>
|
|
268
|
-
|
|
269
|
-
<td rowspan="1" colSpan="1" >-4001: Failed to open file due to invalid audio data or FFmpeg protocol not found, etc.; -4002: Decoding failed due to corrupted audio file or inaccessible network audio file server, etc.; -4003: Preloading quantity exceeds the limit. Please call stopPlayMusic to release unused preloads first; -4005: Failed to open file due to invalid path. Please check if your path parameter points to a valid music file; -4006: Failed to open file due to illegal URL. Please check if the URL provided can download the expected music file using a browser; -4007: Failed to open file due to no audio stream. Please confirm if the file you provided is a legal audio file and whether it is damaged; -4008: Failed to open file due to unsupported format. Please confirm if the file format you provided is supported. Supported formats on mobile are [mp3, aac, m4a, wav, ogg, mp4, mkv], and supported formats on desktop are [mp3, aac, m4a, wav, mp4, mkv].</td>
|
|
270
|
-
</tr>
|
|
271
|
-
</table>
|
|
272
|
-
|
|
64
|
+
| Parameters | Description |
|
|
65
|
+
| --- | --- |
|
|
66
|
+
| errorCode | -4001: Failed to open file due to invalid audio data or FFmpeg protocol not found, etc.; -4002: Decoding failed due to corrupted audio file or inaccessible network audio file server, etc.; -4003: Preloading quantity exceeds the limit. Please call stopPlayMusic to release unused preloads first; -4005: Failed to open file due to invalid path. Please check if your path parameter points to a valid music file; -4006: Failed to open file due to illegal URL. Please check if the URL provided can download the expected music file using a browser; -4007: Failed to open file due to no audio stream. Please confirm if the file you provided is a legal audio file and whether it is damaged; -4008: Failed to open file due to unsupported format. Please confirm if the file format you provided is supported. Supported formats on mobile are [mp3, aac, m4a, wav, ogg, mp4, mkv], and supported formats on desktop are [mp3, aac, m4a, wav, mp4, mkv]. |
|
|
273
67
|
|
|
274
68
|
## onStart
|
|
275
69
|
|
|
276
|
-
|
|
277
|
-
|
|
278
70
|
#### Start playing background music
|
|
279
71
|
|
|
280
72
|
Called when background music starts playing successfully or fails to play.
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
<td rowspan="1" colSpan="1" >Description</td>
|
|
286
|
-
</tr>
|
|
287
|
-
|
|
288
|
-
<tr>
|
|
289
|
-
<td rowspan="1" colSpan="1" >errCode</td>
|
|
290
|
-
|
|
291
|
-
<td rowspan="1" colSpan="1" >Error Code. 0: Play started successfully; -4001: Failed to open file, such as invalid audio data, FFMPEG protocol not found, etc.; -4005: Invalid path, check if the provided path points to a valid music file; -4006: Invalid URL, check in the browser if the provided URL can download the expected music file; -4007: No audio stream, confirm if the provided file is a valid audio file and is not corrupted; -4008: Unsupported format, verify if the provided file is in a supported format. Mobile supports [mp3, aac, m4a, wav, ogg, mp4, mkv], desktop supports [mp3, aac, m4a, wav, mp4, mkv].</td>
|
|
292
|
-
</tr>
|
|
293
|
-
|
|
294
|
-
<tr>
|
|
295
|
-
<td rowspan="1" colSpan="1" >id</td>
|
|
296
|
-
|
|
297
|
-
<td rowspan="1" colSpan="1" >Music ID.</td>
|
|
298
|
-
</tr>
|
|
299
|
-
</table>
|
|
300
|
-
|
|
73
|
+
| Parameters | Description |
|
|
74
|
+
| --- | --- |
|
|
75
|
+
| errCode | Error Code. 0: Play started successfully; -4001: Failed to open file, such as invalid audio data, FFMPEG protocol not found, etc.; -4005: Invalid path, check if the provided path points to a valid music file; -4006: Invalid URL, check in the browser if the provided URL can download the expected music file; -4007: No audio stream, confirm if the provided file is a valid audio file and is not corrupted; -4008: Unsupported format, verify if the provided file is in a supported format. Mobile supports [mp3, aac, m4a, wav, ogg, mp4, mkv], desktop supports [mp3, aac, m4a, wav, mp4, mkv]. |
|
|
76
|
+
| id | Music ID. |
|
|
301
77
|
|
|
302
78
|
## onPlayProgress
|
|
303
79
|
|
|
304
|
-
|
|
305
|
-
|
|
306
80
|
#### Background music playback progress
|
|
307
81
|
|
|
308
82
|
## onComplete
|
|
309
83
|
|
|
310
|
-
|
|
311
|
-
|
|
312
84
|
#### Background music playback completed
|
|
313
85
|
|
|
314
86
|
Called when background music finishes playing or encounters an error.
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
<td rowspan="1" colSpan="1" >Description</td>
|
|
320
|
-
</tr>
|
|
321
|
-
|
|
322
|
-
<tr>
|
|
323
|
-
<td rowspan="1" colSpan="1" >errCode</td>
|
|
324
|
-
|
|
325
|
-
<td rowspan="1" colSpan="1" >Error Code. 0: Play ended; -4002: Decoding failed, such as corrupted audio file, or unreachable network audio file server.</td>
|
|
326
|
-
</tr>
|
|
327
|
-
|
|
328
|
-
<tr>
|
|
329
|
-
<td rowspan="1" colSpan="1" >id</td>
|
|
330
|
-
|
|
331
|
-
<td rowspan="1" colSpan="1" >Music ID.</td>
|
|
332
|
-
</tr>
|
|
333
|
-
</table>
|
|
334
|
-
|
|
87
|
+
| Parameters | Description |
|
|
88
|
+
| --- | --- |
|
|
89
|
+
| errCode | Error Code. 0: Play ended; -4002: Decoding failed, such as corrupted audio file, or unreachable network audio file server. |
|
|
90
|
+
| id | Music ID. |
|
|
335
91
|
|
|
336
92
|
## enableVoiceEarMonitor
|
|
337
93
|
|
|
338
|
-
|
|
339
|
-
|
|
340
94
|
#### Enable ear return
|
|
341
95
|
|
|
342
96
|
After the host enables ear return, they can hear their own voice collected by the microphone in the headphones. This effect is suitable for scenarios where the host is singing.
|
|
343
97
|
|
|
344
|
-
|
|
345
|
-
|
|
346
98
|
It should be noted that due to the high hardware latency of Bluetooth headphones, this effect cannot be enabled when the host is wearing Bluetooth headphones. Please try to prompt the host to wear wired headphones in the user interface.
|
|
347
99
|
|
|
348
100
|
Also, please note that not all mobile phones can achieve excellent ear return effects after enabling this feature. We have blocked this effect for phones with poor ear return performance.
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
<td rowspan="1" colSpan="1" >Description</td>
|
|
354
|
-
</tr>
|
|
355
|
-
|
|
356
|
-
<tr>
|
|
357
|
-
<td rowspan="1" colSpan="1" >enable</td>
|
|
358
|
-
|
|
359
|
-
<td rowspan="1" colSpan="1" >true: on; false: off.</td>
|
|
360
|
-
</tr>
|
|
361
|
-
</table>
|
|
362
|
-
|
|
101
|
+
| Parameters | Description |
|
|
102
|
+
| --- | --- |
|
|
103
|
+
| enable | true: on; false: off. |
|
|
363
104
|
|
|
364
105
|
> **Note**
|
|
365
|
-
>
|
|
106
|
+
>
|
|
366
107
|
|
|
367
108
|
> This effect can only be enabled when the host is wearing headphones. Please also prompt the host to wear wired headphones.
|
|
368
|
-
>
|
|
369
|
-
|
|
109
|
+
>
|
|
370
110
|
|
|
371
111
|
## setVoiceEarMonitorVolume
|
|
372
112
|
|
|
373
|
-
|
|
374
|
-
|
|
375
113
|
#### Set ear return volume
|
|
376
114
|
|
|
377
115
|
Through this interface, you can set the volume of the sound in the ear return effect.
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
<td rowspan="1" colSpan="1" >Description</td>
|
|
383
|
-
</tr>
|
|
384
|
-
|
|
385
|
-
<tr>
|
|
386
|
-
<td rowspan="1" colSpan="1" >volume</td>
|
|
387
|
-
|
|
388
|
-
<td rowspan="1" colSpan="1" >Volume. Value range: 0 - 100. Default value: 100.</td>
|
|
389
|
-
</tr>
|
|
390
|
-
</table>
|
|
391
|
-
|
|
116
|
+
| Parameters | Description |
|
|
117
|
+
| --- | --- |
|
|
118
|
+
| volume | Volume. Value range: 0 - 100. Default value: 100. |
|
|
392
119
|
|
|
393
120
|
> **Note**
|
|
394
|
-
>
|
|
121
|
+
>
|
|
395
122
|
|
|
396
123
|
> If you still feel the volume is too low after setting it to 100, you can set the maximum volume to 150. However, a volume above 100 carries a risk of pop noise, so proceed with caution.
|
|
397
|
-
>
|
|
398
|
-
|
|
124
|
+
>
|
|
399
125
|
|
|
400
126
|
## setVoiceReverbType
|
|
401
127
|
|
|
402
|
-
|
|
403
|
-
|
|
404
128
|
#### Set vocal reverb effect
|
|
405
129
|
|
|
406
|
-
Through this interface, you can set the vocal reverb effect. For specific effects, please refer to the enumeration Definition
|
|
130
|
+
Through this interface, you can set the vocal reverb effect. For specific effects, please refer to the enumeration Definition TXVoiceReverbType.
|
|
407
131
|
|
|
408
132
|
> **Note**
|
|
409
|
-
>
|
|
133
|
+
>
|
|
410
134
|
|
|
411
135
|
> The set effect will automatically become invalid after leaving the room. If the corresponding effect is needed next time you enter the room, you need to call this interface to set it again.
|
|
412
|
-
>
|
|
413
|
-
|
|
136
|
+
>
|
|
414
137
|
|
|
415
138
|
## setVoiceChangerType
|
|
416
139
|
|
|
417
|
-
|
|
418
|
-
|
|
419
140
|
#### Set vocal voice changing effect
|
|
420
141
|
|
|
421
|
-
Through this interface, you can set the voice changing effect. For specific effects, please refer to the enumeration Definition
|
|
142
|
+
Through this interface, you can set the voice changing effect. For specific effects, please refer to the enumeration Definition TXVoiceChangeType.
|
|
422
143
|
|
|
423
144
|
> **Note**
|
|
424
|
-
>
|
|
145
|
+
>
|
|
425
146
|
|
|
426
147
|
> The set effect will automatically become invalid after leaving the room. If the corresponding effect is needed next time you enter the room, you need to call this interface to set it again.
|
|
427
|
-
>
|
|
428
|
-
|
|
148
|
+
>
|
|
429
149
|
|
|
430
150
|
## setVoiceCaptureVolume
|
|
431
151
|
|
|
432
|
-
|
|
433
|
-
|
|
434
152
|
#### Set speech volume
|
|
435
153
|
|
|
436
|
-
This interface allows you to set the voice volume. It is generally used in conjunction with the music volume setting interface
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
<td rowspan="1" colSpan="1" >Description</td>
|
|
442
|
-
</tr>
|
|
443
|
-
|
|
444
|
-
<tr>
|
|
445
|
-
<td rowspan="1" colSpan="1" >volume</td>
|
|
446
|
-
|
|
447
|
-
<td rowspan="1" colSpan="1" >Volume. Value range: 0-100. Default value: 100.</td>
|
|
448
|
-
</tr>
|
|
449
|
-
</table>
|
|
450
|
-
|
|
154
|
+
This interface allows you to set the voice volume. It is generally used in conjunction with the music volume setting interface setAllMusicVolume, to balance the respective volumes of voice and music before mixing.
|
|
155
|
+
| Parameters | Description |
|
|
156
|
+
| --- | --- |
|
|
157
|
+
| volume | Volume. Value range: 0-100. Default value: 100. |
|
|
451
158
|
|
|
452
159
|
> **Note**
|
|
453
|
-
>
|
|
160
|
+
>
|
|
454
161
|
|
|
455
162
|
> If you still feel the volume is too low after setting it to 100, you can set the maximum volume to 150. However, a volume above 100 carries a risk of pop noise, so proceed with caution.
|
|
456
|
-
>
|
|
457
|
-
|
|
163
|
+
>
|
|
458
164
|
|
|
459
165
|
## setVoicePitch
|
|
460
166
|
|
|
461
|
-
|
|
462
|
-
|
|
463
167
|
#### Set speech tone
|
|
464
168
|
|
|
465
169
|
This interface can set the voice pitch, achieving pitch change without speed variation.
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
<td rowspan="1" colSpan="1" >Description</td>
|
|
471
|
-
</tr>
|
|
472
|
-
|
|
473
|
-
<tr>
|
|
474
|
-
<td rowspan="1" colSpan="1" >pitch</td>
|
|
475
|
-
|
|
476
|
-
<td rowspan="1" colSpan="1" >Pitch, value range: -1.0f to 1.0f, default value: 0.0f.</td>
|
|
477
|
-
</tr>
|
|
478
|
-
</table>
|
|
479
|
-
|
|
170
|
+
| Parameters | Description |
|
|
171
|
+
| --- | --- |
|
|
172
|
+
| pitch | Pitch, value range: -1.0f to 1.0f, default value: 0.0f. |
|
|
480
173
|
|
|
481
174
|
## setMusicObserver
|
|
482
175
|
|
|
483
|
-
|
|
484
|
-
|
|
485
176
|
#### Set the event callback interface for background music
|
|
486
177
|
|
|
487
178
|
Ensure to set the playback event callback using this API before playing the background music. This allows to be aware of the background music's playback progress.
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
<td rowspan="1" colSpan="1" >Description</td>
|
|
493
|
-
</tr>
|
|
494
|
-
|
|
495
|
-
<tr>
|
|
496
|
-
<td rowspan="1" colSpan="1" >musicId</td>
|
|
497
|
-
|
|
498
|
-
<td rowspan="1" colSpan="1" >Music ID.</td>
|
|
499
|
-
</tr>
|
|
500
|
-
|
|
501
|
-
<tr>
|
|
502
|
-
<td rowspan="1" colSpan="1" >observer</td>
|
|
503
|
-
|
|
504
|
-
<td rowspan="1" colSpan="1" >Refer to ITXMusicPlayObserver Definition interface for details.</td>
|
|
505
|
-
</tr>
|
|
506
|
-
</table>
|
|
507
|
-
|
|
179
|
+
| Parameters | Description |
|
|
180
|
+
| --- | --- |
|
|
181
|
+
| musicId | Music ID. |
|
|
182
|
+
| observer | Refer to ITXMusicPlayObserver Definition interface for details. |
|
|
508
183
|
|
|
509
184
|
> **Note**
|
|
510
|
-
>
|
|
185
|
+
>
|
|
511
186
|
|
|
512
187
|
> 1. If the ID does not need to be used, the observer can be set to NULL to completely release it.
|
|
513
|
-
>
|
|
514
|
-
|
|
188
|
+
>
|
|
515
189
|
|
|
516
190
|
## startPlayMusic
|
|
517
191
|
|
|
518
|
-
|
|
519
|
-
|
|
520
192
|
#### Start playing background music
|
|
521
193
|
|
|
522
194
|
Each piece of music requires a specific ID. With this ID, you can control the start, stop, volume, etc., of the music.
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
<td rowspan="1" colSpan="1" >Description</td>
|
|
528
|
-
</tr>
|
|
529
|
-
|
|
530
|
-
<tr>
|
|
531
|
-
<td rowspan="1" colSpan="1" >musicParam</td>
|
|
532
|
-
|
|
533
|
-
<td rowspan="1" colSpan="1" >Music parameters.</td>
|
|
534
|
-
</tr>
|
|
535
|
-
</table>
|
|
536
|
-
|
|
195
|
+
| Parameters | Description |
|
|
196
|
+
| --- | --- |
|
|
197
|
+
| musicParam | Music parameters. |
|
|
537
198
|
|
|
538
199
|
> **Note**
|
|
539
|
-
>
|
|
200
|
+
>
|
|
540
201
|
|
|
541
202
|
> 1. If you need to play the same background music multiple times, do not assign a new ID each time. We recommend using the same ID.
|
|
542
|
-
>
|
|
203
|
+
>
|
|
543
204
|
|
|
544
205
|
> 2. If you want to play different pieces of music simultaneously, assign different IDs for each piece.
|
|
545
|
-
>
|
|
206
|
+
>
|
|
546
207
|
|
|
547
208
|
> 3. If you use the same ID to play different music, the SDK will stop the old music before playing the new one.
|
|
548
|
-
>
|
|
549
|
-
|
|
209
|
+
>
|
|
550
210
|
|
|
551
211
|
## stopPlayMusic
|
|
552
212
|
|
|
553
|
-
|
|
554
|
-
|
|
555
213
|
#### Stop playing background music
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
<td rowspan="1" colSpan="1" >Description</td>
|
|
561
|
-
</tr>
|
|
562
|
-
|
|
563
|
-
<tr>
|
|
564
|
-
<td rowspan="1" colSpan="1" >id</td>
|
|
565
|
-
|
|
566
|
-
<td rowspan="1" colSpan="1" >Music ID.</td>
|
|
567
|
-
</tr>
|
|
568
|
-
</table>
|
|
569
|
-
|
|
214
|
+
| Parameters | Description |
|
|
215
|
+
| --- | --- |
|
|
216
|
+
| id | Music ID. |
|
|
570
217
|
|
|
571
218
|
## pausePlayMusic
|
|
572
219
|
|
|
573
|
-
|
|
574
|
-
|
|
575
220
|
#### Pause background music
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
<td rowspan="1" colSpan="1" >Description</td>
|
|
581
|
-
</tr>
|
|
582
|
-
|
|
583
|
-
<tr>
|
|
584
|
-
<td rowspan="1" colSpan="1" >id</td>
|
|
585
|
-
|
|
586
|
-
<td rowspan="1" colSpan="1" >Music ID.</td>
|
|
587
|
-
</tr>
|
|
588
|
-
</table>
|
|
589
|
-
|
|
221
|
+
| Parameters | Description |
|
|
222
|
+
| --- | --- |
|
|
223
|
+
| id | Music ID. |
|
|
590
224
|
|
|
591
225
|
## resumePlayMusic
|
|
592
226
|
|
|
593
|
-
|
|
594
|
-
|
|
595
227
|
#### Resume background music
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
<td rowspan="1" colSpan="1" >Description</td>
|
|
601
|
-
</tr>
|
|
602
|
-
|
|
603
|
-
<tr>
|
|
604
|
-
<td rowspan="1" colSpan="1" >id</td>
|
|
605
|
-
|
|
606
|
-
<td rowspan="1" colSpan="1" >Music ID.</td>
|
|
607
|
-
</tr>
|
|
608
|
-
</table>
|
|
609
|
-
|
|
228
|
+
| Parameters | Description |
|
|
229
|
+
| --- | --- |
|
|
230
|
+
| id | Music ID. |
|
|
610
231
|
|
|
611
232
|
## setAllMusicVolume
|
|
612
233
|
|
|
613
|
-
|
|
614
|
-
|
|
615
234
|
#### Set the local and remote volume of all background music
|
|
616
235
|
|
|
617
236
|
This interface allows you to set both the local and remote volume of all background music.
|
|
@@ -619,169 +238,70 @@ This interface allows you to set both the local and remote volume of all backgro
|
|
|
619
238
|
|
|
620
239
|
- Remote Volume: The volume of background music that the audience can hear.
|
|
621
240
|
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
<td rowspan="1" colSpan="1" >Description</td>
|
|
627
|
-
</tr>
|
|
628
|
-
|
|
629
|
-
<tr>
|
|
630
|
-
<td rowspan="1" colSpan="1" >volume</td>
|
|
631
|
-
|
|
632
|
-
<td rowspan="1" colSpan="1" >Volume range, value range is 0-100, default value: 60.</td>
|
|
633
|
-
</tr>
|
|
634
|
-
</table>
|
|
635
|
-
|
|
241
|
+
| Parameters | Description |
|
|
242
|
+
| --- | --- |
|
|
243
|
+
| volume | Volume range, value range is 0-100, default value: 60. |
|
|
636
244
|
|
|
637
245
|
> **Note**
|
|
638
|
-
>
|
|
246
|
+
>
|
|
639
247
|
|
|
640
248
|
> If you still feel the volume is too low after setting it to 100, you can set the maximum volume to 150. However, a volume above 100 carries a risk of pop noise, so proceed with caution.
|
|
641
|
-
>
|
|
642
|
-
|
|
249
|
+
>
|
|
643
250
|
|
|
644
251
|
## setMusicPublishVolume
|
|
645
252
|
|
|
646
|
-
|
|
647
|
-
|
|
648
253
|
#### Set the remote volume of a specific background music track
|
|
649
254
|
|
|
650
255
|
This interface can finely control the remote volume for each background music track, which is the volume the audience can hear.
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
<td rowspan="1" colSpan="1" >Description</td>
|
|
656
|
-
</tr>
|
|
657
|
-
|
|
658
|
-
<tr>
|
|
659
|
-
<td rowspan="1" colSpan="1" >id</td>
|
|
660
|
-
|
|
661
|
-
<td rowspan="1" colSpan="1" >Music ID.</td>
|
|
662
|
-
</tr>
|
|
663
|
-
|
|
664
|
-
<tr>
|
|
665
|
-
<td rowspan="1" colSpan="1" >volume</td>
|
|
666
|
-
|
|
667
|
-
<td rowspan="1" colSpan="1" >Volume range, value range is 0-100; default value: 60.</td>
|
|
668
|
-
</tr>
|
|
669
|
-
</table>
|
|
670
|
-
|
|
256
|
+
| Parameters | Description |
|
|
257
|
+
| --- | --- |
|
|
258
|
+
| id | Music ID. |
|
|
259
|
+
| volume | Volume range, value range is 0-100; default value: 60. |
|
|
671
260
|
|
|
672
261
|
> **Note**
|
|
673
|
-
>
|
|
262
|
+
>
|
|
674
263
|
|
|
675
264
|
> If you still feel the volume is too low after setting it to 100, you can set the maximum volume to 150. However, a volume above 100 carries a risk of pop noise, so proceed with caution.
|
|
676
|
-
>
|
|
677
|
-
|
|
265
|
+
>
|
|
678
266
|
|
|
679
267
|
## setMusicPlayoutVolume
|
|
680
268
|
|
|
681
|
-
|
|
682
|
-
|
|
683
269
|
#### Set the local volume of a specific background music track
|
|
684
270
|
|
|
685
271
|
This interface can finely control the local volume for each background music track, which is the volume the host can hear locally.
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
<td rowspan="1" colSpan="1" >Description</td>
|
|
691
|
-
</tr>
|
|
692
|
-
|
|
693
|
-
<tr>
|
|
694
|
-
<td rowspan="1" colSpan="1" >id</td>
|
|
695
|
-
|
|
696
|
-
<td rowspan="1" colSpan="1" >Music ID.</td>
|
|
697
|
-
</tr>
|
|
698
|
-
|
|
699
|
-
<tr>
|
|
700
|
-
<td rowspan="1" colSpan="1" >volume</td>
|
|
701
|
-
|
|
702
|
-
<td rowspan="1" colSpan="1" >Volume range, value range is 0-100, default value: 60.</td>
|
|
703
|
-
</tr>
|
|
704
|
-
</table>
|
|
705
|
-
|
|
272
|
+
| Parameters | Description |
|
|
273
|
+
| --- | --- |
|
|
274
|
+
| id | Music ID. |
|
|
275
|
+
| volume | Volume range, value range is 0-100, default value: 60. |
|
|
706
276
|
|
|
707
277
|
> **Note**
|
|
708
|
-
>
|
|
278
|
+
>
|
|
709
279
|
|
|
710
280
|
> If you still feel the volume is too low after setting it to 100, you can set the maximum volume to 150. However, a volume above 100 carries a risk of pop noise, so proceed with caution.
|
|
711
|
-
>
|
|
712
|
-
|
|
281
|
+
>
|
|
713
282
|
|
|
714
283
|
## setMusicPitch
|
|
715
284
|
|
|
716
|
-
|
|
717
|
-
|
|
718
285
|
#### Adjust the pitch of background music
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
<td rowspan="1" colSpan="1" >Description</td>
|
|
724
|
-
</tr>
|
|
725
|
-
|
|
726
|
-
<tr>
|
|
727
|
-
<td rowspan="1" colSpan="1" >id</td>
|
|
728
|
-
|
|
729
|
-
<td rowspan="1" colSpan="1" >Music ID.</td>
|
|
730
|
-
</tr>
|
|
731
|
-
|
|
732
|
-
<tr>
|
|
733
|
-
<td rowspan="1" colSpan="1" >pitch</td>
|
|
734
|
-
|
|
735
|
-
<td rowspan="1" colSpan="1" >Pitch, default value is 0.0f, value range is a floating point between [-1 ~ 1].</td>
|
|
736
|
-
</tr>
|
|
737
|
-
</table>
|
|
738
|
-
|
|
286
|
+
| Parameters | Description |
|
|
287
|
+
| --- | --- |
|
|
288
|
+
| id | Music ID. |
|
|
289
|
+
| pitch | Pitch, default value is 0.0f, value range is a floating point between [-1 ~ 1]. |
|
|
739
290
|
|
|
740
291
|
## setMusicSpeedRate
|
|
741
292
|
|
|
742
|
-
|
|
743
|
-
|
|
744
293
|
#### Adjust the variable speed effect of background music
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
<td rowspan="1" colSpan="1" >Description</td>
|
|
750
|
-
</tr>
|
|
751
|
-
|
|
752
|
-
<tr>
|
|
753
|
-
<td rowspan="1" colSpan="1" >id</td>
|
|
754
|
-
|
|
755
|
-
<td rowspan="1" colSpan="1" >Music ID.</td>
|
|
756
|
-
</tr>
|
|
757
|
-
|
|
758
|
-
<tr>
|
|
759
|
-
<td rowspan="1" colSpan="1" >speedRate</td>
|
|
760
|
-
|
|
761
|
-
<td rowspan="1" colSpan="1" >Speed, default value is 1.0f, value range is a floating point between [0.5 ~ 2].</td>
|
|
762
|
-
</tr>
|
|
763
|
-
</table>
|
|
764
|
-
|
|
294
|
+
| Parameters | Description |
|
|
295
|
+
| --- | --- |
|
|
296
|
+
| id | Music ID. |
|
|
297
|
+
| speedRate | Speed, default value is 1.0f, value range is a floating point between [0.5 ~ 2]. |
|
|
765
298
|
|
|
766
299
|
## getMusicCurrentPosInMS
|
|
767
300
|
|
|
768
|
-
|
|
769
|
-
|
|
770
301
|
#### Get the playback progress of background music (unit: milliseconds)
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
<td rowspan="1" colSpan="1" >Description</td>
|
|
776
|
-
</tr>
|
|
777
|
-
|
|
778
|
-
<tr>
|
|
779
|
-
<td rowspan="1" colSpan="1" >id</td>
|
|
780
|
-
|
|
781
|
-
<td rowspan="1" colSpan="1" >Music ID.</td>
|
|
782
|
-
</tr>
|
|
783
|
-
</table>
|
|
784
|
-
|
|
302
|
+
| Parameters | Description |
|
|
303
|
+
| --- | --- |
|
|
304
|
+
| id | Music ID. |
|
|
785
305
|
|
|
786
306
|
#### Return value description:
|
|
787
307
|
|
|
@@ -789,23 +309,10 @@ On success, returns current playback time in milliseconds, on failure returns -1
|
|
|
789
309
|
|
|
790
310
|
## getMusicDurationInMS
|
|
791
311
|
|
|
792
|
-
|
|
793
|
-
|
|
794
312
|
#### Get the total duration of background music (unit: milliseconds)
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
<td rowspan="1" colSpan="1" >Description</td>
|
|
800
|
-
</tr>
|
|
801
|
-
|
|
802
|
-
<tr>
|
|
803
|
-
<td rowspan="1" colSpan="1" >path</td>
|
|
804
|
-
|
|
805
|
-
<td rowspan="1" colSpan="1" >Music file path.</td>
|
|
806
|
-
</tr>
|
|
807
|
-
</table>
|
|
808
|
-
|
|
313
|
+
| Parameters | Description |
|
|
314
|
+
| --- | --- |
|
|
315
|
+
| path | Music file path. |
|
|
809
316
|
|
|
810
317
|
#### Return value description:
|
|
811
318
|
|
|
@@ -813,477 +320,150 @@ On success, returns duration, on failure returns -1.
|
|
|
813
320
|
|
|
814
321
|
## seekMusicToPosInTime
|
|
815
322
|
|
|
816
|
-
|
|
817
|
-
|
|
818
323
|
#### Set the playback progress of background music (unit: milliseconds)
|
|
819
|
-
|
|
820
|
-
|
|
821
|
-
|
|
822
|
-
|
|
823
|
-
<td rowspan="1" colSpan="1" >Description</td>
|
|
824
|
-
</tr>
|
|
825
|
-
|
|
826
|
-
<tr>
|
|
827
|
-
<td rowspan="1" colSpan="1" >id</td>
|
|
828
|
-
|
|
829
|
-
<td rowspan="1" colSpan="1" >Music ID.</td>
|
|
830
|
-
</tr>
|
|
831
|
-
|
|
832
|
-
<tr>
|
|
833
|
-
<td rowspan="1" colSpan="1" >pts</td>
|
|
834
|
-
|
|
835
|
-
<td rowspan="1" colSpan="1" >Unit: milliseconds.</td>
|
|
836
|
-
</tr>
|
|
837
|
-
</table>
|
|
838
|
-
|
|
324
|
+
| Parameters | Description |
|
|
325
|
+
| --- | --- |
|
|
326
|
+
| id | Music ID. |
|
|
327
|
+
| pts | Unit: milliseconds. |
|
|
839
328
|
|
|
840
329
|
> **Note**
|
|
841
|
-
>
|
|
330
|
+
>
|
|
842
331
|
|
|
843
332
|
> Please avoid calling this interface too frequently as it may read and write music files again, which can be time-consuming.
|
|
844
|
-
>
|
|
333
|
+
>
|
|
845
334
|
|
|
846
335
|
> Therefore, when users drag the playback progress bar of the music, please call this interface after the user completes the drag operation.
|
|
847
|
-
>
|
|
336
|
+
>
|
|
848
337
|
|
|
849
338
|
> Because the progress bar control on the UI often feeds back the user's drag progress at a high frequency, it would lead to a poor user experience without frequency limitations.
|
|
850
|
-
>
|
|
851
|
-
|
|
339
|
+
>
|
|
852
340
|
|
|
853
341
|
## setMusicScratchSpeedRate
|
|
854
342
|
|
|
855
|
-
|
|
856
|
-
|
|
857
343
|
#### Adjust the variable speed effect of scratching
|
|
858
|
-
|
|
859
|
-
|
|
860
|
-
|
|
861
|
-
|
|
862
|
-
<td rowspan="1" colSpan="1" >Description</td>
|
|
863
|
-
</tr>
|
|
864
|
-
|
|
865
|
-
<tr>
|
|
866
|
-
<td rowspan="1" colSpan="1" >id</td>
|
|
867
|
-
|
|
868
|
-
<td rowspan="1" colSpan="1" >Music ID.</td>
|
|
869
|
-
</tr>
|
|
870
|
-
|
|
871
|
-
<tr>
|
|
872
|
-
<td rowspan="1" colSpan="1" >scratchSpeedRate</td>
|
|
873
|
-
|
|
874
|
-
<td rowspan="1" colSpan="1" >Scratching speed, the default value is 1.0f, the range is a floating point number between [-12.0 ~ 12.0], the positive/negative value represents the forward/reverse direction, and the absolute value represents the speed.</td>
|
|
875
|
-
</tr>
|
|
876
|
-
</table>
|
|
877
|
-
|
|
344
|
+
| Parameters | Description |
|
|
345
|
+
| --- | --- |
|
|
346
|
+
| id | Music ID. |
|
|
347
|
+
| scratchSpeedRate | Scratching speed, the default value is 1.0f, the range is a floating point number between [-12.0 ~ 12.0], the positive/negative value represents the forward/reverse direction, and the absolute value represents the speed. |
|
|
878
348
|
|
|
879
349
|
> **Note**
|
|
880
|
-
>
|
|
350
|
+
>
|
|
881
351
|
|
|
882
352
|
> Precondition: preloadMusic is successful.
|
|
883
|
-
>
|
|
884
|
-
|
|
353
|
+
>
|
|
885
354
|
|
|
886
355
|
## setPreloadObserver
|
|
887
356
|
|
|
888
|
-
|
|
889
|
-
|
|
890
357
|
#### Set the preloading event callback
|
|
891
358
|
|
|
892
359
|
Set the callback using this API before preloading background music to monitor the preload progress.
|
|
893
|
-
|
|
894
|
-
|
|
895
|
-
|
|
896
|
-
|
|
897
|
-
<td rowspan="1" colSpan="1" >Description</td>
|
|
898
|
-
</tr>
|
|
899
|
-
|
|
900
|
-
<tr>
|
|
901
|
-
<td rowspan="1" colSpan="1" >observer</td>
|
|
902
|
-
|
|
903
|
-
<td rowspan="1" colSpan="1" >Refer to ITXMusicPreloadObserver Definition interface for details.</td>
|
|
904
|
-
</tr>
|
|
905
|
-
</table>
|
|
906
|
-
|
|
360
|
+
| Parameters | Description |
|
|
361
|
+
| --- | --- |
|
|
362
|
+
| observer | Refer to ITXMusicPreloadObserver Definition interface for details. |
|
|
907
363
|
|
|
908
364
|
## preloadMusic
|
|
909
365
|
|
|
910
|
-
|
|
911
|
-
|
|
912
366
|
#### Preload background music
|
|
913
367
|
|
|
914
368
|
Each piece of music requires a specific ID. With this ID, you can control the start, stop, volume, etc., of the music.
|
|
915
|
-
|
|
916
|
-
|
|
917
|
-
|
|
918
|
-
|
|
919
|
-
<td rowspan="1" colSpan="1" >Description</td>
|
|
920
|
-
</tr>
|
|
921
|
-
|
|
922
|
-
<tr>
|
|
923
|
-
<td rowspan="1" colSpan="1" >preloadParam</td>
|
|
924
|
-
|
|
925
|
-
<td rowspan="1" colSpan="1" >Preload music parameters.</td>
|
|
926
|
-
</tr>
|
|
927
|
-
</table>
|
|
928
|
-
|
|
369
|
+
| Parameters | Description |
|
|
370
|
+
| --- | --- |
|
|
371
|
+
| preloadParam | Preload music parameters. |
|
|
929
372
|
|
|
930
373
|
> **Note**
|
|
931
|
-
>
|
|
374
|
+
>
|
|
932
375
|
|
|
933
376
|
> 1. Preloading supports up to 2 different IDs simultaneously, and the preload duration does not exceed 10 minutes. After use, stopPlayMusic must be called to prevent memory from not being released.
|
|
934
|
-
>
|
|
377
|
+
>
|
|
935
378
|
|
|
936
379
|
> 2. If the music corresponding to this ID is playing, preloading will fail. You need to call stopPlayMusic first.
|
|
937
|
-
>
|
|
380
|
+
>
|
|
938
381
|
|
|
939
382
|
> 3. When the musicParam is exactly the same as the musicParam passed to startPlayMusic, preloading is effective.
|
|
940
|
-
>
|
|
941
|
-
|
|
383
|
+
>
|
|
942
384
|
|
|
943
385
|
## getMusicTrackCount
|
|
944
386
|
|
|
945
|
-
|
|
946
|
-
|
|
947
387
|
#### Obtain the number of background music tracks
|
|
948
|
-
|
|
949
|
-
|
|
950
|
-
|
|
951
|
-
|
|
952
|
-
<td rowspan="1" colSpan="1" >Description</td>
|
|
953
|
-
</tr>
|
|
954
|
-
|
|
955
|
-
<tr>
|
|
956
|
-
<td rowspan="1" colSpan="1" >id</td>
|
|
957
|
-
|
|
958
|
-
<td rowspan="1" colSpan="1" >Music ID.</td>
|
|
959
|
-
</tr>
|
|
960
|
-
</table>
|
|
961
|
-
|
|
388
|
+
| Parameters | Description |
|
|
389
|
+
| --- | --- |
|
|
390
|
+
| id | Music ID. |
|
|
962
391
|
|
|
963
392
|
## setMusicTrack
|
|
964
393
|
|
|
965
|
-
|
|
966
|
-
|
|
967
394
|
#### Specify the playback track of background music
|
|
968
|
-
|
|
969
|
-
|
|
970
|
-
|
|
971
|
-
|
|
972
|
-
<td rowspan="1" colSpan="1" >Description</td>
|
|
973
|
-
</tr>
|
|
974
|
-
|
|
975
|
-
<tr>
|
|
976
|
-
<td rowspan="1" colSpan="1" >id</td>
|
|
977
|
-
|
|
978
|
-
<td rowspan="1" colSpan="1" >Music ID.</td>
|
|
979
|
-
</tr>
|
|
980
|
-
|
|
981
|
-
<tr>
|
|
982
|
-
<td rowspan="1" colSpan="1" >index</td>
|
|
983
|
-
|
|
984
|
-
<td rowspan="1" colSpan="1" >By default, the first audio track is played. The range of values is [0, total number of tracks).</td>
|
|
985
|
-
</tr>
|
|
986
|
-
</table>
|
|
987
|
-
|
|
395
|
+
| Parameters | Description |
|
|
396
|
+
| --- | --- |
|
|
397
|
+
| id | Music ID. |
|
|
398
|
+
| index | By default, the first audio track is played. The range of values is 0, total number of tracks). |
|
|
988
399
|
|
|
989
400
|
> **Note**
|
|
990
|
-
>
|
|
401
|
+
>
|
|
991
402
|
|
|
992
403
|
> The total number of tracks can be obtained through the getMusicTrackCount interface.
|
|
993
|
-
>
|
|
994
|
-
|
|
404
|
+
>
|
|
995
405
|
|
|
996
406
|
## TXVoiceReverbType
|
|
997
407
|
|
|
998
|
-
|
|
999
|
-
|
|
1000
408
|
#### Reverb effects
|
|
1001
409
|
|
|
1002
410
|
Reverb effects can be applied to vocals, using acoustic algorithms to overlap the sound and simulate various immersive experiences in different environments. Currently, the following reverb effects are supported:
|
|
1003
411
|
|
|
1004
412
|
0:Off; 1:KTV; 2:Small Room; 3:Hall; 4:Deep; 5:Loud; 6:Metallic; 7:Magnetic; 8:Ethereal; 9:Studio; 10:Melodious; 11:Studio2.
|
|
1005
|
-
|
|
1006
|
-
|
|
1007
|
-
|
|
1008
|
-
|
|
1009
|
-
|
|
1010
|
-
|
|
1011
|
-
|
|
1012
|
-
|
|
1013
|
-
|
|
1014
|
-
|
|
1015
|
-
|
|
1016
|
-
|
|
1017
|
-
|
|
1018
|
-
|
|
1019
|
-
<td rowspan="1" colSpan="1" >Turn off effects</td>
|
|
1020
|
-
</tr>
|
|
1021
|
-
|
|
1022
|
-
<tr>
|
|
1023
|
-
<td rowspan="1" colSpan="1" >TXLiveVoiceReverbType_1</td>
|
|
1024
|
-
|
|
1025
|
-
<td rowspan="1" colSpan="1" >1</td>
|
|
1026
|
-
|
|
1027
|
-
<td rowspan="1" colSpan="1" >KTV</td>
|
|
1028
|
-
</tr>
|
|
1029
|
-
|
|
1030
|
-
<tr>
|
|
1031
|
-
<td rowspan="1" colSpan="1" >TXLiveVoiceReverbType_2</td>
|
|
1032
|
-
|
|
1033
|
-
<td rowspan="1" colSpan="1" >2</td>
|
|
1034
|
-
|
|
1035
|
-
<td rowspan="1" colSpan="1" >Small Room</td>
|
|
1036
|
-
</tr>
|
|
1037
|
-
|
|
1038
|
-
<tr>
|
|
1039
|
-
<td rowspan="1" colSpan="1" >TXLiveVoiceReverbType_3</td>
|
|
1040
|
-
|
|
1041
|
-
<td rowspan="1" colSpan="1" >3</td>
|
|
1042
|
-
|
|
1043
|
-
<td rowspan="1" colSpan="1" >Hall</td>
|
|
1044
|
-
</tr>
|
|
1045
|
-
|
|
1046
|
-
<tr>
|
|
1047
|
-
<td rowspan="1" colSpan="1" >TXLiveVoiceReverbType_4</td>
|
|
1048
|
-
|
|
1049
|
-
<td rowspan="1" colSpan="1" >4</td>
|
|
1050
|
-
|
|
1051
|
-
<td rowspan="1" colSpan="1" >Low-pitched</td>
|
|
1052
|
-
</tr>
|
|
1053
|
-
|
|
1054
|
-
<tr>
|
|
1055
|
-
<td rowspan="1" colSpan="1" >TXLiveVoiceReverbType_5</td>
|
|
1056
|
-
|
|
1057
|
-
<td rowspan="1" colSpan="1" >5</td>
|
|
1058
|
-
|
|
1059
|
-
<td rowspan="1" colSpan="1" >Loud</td>
|
|
1060
|
-
</tr>
|
|
1061
|
-
|
|
1062
|
-
<tr>
|
|
1063
|
-
<td rowspan="1" colSpan="1" >TXLiveVoiceReverbType_6</td>
|
|
1064
|
-
|
|
1065
|
-
<td rowspan="1" colSpan="1" >6</td>
|
|
1066
|
-
|
|
1067
|
-
<td rowspan="1" colSpan="1" >Metallic sound</td>
|
|
1068
|
-
</tr>
|
|
1069
|
-
|
|
1070
|
-
<tr>
|
|
1071
|
-
<td rowspan="1" colSpan="1" >TXLiveVoiceReverbType_7</td>
|
|
1072
|
-
|
|
1073
|
-
<td rowspan="1" colSpan="1" >7</td>
|
|
1074
|
-
|
|
1075
|
-
<td rowspan="1" colSpan="1" >Magnetic</td>
|
|
1076
|
-
</tr>
|
|
1077
|
-
|
|
1078
|
-
<tr>
|
|
1079
|
-
<td rowspan="1" colSpan="1" >TXLiveVoiceReverbType_8</td>
|
|
1080
|
-
|
|
1081
|
-
<td rowspan="1" colSpan="1" >8</td>
|
|
1082
|
-
|
|
1083
|
-
<td rowspan="1" colSpan="1" >Ethereal voice</td>
|
|
1084
|
-
</tr>
|
|
1085
|
-
|
|
1086
|
-
<tr>
|
|
1087
|
-
<td rowspan="1" colSpan="1" >TXLiveVoiceReverbType_9</td>
|
|
1088
|
-
|
|
1089
|
-
<td rowspan="1" colSpan="1" >9</td>
|
|
1090
|
-
|
|
1091
|
-
<td rowspan="1" colSpan="1" >Recording studio</td>
|
|
1092
|
-
</tr>
|
|
1093
|
-
|
|
1094
|
-
<tr>
|
|
1095
|
-
<td rowspan="1" colSpan="1" >TXLiveVoiceReverbType_10</td>
|
|
1096
|
-
|
|
1097
|
-
<td rowspan="1" colSpan="1" >10</td>
|
|
1098
|
-
|
|
1099
|
-
<td rowspan="1" colSpan="1" >Melodious</td>
|
|
1100
|
-
</tr>
|
|
1101
|
-
|
|
1102
|
-
<tr>
|
|
1103
|
-
<td rowspan="1" colSpan="1" >TXLiveVoiceReverbType_11</td>
|
|
1104
|
-
|
|
1105
|
-
<td rowspan="1" colSpan="1" >11</td>
|
|
1106
|
-
|
|
1107
|
-
<td rowspan="1" colSpan="1" >Recording studio 2</td>
|
|
1108
|
-
</tr>
|
|
1109
|
-
</table>
|
|
1110
|
-
|
|
413
|
+
| Enumeration | Value | Description |
|
|
414
|
+
| --- | --- | --- |
|
|
415
|
+
| TXLiveVoiceReverbType_0 | 0 | Turn off effects |
|
|
416
|
+
| TXLiveVoiceReverbType_1 | 1 | KTV |
|
|
417
|
+
| TXLiveVoiceReverbType_2 | 2 | Small Room |
|
|
418
|
+
| TXLiveVoiceReverbType_3 | 3 | Hall |
|
|
419
|
+
| TXLiveVoiceReverbType_4 | 4 | Low-pitched |
|
|
420
|
+
| TXLiveVoiceReverbType_5 | 5 | Loud |
|
|
421
|
+
| TXLiveVoiceReverbType_6 | 6 | Metallic sound |
|
|
422
|
+
| TXLiveVoiceReverbType_7 | 7 | Magnetic |
|
|
423
|
+
| TXLiveVoiceReverbType_8 | 8 | Ethereal voice |
|
|
424
|
+
| TXLiveVoiceReverbType_9 | 9 | Recording studio |
|
|
425
|
+
| TXLiveVoiceReverbType_10 | 10 | Melodious |
|
|
426
|
+
| TXLiveVoiceReverbType_11 | 11 | Recording studio 2 |
|
|
1111
427
|
|
|
1112
428
|
## TXVoiceChangeType
|
|
1113
429
|
|
|
1114
|
-
|
|
1115
|
-
|
|
1116
430
|
#### Voice changing effects
|
|
1117
431
|
|
|
1118
432
|
Voice changing effect can be applied to vocals. By using acoustic algorithms for secondary processing, the voice can acquire a different sound quality from the original. Currently, the following voice changing effects are supported:
|
|
1119
433
|
|
|
1120
434
|
0: Off; 1: Naughty kid; 2: Lolita; 3: Uncle; 4: Heavy metal; 5: Cold; 6: Foreign accent; 7: Trapped beast; 8: Fat nerd; 9: Strong current; 10: Heavy machinery; 11: Ethereal.
|
|
1121
|
-
|
|
1122
|
-
|
|
1123
|
-
|
|
1124
|
-
|
|
1125
|
-
|
|
1126
|
-
|
|
1127
|
-
|
|
1128
|
-
|
|
1129
|
-
|
|
1130
|
-
|
|
1131
|
-
|
|
1132
|
-
|
|
1133
|
-
|
|
1134
|
-
|
|
1135
|
-
<td rowspan="1" colSpan="1" >Off</td>
|
|
1136
|
-
</tr>
|
|
1137
|
-
|
|
1138
|
-
<tr>
|
|
1139
|
-
<td rowspan="1" colSpan="1" >TXVoiceChangerType_1</td>
|
|
1140
|
-
|
|
1141
|
-
<td rowspan="1" colSpan="1" >1</td>
|
|
1142
|
-
|
|
1143
|
-
<td rowspan="1" colSpan="1" >Naughty kid</td>
|
|
1144
|
-
</tr>
|
|
1145
|
-
|
|
1146
|
-
<tr>
|
|
1147
|
-
<td rowspan="1" colSpan="1" >TXVoiceChangerType_2</td>
|
|
1148
|
-
|
|
1149
|
-
<td rowspan="1" colSpan="1" >2</td>
|
|
1150
|
-
|
|
1151
|
-
<td rowspan="1" colSpan="1" >Lolita</td>
|
|
1152
|
-
</tr>
|
|
1153
|
-
|
|
1154
|
-
<tr>
|
|
1155
|
-
<td rowspan="1" colSpan="1" >TXVoiceChangerType_3</td>
|
|
1156
|
-
|
|
1157
|
-
<td rowspan="1" colSpan="1" >3</td>
|
|
1158
|
-
|
|
1159
|
-
<td rowspan="1" colSpan="1" >Uncle</td>
|
|
1160
|
-
</tr>
|
|
1161
|
-
|
|
1162
|
-
<tr>
|
|
1163
|
-
<td rowspan="1" colSpan="1" >TXVoiceChangerType_4</td>
|
|
1164
|
-
|
|
1165
|
-
<td rowspan="1" colSpan="1" >4</td>
|
|
1166
|
-
|
|
1167
|
-
<td rowspan="1" colSpan="1" >Heavy metal</td>
|
|
1168
|
-
</tr>
|
|
1169
|
-
|
|
1170
|
-
<tr>
|
|
1171
|
-
<td rowspan="1" colSpan="1" >TXVoiceChangerType_5</td>
|
|
1172
|
-
|
|
1173
|
-
<td rowspan="1" colSpan="1" >5</td>
|
|
1174
|
-
|
|
1175
|
-
<td rowspan="1" colSpan="1" >Cold</td>
|
|
1176
|
-
</tr>
|
|
1177
|
-
|
|
1178
|
-
<tr>
|
|
1179
|
-
<td rowspan="1" colSpan="1" >TXVoiceChangerType_6</td>
|
|
1180
|
-
|
|
1181
|
-
<td rowspan="1" colSpan="1" >6</td>
|
|
1182
|
-
|
|
1183
|
-
<td rowspan="1" colSpan="1" >Foreign accent</td>
|
|
1184
|
-
</tr>
|
|
1185
|
-
|
|
1186
|
-
<tr>
|
|
1187
|
-
<td rowspan="1" colSpan="1" >TXVoiceChangerType_7</td>
|
|
1188
|
-
|
|
1189
|
-
<td rowspan="1" colSpan="1" >7</td>
|
|
1190
|
-
|
|
1191
|
-
<td rowspan="1" colSpan="1" >Trapped beast</td>
|
|
1192
|
-
</tr>
|
|
1193
|
-
|
|
1194
|
-
<tr>
|
|
1195
|
-
<td rowspan="1" colSpan="1" >TXVoiceChangerType_8</td>
|
|
1196
|
-
|
|
1197
|
-
<td rowspan="1" colSpan="1" >8</td>
|
|
1198
|
-
|
|
1199
|
-
<td rowspan="1" colSpan="1" >Otaku</td>
|
|
1200
|
-
</tr>
|
|
1201
|
-
|
|
1202
|
-
<tr>
|
|
1203
|
-
<td rowspan="1" colSpan="1" >TXVoiceChangerType_9</td>
|
|
1204
|
-
|
|
1205
|
-
<td rowspan="1" colSpan="1" >9</td>
|
|
1206
|
-
|
|
1207
|
-
<td rowspan="1" colSpan="1" >Strong electric current</td>
|
|
1208
|
-
</tr>
|
|
1209
|
-
|
|
1210
|
-
<tr>
|
|
1211
|
-
<td rowspan="1" colSpan="1" >TXVoiceChangerType_10</td>
|
|
1212
|
-
|
|
1213
|
-
<td rowspan="1" colSpan="1" >10</td>
|
|
1214
|
-
|
|
1215
|
-
<td rowspan="1" colSpan="1" >Heavy Machinery</td>
|
|
1216
|
-
</tr>
|
|
1217
|
-
|
|
1218
|
-
<tr>
|
|
1219
|
-
<td rowspan="1" colSpan="1" >TXVoiceChangerType_11</td>
|
|
1220
|
-
|
|
1221
|
-
<td rowspan="1" colSpan="1" >11</td>
|
|
1222
|
-
|
|
1223
|
-
<td rowspan="1" colSpan="1" >Ethereal voice</td>
|
|
1224
|
-
</tr>
|
|
1225
|
-
</table>
|
|
1226
|
-
|
|
435
|
+
| Enumeration | Value | Description |
|
|
436
|
+
| --- | --- | --- |
|
|
437
|
+
| TXVoiceChangerType_0 | 0 | Off |
|
|
438
|
+
| TXVoiceChangerType_1 | 1 | Naughty kid |
|
|
439
|
+
| TXVoiceChangerType_2 | 2 | Lolita |
|
|
440
|
+
| TXVoiceChangerType_3 | 3 | Uncle |
|
|
441
|
+
| TXVoiceChangerType_4 | 4 | Heavy metal |
|
|
442
|
+
| TXVoiceChangerType_5 | 5 | Cold |
|
|
443
|
+
| TXVoiceChangerType_6 | 6 | Foreign accent |
|
|
444
|
+
| TXVoiceChangerType_7 | 7 | Trapped beast |
|
|
445
|
+
| TXVoiceChangerType_8 | 8 | Otaku |
|
|
446
|
+
| TXVoiceChangerType_9 | 9 | Strong electric current |
|
|
447
|
+
| TXVoiceChangerType_10 | 10 | Heavy Machinery |
|
|
448
|
+
| TXVoiceChangerType_11 | 11 | Ethereal voice |
|
|
1227
449
|
|
|
1228
450
|
## TXAudioMusicParam
|
|
1229
451
|
|
|
1230
|
-
|
|
1231
|
-
|
|
1232
452
|
#### Playback control information for background music
|
|
1233
453
|
|
|
1234
|
-
This information is used to specify background music details in the interface [startPlayMusic
|
|
454
|
+
This information is used to specify background music details in the interface [startPlayMusic, including play ID, file path, loop count, etc.:
|
|
1235
455
|
|
|
1236
456
|
1. If you need to play the same background music multiple times, do not assign a new ID each time. We recommend using the same ID.
|
|
1237
457
|
|
|
1238
458
|
2. If you want to play different pieces of music simultaneously, assign different IDs for each piece.
|
|
1239
459
|
|
|
1240
460
|
3. If you use the same ID to play different music, the SDK will stop the old music before playing the new one.
|
|
1241
|
-
|
|
1242
|
-
|
|
1243
|
-
|
|
1244
|
-
|
|
1245
|
-
|
|
1246
|
-
|
|
1247
|
-
|
|
1248
|
-
|
|
1249
|
-
|
|
1250
|
-
|
|
1251
|
-
<td rowspan="1" colSpan="1" >[Field Meaning] Music play end time, in milliseconds. 0 means play until the end of the file.</td>
|
|
1252
|
-
</tr>
|
|
1253
|
-
|
|
1254
|
-
<tr>
|
|
1255
|
-
<td rowspan="1" colSpan="1" >id</td>
|
|
1256
|
-
|
|
1257
|
-
<td rowspan="1" colSpan="1" >[Field Meaning] Music ID.<br>[Special Instructions] The SDK allows playing multiple music tracks simultaneously, so IDs are needed to control start, stop, volume, etc.</td>
|
|
1258
|
-
</tr>
|
|
1259
|
-
|
|
1260
|
-
<tr>
|
|
1261
|
-
<td rowspan="1" colSpan="1" >isShortFile</td>
|
|
1262
|
-
|
|
1263
|
-
<td rowspan="1" colSpan="1" >[Field Meaning] Whether the played file is a short music file.<br>[Recommended Value] true: Requires repeating short music file; false: Normal music file. Default: false.</td>
|
|
1264
|
-
</tr>
|
|
1265
|
-
|
|
1266
|
-
<tr>
|
|
1267
|
-
<td rowspan="1" colSpan="1" >loopCount</td>
|
|
1268
|
-
|
|
1269
|
-
<td rowspan="1" colSpan="1" >[Field Meaning] The number of times the music loops.<br>[Recommended Value] Value range is 0 to any positive integer. Default: 0. 0 means play the music once; 1 means play the music twice; and so on.</td>
|
|
1270
|
-
</tr>
|
|
1271
|
-
|
|
1272
|
-
<tr>
|
|
1273
|
-
<td rowspan="1" colSpan="1" >path</td>
|
|
1274
|
-
|
|
1275
|
-
<td rowspan="1" colSpan="1" >[Field Meaning] The full path or URL of the audio file. Supported audio formats include MP3, AAC, M4A, WAV.</td>
|
|
1276
|
-
</tr>
|
|
1277
|
-
|
|
1278
|
-
<tr>
|
|
1279
|
-
<td rowspan="1" colSpan="1" >publish</td>
|
|
1280
|
-
|
|
1281
|
-
<td rowspan="1" colSpan="1" >[Field Meaning] Whether to transmit the music to the remote end.<br>[Recommended Value] true: Music can be heard by remote users while playing locally; false: Only the host can hear the music locally, remote audience cannot hear it. Default: false.</td>
|
|
1282
|
-
</tr>
|
|
1283
|
-
|
|
1284
|
-
<tr>
|
|
1285
|
-
<td rowspan="1" colSpan="1" >startTimeMS</td>
|
|
1286
|
-
|
|
1287
|
-
<td rowspan="1" colSpan="1" >[Field Meaning] Music start time, in milliseconds.</td>
|
|
1288
|
-
</tr>
|
|
1289
|
-
</table>
|
|
461
|
+
| Enumeration Types | Description |
|
|
462
|
+
| --- | --- |
|
|
463
|
+
| endTimeMS | [Field Meaning] Music play end time, in milliseconds. 0 means play until the end of the file. |
|
|
464
|
+
| id | [Field Meaning] Music ID.<br>[Special Instructions] The SDK allows playing multiple music tracks simultaneously, so IDs are needed to control start, stop, volume, etc. |
|
|
465
|
+
| isShortFile | [Field Meaning] Whether the played file is a short music file.<br>[Recommended Value] true: Requires repeating short music file; false: Normal music file. Default: false. |
|
|
466
|
+
| loopCount | [Field Meaning] The number of times the music loops.<br>[Recommended Value] Value range is 0 to any positive integer. Default: 0. 0 means play the music once; 1 means play the music twice; and so on. |
|
|
467
|
+
| path | [Field Meaning] The full path or URL of the audio file. Supported audio formats include MP3, AAC, M4A, WAV. |
|
|
468
|
+
| publish | [Field Meaning] Whether to transmit the music to the remote end.<br>[Recommended Value] true: Music can be heard by remote users while playing locally; false: Only the host can hear the music locally, remote audience cannot hear it. Default: false. |
|
|
469
|
+
| startTimeMS | [Field Meaning] Music start time, in milliseconds. |
|