@tencentcloud/sdk-mcp 1.3.8 → 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/index.js +1 -1
- package/index.js.map +1 -1
- package/package.json +2 -2
- package/resource/doc/{tuicallkit/android/faq.md → callkit/faq/android-faq.md} +75 -308
- package/resource/doc/{tuicallkit/faq/common/error_code.md → callkit/faq/common/error-code.md} +2 -2
- package/resource/doc/{tuicallkit/flutter/faq.md → callkit/faq/flutter-faq.md} +83 -315
- package/resource/doc/{tuicallkit/iOS/faq.md → callkit/faq/ios-faq.md} +76 -313
- package/resource/doc/{tuicallkit/react/faq.md → callkit/faq/web-faq.md} +78 -311
- package/resource/doc/callkit/preset/android/api.md +330 -0
- package/resource/doc/callkit/preset/android/integration.md +530 -0
- package/resource/doc/callkit/preset/flutter/api.md +401 -0
- package/resource/doc/{tuicallkit → callkit/preset}/flutter/integration.md +53 -273
- package/resource/doc/callkit/preset/ios/api.md +282 -0
- package/resource/doc/{tuicallkit/iOS → callkit/preset/ios}/integration.md +39 -120
- package/resource/doc/callkit/preset/react/api.md +600 -0
- package/resource/doc/{tuicallkit → callkit/preset}/react/integration.md +6 -6
- package/resource/doc/callkit/preset/vue/api.md +600 -0
- package/resource/doc/{tuicallkit → callkit/preset}/vue/integration.md +5 -5
- package/resource/doc/{chatuikit → chatkit}/android/faq.md +29 -37
- package/resource/doc/{chatuikit → chatkit}/android/features/theme.md +22 -166
- package/resource/doc/chatkit/android/integration.md +498 -0
- package/resource/doc/chatkit/faq/android_sdk/client-api.md +280 -0
- package/resource/doc/{chatuikit → chatkit}/faq/common/product.md +4 -17
- package/resource/doc/{chatuikit → chatkit}/faq/common/server.md +1 -2
- package/resource/doc/chatkit/faq/flutter_sdk/client-api.md +183 -0
- package/resource/doc/{chatuikit → chatkit}/faq/flutter_sdk/faq.md +3 -3
- package/resource/doc/chatkit/faq/ios_sdk/client-api.md +279 -0
- package/resource/doc/{chatuikit → chatkit}/faq/web_sdk/error_code.md +1 -1
- package/resource/doc/{chatuikit → chatkit}/faq/web_sdk/faq.md +4 -4
- package/resource/doc/{chatuikit → chatkit}/flutter/features/theme.md +22 -166
- package/resource/doc/{chatuikit → chatkit}/flutter/integration.md +20 -95
- package/resource/doc/{chatuikit/iOS → chatkit/ios}/faq.md +29 -37
- package/resource/doc/{chatuikit/iOS → chatkit/ios}/features/theme.md +27 -176
- package/resource/doc/{chatuikit/iOS → chatkit/ios}/integration.md +78 -280
- package/resource/doc/{chatuikit/vue → chatkit/react}/components/avatar.md +0 -1
- package/resource/doc/{chatuikit → chatkit}/react/components/chat-header.md +7 -12
- package/resource/doc/{chatuikit → chatkit}/react/components/chat-setting.md +10 -17
- package/resource/doc/{chatuikit → chatkit}/react/components/chat.md +1 -1
- package/resource/doc/{chatuikit → chatkit}/react/components/component-list.md +0 -1
- package/resource/doc/{chatuikit → chatkit}/react/components/contact-list.md +122 -703
- package/resource/doc/chatkit/react/components/conversation-actions.md +174 -0
- package/resource/doc/chatkit/react/components/conversation-list.md +333 -0
- package/resource/doc/chatkit/react/components/conversation-preview.md +116 -0
- package/resource/doc/chatkit/react/components/conversation-search.md +57 -0
- package/resource/doc/{chatuikit → chatkit}/react/components/message-input.md +36 -186
- package/resource/doc/{chatuikit → chatkit}/react/components/message-list.md +21 -113
- package/resource/doc/chatkit/react/components/search.md +282 -0
- package/resource/doc/{chatuikit → chatkit}/react/components/tuikit.md +5 -26
- package/resource/doc/{chatuikit → chatkit}/react/integration.md +37 -104
- package/resource/doc/{chatuikit/react → chatkit/vue}/components/avatar.md +0 -1
- package/resource/doc/{chatuikit → chatkit}/vue/components/chat-header.md +7 -13
- package/resource/doc/{chatuikit → chatkit}/vue/components/chat-setting.md +13 -18
- package/resource/doc/{chatuikit → chatkit}/vue/components/chat.md +1 -2
- package/resource/doc/{chatuikit → chatkit}/vue/components/component-list.md +0 -1
- package/resource/doc/chatkit/vue/components/contact-list.md +271 -0
- package/resource/doc/chatkit/vue/components/conversation-actions.md +228 -0
- package/resource/doc/{chatuikit → chatkit}/vue/components/conversation-list.md +42 -316
- package/resource/doc/chatkit/vue/components/conversation-preview.md +213 -0
- package/resource/doc/chatkit/vue/components/conversation-search.md +50 -0
- package/resource/doc/{chatuikit → chatkit}/vue/components/message-input.md +1 -23
- package/resource/doc/{chatuikit → chatkit}/vue/components/message-list.md +23 -134
- package/resource/doc/{chatuikit → chatkit}/vue/components/search.md +73 -640
- package/resource/doc/chatkit/vue/components/tuikit.md +45 -0
- package/resource/doc/{chatuikit → chatkit}/vue/components/userpicker.md +4 -4
- package/resource/doc/{chatuikit → chatkit}/vue/faq.md +1 -1
- package/resource/doc/{chatuikit → chatkit}/vue/integration.md +53 -121
- package/resource/doc/livekit/core-sdk/live/android/api-reference/AudioEffectStore.md +283 -0
- package/resource/doc/livekit/core-sdk/live/android/api-reference/BarrageStore.md +148 -0
- package/resource/doc/livekit/core-sdk/live/android/api-reference/BattleStore.md +316 -0
- package/resource/doc/livekit/core-sdk/live/android/api-reference/CameraView.md +57 -0
- package/resource/doc/livekit/core-sdk/live/android/api-reference/CoGuestStore.md +419 -0
- package/resource/doc/livekit/core-sdk/live/android/api-reference/CoHostStore.md +325 -0
- package/resource/doc/livekit/core-sdk/live/android/api-reference/DeviceStore.md +436 -0
- package/resource/doc/livekit/core-sdk/live/android/api-reference/GiftStore.md +165 -0
- package/resource/doc/livekit/core-sdk/live/android/api-reference/LikeStore.md +49 -0
- package/resource/doc/livekit/core-sdk/live/android/api-reference/LiveAudienceStore.md +239 -0
- package/resource/doc/livekit/core-sdk/live/android/api-reference/LiveCoreView.md +74 -0
- package/resource/doc/livekit/core-sdk/live/android/api-reference/LiveSeatStore.md +417 -0
- package/resource/doc/livekit/core-sdk/live/android/api-reference/LoginStore.md +207 -0
- package/resource/doc/livekit/{live → core-sdk/live}/android/live-audience-list.md +17 -88
- package/resource/doc/livekit/{live → core-sdk/live}/android/live-audio-effect.md +34 -192
- package/resource/doc/livekit/{live → core-sdk/live}/android/live-barrage.md +26 -139
- package/resource/doc/livekit/{live → core-sdk/live}/android/live-base-beauty.md +16 -99
- package/resource/doc/livekit/{live → core-sdk/live}/android/live-co-guest-interaction.md +54 -161
- package/resource/doc/livekit/{live → core-sdk/live}/android/live-gift.md +75 -455
- package/resource/doc/livekit/{live → core-sdk/live}/android/live-host-interaction.md +91 -338
- package/resource/doc/livekit/{live → core-sdk/live}/android/live-integration.md +108 -492
- package/resource/doc/livekit/{live → core-sdk/live}/android/live-live-list.md +27 -165
- package/resource/doc/livekit/core-sdk/live/flutter/api-reference/AudioEffectStore.md +279 -0
- package/resource/doc/livekit/core-sdk/live/flutter/api-reference/BarrageStore.md +158 -0
- package/resource/doc/livekit/core-sdk/live/flutter/api-reference/BaseBeautyStore.md +155 -0
- package/resource/doc/livekit/core-sdk/live/flutter/api-reference/BattleStore.md +304 -0
- package/resource/doc/livekit/core-sdk/live/flutter/api-reference/CoGuestStore.md +394 -0
- package/resource/doc/livekit/core-sdk/live/flutter/api-reference/CoHostStore.md +303 -0
- package/resource/doc/livekit/core-sdk/live/flutter/api-reference/DeviceStore.md +410 -0
- package/resource/doc/livekit/core-sdk/live/flutter/api-reference/GiftStore.md +160 -0
- package/resource/doc/livekit/core-sdk/live/flutter/api-reference/LikeStore.md +51 -0
- package/resource/doc/livekit/core-sdk/live/flutter/api-reference/LiveAudienceStore.md +231 -0
- package/resource/doc/livekit/core-sdk/live/flutter/api-reference/LiveCoreView.md +143 -0
- package/resource/doc/livekit/core-sdk/live/flutter/api-reference/LiveSeatStore.md +375 -0
- package/resource/doc/livekit/core-sdk/live/flutter/api-reference/LoginStore.md +170 -0
- package/resource/doc/livekit/{live → core-sdk/live}/flutter/live-audience-list.md +13 -91
- package/resource/doc/livekit/{live → core-sdk/live}/flutter/live-audio-effect.md +34 -177
- package/resource/doc/livekit/{live → core-sdk/live}/flutter/live-barrage.md +18 -102
- package/resource/doc/livekit/{live → core-sdk/live}/flutter/live-base-beauty.md +24 -164
- package/resource/doc/livekit/{live → core-sdk/live}/flutter/live-co-guest-interaction.md +56 -161
- package/resource/doc/livekit/{live → core-sdk/live}/flutter/live-gift.md +66 -460
- package/resource/doc/livekit/{live → core-sdk/live}/flutter/live-host-interaction.md +117 -364
- package/resource/doc/livekit/core-sdk/live/flutter/live-integration.md +687 -0
- package/resource/doc/livekit/{live → core-sdk/live}/flutter/live-live-list.md +22 -161
- package/resource/doc/livekit/core-sdk/live/ios/api-reference/AudioEffectStore.md +287 -0
- package/resource/doc/livekit/core-sdk/live/ios/api-reference/BarrageStore.md +165 -0
- package/resource/doc/livekit/core-sdk/live/ios/api-reference/BaseBeautyStore.md +143 -0
- package/resource/doc/livekit/core-sdk/live/ios/api-reference/BattleStore.md +298 -0
- package/resource/doc/livekit/core-sdk/live/ios/api-reference/CoGuestStore.md +349 -0
- package/resource/doc/livekit/core-sdk/live/ios/api-reference/CoHostStore.md +297 -0
- package/resource/doc/livekit/core-sdk/live/ios/api-reference/DeviceStore.md +471 -0
- package/resource/doc/livekit/core-sdk/live/ios/api-reference/GiftStore.md +179 -0
- package/resource/doc/livekit/core-sdk/live/ios/api-reference/LikeStore.md +49 -0
- package/resource/doc/livekit/core-sdk/live/ios/api-reference/LiveAudienceStore.md +238 -0
- package/resource/doc/livekit/core-sdk/live/ios/api-reference/LiveCoreView.md +74 -0
- package/resource/doc/livekit/core-sdk/live/ios/api-reference/LiveSeatStore.md +412 -0
- package/resource/doc/livekit/core-sdk/live/ios/api-reference/LoginStore.md +173 -0
- package/resource/doc/livekit/{live → core-sdk/live}/ios/live-audience-list.md +23 -96
- package/resource/doc/livekit/{live → core-sdk/live}/ios/live-audio-effect.md +33 -195
- package/resource/doc/livekit/{live → core-sdk/live}/ios/live-barrage.md +35 -150
- package/resource/doc/livekit/{live → core-sdk/live}/ios/live-base-beauty.md +20 -105
- package/resource/doc/livekit/{live → core-sdk/live}/ios/live-co-guest-interaction.md +35 -140
- package/resource/doc/livekit/{live → core-sdk/live}/ios/live-gift.md +77 -457
- package/resource/doc/livekit/{live → core-sdk/live}/ios/live-host-interaction.md +70 -317
- package/resource/doc/livekit/{live → core-sdk/live}/ios/live-integration.md +90 -473
- package/resource/doc/livekit/{live → core-sdk/live}/ios/live-live-list.md +28 -163
- package/resource/doc/livekit/core-sdk/voice/android/voice-audience-list.md +264 -0
- package/resource/doc/livekit/core-sdk/voice/android/voice-audio-effect.md +226 -0
- package/resource/doc/livekit/core-sdk/voice/android/voice-barrage.md +456 -0
- package/resource/doc/livekit/core-sdk/voice/android/voice-co-guest-interaction.md +539 -0
- package/resource/doc/livekit/core-sdk/voice/android/voice-gift.md +453 -0
- package/resource/doc/livekit/core-sdk/voice/android/voice-host-interaction.md +516 -0
- package/resource/doc/livekit/core-sdk/voice/android/voice-integration.md +509 -0
- package/resource/doc/livekit/core-sdk/voice/android/voice-room-list.md +365 -0
- package/resource/doc/livekit/core-sdk/voice/flutter/voice-audience-list.md +259 -0
- package/resource/doc/livekit/core-sdk/voice/flutter/voice-audio-effect.md +596 -0
- package/resource/doc/livekit/core-sdk/voice/flutter/voice-barrage.md +494 -0
- package/resource/doc/livekit/core-sdk/voice/flutter/voice-co-guest-interaction.md +516 -0
- package/resource/doc/livekit/core-sdk/voice/flutter/voice-gift.md +418 -0
- package/resource/doc/livekit/core-sdk/voice/flutter/voice-integration.md +563 -0
- package/resource/doc/livekit/core-sdk/voice/flutter/voice-room-list.md +709 -0
- package/resource/doc/livekit/core-sdk/voice/ios/voice-audience-list.md +262 -0
- package/resource/doc/livekit/core-sdk/voice/ios/voice-audio-effect.md +211 -0
- package/resource/doc/livekit/core-sdk/voice/ios/voice-barrage.md +414 -0
- package/resource/doc/livekit/core-sdk/voice/ios/voice-co-guest-interaction.md +492 -0
- package/resource/doc/livekit/core-sdk/voice/ios/voice-gift.md +405 -0
- package/resource/doc/livekit/core-sdk/voice/ios/voice-host-interaction.md +611 -0
- package/resource/doc/livekit/core-sdk/voice/ios/voice-integration.md +478 -0
- package/resource/doc/livekit/core-sdk/voice/ios/voice-room-list.md +336 -0
- package/resource/doc/livekit/core-sdk/voice/uni-app/voice-audience-list.md +234 -0
- package/resource/doc/livekit/core-sdk/voice/uni-app/voice-audio-effect.md +218 -0
- package/resource/doc/livekit/core-sdk/voice/uni-app/voice-barrage.md +376 -0
- package/resource/doc/livekit/core-sdk/voice/uni-app/voice-co-guest-interaction.md +648 -0
- package/resource/doc/livekit/core-sdk/voice/uni-app/voice-gift.md +362 -0
- package/resource/doc/livekit/core-sdk/voice/uni-app/voice-integration.md +323 -0
- package/resource/doc/livekit/core-sdk/voice/uni-app/voice-room-list.md +470 -0
- package/resource/doc/livekit/faq/common/{error_code.md → error-code.md} +2 -3
- package/resource/doc/livekit/preset/live/vue/api-reference/index.md +780 -0
- package/resource/doc/livekit/preset/live/vue/components/barrage.md +291 -0
- package/resource/doc/livekit/{live → preset/live}/vue/components/co-guest-panel.md +9 -48
- package/resource/doc/livekit/{live → preset/live}/vue/components/live-audience-list.md +27 -145
- package/resource/doc/livekit/{live → preset/live}/vue/components/live-scene-panel.md +13 -76
- package/resource/doc/livekit/{live → preset/live}/vue/components/live-view.md +33 -224
- package/resource/doc/livekit/preset/live/vue/components/stream-mixer.md +211 -0
- package/resource/doc/livekit/preset/live/vue/faq.md +1 -0
- package/resource/doc/livekit/preset/live/vue/live-list-integration.md +244 -0
- package/resource/doc/livekit/preset/live/vue/live-player-desk-integration.md +301 -0
- package/resource/doc/livekit/preset/live/vue/live-player-h5-integration.md +307 -0
- package/resource/doc/livekit/preset/live/vue/live-pusher-integration.md +754 -0
- package/resource/doc/roomkit/android/features/call-user-to-room.md +234 -0
- package/resource/doc/roomkit/android/features/room-participant-state.md +850 -0
- package/resource/doc/roomkit/android/features/room-state.md +358 -0
- package/resource/doc/roomkit/android/features/schedule-room.md +336 -0
- package/resource/doc/roomkit/android/integration.md +433 -0
- package/resource/doc/roomkit/{common/error_code.md → faq/common/error-code.md} +1 -1
- package/resource/doc/roomkit/flutter/features/call-user-to-room.md +228 -0
- package/resource/doc/roomkit/flutter/features/room-participant-state.md +796 -0
- package/resource/doc/roomkit/flutter/features/room-state.md +324 -0
- package/resource/doc/roomkit/flutter/features/schedule-room.md +324 -0
- package/resource/doc/roomkit/flutter/integration.md +405 -0
- package/resource/doc/roomkit/ios/features/call-user-to-room.md +226 -0
- package/resource/doc/roomkit/ios/features/room-participant-state.md +821 -0
- package/resource/doc/roomkit/ios/features/room-state.md +320 -0
- package/resource/doc/roomkit/ios/features/schedule-room.md +318 -0
- package/resource/doc/roomkit/ios/integration.md +384 -0
- package/resource/doc/roomkit/vue/faq.md +1 -0
- package/resource/doc/roomkit/vue/features/call-user-to-room.md +17 -53
- package/resource/doc/roomkit/vue/features/device-detection.md +30 -48
- package/resource/doc/roomkit/vue/features/device-state.md +24 -44
- package/resource/doc/roomkit/vue/features/free-beauty-panel.md +13 -36
- package/resource/doc/roomkit/vue/features/room-chat.md +31 -89
- package/resource/doc/roomkit/vue/features/room-participant-state.md +28 -50
- package/resource/doc/roomkit/vue/features/room-state.md +25 -36
- package/resource/doc/roomkit/vue/features/room-view.md +30 -127
- package/resource/doc/roomkit/vue/features/schedule-room.md +9 -40
- package/resource/doc/roomkit/vue/features/screen-share.md +22 -90
- package/resource/doc/roomkit/vue/features/virtual-background.md +13 -34
- package/resource/doc/roomkit/vue/integration.md +118 -282
- package/resource/doc/rtcengine/faq/common/userSig.md +17 -141
- package/resource/doc/rtcengine/faq/web/web.md +15 -22
- package/resource/doc/rtcengine/web/api.md +17 -21
- package/resource/doc/rtcengine/web/how_to_integrated_web_sdk.md +4 -10
- package/resource/doc/rtcengine/web/how_to_run_web_sdk_demo.md +4 -8
- package/resource/doc/rtcengine/web/plugin/20-advanced-customized-capture-rendering.md +3 -3
- package/resource/doc/rtcengine/web/plugin/21-advanced-auto-play-policy.md +2 -3
- package/resource/doc/rtcengine/web/plugin/22-advanced-audio-mixer.md +6 -6
- package/resource/doc/rtcengine/web/plugin/23-advanced-support-detection.md +2 -2
- package/resource/doc/rtcengine/web/plugin/24-advanced-network-quality.md +2 -4
- package/resource/doc/rtcengine/web/plugin/25-advanced-device-change.md +1 -2
- package/resource/doc/rtcengine/web/plugin/26-advanced-publish-cdn-stream.md +2 -6
- package/resource/doc/rtcengine/web/plugin/27-advanced-small-stream.md +13 -14
- package/resource/doc/rtcengine/web/plugin/28-advanced-beauty.md +10 -90
- package/resource/doc/rtcengine/web/plugin/31-advanced-plugins-overview.md +5 -8
- package/resource/doc/rtcengine/web/plugin/34-advanced-proxy.md +31 -35
- package/resource/doc/rtcengine/web/plugin/35-advanced-ai-denoiser.md +0 -2
- package/resource/doc/rtcengine/web/plugin/36-advanced-virtual-background.md +7 -49
- package/resource/doc/rtcengine/web/plugin/37-advanced-voice-changer.md +1 -1
- package/resource/doc/rtcengine/web/plugin/39-advanced-video-decoder.md +0 -3
- package/resource/doc/rtcengine/web/plugin/40-advanced-video-mixer.md +20 -20
- package/resource/doc/rtcengine/web/plugin/41-advanced-small-stream-auto-switcher.md +1 -1
- package/resource/doc/rtcengine/web/plugin/42-advanced-realtime-transcriber.md +4 -4
- package/resource/doc/rtcengine/web/plugin/43-advanced-face-detection.md +3 -3
- package/resource/doc/trtc/C++/ITRTCCloud.md +718 -2847
- package/resource/doc/trtc/C++/ITRTCStatistics.md +53 -308
- package/resource/doc/trtc/C++/ITXAudioEffectManager.md +207 -1041
- package/resource/doc/trtc/C++/ITXDeviceManager.md +127 -768
- package/resource/doc/trtc/C++/TRTCCloudCallback.md +634 -2259
- package/resource/doc/trtc/C++/TRTCTypeDef.md +726 -3465
- package/resource/doc/trtc/C++/TXLiteAVCode.md +117 -916
- package/resource/doc/trtc/android/TRTCCloud.md +638 -2612
- package/resource/doc/trtc/android/TRTCCloudDef.md +769 -3697
- package/resource/doc/trtc/android/TRTCCloudListener.md +609 -2070
- package/resource/doc/trtc/android/TRTCStatistics.md +48 -278
- package/resource/doc/trtc/android/TXAudioEffectManager.md +207 -1049
- package/resource/doc/trtc/android/TXBeautyManager.md +127 -704
- package/resource/doc/trtc/android/TXDeviceManager.md +51 -318
- package/resource/doc/trtc/android/TXLiteAVCode.md +115 -900
- package/resource/doc/trtc/iOS/TRTCCloud.md +726 -2930
- package/resource/doc/trtc/iOS/TRTCCloudDelegate.md +580 -2099
- package/resource/doc/trtc/iOS/TRTCStatistics.md +48 -278
- package/resource/doc/trtc/iOS/TXAudioEffectManager.md +179 -896
- package/resource/doc/trtc/iOS/TXBeautyManager.md +128 -710
- package/resource/doc/trtc/iOS/TXDeviceManager.md +129 -772
- package/resource/doc/trtc/iOS/TXLiteAVCode.md +117 -915
- package/resource/doc/trtc/iOS/TXLiveSDKTypeDef.md +747 -3559
- package/server.js +1 -5
- package/server.js.map +1 -1
- package/tools/call/get_callkit_api.js +32 -0
- package/tools/call/get_callkit_api.js.map +1 -0
- package/tools/call/get_native_call_uikit_integration.js +34 -0
- package/tools/call/get_native_call_uikit_integration.js.map +1 -0
- package/tools/call/{get-web-call-integration.js → get_web_call_uikit_integration.js} +13 -8
- package/tools/call/get_web_call_uikit_integration.js.map +1 -0
- package/tools/chat/get_native_chat_uikit_feature_detail.js +34 -0
- package/tools/chat/get_native_chat_uikit_feature_detail.js.map +1 -0
- package/tools/chat/get_native_chat_uikit_integration.js +45 -0
- package/tools/chat/get_native_chat_uikit_integration.js.map +1 -0
- package/tools/chat/get_web_chat_uikit_component_detail.js +34 -0
- package/tools/chat/get_web_chat_uikit_component_detail.js.map +1 -0
- package/tools/chat/get_web_chat_uikit_integration.js +45 -0
- package/tools/chat/get_web_chat_uikit_integration.js.map +1 -0
- package/tools/common/get_faq.js +265 -0
- package/tools/common/get_faq.js.map +1 -0
- package/tools/common/{get-usersig.js → get_usersig.js} +6 -3
- package/tools/common/get_usersig.js.map +1 -0
- package/tools/common/present_framework_choice.js +63 -0
- package/tools/common/present_framework_choice.js.map +1 -0
- package/tools/definitions/get_callkit_api_def.js +28 -0
- package/tools/definitions/get_callkit_api_def.js.map +1 -0
- package/tools/definitions/get_faq_def.js +18 -19
- package/tools/definitions/get_faq_def.js.map +1 -1
- package/tools/definitions/get_native_call_uikit_integration_def.js +15 -18
- 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 -19
- package/tools/definitions/get_native_chat_uikit_integration_def.js.map +1 -1
- package/tools/definitions/get_native_livekit_core_features_def.js +33 -0
- package/tools/definitions/get_native_livekit_core_features_def.js.map +1 -0
- package/tools/definitions/get_native_livekit_core_integration_def.js +33 -0
- package/tools/definitions/get_native_livekit_core_integration_def.js.map +1 -0
- package/tools/definitions/get_native_trtc_sdk_docs_def.js +32 -0
- package/tools/definitions/get_native_trtc_sdk_docs_def.js.map +1 -0
- package/tools/definitions/get_usersig_def.js +17 -24
- package/tools/definitions/get_usersig_def.js.map +1 -1
- package/tools/definitions/get_web_call_uikit_integration_def.js +15 -7
- package/tools/definitions/get_web_call_uikit_integration_def.js.map +1 -1
- package/tools/definitions/get_web_chat_uikit_component_detail_def.js +17 -49
- package/tools/definitions/get_web_chat_uikit_component_detail_def.js.map +1 -1
- package/tools/definitions/get_web_chat_uikit_integration_def.js +16 -19
- package/tools/definitions/get_web_chat_uikit_integration_def.js.map +1 -1
- package/tools/definitions/get_web_live_uikit_integration_def.js +13 -18
- package/tools/definitions/get_web_live_uikit_integration_def.js.map +1 -1
- package/tools/definitions/get_web_livekit_api_def.js +27 -0
- package/tools/definitions/get_web_livekit_api_def.js.map +1 -0
- package/tools/definitions/get_web_livekit_component_detail_def.js +29 -0
- package/tools/definitions/get_web_livekit_component_detail_def.js.map +1 -0
- package/tools/definitions/get_web_room_uikit_integration_def.js +13 -30
- package/tools/definitions/get_web_room_uikit_integration_def.js.map +1 -1
- package/tools/definitions/get_web_roomkit_feature_detail_def.js +30 -0
- package/tools/definitions/get_web_roomkit_feature_detail_def.js.map +1 -0
- package/tools/definitions/get_web_trtc_sdk_api_def.js +25 -0
- package/tools/definitions/get_web_trtc_sdk_api_def.js.map +1 -0
- package/tools/definitions/get_web_trtc_sdk_integration_def.js +25 -0
- package/tools/definitions/get_web_trtc_sdk_integration_def.js.map +1 -0
- package/tools/definitions/get_web_trtc_sdk_plugin_def.js +25 -0
- package/tools/definitions/get_web_trtc_sdk_plugin_def.js.map +1 -0
- package/tools/definitions/present_framework_choice_def.js +23 -12
- package/tools/definitions/present_framework_choice_def.js.map +1 -1
- package/tools/index.js +47 -59
- 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 +1 -1
- package/resource/doc/chatuikit/android/integration.md +0 -612
- package/resource/doc/chatuikit/android/workflow.md +0 -0
- package/resource/doc/chatuikit/faq/android_sdk/client-api.md +0 -1376
- package/resource/doc/chatuikit/faq/flutter_sdk/client-api.md +0 -860
- package/resource/doc/chatuikit/faq/ios_sdk/client-api.md +0 -1371
- package/resource/doc/chatuikit/flutter/workflow.md +0 -816
- package/resource/doc/chatuikit/iOS/workflow.md +0 -0
- package/resource/doc/chatuikit/react/components/conversation-list.md +0 -765
- package/resource/doc/chatuikit/react/components/search.md +0 -885
- package/resource/doc/chatuikit/react/create-group.md +0 -22
- package/resource/doc/chatuikit/react/init.md +0 -25
- package/resource/doc/chatuikit/react/workflow.md +0 -254
- package/resource/doc/chatuikit/uniapp-app/faq.md +0 -0
- package/resource/doc/chatuikit/uniapp-app/integration.md +0 -619
- package/resource/doc/chatuikit/uniapp-app/workflow.md +0 -576
- package/resource/doc/chatuikit/vue/components/contact-list.md +0 -679
- package/resource/doc/chatuikit/vue/components/tuikit.md +0 -110
- package/resource/doc/chatuikit/vue/create-group.md +0 -26
- package/resource/doc/chatuikit/vue/init.md +0 -35
- package/resource/doc/chatuikit/vue/workflow.md +0 -395
- package/resource/doc/livekit/live/android/workflow.md +0 -322
- package/resource/doc/livekit/live/flutter/live-integration.md +0 -1029
- package/resource/doc/livekit/live/flutter/workflow.md +0 -353
- package/resource/doc/livekit/live/ios/workflow.md +0 -352
- package/resource/doc/livekit/live/vue/components/barrage.md +0 -615
- package/resource/doc/livekit/live/vue/components/stream-mixer.md +0 -442
- package/resource/doc/livekit/live/vue/faq.md +0 -0
- package/resource/doc/livekit/live/vue/live-list-integration.md +0 -195
- package/resource/doc/livekit/live/vue/live-player-desk-integration.md +0 -293
- package/resource/doc/livekit/live/vue/live-player-h5-integration.md +0 -381
- package/resource/doc/livekit/live/vue/live-pusher-integration.md +0 -598
- package/resource/doc/livekit/live/vue/states/live-state.md +0 -2656
- package/resource/doc/livekit/live/vue/workflow.md +0 -219
- package/resource/doc/native_live/android/V2TXLiveCode_api_android.md +0 -334
- package/resource/doc/native_live/android/V2TXLiveDef_api_android.md +0 -434
- package/resource/doc/native_live/android/V2TXLivePlayerObserver_api_android.md +0 -685
- package/resource/doc/native_live/android/V2TXLivePlayer_api_android.md +0 -712
- package/resource/doc/native_live/android/V2TXLivePremier_api_android.md +0 -284
- package/resource/doc/native_live/android/V2TXLivePusherObserver_api_android.md +0 -849
- package/resource/doc/native_live/android/V2TXLivePusher_api_android.md +0 -1046
- package/resource/doc/native_live/flutter/V2TXLiveCode_api_flutter.md +0 -460
- package/resource/doc/native_live/flutter/V2TXLiveDef_api_flutter.md +0 -558
- package/resource/doc/native_live/flutter/V2TXLivePlayerObserver_api_flutter.md +0 -879
- package/resource/doc/native_live/flutter/V2TXLivePlayer_api_flutter.md +0 -668
- package/resource/doc/native_live/flutter/V2TXLivePremier_api_flutter.md +0 -456
- package/resource/doc/native_live/flutter/V2TXLivePusherObserver_api_flutter.md +0 -332
- package/resource/doc/native_live/flutter/V2TXLivePusher_api_flutter.md +0 -748
- package/resource/doc/native_live/iOS/V2TXLiveCode_api_iOS.md +0 -328
- package/resource/doc/native_live/iOS/V2TXLiveDef_api_iOS.md +0 -505
- package/resource/doc/native_live/iOS/V2TXLivePlayerObserver_api_iOS.md +0 -507
- package/resource/doc/native_live/iOS/V2TXLivePlayer_api_iOS.md +0 -676
- package/resource/doc/native_live/iOS/V2TXLivePremier_api_iOS.md +0 -284
- package/resource/doc/native_live/iOS/V2TXLivePusherObserver_api_iOS.md +0 -820
- package/resource/doc/native_live/iOS/V2TXLivePusher_api_iOS.md +0 -1065
- package/resource/doc/roomkit/vue/features/workflow.md +0 -553
- package/resource/doc/roomkit/vue/workflow.md +0 -487
- package/resource/doc/tuicallkit/android/integration.md +0 -302
- package/resource/doc/tuicallkit/android/workflow.md +0 -0
- package/resource/doc/tuicallkit/faq/android_sdk/call-observer-api.md +0 -786
- package/resource/doc/tuicallkit/faq/android_sdk/callkit-api.md +0 -663
- package/resource/doc/tuicallkit/faq/flutter_sdk/call-define-api.md +0 -932
- package/resource/doc/tuicallkit/faq/flutter_sdk/call-observer-api.md +0 -926
- package/resource/doc/tuicallkit/faq/flutter_sdk/callkit-api.md +0 -452
- package/resource/doc/tuicallkit/faq/ios_sdk/call-observer-api.md +0 -779
- package/resource/doc/tuicallkit/faq/ios_sdk/callkit-api.md +0 -635
- package/resource/doc/tuicallkit/flutter/workflow.md +0 -331
- package/resource/doc/tuicallkit/react/api.md +0 -1512
- package/resource/doc/tuicallkit/vue/api.md +0 -1512
- package/resource/doc/tuicallkit/vue/faq.md +0 -986
- 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/record-prompt.js +0 -55
- package/tools/common/record-prompt.js.map +0 -1
- package/tools/common/record-result.js +0 -60
- package/tools/common/record-result.js.map +0 -1
- package/tools/definitions/get_native_chat_feature_detail_def.js +0 -32
- package/tools/definitions/get_native_chat_feature_detail_def.js.map +0 -1
- package/tools/definitions/get_native_live_api_def.js +0 -22
- package/tools/definitions/get_native_live_api_def.js.map +0 -1
- package/tools/definitions/get_native_live_uikit_extra_features_def.js +0 -109
- package/tools/definitions/get_native_live_uikit_extra_features_def.js.map +0 -1
- package/tools/definitions/get_native_live_uikit_integration_def.js +0 -50
- package/tools/definitions/get_native_live_uikit_integration_def.js.map +0 -1
- package/tools/definitions/get_native_live_uikit_interaction_def.js +0 -115
- package/tools/definitions/get_native_live_uikit_interaction_def.js.map +0 -1
- package/tools/definitions/get_trtc_native_api_def.js +0 -17
- package/tools/definitions/get_trtc_native_api_def.js.map +0 -1
- package/tools/definitions/get_web_call_uikit_api_def.js +0 -23
- package/tools/definitions/get_web_call_uikit_api_def.js.map +0 -1
- package/tools/definitions/get_web_chat_uikit_init_def.js +0 -23
- package/tools/definitions/get_web_chat_uikit_init_def.js.map +0 -1
- package/tools/definitions/get_web_create_group_doc_def.js +0 -18
- package/tools/definitions/get_web_create_group_doc_def.js.map +0 -1
- package/tools/definitions/get_web_live_state_detail_def.js +0 -19
- package/tools/definitions/get_web_live_state_detail_def.js.map +0 -1
- package/tools/definitions/get_web_live_uikit_component_detail_def.js +0 -27
- package/tools/definitions/get_web_live_uikit_component_detail_def.js.map +0 -1
- package/tools/definitions/get_web_room_feature_detail_def.js +0 -95
- package/tools/definitions/get_web_room_feature_detail_def.js.map +0 -1
- package/tools/definitions/record_prompt_def.js +0 -53
- package/tools/definitions/record_prompt_def.js.map +0 -1
- package/tools/definitions/record_result_def.js +0 -30
- package/tools/definitions/record_result_def.js.map +0 -1
- package/tools/live/get-native-live-uikit-integration.js +0 -101
- 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 -101
- package/tools/live/get_native_live_uikit_interaction.js.map +0 -1
- package/tools/native_live/get-native-live-api.js +0 -31
- package/tools/native_live/get-native-live-api.js.map +0 -1
- package/tools/room/get-web-room-feature-detail.js.map +0 -1
- package/tools/room/get-web-room-integration.js.map +0 -1
- package/tools/rtcengine/get-rtcengine-web-sdk-integration.js +0 -28
- package/tools/rtcengine/get-rtcengine-web-sdk-integration.js.map +0 -1
- package/tools/rtcengine/get-trtc-sdk-faq.js +0 -32
- package/tools/rtcengine/get-trtc-sdk-faq.js.map +0 -1
- package/tools/rtcengine/get-trtc-web-sdk-api.js +0 -28
- package/tools/rtcengine/get-trtc-web-sdk-api.js.map +0 -1
- package/tools/rtcengine/get-trtc-web-sdk-faq.js +0 -30
- package/tools/rtcengine/get-trtc-web-sdk-faq.js.map +0 -1
- package/tools/rtcengine/get-trtc-web-sdk-integration.js +0 -29
- package/tools/rtcengine/get-trtc-web-sdk-integration.js.map +0 -1
- package/tools/rtcengine/get-trtc-web-sdk-plugin.js +0 -45
- package/tools/rtcengine/get-trtc-web-sdk-plugin.js.map +0 -1
- package/tools/trtc/get-trtc-native-api.js +0 -31
- package/tools/trtc/get-trtc-native-api.js.map +0 -1
- package/utils/handle-component-name.js +0 -33
- package/utils/handle-component-name.js.map +0 -1
- /package/resource/doc/{rtcengine/web → callkit/core-sdk}/.gitkeep +0 -0
- /package/resource/doc/{chatuikit → chatkit}/faq/common/server_error_code.md +0 -0
- /package/resource/doc/{chatuikit → chatkit}/flutter/faq.md +0 -0
- /package/resource/doc/{chatuikit → chatkit}/react/faq.md +0 -0
|
@@ -3,449 +3,172 @@
|
|
|
3
3
|
## 概述
|
|
4
4
|
`TXAudioEffectManager.h` 是腾讯云实时音视频(TRTC SDK ) iOS 平台的背景音乐、短音效和人声特效的管理类文档,用于对背景音乐、短音效和人声特效进行设置的管理类。
|
|
5
5
|
|
|
6
|
-
|
|
7
6
|
## TXAudioEffectManager
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
<tr>
|
|
34
|
-
<td rowspan="1" colSpan="1" >[setVoiceChangerType:](https://write.woa.com/document/87029789200396288)</td>
|
|
35
|
-
|
|
36
|
-
<td rowspan="1" colSpan="1" >设置人声的变声特效。</td>
|
|
37
|
-
</tr>
|
|
38
|
-
|
|
39
|
-
<tr>
|
|
40
|
-
<td rowspan="1" colSpan="1" >[setVoiceVolume:](https://write.woa.com/document/87029789200396288)</td>
|
|
41
|
-
|
|
42
|
-
<td rowspan="1" colSpan="1" >设置语音音量。</td>
|
|
43
|
-
</tr>
|
|
44
|
-
|
|
45
|
-
<tr>
|
|
46
|
-
<td rowspan="1" colSpan="1" >[setVoicePitch:](https://write.woa.com/document/87029789200396288)</td>
|
|
47
|
-
|
|
48
|
-
<td rowspan="1" colSpan="1" >设置语音音调。</td>
|
|
49
|
-
</tr>
|
|
50
|
-
|
|
51
|
-
<tr>
|
|
52
|
-
<td rowspan="1" colSpan="1" >[startPlayMusic:onStart:onProgress:onComplete:](https://write.woa.com/document/87029789200396288)</td>
|
|
53
|
-
|
|
54
|
-
<td rowspan="1" colSpan="1" >开始播放背景音乐。</td>
|
|
55
|
-
</tr>
|
|
56
|
-
|
|
57
|
-
<tr>
|
|
58
|
-
<td rowspan="1" colSpan="1" >[stopPlayMusic:](https://write.woa.com/document/87029789200396288)</td>
|
|
59
|
-
|
|
60
|
-
<td rowspan="1" colSpan="1" >停止播放背景音乐。</td>
|
|
61
|
-
</tr>
|
|
62
|
-
|
|
63
|
-
<tr>
|
|
64
|
-
<td rowspan="1" colSpan="1" >[pausePlayMusic:](https://write.woa.com/document/87029789200396288)</td>
|
|
65
|
-
|
|
66
|
-
<td rowspan="1" colSpan="1" >暂停播放背景音乐。</td>
|
|
67
|
-
</tr>
|
|
68
|
-
|
|
69
|
-
<tr>
|
|
70
|
-
<td rowspan="1" colSpan="1" >[resumePlayMusic:](https://write.woa.com/document/87029789200396288)</td>
|
|
71
|
-
|
|
72
|
-
<td rowspan="1" colSpan="1" >恢复播放背景音乐。</td>
|
|
73
|
-
</tr>
|
|
74
|
-
|
|
75
|
-
<tr>
|
|
76
|
-
<td rowspan="1" colSpan="1" >[setAllMusicVolume:](https://write.woa.com/document/87029789200396288)</td>
|
|
77
|
-
|
|
78
|
-
<td rowspan="1" colSpan="1" >设置所有背景音乐的本地音量和远端音量的大小。</td>
|
|
79
|
-
</tr>
|
|
80
|
-
|
|
81
|
-
<tr>
|
|
82
|
-
<td rowspan="1" colSpan="1" >[setMusicPublishVolume:volume:](https://write.woa.com/document/87029789200396288)</td>
|
|
83
|
-
|
|
84
|
-
<td rowspan="1" colSpan="1" >设置某一首背景音乐的远端音量的大小。</td>
|
|
85
|
-
</tr>
|
|
86
|
-
|
|
87
|
-
<tr>
|
|
88
|
-
<td rowspan="1" colSpan="1" >[setMusicPlayoutVolume:volume:](https://write.woa.com/document/87029789200396288)</td>
|
|
89
|
-
|
|
90
|
-
<td rowspan="1" colSpan="1" >设置某一首背景音乐的本地音量的大小。</td>
|
|
91
|
-
</tr>
|
|
92
|
-
|
|
93
|
-
<tr>
|
|
94
|
-
<td rowspan="1" colSpan="1" >[setMusicPitch:pitch:](https://write.woa.com/document/87029789200396288)</td>
|
|
95
|
-
|
|
96
|
-
<td rowspan="1" colSpan="1" >调整背景音乐的音调高低。</td>
|
|
97
|
-
</tr>
|
|
98
|
-
|
|
99
|
-
<tr>
|
|
100
|
-
<td rowspan="1" colSpan="1" >[setMusicSpeedRate:speedRate:](https://write.woa.com/document/87029789200396288)</td>
|
|
101
|
-
|
|
102
|
-
<td rowspan="1" colSpan="1" >调整背景音乐的变速效果。</td>
|
|
103
|
-
</tr>
|
|
104
|
-
|
|
105
|
-
<tr>
|
|
106
|
-
<td rowspan="1" colSpan="1" >[getMusicCurrentPosInMS:](https://write.woa.com/document/87029789200396288)</td>
|
|
107
|
-
|
|
108
|
-
<td rowspan="1" colSpan="1" >获取背景音乐的播放进度(单位:毫秒)。</td>
|
|
109
|
-
</tr>
|
|
110
|
-
|
|
111
|
-
<tr>
|
|
112
|
-
<td rowspan="1" colSpan="1" >[getMusicDurationInMS:](https://write.woa.com/document/87029789200396288)</td>
|
|
113
|
-
|
|
114
|
-
<td rowspan="1" colSpan="1" >获取背景音乐的总时长(单位:毫秒)。</td>
|
|
115
|
-
</tr>
|
|
116
|
-
|
|
117
|
-
<tr>
|
|
118
|
-
<td rowspan="1" colSpan="1" >[seekMusicToPosInMS:pts:](https://write.woa.com/document/87029789200396288)</td>
|
|
119
|
-
|
|
120
|
-
<td rowspan="1" colSpan="1" >设置背景音乐的播放进度(单位:毫秒)。</td>
|
|
121
|
-
</tr>
|
|
122
|
-
|
|
123
|
-
<tr>
|
|
124
|
-
<td rowspan="1" colSpan="1" >[setMusicScratchSpeedRate:speedRate:](https://write.woa.com/document/87029789200396288)</td>
|
|
125
|
-
|
|
126
|
-
<td rowspan="1" colSpan="1" >调整搓碟的变速效果。</td>
|
|
127
|
-
</tr>
|
|
128
|
-
|
|
129
|
-
<tr>
|
|
130
|
-
<td rowspan="1" colSpan="1" >[preloadMusic:onProgress:onError:](https://write.woa.com/document/87029789200396288)</td>
|
|
131
|
-
|
|
132
|
-
<td rowspan="1" colSpan="1" >预加载背景音乐。</td>
|
|
133
|
-
</tr>
|
|
134
|
-
|
|
135
|
-
<tr>
|
|
136
|
-
<td rowspan="1" colSpan="1" >[getMusicTrackCount:](https://write.woa.com/document/87029789200396288)</td>
|
|
137
|
-
|
|
138
|
-
<td rowspan="1" colSpan="1" >获取背景音乐的音轨数量。</td>
|
|
139
|
-
</tr>
|
|
140
|
-
|
|
141
|
-
<tr>
|
|
142
|
-
<td rowspan="1" colSpan="1" >[setMusicTrack:track:](https://write.woa.com/document/87029789200396288)</td>
|
|
143
|
-
|
|
144
|
-
<td rowspan="1" colSpan="1" >指定背景音乐的播放音轨。</td>
|
|
145
|
-
</tr>
|
|
146
|
-
</table>
|
|
147
|
-
|
|
7
|
+
| 函数列表 | 描述 |
|
|
8
|
+
| --- | --- |
|
|
9
|
+
| enableVoiceEarMonitor: | 开启耳返。 |
|
|
10
|
+
| setVoiceEarMonitorVolume: | 设置耳返音量。 |
|
|
11
|
+
| setVoiceReverbType: | 设置人声的混响效果。 |
|
|
12
|
+
| setVoiceChangerType: | 设置人声的变声特效。 |
|
|
13
|
+
| setVoiceVolume: | 设置语音音量。 |
|
|
14
|
+
| setVoicePitch: | 设置语音音调。 |
|
|
15
|
+
| startPlayMusic:onStart:onProgress:onComplete: | 开始播放背景音乐。 |
|
|
16
|
+
| stopPlayMusic: | 停止播放背景音乐。 |
|
|
17
|
+
| pausePlayMusic: | 暂停播放背景音乐。 |
|
|
18
|
+
| resumePlayMusic: | 恢复播放背景音乐。 |
|
|
19
|
+
| setAllMusicVolume: | 设置所有背景音乐的本地音量和远端音量的大小。 |
|
|
20
|
+
| setMusicPublishVolume:volume: | 设置某一首背景音乐的远端音量的大小。 |
|
|
21
|
+
| setMusicPlayoutVolume:volume: | 设置某一首背景音乐的本地音量的大小。 |
|
|
22
|
+
| setMusicPitch:pitch: | 调整背景音乐的音调高低。 |
|
|
23
|
+
| setMusicSpeedRate:speedRate: | 调整背景音乐的变速效果。 |
|
|
24
|
+
| getMusicCurrentPosInMS: | 获取背景音乐的播放进度(单位:毫秒)。 |
|
|
25
|
+
| getMusicDurationInMS: | 获取背景音乐的总时长(单位:毫秒)。 |
|
|
26
|
+
| seekMusicToPosInMS:pts: | 设置背景音乐的播放进度(单位:毫秒)。 |
|
|
27
|
+
| setMusicScratchSpeedRate:speedRate: | 调整搓碟的变速效果。 |
|
|
28
|
+
| preloadMusic:onProgress:onError: | 预加载背景音乐。 |
|
|
29
|
+
| getMusicTrackCount: | 获取背景音乐的音轨数量。 |
|
|
30
|
+
| setMusicTrack:track: | 指定背景音乐的播放音轨。 |
|
|
148
31
|
|
|
149
32
|
## 结构体类型
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
<td rowspan="1" colSpan="1" >描述</td>
|
|
155
|
-
</tr>
|
|
156
|
-
|
|
157
|
-
<tr>
|
|
158
|
-
<td rowspan="1" colSpan="1" >[TXAudioMusicParam](https://write.woa.com/document/87029789200396288)</td>
|
|
159
|
-
|
|
160
|
-
<td rowspan="1" colSpan="1" >背景音乐的播放控制信息</td>
|
|
161
|
-
</tr>
|
|
162
|
-
</table>
|
|
163
|
-
|
|
33
|
+
| 函数列表 | 描述 |
|
|
34
|
+
| --- | --- |
|
|
35
|
+
| TXAudioMusicParam | 背景音乐的播放控制信息 |
|
|
164
36
|
|
|
165
37
|
## 枚举类型
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
<td rowspan="1" colSpan="1" >描述</td>
|
|
171
|
-
</tr>
|
|
172
|
-
|
|
173
|
-
<tr>
|
|
174
|
-
<td rowspan="1" colSpan="1" >[TXVoiceReverbType](https://write.woa.com/document/87029789200396288)</td>
|
|
175
|
-
|
|
176
|
-
<td rowspan="1" colSpan="1" >混响特效</td>
|
|
177
|
-
</tr>
|
|
178
|
-
|
|
179
|
-
<tr>
|
|
180
|
-
<td rowspan="1" colSpan="1" >[TXVoiceChangeType](https://write.woa.com/document/87029789200396288)</td>
|
|
181
|
-
|
|
182
|
-
<td rowspan="1" colSpan="1" >变声特效</td>
|
|
183
|
-
</tr>
|
|
184
|
-
</table>
|
|
185
|
-
|
|
38
|
+
| 枚举类型 | 描述 |
|
|
39
|
+
| --- | --- |
|
|
40
|
+
| TXVoiceReverbType | 混响特效 |
|
|
41
|
+
| TXVoiceChangeType | 变声特效 |
|
|
186
42
|
|
|
187
43
|
## enableVoiceEarMonitor:
|
|
188
44
|
|
|
189
|
-
|
|
190
|
-
|
|
191
45
|
#### 开启耳返。
|
|
192
46
|
|
|
193
47
|
主播开启耳返后,可以在耳机里听到麦克风采集到的自己发出的声音,该特效适用于主播唱歌的应用场景中。
|
|
194
48
|
|
|
195
|
-
|
|
196
|
-
|
|
197
49
|
需要您注意的是,由于蓝牙耳机的硬件延迟非常高,所以在主播佩戴蓝牙耳机时无法开启此特效,请尽量在用户界面上提示主播佩戴有线耳机。
|
|
198
50
|
|
|
199
51
|
同时也需要注意,并非所有的手机开启此特效后都能达到优秀的耳返效果,我们已经对部分耳返效果不佳的手机屏蔽了该特效。
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
<td rowspan="1" colSpan="1" >描述</td>
|
|
205
|
-
</tr>
|
|
206
|
-
|
|
207
|
-
<tr>
|
|
208
|
-
<td rowspan="1" colSpan="1" >enable</td>
|
|
209
|
-
|
|
210
|
-
<td rowspan="1" colSpan="1" >YES:开启;NO:关闭。</td>
|
|
211
|
-
</tr>
|
|
212
|
-
</table>
|
|
213
|
-
|
|
52
|
+
| 参数 | 描述 |
|
|
53
|
+
| --- | --- |
|
|
54
|
+
| enable | YES:开启;NO:关闭。 |
|
|
214
55
|
|
|
215
56
|
> **注意**
|
|
216
|
-
>
|
|
57
|
+
>
|
|
217
58
|
|
|
218
59
|
> 仅在主播佩戴耳机时才能开启此特效,同时请您提示主播佩戴有线耳机。
|
|
219
|
-
>
|
|
220
|
-
|
|
60
|
+
>
|
|
221
61
|
|
|
222
62
|
## setVoiceEarMonitorVolume:
|
|
223
63
|
|
|
224
|
-
|
|
225
|
-
|
|
226
64
|
#### 设置耳返音量。
|
|
227
65
|
|
|
228
66
|
通过该接口您可以设置耳返特效中声音的音量大小。
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
<td rowspan="1" colSpan="1" >描述</td>
|
|
234
|
-
</tr>
|
|
235
|
-
|
|
236
|
-
<tr>
|
|
237
|
-
<td rowspan="1" colSpan="1" >volume</td>
|
|
238
|
-
|
|
239
|
-
<td rowspan="1" colSpan="1" >音量大小,取值范围为 [0, 150],默认值:100。</td>
|
|
240
|
-
</tr>
|
|
241
|
-
</table>
|
|
242
|
-
|
|
67
|
+
| 参数 | 描述 |
|
|
68
|
+
| --- | --- |
|
|
69
|
+
| volume | 音量大小,取值范围为 [0, 150],默认值:100。 |
|
|
243
70
|
|
|
244
71
|
> **注意**
|
|
245
|
-
>
|
|
72
|
+
>
|
|
246
73
|
|
|
247
74
|
> 耳返的音量大小是影响用户耳返体验的重要因素之一,考虑到不同用户对音量的敏感度不同,强烈建议您在 UI 界面上开放耳返音量的调节滑杆,调节范围建议在 0~150 之间,其中 100~150 的增益效果对于部分采集音量较小的 Android 手机很有帮助。
|
|
248
|
-
>
|
|
249
|
-
|
|
75
|
+
>
|
|
250
76
|
|
|
251
77
|
## setVoiceReverbType:
|
|
252
78
|
|
|
253
|
-
|
|
254
|
-
|
|
255
79
|
#### 设置人声的混响效果。
|
|
256
80
|
|
|
257
|
-
通过该接口您可以设置人声的混响效果,具体特效请参见枚举定义
|
|
81
|
+
通过该接口您可以设置人声的混响效果,具体特效请参见枚举定义 TXVoiceReverbType。
|
|
258
82
|
|
|
259
83
|
> **注意**
|
|
260
|
-
>
|
|
84
|
+
>
|
|
261
85
|
|
|
262
86
|
> 设置的效果在退出房间后会自动失效,如果下次进房还需要对应特效,需要调用此接口再次进行设置。
|
|
263
|
-
>
|
|
264
|
-
|
|
87
|
+
>
|
|
265
88
|
|
|
266
89
|
## setVoiceChangerType:
|
|
267
90
|
|
|
268
|
-
|
|
269
|
-
|
|
270
91
|
#### 设置人声的变声特效。
|
|
271
92
|
|
|
272
|
-
通过该接口您可以设置人声的变声特效,具体特效请参见枚举定义
|
|
93
|
+
通过该接口您可以设置人声的变声特效,具体特效请参见枚举定义 TXVoiceChangeType。
|
|
273
94
|
|
|
274
95
|
> **注意**
|
|
275
|
-
>
|
|
96
|
+
>
|
|
276
97
|
|
|
277
98
|
> 设置的效果在退出房间后会自动失效,如果下次进房还需要对应特效,需要调用此接口再次进行设置。
|
|
278
|
-
>
|
|
279
|
-
|
|
99
|
+
>
|
|
280
100
|
|
|
281
101
|
## setVoiceVolume:
|
|
282
102
|
|
|
283
|
-
|
|
284
|
-
|
|
285
103
|
#### 设置语音音量。
|
|
286
104
|
|
|
287
|
-
该接口可以设置语音音量的大小,一般配合音乐音量的设置接口
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
<td rowspan="1" colSpan="1" >描述</td>
|
|
293
|
-
</tr>
|
|
294
|
-
|
|
295
|
-
<tr>
|
|
296
|
-
<td rowspan="1" colSpan="1" >volume</td>
|
|
297
|
-
|
|
298
|
-
<td rowspan="1" colSpan="1" >音量大小,取值范围为 [0 - 150],默认值:100。</td>
|
|
299
|
-
</tr>
|
|
300
|
-
</table>
|
|
301
|
-
|
|
105
|
+
该接口可以设置语音音量的大小,一般配合音乐音量的设置接口 setAllMusicVolume 协同使用,用于调谐语音和音乐在混音前各自的音量占比。
|
|
106
|
+
| 参数 | 描述 |
|
|
107
|
+
| --- | --- |
|
|
108
|
+
| volume | 音量大小,取值范围为 [0 - 150],默认值:100。 |
|
|
302
109
|
|
|
303
110
|
> **注意**
|
|
304
|
-
>
|
|
111
|
+
>
|
|
305
112
|
|
|
306
113
|
> 如果将 volume 设置成 100 之后感觉音量还是太小,可以将 volume 最大设置成 150,但超过 100 的 volume 会有爆音的风险,请谨慎操作。
|
|
307
|
-
>
|
|
308
|
-
|
|
114
|
+
>
|
|
309
115
|
|
|
310
116
|
## setVoicePitch:
|
|
311
117
|
|
|
312
|
-
|
|
313
|
-
|
|
314
118
|
#### 设置语音音调。
|
|
315
119
|
|
|
316
120
|
该接口可以设置语音音调,用于实现变调不变速的目的。
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
<td rowspan="1" colSpan="1" >描述</td>
|
|
322
|
-
</tr>
|
|
323
|
-
|
|
324
|
-
<tr>
|
|
325
|
-
<td rowspan="1" colSpan="1" >pitch</td>
|
|
326
|
-
|
|
327
|
-
<td rowspan="1" colSpan="1" >音调,取值范围[-1.0f, 1.0f],默认值:0.0f。</td>
|
|
328
|
-
</tr>
|
|
329
|
-
</table>
|
|
330
|
-
|
|
121
|
+
| 参数 | 描述 |
|
|
122
|
+
| --- | --- |
|
|
123
|
+
| pitch | 音调,取值范围[-1.0f, 1.0f],默认值:0.0f。 |
|
|
331
124
|
|
|
332
125
|
## startPlayMusic:onStart:onProgress:onComplete:
|
|
333
126
|
|
|
334
|
-
|
|
335
|
-
|
|
336
127
|
#### 开始播放背景音乐。
|
|
337
128
|
|
|
338
129
|
每个音乐都需要您指定具体的 ID,您可以通过该 ID 对音乐的开始、停止、音量等进行设置。
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
<tr>
|
|
347
|
-
<td rowspan="1" colSpan="1" >completeBlock</td>
|
|
348
|
-
|
|
349
|
-
<td rowspan="1" colSpan="1" >播放结束回调。</td>
|
|
350
|
-
</tr>
|
|
351
|
-
|
|
352
|
-
<tr>
|
|
353
|
-
<td rowspan="1" colSpan="1" >musicParam</td>
|
|
354
|
-
|
|
355
|
-
<td rowspan="1" colSpan="1" >音乐参数。</td>
|
|
356
|
-
</tr>
|
|
357
|
-
|
|
358
|
-
<tr>
|
|
359
|
-
<td rowspan="1" colSpan="1" >progressBlock</td>
|
|
360
|
-
|
|
361
|
-
<td rowspan="1" colSpan="1" >播放进度回调。</td>
|
|
362
|
-
</tr>
|
|
363
|
-
|
|
364
|
-
<tr>
|
|
365
|
-
<td rowspan="1" colSpan="1" >startBlock</td>
|
|
366
|
-
|
|
367
|
-
<td rowspan="1" colSpan="1" >播放开始回调。</td>
|
|
368
|
-
</tr>
|
|
369
|
-
</table>
|
|
370
|
-
|
|
130
|
+
| 参数 | 描述 |
|
|
131
|
+
| --- | --- |
|
|
132
|
+
| completeBlock | 播放结束回调。 |
|
|
133
|
+
| musicParam | 音乐参数。 |
|
|
134
|
+
| progressBlock | 播放进度回调。 |
|
|
135
|
+
| startBlock | 播放开始回调。 |
|
|
371
136
|
|
|
372
137
|
> **注意**
|
|
373
|
-
>
|
|
138
|
+
>
|
|
374
139
|
|
|
375
140
|
> 1. 如果要多次播放同一首背景音乐,请不要每次播放都分配一个新的 ID,我们推荐使用相同的 ID。
|
|
376
|
-
>
|
|
141
|
+
>
|
|
377
142
|
|
|
378
143
|
> 2. 若您希望同时播放多首不同的音乐,请为不同的音乐分配不同的 ID 进行播放。
|
|
379
|
-
>
|
|
144
|
+
>
|
|
380
145
|
|
|
381
146
|
> 3. 如果使用同一个 ID 播放不同音乐,SDK 会先停止播放旧的音乐,再播放新的音乐。
|
|
382
|
-
>
|
|
383
|
-
|
|
147
|
+
>
|
|
384
148
|
|
|
385
149
|
## stopPlayMusic:
|
|
386
150
|
|
|
387
|
-
|
|
388
|
-
|
|
389
151
|
#### 停止播放背景音乐。
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
<td rowspan="1" colSpan="1" >描述</td>
|
|
395
|
-
</tr>
|
|
396
|
-
|
|
397
|
-
<tr>
|
|
398
|
-
<td rowspan="1" colSpan="1" >id</td>
|
|
399
|
-
|
|
400
|
-
<td rowspan="1" colSpan="1" >音乐 ID。</td>
|
|
401
|
-
</tr>
|
|
402
|
-
</table>
|
|
403
|
-
|
|
152
|
+
| 参数 | 描述 |
|
|
153
|
+
| --- | --- |
|
|
154
|
+
| id | 音乐 ID。 |
|
|
404
155
|
|
|
405
156
|
## pausePlayMusic:
|
|
406
157
|
|
|
407
|
-
|
|
408
|
-
|
|
409
158
|
#### 暂停播放背景音乐。
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
<td rowspan="1" colSpan="1" >描述</td>
|
|
415
|
-
</tr>
|
|
416
|
-
|
|
417
|
-
<tr>
|
|
418
|
-
<td rowspan="1" colSpan="1" >id</td>
|
|
419
|
-
|
|
420
|
-
<td rowspan="1" colSpan="1" >音乐 ID。</td>
|
|
421
|
-
</tr>
|
|
422
|
-
</table>
|
|
423
|
-
|
|
159
|
+
| 参数 | 描述 |
|
|
160
|
+
| --- | --- |
|
|
161
|
+
| id | 音乐 ID。 |
|
|
424
162
|
|
|
425
163
|
## resumePlayMusic:
|
|
426
164
|
|
|
427
|
-
|
|
428
|
-
|
|
429
165
|
#### 恢复播放背景音乐。
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
<td rowspan="1" colSpan="1" >描述</td>
|
|
435
|
-
</tr>
|
|
436
|
-
|
|
437
|
-
<tr>
|
|
438
|
-
<td rowspan="1" colSpan="1" >id</td>
|
|
439
|
-
|
|
440
|
-
<td rowspan="1" colSpan="1" >音乐 ID。</td>
|
|
441
|
-
</tr>
|
|
442
|
-
</table>
|
|
443
|
-
|
|
166
|
+
| 参数 | 描述 |
|
|
167
|
+
| --- | --- |
|
|
168
|
+
| id | 音乐 ID。 |
|
|
444
169
|
|
|
445
170
|
## setAllMusicVolume:
|
|
446
171
|
|
|
447
|
-
|
|
448
|
-
|
|
449
172
|
#### 设置所有背景音乐的本地音量和远端音量的大小。
|
|
450
173
|
|
|
451
174
|
该接口可以设置所有背景音乐的本地音量和远端音量。
|
|
@@ -453,169 +176,70 @@
|
|
|
453
176
|
|
|
454
177
|
- 远端音量:即观众端可以听到的背景音乐的音量大小。
|
|
455
178
|
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
<td rowspan="1" colSpan="1" >描述</td>
|
|
461
|
-
</tr>
|
|
462
|
-
|
|
463
|
-
<tr>
|
|
464
|
-
<td rowspan="1" colSpan="1" >volume</td>
|
|
465
|
-
|
|
466
|
-
<td rowspan="1" colSpan="1" >音量大小,取值范围为 [0, 150],默认值:60。</td>
|
|
467
|
-
</tr>
|
|
468
|
-
</table>
|
|
469
|
-
|
|
179
|
+
| 参数 | 描述 |
|
|
180
|
+
| --- | --- |
|
|
181
|
+
| volume | 音量大小,取值范围为 [0, 150],默认值:60。 |
|
|
470
182
|
|
|
471
183
|
> **注意**
|
|
472
|
-
>
|
|
184
|
+
>
|
|
473
185
|
|
|
474
186
|
> 如果将 volume 设置成 100 之后感觉音量还是太小,可以将 volume 最大设置成 150,但超过 100 的 volume 会有爆音的风险,请谨慎操作。
|
|
475
|
-
>
|
|
476
|
-
|
|
187
|
+
>
|
|
477
188
|
|
|
478
189
|
## setMusicPublishVolume:volume:
|
|
479
190
|
|
|
480
|
-
|
|
481
|
-
|
|
482
191
|
#### 设置某一首背景音乐的远端音量的大小。
|
|
483
192
|
|
|
484
193
|
该接口可以细粒度地控制每一首背景音乐的远端音量,也就是观众端可听到的背景音乐的音量大小。
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
<td rowspan="1" colSpan="1" >描述</td>
|
|
490
|
-
</tr>
|
|
491
|
-
|
|
492
|
-
<tr>
|
|
493
|
-
<td rowspan="1" colSpan="1" >id</td>
|
|
494
|
-
|
|
495
|
-
<td rowspan="1" colSpan="1" >音乐 ID。</td>
|
|
496
|
-
</tr>
|
|
497
|
-
|
|
498
|
-
<tr>
|
|
499
|
-
<td rowspan="1" colSpan="1" >volume</td>
|
|
500
|
-
|
|
501
|
-
<td rowspan="1" colSpan="1" >音量大小,取值范围为 [0, 150];默认值:60。</td>
|
|
502
|
-
</tr>
|
|
503
|
-
</table>
|
|
504
|
-
|
|
194
|
+
| 参数 | 描述 |
|
|
195
|
+
| --- | --- |
|
|
196
|
+
| id | 音乐 ID。 |
|
|
197
|
+
| volume | 音量大小,取值范围为 [0, 150];默认值:60。 |
|
|
505
198
|
|
|
506
199
|
> **注意**
|
|
507
|
-
>
|
|
200
|
+
>
|
|
508
201
|
|
|
509
202
|
> 如果将 volume 设置成 100 之后感觉音量还是太小,可以将 volume 最大设置成 150,但超过 100 的 volume 会有爆音的风险,请谨慎操作。
|
|
510
|
-
>
|
|
511
|
-
|
|
203
|
+
>
|
|
512
204
|
|
|
513
205
|
## setMusicPlayoutVolume:volume:
|
|
514
206
|
|
|
515
|
-
|
|
516
|
-
|
|
517
207
|
#### 设置某一首背景音乐的本地音量的大小。
|
|
518
208
|
|
|
519
209
|
该接口可以细粒度地控制每一首背景音乐的本地音量,也就是主播本地可以听到的背景音乐的音量大小。
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
<td rowspan="1" colSpan="1" >描述</td>
|
|
525
|
-
</tr>
|
|
526
|
-
|
|
527
|
-
<tr>
|
|
528
|
-
<td rowspan="1" colSpan="1" >id</td>
|
|
529
|
-
|
|
530
|
-
<td rowspan="1" colSpan="1" >音乐 ID。</td>
|
|
531
|
-
</tr>
|
|
532
|
-
|
|
533
|
-
<tr>
|
|
534
|
-
<td rowspan="1" colSpan="1" >volume</td>
|
|
535
|
-
|
|
536
|
-
<td rowspan="1" colSpan="1" >音量大小,取值范围为 [0, 150],默认值:60。</td>
|
|
537
|
-
</tr>
|
|
538
|
-
</table>
|
|
539
|
-
|
|
210
|
+
| 参数 | 描述 |
|
|
211
|
+
| --- | --- |
|
|
212
|
+
| id | 音乐 ID。 |
|
|
213
|
+
| volume | 音量大小,取值范围为 [0, 150],默认值:60。 |
|
|
540
214
|
|
|
541
215
|
> **注意**
|
|
542
|
-
>
|
|
216
|
+
>
|
|
543
217
|
|
|
544
218
|
> 如果将 volume 设置成 100 之后感觉音量还是太小,可以将 volume 最大设置成 150,但超过 100 的 volume 会有爆音的风险,请谨慎操作。
|
|
545
|
-
>
|
|
546
|
-
|
|
219
|
+
>
|
|
547
220
|
|
|
548
221
|
## setMusicPitch:pitch:
|
|
549
222
|
|
|
550
|
-
|
|
551
|
-
|
|
552
223
|
#### 调整背景音乐的音调高低。
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
<td rowspan="1" colSpan="1" >描述</td>
|
|
558
|
-
</tr>
|
|
559
|
-
|
|
560
|
-
<tr>
|
|
561
|
-
<td rowspan="1" colSpan="1" >id</td>
|
|
562
|
-
|
|
563
|
-
<td rowspan="1" colSpan="1" >音乐 ID。</td>
|
|
564
|
-
</tr>
|
|
565
|
-
|
|
566
|
-
<tr>
|
|
567
|
-
<td rowspan="1" colSpan="1" >pitch</td>
|
|
568
|
-
|
|
569
|
-
<td rowspan="1" colSpan="1" >音调,取值范围为 [-1.0f, 1.0f] 之间的浮点数,默认值:0.0f。</td>
|
|
570
|
-
</tr>
|
|
571
|
-
</table>
|
|
572
|
-
|
|
224
|
+
| 参数 | 描述 |
|
|
225
|
+
| --- | --- |
|
|
226
|
+
| id | 音乐 ID。 |
|
|
227
|
+
| pitch | 音调,取值范围为 [-1.0f, 1.0f] 之间的浮点数,默认值:0.0f。 |
|
|
573
228
|
|
|
574
229
|
## setMusicSpeedRate:speedRate:
|
|
575
230
|
|
|
576
|
-
|
|
577
|
-
|
|
578
231
|
#### 调整背景音乐的变速效果。
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
<td rowspan="1" colSpan="1" >描述</td>
|
|
584
|
-
</tr>
|
|
585
|
-
|
|
586
|
-
<tr>
|
|
587
|
-
<td rowspan="1" colSpan="1" >id</td>
|
|
588
|
-
|
|
589
|
-
<td rowspan="1" colSpan="1" >音乐 ID。</td>
|
|
590
|
-
</tr>
|
|
591
|
-
|
|
592
|
-
<tr>
|
|
593
|
-
<td rowspan="1" colSpan="1" >speedRate</td>
|
|
594
|
-
|
|
595
|
-
<td rowspan="1" colSpan="1" >速度,取值范围为 [0.5f, 2.0f] 之间的浮点数,默认值:1.0f。</td>
|
|
596
|
-
</tr>
|
|
597
|
-
</table>
|
|
598
|
-
|
|
232
|
+
| 参数 | 描述 |
|
|
233
|
+
| --- | --- |
|
|
234
|
+
| id | 音乐 ID。 |
|
|
235
|
+
| speedRate | 速度,取值范围为 [0.5f, 2.0f] 之间的浮点数,默认值:1.0f。 |
|
|
599
236
|
|
|
600
237
|
## getMusicCurrentPosInMS:
|
|
601
238
|
|
|
602
|
-
|
|
603
|
-
|
|
604
239
|
#### 获取背景音乐的播放进度(单位:毫秒)。
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
<td rowspan="1" colSpan="1" >描述</td>
|
|
610
|
-
</tr>
|
|
611
|
-
|
|
612
|
-
<tr>
|
|
613
|
-
<td rowspan="1" colSpan="1" >id</td>
|
|
614
|
-
|
|
615
|
-
<td rowspan="1" colSpan="1" >音乐 ID。</td>
|
|
616
|
-
</tr>
|
|
617
|
-
</table>
|
|
618
|
-
|
|
240
|
+
| 参数 | 描述 |
|
|
241
|
+
| --- | --- |
|
|
242
|
+
| id | 音乐 ID。 |
|
|
619
243
|
|
|
620
244
|
#### 返回值说明:
|
|
621
245
|
|
|
@@ -623,23 +247,10 @@
|
|
|
623
247
|
|
|
624
248
|
## getMusicDurationInMS:
|
|
625
249
|
|
|
626
|
-
|
|
627
|
-
|
|
628
250
|
#### 获取背景音乐的总时长(单位:毫秒)。
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
<td rowspan="1" colSpan="1" >描述</td>
|
|
634
|
-
</tr>
|
|
635
|
-
|
|
636
|
-
<tr>
|
|
637
|
-
<td rowspan="1" colSpan="1" >path</td>
|
|
638
|
-
|
|
639
|
-
<td rowspan="1" colSpan="1" >音乐文件路径。</td>
|
|
640
|
-
</tr>
|
|
641
|
-
</table>
|
|
642
|
-
|
|
251
|
+
| 参数 | 描述 |
|
|
252
|
+
| --- | --- |
|
|
253
|
+
| path | 音乐文件路径。 |
|
|
643
254
|
|
|
644
255
|
#### 返回值说明:
|
|
645
256
|
|
|
@@ -647,471 +258,143 @@
|
|
|
647
258
|
|
|
648
259
|
## seekMusicToPosInMS:pts:
|
|
649
260
|
|
|
650
|
-
|
|
651
|
-
|
|
652
261
|
#### 设置背景音乐的播放进度(单位:毫秒)。
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
<td rowspan="1" colSpan="1" >描述</td>
|
|
658
|
-
</tr>
|
|
659
|
-
|
|
660
|
-
<tr>
|
|
661
|
-
<td rowspan="1" colSpan="1" >id</td>
|
|
662
|
-
|
|
663
|
-
<td rowspan="1" colSpan="1" >音乐 ID。</td>
|
|
664
|
-
</tr>
|
|
665
|
-
|
|
666
|
-
<tr>
|
|
667
|
-
<td rowspan="1" colSpan="1" >pts</td>
|
|
668
|
-
|
|
669
|
-
<td rowspan="1" colSpan="1" >单位: 毫秒。</td>
|
|
670
|
-
</tr>
|
|
671
|
-
</table>
|
|
672
|
-
|
|
262
|
+
| 参数 | 描述 |
|
|
263
|
+
| --- | --- |
|
|
264
|
+
| id | 音乐 ID。 |
|
|
265
|
+
| pts | 单位: 毫秒。 |
|
|
673
266
|
|
|
674
267
|
> **注意**
|
|
675
|
-
>
|
|
268
|
+
>
|
|
676
269
|
|
|
677
270
|
> 请尽量避免过度频繁地调用该接口,因为该接口可能会再次读写音乐文件,耗时稍高。
|
|
678
|
-
>
|
|
271
|
+
>
|
|
679
272
|
|
|
680
273
|
> 因此,当用户拖拽音乐的播放进度条时,请在用户完成拖拽操作后再调用本接口。
|
|
681
|
-
>
|
|
274
|
+
>
|
|
682
275
|
|
|
683
276
|
> 因为 UI 上的进度条控件往往会以很高的频率反馈用户的拖拽进度,如不做频率限制,会导致较差的用户体验。
|
|
684
|
-
>
|
|
685
|
-
|
|
277
|
+
>
|
|
686
278
|
|
|
687
279
|
## setMusicScratchSpeedRate:speedRate:
|
|
688
280
|
|
|
689
|
-
|
|
690
|
-
|
|
691
281
|
#### 调整搓碟的变速效果。
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
<td rowspan="1" colSpan="1" >描述</td>
|
|
697
|
-
</tr>
|
|
698
|
-
|
|
699
|
-
<tr>
|
|
700
|
-
<td rowspan="1" colSpan="1" >id</td>
|
|
701
|
-
|
|
702
|
-
<td rowspan="1" colSpan="1" >音乐 ID。</td>
|
|
703
|
-
</tr>
|
|
704
|
-
|
|
705
|
-
<tr>
|
|
706
|
-
<td rowspan="1" colSpan="1" >scratchSpeedRate</td>
|
|
707
|
-
|
|
708
|
-
<td rowspan="1" colSpan="1" >搓碟速度,取值范围为 [-12.0, 12.0] 之间的浮点数,默认值是 1.0f,速度值正/负表示方向正/反,绝对值大小表示速度快慢。</td>
|
|
709
|
-
</tr>
|
|
710
|
-
</table>
|
|
711
|
-
|
|
282
|
+
| 参数 | 描述 |
|
|
283
|
+
| --- | --- |
|
|
284
|
+
| id | 音乐 ID。 |
|
|
285
|
+
| scratchSpeedRate | 搓碟速度,取值范围为 [-12.0, 12.0] 之间的浮点数,默认值是 1.0f,速度值正/负表示方向正/反,绝对值大小表示速度快慢。 |
|
|
712
286
|
|
|
713
287
|
> **注意**
|
|
714
|
-
>
|
|
288
|
+
>
|
|
715
289
|
|
|
716
290
|
> 前置条件 preloadMusic 成功。
|
|
717
|
-
>
|
|
718
|
-
|
|
291
|
+
>
|
|
719
292
|
|
|
720
293
|
## preloadMusic:onProgress:onError:
|
|
721
294
|
|
|
722
|
-
|
|
723
|
-
|
|
724
295
|
#### 预加载背景音乐。
|
|
725
296
|
|
|
726
297
|
每个音乐都需要您指定具体的 ID,您可以通过该 ID 对音乐的开始、停止、音量等进行设置。
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
<td rowspan="1" colSpan="1" >描述</td>
|
|
732
|
-
</tr>
|
|
733
|
-
|
|
734
|
-
<tr>
|
|
735
|
-
<td rowspan="1" colSpan="1" >preloadParam</td>
|
|
736
|
-
|
|
737
|
-
<td rowspan="1" colSpan="1" >预加载音乐参数。</td>
|
|
738
|
-
</tr>
|
|
739
|
-
</table>
|
|
740
|
-
|
|
298
|
+
| 参数 | 描述 |
|
|
299
|
+
| --- | --- |
|
|
300
|
+
| preloadParam | 预加载音乐参数。 |
|
|
741
301
|
|
|
742
302
|
> **注意**
|
|
743
|
-
>
|
|
744
|
-
|
|
745
|
-
> 1. 预先加载最多同时支持2个不同 ID 的预加载,且预加载时长不超过10分钟,使用完需调用 [stopPlayMusic](https://write.woa.com/document/87029789200396288),否则内存不释放。
|
|
746
|
-
>
|
|
303
|
+
>
|
|
747
304
|
|
|
748
|
-
>
|
|
749
|
-
>
|
|
305
|
+
> 1. 预先加载最多同时支持2个不同 ID 的预加载,且预加载时长不超过10分钟,使用完需调用 stopPlayMusic,否则内存不释放。
|
|
306
|
+
>
|
|
750
307
|
|
|
751
|
-
>
|
|
752
|
-
>
|
|
308
|
+
> 2. 若该ID对应的音乐正在播放中,预加载会失败,需先调用 stopPlayMusic。
|
|
309
|
+
>
|
|
753
310
|
|
|
311
|
+
> 3. 当 ` musicParam ` 和传入 startPlayMusic 的 ` musicParam ` 完全相同时,预加载有效。
|
|
312
|
+
>
|
|
754
313
|
|
|
755
314
|
## getMusicTrackCount:
|
|
756
315
|
|
|
757
|
-
|
|
758
|
-
|
|
759
316
|
#### 获取背景音乐的音轨数量。
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
<td rowspan="1" colSpan="1" >描述</td>
|
|
765
|
-
</tr>
|
|
766
|
-
|
|
767
|
-
<tr>
|
|
768
|
-
<td rowspan="1" colSpan="1" >id</td>
|
|
769
|
-
|
|
770
|
-
<td rowspan="1" colSpan="1" >音乐 ID。</td>
|
|
771
|
-
</tr>
|
|
772
|
-
</table>
|
|
773
|
-
|
|
317
|
+
| 参数 | 描述 |
|
|
318
|
+
| --- | --- |
|
|
319
|
+
| id | 音乐 ID。 |
|
|
774
320
|
|
|
775
321
|
## setMusicTrack:track:
|
|
776
322
|
|
|
777
|
-
|
|
778
|
-
|
|
779
323
|
#### 指定背景音乐的播放音轨。
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
<td rowspan="1" colSpan="1" >描述</td>
|
|
785
|
-
</tr>
|
|
786
|
-
|
|
787
|
-
<tr>
|
|
788
|
-
<td rowspan="1" colSpan="1" >id</td>
|
|
789
|
-
|
|
790
|
-
<td rowspan="1" colSpan="1" >音乐 ID。</td>
|
|
791
|
-
</tr>
|
|
792
|
-
|
|
793
|
-
<tr>
|
|
794
|
-
<td rowspan="1" colSpan="1" >index</td>
|
|
795
|
-
|
|
796
|
-
<td rowspan="1" colSpan="1" >默认播放第一个音轨。取值范围[0, 音轨总数)。</td>
|
|
797
|
-
</tr>
|
|
798
|
-
</table>
|
|
799
|
-
|
|
324
|
+
| 参数 | 描述 |
|
|
325
|
+
| --- | --- |
|
|
326
|
+
| id | 音乐 ID。 |
|
|
327
|
+
| index | 默认播放第一个音轨。取值范围0, 音轨总数)。 |
|
|
800
328
|
|
|
801
329
|
> **注意**
|
|
802
|
-
>
|
|
330
|
+
>
|
|
803
331
|
|
|
804
332
|
> 音轨总数量可通过 getMusicTrackCount 接口获取。
|
|
805
|
-
>
|
|
806
|
-
|
|
333
|
+
>
|
|
807
334
|
|
|
808
335
|
## TXVoiceReverbType
|
|
809
336
|
|
|
810
|
-
|
|
811
|
-
|
|
812
337
|
#### 混响特效
|
|
813
338
|
|
|
814
339
|
混响特效可以作用于人声之上,通过声学算法对声音进行叠加处理,模拟出各种不同环境下的临场感受,目前支持如下几种混响效果:
|
|
815
340
|
|
|
816
341
|
0:关闭;1:KTV;2:小房间;3:大会堂;4:低沉;5:洪亮;6:金属声;7:磁性;8:空灵;9:录音棚;10:悠扬 11:录音棚2。
|
|
817
|
-
|
|
818
|
-
|
|
819
|
-
|
|
820
|
-
|
|
821
|
-
|
|
822
|
-
|
|
823
|
-
|
|
824
|
-
|
|
825
|
-
|
|
826
|
-
|
|
827
|
-
|
|
828
|
-
|
|
829
|
-
|
|
830
|
-
|
|
831
|
-
<td rowspan="1" colSpan="1" >关闭特效</td>
|
|
832
|
-
</tr>
|
|
833
|
-
|
|
834
|
-
<tr>
|
|
835
|
-
<td rowspan="1" colSpan="1" >TXVoiceReverbType_1</td>
|
|
836
|
-
|
|
837
|
-
<td rowspan="1" colSpan="1" >1</td>
|
|
838
|
-
|
|
839
|
-
<td rowspan="1" colSpan="1" >KTV</td>
|
|
840
|
-
</tr>
|
|
841
|
-
|
|
842
|
-
<tr>
|
|
843
|
-
<td rowspan="1" colSpan="1" >TXVoiceReverbType_2</td>
|
|
844
|
-
|
|
845
|
-
<td rowspan="1" colSpan="1" >2</td>
|
|
846
|
-
|
|
847
|
-
<td rowspan="1" colSpan="1" >小房间</td>
|
|
848
|
-
</tr>
|
|
849
|
-
|
|
850
|
-
<tr>
|
|
851
|
-
<td rowspan="1" colSpan="1" >TXVoiceReverbType_3</td>
|
|
852
|
-
|
|
853
|
-
<td rowspan="1" colSpan="1" >3</td>
|
|
854
|
-
|
|
855
|
-
<td rowspan="1" colSpan="1" >大会堂</td>
|
|
856
|
-
</tr>
|
|
857
|
-
|
|
858
|
-
<tr>
|
|
859
|
-
<td rowspan="1" colSpan="1" >TXVoiceReverbType_4</td>
|
|
860
|
-
|
|
861
|
-
<td rowspan="1" colSpan="1" >4</td>
|
|
862
|
-
|
|
863
|
-
<td rowspan="1" colSpan="1" >低沉</td>
|
|
864
|
-
</tr>
|
|
865
|
-
|
|
866
|
-
<tr>
|
|
867
|
-
<td rowspan="1" colSpan="1" >TXVoiceReverbType_5</td>
|
|
868
|
-
|
|
869
|
-
<td rowspan="1" colSpan="1" >5</td>
|
|
870
|
-
|
|
871
|
-
<td rowspan="1" colSpan="1" >洪亮</td>
|
|
872
|
-
</tr>
|
|
873
|
-
|
|
874
|
-
<tr>
|
|
875
|
-
<td rowspan="1" colSpan="1" >TXVoiceReverbType_6</td>
|
|
876
|
-
|
|
877
|
-
<td rowspan="1" colSpan="1" >6</td>
|
|
878
|
-
|
|
879
|
-
<td rowspan="1" colSpan="1" >金属声</td>
|
|
880
|
-
</tr>
|
|
881
|
-
|
|
882
|
-
<tr>
|
|
883
|
-
<td rowspan="1" colSpan="1" >TXVoiceReverbType_7</td>
|
|
884
|
-
|
|
885
|
-
<td rowspan="1" colSpan="1" >7</td>
|
|
886
|
-
|
|
887
|
-
<td rowspan="1" colSpan="1" >磁性</td>
|
|
888
|
-
</tr>
|
|
889
|
-
|
|
890
|
-
<tr>
|
|
891
|
-
<td rowspan="1" colSpan="1" >TXVoiceReverbType_8</td>
|
|
892
|
-
|
|
893
|
-
<td rowspan="1" colSpan="1" >8</td>
|
|
894
|
-
|
|
895
|
-
<td rowspan="1" colSpan="1" >空灵</td>
|
|
896
|
-
</tr>
|
|
897
|
-
|
|
898
|
-
<tr>
|
|
899
|
-
<td rowspan="1" colSpan="1" >TXVoiceReverbType_9</td>
|
|
900
|
-
|
|
901
|
-
<td rowspan="1" colSpan="1" >9</td>
|
|
902
|
-
|
|
903
|
-
<td rowspan="1" colSpan="1" >录音棚</td>
|
|
904
|
-
</tr>
|
|
905
|
-
|
|
906
|
-
<tr>
|
|
907
|
-
<td rowspan="1" colSpan="1" >TXVoiceReverbType_10</td>
|
|
908
|
-
|
|
909
|
-
<td rowspan="1" colSpan="1" >10</td>
|
|
910
|
-
|
|
911
|
-
<td rowspan="1" colSpan="1" >悠扬</td>
|
|
912
|
-
</tr>
|
|
913
|
-
|
|
914
|
-
<tr>
|
|
915
|
-
<td rowspan="1" colSpan="1" >TXVoiceReverbType_11</td>
|
|
916
|
-
|
|
917
|
-
<td rowspan="1" colSpan="1" >11</td>
|
|
918
|
-
|
|
919
|
-
<td rowspan="1" colSpan="1" >录音棚2</td>
|
|
920
|
-
</tr>
|
|
921
|
-
</table>
|
|
922
|
-
|
|
342
|
+
| 枚举 | 取值 | 描述 |
|
|
343
|
+
| --- | --- | --- |
|
|
344
|
+
| TXVoiceReverbType_0 | 0 | 关闭特效 |
|
|
345
|
+
| TXVoiceReverbType_1 | 1 | KTV |
|
|
346
|
+
| TXVoiceReverbType_2 | 2 | 小房间 |
|
|
347
|
+
| TXVoiceReverbType_3 | 3 | 大会堂 |
|
|
348
|
+
| TXVoiceReverbType_4 | 4 | 低沉 |
|
|
349
|
+
| TXVoiceReverbType_5 | 5 | 洪亮 |
|
|
350
|
+
| TXVoiceReverbType_6 | 6 | 金属声 |
|
|
351
|
+
| TXVoiceReverbType_7 | 7 | 磁性 |
|
|
352
|
+
| TXVoiceReverbType_8 | 8 | 空灵 |
|
|
353
|
+
| TXVoiceReverbType_9 | 9 | 录音棚 |
|
|
354
|
+
| TXVoiceReverbType_10 | 10 | 悠扬 |
|
|
355
|
+
| TXVoiceReverbType_11 | 11 | 录音棚2 |
|
|
923
356
|
|
|
924
357
|
## TXVoiceChangeType
|
|
925
358
|
|
|
926
|
-
|
|
927
|
-
|
|
928
359
|
#### 变声特效
|
|
929
360
|
|
|
930
361
|
变声特效可以作用于人声之上,通过声学算法对人声进行二次处理,以获得与原始声音所不同的音色,目前支持如下几种变声特效:
|
|
931
362
|
|
|
932
363
|
0:关闭;1:熊孩子;2:萝莉;3:大叔;4:重金属;5:感冒;6:外语腔;7:困兽;8:肥宅;9:强电流;10:重机械;11:空灵;12:猪八戒;13:绿巨人。
|
|
933
|
-
|
|
934
|
-
|
|
935
|
-
|
|
936
|
-
|
|
937
|
-
|
|
938
|
-
|
|
939
|
-
|
|
940
|
-
|
|
941
|
-
|
|
942
|
-
|
|
943
|
-
|
|
944
|
-
|
|
945
|
-
|
|
946
|
-
|
|
947
|
-
|
|
948
|
-
|
|
949
|
-
|
|
950
|
-
<tr>
|
|
951
|
-
<td rowspan="1" colSpan="1" >TXVoiceChangeType_1</td>
|
|
952
|
-
|
|
953
|
-
<td rowspan="1" colSpan="1" >1</td>
|
|
954
|
-
|
|
955
|
-
<td rowspan="1" colSpan="1" >熊孩子</td>
|
|
956
|
-
</tr>
|
|
957
|
-
|
|
958
|
-
<tr>
|
|
959
|
-
<td rowspan="1" colSpan="1" >TXVoiceChangeType_2</td>
|
|
960
|
-
|
|
961
|
-
<td rowspan="1" colSpan="1" >2</td>
|
|
962
|
-
|
|
963
|
-
<td rowspan="1" colSpan="1" >萝莉</td>
|
|
964
|
-
</tr>
|
|
965
|
-
|
|
966
|
-
<tr>
|
|
967
|
-
<td rowspan="1" colSpan="1" >TXVoiceChangeType_3</td>
|
|
968
|
-
|
|
969
|
-
<td rowspan="1" colSpan="1" >3</td>
|
|
970
|
-
|
|
971
|
-
<td rowspan="1" colSpan="1" >大叔</td>
|
|
972
|
-
</tr>
|
|
973
|
-
|
|
974
|
-
<tr>
|
|
975
|
-
<td rowspan="1" colSpan="1" >TXVoiceChangeType_4</td>
|
|
976
|
-
|
|
977
|
-
<td rowspan="1" colSpan="1" >4</td>
|
|
978
|
-
|
|
979
|
-
<td rowspan="1" colSpan="1" >重金属</td>
|
|
980
|
-
</tr>
|
|
981
|
-
|
|
982
|
-
<tr>
|
|
983
|
-
<td rowspan="1" colSpan="1" >TXVoiceChangeType_5</td>
|
|
984
|
-
|
|
985
|
-
<td rowspan="1" colSpan="1" >5</td>
|
|
986
|
-
|
|
987
|
-
<td rowspan="1" colSpan="1" >感冒</td>
|
|
988
|
-
</tr>
|
|
989
|
-
|
|
990
|
-
<tr>
|
|
991
|
-
<td rowspan="1" colSpan="1" >TXVoiceChangeType_6</td>
|
|
992
|
-
|
|
993
|
-
<td rowspan="1" colSpan="1" >6</td>
|
|
994
|
-
|
|
995
|
-
<td rowspan="1" colSpan="1" >外语腔</td>
|
|
996
|
-
</tr>
|
|
997
|
-
|
|
998
|
-
<tr>
|
|
999
|
-
<td rowspan="1" colSpan="1" >TXVoiceChangeType_7</td>
|
|
1000
|
-
|
|
1001
|
-
<td rowspan="1" colSpan="1" >7</td>
|
|
1002
|
-
|
|
1003
|
-
<td rowspan="1" colSpan="1" >困兽</td>
|
|
1004
|
-
</tr>
|
|
1005
|
-
|
|
1006
|
-
<tr>
|
|
1007
|
-
<td rowspan="1" colSpan="1" >TXVoiceChangeType_8</td>
|
|
1008
|
-
|
|
1009
|
-
<td rowspan="1" colSpan="1" >8</td>
|
|
1010
|
-
|
|
1011
|
-
<td rowspan="1" colSpan="1" >肥宅</td>
|
|
1012
|
-
</tr>
|
|
1013
|
-
|
|
1014
|
-
<tr>
|
|
1015
|
-
<td rowspan="1" colSpan="1" >TXVoiceChangeType_9</td>
|
|
1016
|
-
|
|
1017
|
-
<td rowspan="1" colSpan="1" >9</td>
|
|
1018
|
-
|
|
1019
|
-
<td rowspan="1" colSpan="1" >强电流</td>
|
|
1020
|
-
</tr>
|
|
1021
|
-
|
|
1022
|
-
<tr>
|
|
1023
|
-
<td rowspan="1" colSpan="1" >TXVoiceChangeType_10</td>
|
|
1024
|
-
|
|
1025
|
-
<td rowspan="1" colSpan="1" >10</td>
|
|
1026
|
-
|
|
1027
|
-
<td rowspan="1" colSpan="1" >重机械</td>
|
|
1028
|
-
</tr>
|
|
1029
|
-
|
|
1030
|
-
<tr>
|
|
1031
|
-
<td rowspan="1" colSpan="1" >TXVoiceChangeType_11</td>
|
|
1032
|
-
|
|
1033
|
-
<td rowspan="1" colSpan="1" >11</td>
|
|
1034
|
-
|
|
1035
|
-
<td rowspan="1" colSpan="1" >空灵</td>
|
|
1036
|
-
</tr>
|
|
1037
|
-
|
|
1038
|
-
<tr>
|
|
1039
|
-
<td rowspan="1" colSpan="1" >TXVoiceChangeType_12</td>
|
|
1040
|
-
|
|
1041
|
-
<td rowspan="1" colSpan="1" >12</td>
|
|
1042
|
-
|
|
1043
|
-
<td rowspan="1" colSpan="1" >猪八戒</td>
|
|
1044
|
-
</tr>
|
|
1045
|
-
|
|
1046
|
-
<tr>
|
|
1047
|
-
<td rowspan="1" colSpan="1" >TXVoiceChangeType_13</td>
|
|
1048
|
-
|
|
1049
|
-
<td rowspan="1" colSpan="1" >13</td>
|
|
1050
|
-
|
|
1051
|
-
<td rowspan="1" colSpan="1" >绿巨人</td>
|
|
1052
|
-
</tr>
|
|
1053
|
-
</table>
|
|
1054
|
-
|
|
364
|
+
| 枚举 | 取值 | 描述 |
|
|
365
|
+
| --- | --- | --- |
|
|
366
|
+
| TXVoiceChangeType_0 | 0 | 关闭 |
|
|
367
|
+
| TXVoiceChangeType_1 | 1 | 熊孩子 |
|
|
368
|
+
| TXVoiceChangeType_2 | 2 | 萝莉 |
|
|
369
|
+
| TXVoiceChangeType_3 | 3 | 大叔 |
|
|
370
|
+
| TXVoiceChangeType_4 | 4 | 重金属 |
|
|
371
|
+
| TXVoiceChangeType_5 | 5 | 感冒 |
|
|
372
|
+
| TXVoiceChangeType_6 | 6 | 外语腔 |
|
|
373
|
+
| TXVoiceChangeType_7 | 7 | 困兽 |
|
|
374
|
+
| TXVoiceChangeType_8 | 8 | 肥宅 |
|
|
375
|
+
| TXVoiceChangeType_9 | 9 | 强电流 |
|
|
376
|
+
| TXVoiceChangeType_10 | 10 | 重机械 |
|
|
377
|
+
| TXVoiceChangeType_11 | 11 | 空灵 |
|
|
378
|
+
| TXVoiceChangeType_12 | 12 | 猪八戒 |
|
|
379
|
+
| TXVoiceChangeType_13 | 13 | 绿巨人 |
|
|
1055
380
|
|
|
1056
381
|
## TXAudioMusicParam
|
|
1057
382
|
|
|
1058
|
-
|
|
1059
|
-
|
|
1060
383
|
#### 背景音乐的播放控制信息
|
|
1061
384
|
|
|
1062
|
-
该信息用于在接口 [startPlayMusic
|
|
385
|
+
该信息用于在接口 [startPlayMusic 中指定背景音乐的相关信息,包括播放 ID、文件路径和循环次数等:
|
|
1063
386
|
|
|
1064
387
|
1. 如果要多次播放同一首背景音乐,请不要每次播放都分配一个新的 ID,我们推荐使用相同的 ID。
|
|
1065
388
|
|
|
1066
389
|
2. 若您希望同时播放多首不同的音乐,请为不同的音乐分配不同的 ID 进行播放。
|
|
1067
390
|
|
|
1068
391
|
3. 如果使用同一个 ID 播放不同音乐,SDK 会先停止播放旧的音乐,再播放新的音乐。
|
|
1069
|
-
|
|
1070
|
-
|
|
1071
|
-
|
|
1072
|
-
|
|
1073
|
-
|
|
1074
|
-
|
|
1075
|
-
|
|
1076
|
-
|
|
1077
|
-
|
|
1078
|
-
|
|
1079
|
-
<td rowspan="1" colSpan="1" >【字段含义】音乐 ID。<br>【特殊说明】SDK 允许播放多路音乐,因此需要使用 ID 进行标记,用于控制音乐的开始、停止、音量等。</td>
|
|
1080
|
-
</tr>
|
|
1081
|
-
|
|
1082
|
-
<tr>
|
|
1083
|
-
<td rowspan="1" colSpan="1" >endTimeMS</td>
|
|
1084
|
-
|
|
1085
|
-
<td rowspan="1" colSpan="1" >【字段含义】音乐结束播放时间点,单位毫秒,0表示播放至文件结尾。</td>
|
|
1086
|
-
</tr>
|
|
1087
|
-
|
|
1088
|
-
<tr>
|
|
1089
|
-
<td rowspan="1" colSpan="1" >isShortFile</td>
|
|
1090
|
-
|
|
1091
|
-
<td rowspan="1" colSpan="1" >【字段含义】播放的是否为短音乐文件。<br>【推荐取值】YES:需要重复播放的短音乐文件;NO:正常的音乐文件。默认值:NO。</td>
|
|
1092
|
-
</tr>
|
|
1093
|
-
|
|
1094
|
-
<tr>
|
|
1095
|
-
<td rowspan="1" colSpan="1" >loopCount</td>
|
|
1096
|
-
|
|
1097
|
-
<td rowspan="1" colSpan="1" >【字段含义】音乐循环播放的次数。<br>【推荐取值】取值范围为 [0, 任意正整数],默认值:0。0 表示播放音乐一次;1 表示播放音乐两次;以此类推。</td>
|
|
1098
|
-
</tr>
|
|
1099
|
-
|
|
1100
|
-
<tr>
|
|
1101
|
-
<td rowspan="1" colSpan="1" >path</td>
|
|
1102
|
-
|
|
1103
|
-
<td rowspan="1" colSpan="1" >【字段含义】音效文件的完整路径或 URL 地址。支持的音频格式包括 MP3、AAC、M4A、WAV。</td>
|
|
1104
|
-
</tr>
|
|
1105
|
-
|
|
1106
|
-
<tr>
|
|
1107
|
-
<td rowspan="1" colSpan="1" >publish</td>
|
|
1108
|
-
|
|
1109
|
-
<td rowspan="1" colSpan="1" >【字段含义】是否将音乐传到远端。<br>【推荐取值】YES:音乐在本地播放的同时,远端用户也能听到该音乐;NO:主播只能在本地听到该音乐,远端观众听不到。默认值:NO。</td>
|
|
1110
|
-
</tr>
|
|
1111
|
-
|
|
1112
|
-
<tr>
|
|
1113
|
-
<td rowspan="1" colSpan="1" >startTimeMS</td>
|
|
1114
|
-
|
|
1115
|
-
<td rowspan="1" colSpan="1" >【字段含义】音乐开始播放时间点,单位:毫秒。</td>
|
|
1116
|
-
</tr>
|
|
1117
|
-
</table>
|
|
392
|
+
| 枚举类型 | 描述 |
|
|
393
|
+
| --- | --- |
|
|
394
|
+
| ID | 【字段含义】音乐 ID。<br>【特殊说明】SDK 允许播放多路音乐,因此需要使用 ID 进行标记,用于控制音乐的开始、停止、音量等。 |
|
|
395
|
+
| endTimeMS | 【字段含义】音乐结束播放时间点,单位毫秒,0表示播放至文件结尾。 |
|
|
396
|
+
| isShortFile | 【字段含义】播放的是否为短音乐文件。<br>【推荐取值】YES:需要重复播放的短音乐文件;NO:正常的音乐文件。默认值:NO。 |
|
|
397
|
+
| loopCount | 【字段含义】音乐循环播放的次数。<br>【推荐取值】取值范围为 [0, 任意正整数],默认值:0。0 表示播放音乐一次;1 表示播放音乐两次;以此类推。 |
|
|
398
|
+
| path | 【字段含义】音效文件的完整路径或 URL 地址。支持的音频格式包括 MP3、AAC、M4A、WAV。 |
|
|
399
|
+
| publish | 【字段含义】是否将音乐传到远端。<br>【推荐取值】YES:音乐在本地播放的同时,远端用户也能听到该音乐;NO:主播只能在本地听到该音乐,远端观众听不到。默认值:NO。 |
|
|
400
|
+
| startTimeMS | 【字段含义】音乐开始播放时间点,单位:毫秒。 |
|