@tencent-rtc/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.
Files changed (429) hide show
  1. package/package.json +2 -2
  2. package/resource/doc/{tuicallkit/iOS/faq.md → callkit/faq/android-faq.md} +10 -22
  3. package/resource/doc/{tuicallkit/android/faq.md → callkit/faq/flutter-faq.md} +10 -22
  4. package/resource/doc/{tuicallkit/flutter/faq.md → callkit/faq/ios-faq.md} +10 -22
  5. package/resource/doc/callkit/preset/android/api.md +296 -0
  6. package/resource/doc/callkit/preset/android/integration.md +430 -0
  7. package/resource/doc/callkit/preset/flutter/api.md +410 -0
  8. package/resource/doc/{tuicallkit → callkit/preset}/flutter/integration.md +35 -97
  9. package/resource/doc/callkit/preset/ios/api.md +80 -0
  10. package/resource/doc/{tuicallkit/iOS → callkit/preset/ios}/integration.md +37 -118
  11. package/resource/doc/callkit/preset/react/api.md +501 -0
  12. package/resource/doc/{tuicallkit → callkit/preset}/react/integration.md +5 -20
  13. package/resource/doc/callkit/preset/vue/api.md +501 -0
  14. package/resource/doc/{tuicallkit → callkit/preset}/vue/integration.md +4 -19
  15. package/resource/doc/{chatuikit → chatkit}/android/faq.md +29 -38
  16. package/resource/doc/{chatuikit → chatkit}/android/features/theme.md +22 -166
  17. package/resource/doc/chatkit/android/integration.md +490 -0
  18. package/resource/doc/chatkit/faq/android_sdk/client-api.md +281 -0
  19. package/resource/doc/{chatuikit → chatkit}/faq/common/product.md +0 -1
  20. package/resource/doc/{chatuikit → chatkit}/faq/common/server.md +1 -1
  21. package/resource/doc/chatkit/faq/flutter_sdk/client-api.md +199 -0
  22. package/resource/doc/{chatuikit → chatkit}/faq/flutter_sdk/faq.md +3 -3
  23. package/resource/doc/chatkit/faq/ios_sdk/client-api.md +235 -0
  24. package/resource/doc/{chatuikit → chatkit}/faq/web_sdk/faq.md +3 -3
  25. package/resource/doc/{chatuikit → chatkit}/flutter/features/theme.md +22 -166
  26. package/resource/doc/{chatuikit → chatkit}/flutter/integration.md +19 -88
  27. package/resource/doc/{chatuikit/iOS → chatkit/ios}/faq.md +29 -38
  28. package/resource/doc/{chatuikit/iOS → chatkit/ios}/features/theme.md +27 -176
  29. package/resource/doc/{chatuikit/iOS → chatkit/ios}/integration.md +47 -165
  30. package/resource/doc/{chatuikit → chatkit}/react/components/avatar.md +0 -33
  31. package/resource/doc/{chatuikit → chatkit}/react/components/chat-header.md +8 -49
  32. package/resource/doc/{chatuikit → chatkit}/react/components/chat-setting.md +6 -35
  33. package/resource/doc/{chatuikit → chatkit}/react/components/chat.md +0 -6
  34. package/resource/doc/{chatuikit → chatkit}/react/components/component-list.md +0 -11
  35. package/resource/doc/{chatuikit → chatkit}/react/components/contact-list.md +96 -502
  36. package/resource/doc/chatkit/react/components/conversation-actions.md +174 -0
  37. package/resource/doc/chatkit/react/components/conversation-list.md +333 -0
  38. package/resource/doc/chatkit/react/components/conversation-preview.md +118 -0
  39. package/resource/doc/chatkit/react/components/conversation-search.md +60 -0
  40. package/resource/doc/{chatuikit → chatkit}/react/components/message-input.md +36 -337
  41. package/resource/doc/{chatuikit → chatkit}/react/components/message-list.md +20 -212
  42. package/resource/doc/chatkit/react/components/search.md +243 -0
  43. package/resource/doc/{chatuikit → chatkit}/react/components/tuikit.md +1 -47
  44. package/resource/doc/{chatuikit → chatkit}/react/integration.md +21 -81
  45. package/resource/doc/{chatuikit → chatkit}/vue/components/avatar.md +0 -33
  46. package/resource/doc/{chatuikit → chatkit}/vue/components/chat-header.md +7 -48
  47. package/resource/doc/{chatuikit → chatkit}/vue/components/chat-setting.md +3 -5
  48. package/resource/doc/{chatuikit → chatkit}/vue/components/chat.md +0 -5
  49. package/resource/doc/{chatuikit → chatkit}/vue/components/component-list.md +0 -15
  50. package/resource/doc/chatkit/vue/components/contact-list.md +271 -0
  51. package/resource/doc/chatkit/vue/components/conversation-actions.md +228 -0
  52. package/resource/doc/{chatuikit → chatkit}/vue/components/conversation-list.md +42 -492
  53. package/resource/doc/chatkit/vue/components/conversation-preview.md +213 -0
  54. package/resource/doc/chatkit/vue/components/conversation-search.md +50 -0
  55. package/resource/doc/{chatuikit → chatkit}/vue/components/message-input.md +2 -223
  56. package/resource/doc/{chatuikit → chatkit}/vue/components/message-list.md +23 -252
  57. package/resource/doc/{chatuikit → chatkit}/vue/components/search.md +73 -640
  58. package/resource/doc/{chatuikit → chatkit}/vue/components/tuikit.md +7 -21
  59. package/resource/doc/{chatuikit → chatkit}/vue/components/userpicker.md +3 -62
  60. package/resource/doc/{chatuikit → chatkit}/vue/faq.md +1 -1
  61. package/resource/doc/{chatuikit → chatkit}/vue/integration.md +22 -23
  62. package/resource/doc/livekit/{live → core-sdk/live}/android/live-audience-list.md +18 -89
  63. package/resource/doc/livekit/{live → core-sdk/live}/android/live-audio-effect.md +34 -192
  64. package/resource/doc/livekit/{live → core-sdk/live}/android/live-barrage.md +28 -141
  65. package/resource/doc/livekit/{live → core-sdk/live}/android/live-base-beauty.md +20 -112
  66. package/resource/doc/livekit/{live → core-sdk/live}/android/live-co-guest-interaction.md +59 -193
  67. package/resource/doc/livekit/{live → core-sdk/live}/android/live-gift.md +75 -455
  68. package/resource/doc/livekit/{live → core-sdk/live}/android/live-host-interaction.md +94 -344
  69. package/resource/doc/livekit/{live → core-sdk/live}/android/live-integration.md +107 -515
  70. package/resource/doc/livekit/{live → core-sdk/live}/android/live-live-list.md +33 -173
  71. package/resource/doc/livekit/{live → core-sdk/live}/flutter/live-audience-list.md +14 -93
  72. package/resource/doc/livekit/{live → core-sdk/live}/flutter/live-audio-effect.md +34 -179
  73. package/resource/doc/livekit/{live → core-sdk/live}/flutter/live-barrage.md +19 -107
  74. package/resource/doc/livekit/{live → core-sdk/live}/flutter/live-base-beauty.md +24 -166
  75. package/resource/doc/livekit/{live → core-sdk/live}/flutter/live-co-guest-interaction.md +56 -163
  76. package/resource/doc/livekit/{live → core-sdk/live}/flutter/live-gift.md +69 -443
  77. package/resource/doc/livekit/{live → core-sdk/live}/flutter/live-host-interaction.md +117 -364
  78. package/resource/doc/livekit/{live → core-sdk/live}/flutter/live-integration.md +107 -492
  79. package/resource/doc/livekit/{live → core-sdk/live}/flutter/live-live-list.md +23 -165
  80. package/resource/doc/livekit/{live → core-sdk/live}/ios/live-audience-list.md +35 -111
  81. package/resource/doc/livekit/{live → core-sdk/live}/ios/live-audio-effect.md +35 -193
  82. package/resource/doc/livekit/{live → core-sdk/live}/ios/live-barrage.md +31 -144
  83. package/resource/doc/livekit/{live → core-sdk/live}/ios/live-base-beauty.md +24 -116
  84. package/resource/doc/livekit/{live → core-sdk/live}/ios/live-co-guest-interaction.md +37 -171
  85. package/resource/doc/livekit/{live → core-sdk/live}/ios/live-gift.md +79 -459
  86. package/resource/doc/livekit/{live → core-sdk/live}/ios/live-host-interaction.md +69 -320
  87. package/resource/doc/livekit/{live → core-sdk/live}/ios/live-integration.md +85 -502
  88. package/resource/doc/livekit/{live → core-sdk/live}/ios/live-live-list.md +32 -169
  89. package/resource/doc/livekit/core-sdk/voice/android/voice-audience-list.md +263 -0
  90. package/resource/doc/livekit/core-sdk/voice/android/voice-audio-effect.md +222 -0
  91. package/resource/doc/livekit/core-sdk/voice/android/voice-barrage.md +452 -0
  92. package/resource/doc/livekit/core-sdk/voice/android/voice-co-guest-interaction.md +536 -0
  93. package/resource/doc/livekit/core-sdk/voice/android/voice-gift.md +442 -0
  94. package/resource/doc/livekit/core-sdk/voice/android/voice-host-interaction.md +489 -0
  95. package/resource/doc/livekit/core-sdk/voice/android/voice-integration.md +574 -0
  96. package/resource/doc/livekit/core-sdk/voice/android/voice-room-list.md +435 -0
  97. package/resource/doc/livekit/core-sdk/voice/flutter/voice-co-guest-interaction.md +516 -0
  98. package/resource/doc/livekit/core-sdk/voice/flutter/voice-integration.md +576 -0
  99. package/resource/doc/livekit/core-sdk/voice/ios/voice-audience-list.md +263 -0
  100. package/resource/doc/livekit/core-sdk/voice/ios/voice-audio-effect.md +212 -0
  101. package/resource/doc/livekit/core-sdk/voice/ios/voice-barrage.md +404 -0
  102. package/resource/doc/livekit/core-sdk/voice/ios/voice-co-guest-interaction.md +499 -0
  103. package/resource/doc/livekit/core-sdk/voice/ios/voice-gift.md +403 -0
  104. package/resource/doc/livekit/core-sdk/voice/ios/voice-host-interaction.md +552 -0
  105. package/resource/doc/livekit/core-sdk/voice/ios/voice-integration.md +514 -0
  106. package/resource/doc/livekit/core-sdk/voice/ios/voice-room-list.md +348 -0
  107. package/resource/doc/livekit/faq/common/{error_code.md → error-code.md} +2 -2
  108. package/resource/doc/livekit/preset/live/vue/api-reference/index.md +780 -0
  109. package/resource/doc/livekit/preset/live/vue/components/barrage.md +291 -0
  110. package/resource/doc/livekit/{live → preset/live}/vue/components/co-guest-panel.md +10 -49
  111. package/resource/doc/livekit/{live → preset/live}/vue/components/live-audience-list.md +26 -144
  112. package/resource/doc/livekit/{live → preset/live}/vue/components/live-scene-panel.md +12 -75
  113. package/resource/doc/livekit/{live → preset/live}/vue/components/live-view.md +36 -227
  114. package/resource/doc/livekit/preset/live/vue/components/stream-mixer.md +215 -0
  115. package/resource/doc/livekit/preset/live/vue/faq.md +1 -0
  116. package/resource/doc/livekit/preset/live/vue/live-list-integration.md +241 -0
  117. package/resource/doc/livekit/preset/live/vue/live-player-desk-integration.md +299 -0
  118. package/resource/doc/livekit/preset/live/vue/live-player-h5-integration.md +300 -0
  119. package/resource/doc/livekit/preset/live/vue/live-pusher-integration.md +743 -0
  120. package/resource/doc/roomkit/vue/faq.md +1 -0
  121. package/resource/doc/roomkit/vue/features/call-user-to-room.md +17 -53
  122. package/resource/doc/roomkit/vue/features/device-detection.md +30 -48
  123. package/resource/doc/roomkit/vue/features/device-state.md +24 -44
  124. package/resource/doc/roomkit/vue/features/free-beauty-panel.md +13 -36
  125. package/resource/doc/roomkit/vue/features/room-chat.md +31 -89
  126. package/resource/doc/roomkit/vue/features/room-participant-state.md +28 -50
  127. package/resource/doc/roomkit/vue/features/room-state.md +25 -34
  128. package/resource/doc/roomkit/vue/features/room-view.md +30 -125
  129. package/resource/doc/roomkit/vue/features/schedule-room.md +9 -40
  130. package/resource/doc/roomkit/vue/features/screen-share.md +22 -90
  131. package/resource/doc/roomkit/vue/features/virtual-background.md +13 -29
  132. package/resource/doc/roomkit/vue/integration.md +173 -337
  133. package/resource/doc/rtcengine/faq/common/error_code.md +1 -0
  134. package/resource/doc/rtcengine/faq/web/web.md +14 -24
  135. package/resource/doc/rtcengine/web/api.md +1 -3
  136. package/resource/doc/rtcengine/web/how_to_integrated_web_sdk.md +3 -10
  137. package/resource/doc/rtcengine/web/how_to_run_web_sdk_demo.md +1 -5
  138. package/resource/doc/rtcengine/web/plugin/20-advanced-customized-capture-rendering.md +1 -2
  139. package/resource/doc/rtcengine/web/plugin/21-advanced-auto-play-policy.md +2 -4
  140. package/resource/doc/rtcengine/web/plugin/23-advanced-support-detection.md +3 -5
  141. package/resource/doc/rtcengine/web/plugin/24-advanced-network-quality.md +1 -7
  142. package/resource/doc/rtcengine/web/plugin/25-advanced-device-change.md +0 -2
  143. package/resource/doc/rtcengine/web/plugin/26-advanced-publish-cdn-stream.md +4 -8
  144. package/resource/doc/rtcengine/web/plugin/27-advanced-small-stream.md +11 -11
  145. package/resource/doc/rtcengine/web/plugin/28-advanced-beauty.md +12 -88
  146. package/resource/doc/rtcengine/web/plugin/31-advanced-plugins-overview.md +5 -5
  147. package/resource/doc/rtcengine/web/plugin/34-advanced-proxy.md +30 -37
  148. package/resource/doc/rtcengine/web/plugin/36-advanced-virtual-background.md +13 -90
  149. package/resource/doc/rtcengine/web/plugin/37-advanced-voice-changer.md +1 -2
  150. package/resource/doc/rtcengine/web/plugin/39-advanced-video-decoder.md +1 -2
  151. package/resource/doc/rtcengine/web/plugin/40-advanced-video-mixer.md +19 -19
  152. package/resource/doc/rtcengine/web/plugin/41-advanced-small-stream-auto-switcher.md +1 -1
  153. package/resource/doc/rtcengine/web/plugin/42-advanced-realtime-transcriber.md +4 -5
  154. package/resource/doc/rtcengine/web/plugin/43-advanced-face-detection.md +3 -3
  155. package/resource/doc/trtc/C++/ITRTCCloud.md +686 -2835
  156. package/resource/doc/trtc/C++/ITRTCStatistics.md +53 -308
  157. package/resource/doc/trtc/C++/ITXAudioEffectManager.md +202 -1022
  158. package/resource/doc/trtc/C++/ITXDeviceManager.md +126 -767
  159. package/resource/doc/trtc/C++/TRTCCloudCallback.md +579 -2147
  160. package/resource/doc/trtc/C++/TRTCTypeDef.md +703 -3378
  161. package/resource/doc/trtc/C++/TXLiteAVCode.md +116 -908
  162. package/resource/doc/trtc/android/TRTCCloud.md +606 -2573
  163. package/resource/doc/trtc/android/TRTCCloudDef.md +752 -3640
  164. package/resource/doc/trtc/android/TRTCCloudListener.md +581 -2008
  165. package/resource/doc/trtc/android/TRTCStatistics.md +48 -278
  166. package/resource/doc/trtc/android/TXAudioEffectManager.md +202 -1022
  167. package/resource/doc/trtc/android/TXBeautyManager.md +127 -704
  168. package/resource/doc/trtc/android/TXDeviceManager.md +51 -318
  169. package/resource/doc/trtc/android/TXLiteAVCode.md +114 -892
  170. package/resource/doc/trtc/iOS/TRTCCloud.md +694 -2904
  171. package/resource/doc/trtc/iOS/TRTCCloudDef.md +726 -3498
  172. package/resource/doc/trtc/iOS/TRTCCloudDelegate.md +543 -2028
  173. package/resource/doc/trtc/iOS/TRTCStatistics.md +48 -278
  174. package/resource/doc/trtc/iOS/TXAudioEffectManager.md +174 -877
  175. package/resource/doc/trtc/iOS/TXBeautyManager.md +128 -710
  176. package/resource/doc/trtc/iOS/TXDeviceManager.md +129 -772
  177. package/resource/doc/trtc/iOS/TXLiteAVCode.md +117 -915
  178. package/server.js +1 -5
  179. package/server.js.map +1 -1
  180. package/tools/call/get_callkit_api.js +32 -0
  181. package/tools/call/get_callkit_api.js.map +1 -0
  182. package/tools/call/get_native_call_uikit_integration.js +34 -0
  183. package/tools/call/get_native_call_uikit_integration.js.map +1 -0
  184. package/tools/call/{get-web-call-integration.js → get_web_call_uikit_integration.js} +13 -8
  185. package/tools/call/get_web_call_uikit_integration.js.map +1 -0
  186. package/tools/chat/get_native_chat_uikit_feature_detail.js +34 -0
  187. package/tools/chat/get_native_chat_uikit_feature_detail.js.map +1 -0
  188. package/tools/chat/get_native_chat_uikit_integration.js +45 -0
  189. package/tools/chat/get_native_chat_uikit_integration.js.map +1 -0
  190. package/tools/chat/get_web_chat_uikit_component_detail.js +34 -0
  191. package/tools/chat/get_web_chat_uikit_component_detail.js.map +1 -0
  192. package/tools/chat/get_web_chat_uikit_integration.js +45 -0
  193. package/tools/chat/get_web_chat_uikit_integration.js.map +1 -0
  194. package/tools/common/get_faq.js +265 -0
  195. package/tools/common/get_faq.js.map +1 -0
  196. package/tools/common/{get-usersig.js → get_usersig.js} +6 -3
  197. package/tools/common/get_usersig.js.map +1 -0
  198. package/tools/common/present_framework_choice.js +63 -0
  199. package/tools/common/present_framework_choice.js.map +1 -0
  200. package/tools/definitions/get_callkit_api_def.js +29 -0
  201. package/tools/definitions/get_callkit_api_def.js.map +1 -0
  202. package/tools/definitions/get_faq_def.js +17 -18
  203. package/tools/definitions/get_faq_def.js.map +1 -1
  204. package/tools/definitions/get_native_call_uikit_integration_def.js +15 -18
  205. package/tools/definitions/get_native_call_uikit_integration_def.js.map +1 -1
  206. package/tools/definitions/get_native_chat_uikit_feature_detail_def.js +31 -0
  207. package/tools/definitions/get_native_chat_uikit_feature_detail_def.js.map +1 -0
  208. package/tools/definitions/get_native_chat_uikit_integration_def.js +16 -19
  209. package/tools/definitions/get_native_chat_uikit_integration_def.js.map +1 -1
  210. package/tools/definitions/get_native_livekit_core_features_def.js +34 -0
  211. package/tools/definitions/get_native_livekit_core_features_def.js.map +1 -0
  212. package/tools/definitions/get_native_livekit_core_integration_def.js +34 -0
  213. package/tools/definitions/get_native_livekit_core_integration_def.js.map +1 -0
  214. package/tools/definitions/get_native_trtc_sdk_docs_def.js +32 -0
  215. package/tools/definitions/get_native_trtc_sdk_docs_def.js.map +1 -0
  216. package/tools/definitions/get_usersig_def.js +17 -22
  217. package/tools/definitions/get_usersig_def.js.map +1 -1
  218. package/tools/definitions/get_web_call_uikit_integration_def.js +15 -7
  219. package/tools/definitions/get_web_call_uikit_integration_def.js.map +1 -1
  220. package/tools/definitions/get_web_chat_uikit_component_detail_def.js +17 -49
  221. package/tools/definitions/get_web_chat_uikit_component_detail_def.js.map +1 -1
  222. package/tools/definitions/get_web_chat_uikit_integration_def.js +16 -19
  223. package/tools/definitions/get_web_chat_uikit_integration_def.js.map +1 -1
  224. package/tools/definitions/get_web_live_uikit_integration_def.js +15 -18
  225. package/tools/definitions/get_web_live_uikit_integration_def.js.map +1 -1
  226. package/tools/definitions/get_web_livekit_api_def.js +30 -0
  227. package/tools/definitions/get_web_livekit_api_def.js.map +1 -0
  228. package/tools/definitions/get_web_livekit_component_detail_def.js +32 -0
  229. package/tools/definitions/get_web_livekit_component_detail_def.js.map +1 -0
  230. package/tools/definitions/get_web_room_uikit_integration_def.js +15 -30
  231. package/tools/definitions/get_web_room_uikit_integration_def.js.map +1 -1
  232. package/tools/definitions/get_web_roomkit_feature_detail_def.js +31 -0
  233. package/tools/definitions/get_web_roomkit_feature_detail_def.js.map +1 -0
  234. package/tools/definitions/get_web_trtc_sdk_api_def.js +27 -0
  235. package/tools/definitions/get_web_trtc_sdk_api_def.js.map +1 -0
  236. package/tools/definitions/get_web_trtc_sdk_integration_def.js +27 -0
  237. package/tools/definitions/get_web_trtc_sdk_integration_def.js.map +1 -0
  238. package/tools/definitions/get_web_trtc_sdk_plugin_def.js +27 -0
  239. package/tools/definitions/get_web_trtc_sdk_plugin_def.js.map +1 -0
  240. package/tools/definitions/present_framework_choice_def.js +24 -12
  241. package/tools/definitions/present_framework_choice_def.js.map +1 -1
  242. package/tools/index.js +47 -59
  243. package/tools/index.js.map +1 -1
  244. package/tools/live/get_native_livekit_core_features.js +65 -0
  245. package/tools/live/get_native_livekit_core_features.js.map +1 -0
  246. package/tools/live/get_native_livekit_core_integration.js +59 -0
  247. package/tools/live/get_native_livekit_core_integration.js.map +1 -0
  248. package/tools/live/get_web_live_uikit_integration.js +48 -0
  249. package/tools/live/get_web_live_uikit_integration.js.map +1 -0
  250. package/tools/live/get_web_livekit_api.js +32 -0
  251. package/tools/live/get_web_livekit_api.js.map +1 -0
  252. package/tools/live/get_web_livekit_component_detail.js +34 -0
  253. package/tools/live/get_web_livekit_component_detail.js.map +1 -0
  254. package/tools/room/{get-web-room-integration.js → get_web_room_uikit_integration.js} +13 -14
  255. package/tools/room/get_web_room_uikit_integration.js.map +1 -0
  256. package/tools/room/{get-web-room-feature-detail.js → get_web_roomkit_feature_detail.js} +30 -31
  257. package/tools/room/get_web_roomkit_feature_detail.js.map +1 -0
  258. package/tools/rtcengine/get_web_trtc_sdk_api.js +31 -0
  259. package/tools/rtcengine/get_web_trtc_sdk_api.js.map +1 -0
  260. package/tools/rtcengine/get_web_trtc_sdk_integration.js +31 -0
  261. package/tools/rtcengine/get_web_trtc_sdk_integration.js.map +1 -0
  262. package/tools/rtcengine/get_web_trtc_sdk_plugin.js +31 -0
  263. package/tools/rtcengine/get_web_trtc_sdk_plugin.js.map +1 -0
  264. package/tools/trtc/get_native_trtc_sdk_docs.js +73 -0
  265. package/tools/trtc/get_native_trtc_sdk_docs.js.map +1 -0
  266. package/utils/generate-structured-result.js +61 -17
  267. package/utils/generate-structured-result.js.map +1 -1
  268. package/utils/report-cls-client.js +12 -1
  269. package/utils/report-cls-client.js.map +1 -1
  270. package/utils/report-es-client.js +2 -2
  271. package/resource/doc/chatuikit/android/integration.md +0 -287
  272. package/resource/doc/chatuikit/faq/android_sdk/client-api.md +0 -1371
  273. package/resource/doc/chatuikit/faq/flutter_sdk/client-api.md +0 -932
  274. package/resource/doc/chatuikit/faq/ios_sdk/client-api.md +0 -1119
  275. package/resource/doc/chatuikit/flutter/workflow.md +0 -941
  276. package/resource/doc/chatuikit/iOS/workflow.md +0 -0
  277. package/resource/doc/chatuikit/react/components/conversation-list.md +0 -1017
  278. package/resource/doc/chatuikit/react/components/search.md +0 -745
  279. package/resource/doc/chatuikit/react/create-group.md +0 -23
  280. package/resource/doc/chatuikit/react/init.md +0 -26
  281. package/resource/doc/chatuikit/react/workflow.md +0 -258
  282. package/resource/doc/chatuikit/vue/components/contact-list.md +0 -679
  283. package/resource/doc/chatuikit/vue/create-group.md +0 -25
  284. package/resource/doc/chatuikit/vue/init.md +0 -40
  285. package/resource/doc/chatuikit/vue/workflow.md +0 -395
  286. package/resource/doc/livekit/live/android/workflow.md +0 -320
  287. package/resource/doc/livekit/live/flutter/workflow.md +0 -353
  288. package/resource/doc/livekit/live/ios/workflow.md +0 -454
  289. package/resource/doc/livekit/live/vue/components/barrage.md +0 -616
  290. package/resource/doc/livekit/live/vue/components/stream-mixer.md +0 -446
  291. package/resource/doc/livekit/live/vue/faq.md +0 -0
  292. package/resource/doc/livekit/live/vue/live-list-integration.md +0 -200
  293. package/resource/doc/livekit/live/vue/live-player-desk-integration.md +0 -269
  294. package/resource/doc/livekit/live/vue/live-player-h5-integration.md +0 -269
  295. package/resource/doc/livekit/live/vue/live-pusher-integration.md +0 -595
  296. package/resource/doc/livekit/live/vue/states/live-state.md +0 -3591
  297. package/resource/doc/livekit/live/vue/workflow.md +0 -218
  298. package/resource/doc/native_live/android/V2TXLiveCode_api_android.md +0 -312
  299. package/resource/doc/native_live/android/V2TXLiveDef_api_android.md +0 -430
  300. package/resource/doc/native_live/android/V2TXLivePlayerObserver_api_android.md +0 -679
  301. package/resource/doc/native_live/android/V2TXLivePlayer_api_android.md +0 -671
  302. package/resource/doc/native_live/android/V2TXLivePremier_api_android.md +0 -271
  303. package/resource/doc/native_live/android/V2TXLivePusherObserver_api_android.md +0 -849
  304. package/resource/doc/native_live/android/V2TXLivePusher_api_android.md +0 -1046
  305. package/resource/doc/native_live/flutter/V2TXLiveCode_api_flutter.md +0 -460
  306. package/resource/doc/native_live/flutter/V2TXLiveDef_api_flutter.md +0 -558
  307. package/resource/doc/native_live/flutter/V2TXLivePlayerObserver_api_flutter.md +0 -865
  308. package/resource/doc/native_live/flutter/V2TXLivePlayer_api_flutter.md +0 -657
  309. package/resource/doc/native_live/flutter/V2TXLivePremier_api_flutter.md +0 -437
  310. package/resource/doc/native_live/flutter/V2TXLivePusherObserver_api_flutter.md +0 -335
  311. package/resource/doc/native_live/flutter/V2TXLivePusher_api_flutter.md +0 -748
  312. package/resource/doc/native_live/iOS/V2TXLiveCode_api_iOS.md +0 -327
  313. package/resource/doc/native_live/iOS/V2TXLiveDef_api_iOS.md +0 -507
  314. package/resource/doc/native_live/iOS/V2TXLivePlayerObserver_api_iOS.md +0 -507
  315. package/resource/doc/native_live/iOS/V2TXLivePlayer_api_iOS.md +0 -659
  316. package/resource/doc/native_live/iOS/V2TXLivePremier_api_iOS.md +0 -284
  317. package/resource/doc/native_live/iOS/V2TXLivePusherObserver_api_iOS.md +0 -814
  318. package/resource/doc/native_live/iOS/V2TXLivePusher_api_iOS.md +0 -1000
  319. package/resource/doc/roomkit/vue/features/workflow.md +0 -553
  320. package/resource/doc/roomkit/vue/workflow.md +0 -487
  321. package/resource/doc/tuicallkit/android/integration.md +0 -286
  322. package/resource/doc/tuicallkit/android/workflow.md +0 -0
  323. package/resource/doc/tuicallkit/faq/android_sdk/call-observer-api.md +0 -784
  324. package/resource/doc/tuicallkit/faq/android_sdk/callkit-api.md +0 -610
  325. package/resource/doc/tuicallkit/faq/flutter_sdk/call-define-api.md +0 -938
  326. package/resource/doc/tuicallkit/faq/flutter_sdk/call-observer-api.md +0 -897
  327. package/resource/doc/tuicallkit/faq/flutter_sdk/callkit-api.md +0 -469
  328. package/resource/doc/tuicallkit/faq/ios_sdk/call-observer-api.md +0 -781
  329. package/resource/doc/tuicallkit/faq/ios_sdk/callkit-api.md +0 -398
  330. package/resource/doc/tuicallkit/flutter/workflow.md +0 -331
  331. package/resource/doc/tuicallkit/react/api.md +0 -1404
  332. package/resource/doc/tuicallkit/vue/api.md +0 -1406
  333. package/resource/doc/tuicallkit/vue/faq.md +0 -36
  334. package/tools/call/get-native-call-integration.js +0 -43
  335. package/tools/call/get-native-call-integration.js.map +0 -1
  336. package/tools/call/get-web-call-api.js +0 -27
  337. package/tools/call/get-web-call-api.js.map +0 -1
  338. package/tools/call/get-web-call-integration.js.map +0 -1
  339. package/tools/chat/get-native-chat-feature-detail.js +0 -30
  340. package/tools/chat/get-native-chat-feature-detail.js.map +0 -1
  341. package/tools/chat/get-native-chat-integration.js +0 -45
  342. package/tools/chat/get-native-chat-integration.js.map +0 -1
  343. package/tools/chat/get-web-chat-component-detail.js +0 -31
  344. package/tools/chat/get-web-chat-component-detail.js.map +0 -1
  345. package/tools/chat/get-web-chat-integration.js +0 -45
  346. package/tools/chat/get-web-chat-integration.js.map +0 -1
  347. package/tools/chat/get-web-chat-uikit-init.js +0 -28
  348. package/tools/chat/get-web-chat-uikit-init.js.map +0 -1
  349. package/tools/chat/get-web-create-group-doc.js +0 -28
  350. package/tools/chat/get-web-create-group-doc.js.map +0 -1
  351. package/tools/common/get-faq.js +0 -91
  352. package/tools/common/get-faq.js.map +0 -1
  353. package/tools/common/get-usersig.js.map +0 -1
  354. package/tools/common/present-framework-choice.js +0 -16
  355. package/tools/common/present-framework-choice.js.map +0 -1
  356. package/tools/common/record-prompt.js +0 -55
  357. package/tools/common/record-prompt.js.map +0 -1
  358. package/tools/common/record-result.js +0 -60
  359. package/tools/common/record-result.js.map +0 -1
  360. package/tools/definitions/get_native_chat_feature_detail_def.js +0 -32
  361. package/tools/definitions/get_native_chat_feature_detail_def.js.map +0 -1
  362. package/tools/definitions/get_native_live_api_def.js +0 -23
  363. package/tools/definitions/get_native_live_api_def.js.map +0 -1
  364. package/tools/definitions/get_native_live_uikit_extra_features_def.js +0 -87
  365. package/tools/definitions/get_native_live_uikit_extra_features_def.js.map +0 -1
  366. package/tools/definitions/get_native_live_uikit_integration_def.js +0 -49
  367. package/tools/definitions/get_native_live_uikit_integration_def.js.map +0 -1
  368. package/tools/definitions/get_native_live_uikit_interaction_def.js +0 -74
  369. package/tools/definitions/get_native_live_uikit_interaction_def.js.map +0 -1
  370. package/tools/definitions/get_trtc_native_api_def.js +0 -16
  371. package/tools/definitions/get_trtc_native_api_def.js.map +0 -1
  372. package/tools/definitions/get_web_call_uikit_api_def.js +0 -23
  373. package/tools/definitions/get_web_call_uikit_api_def.js.map +0 -1
  374. package/tools/definitions/get_web_chat_uikit_init_def.js +0 -23
  375. package/tools/definitions/get_web_chat_uikit_init_def.js.map +0 -1
  376. package/tools/definitions/get_web_create_group_doc_def.js +0 -18
  377. package/tools/definitions/get_web_create_group_doc_def.js.map +0 -1
  378. package/tools/definitions/get_web_live_state_detail_def.js +0 -19
  379. package/tools/definitions/get_web_live_state_detail_def.js.map +0 -1
  380. package/tools/definitions/get_web_live_uikit_component_detail_def.js +0 -27
  381. package/tools/definitions/get_web_live_uikit_component_detail_def.js.map +0 -1
  382. package/tools/definitions/get_web_room_feature_detail_def.js +0 -95
  383. package/tools/definitions/get_web_room_feature_detail_def.js.map +0 -1
  384. package/tools/definitions/get_web_room_state_detail_def.js +0 -19
  385. package/tools/definitions/get_web_room_state_detail_def.js.map +0 -1
  386. package/tools/definitions/record_prompt_def.js +0 -53
  387. package/tools/definitions/record_prompt_def.js.map +0 -1
  388. package/tools/definitions/record_result_def.js +0 -30
  389. package/tools/definitions/record_result_def.js.map +0 -1
  390. package/tools/live/get-native-live-uikit-integration.js +0 -101
  391. package/tools/live/get-native-live-uikit-integration.js.map +0 -1
  392. package/tools/live/get-web-live-component-detail.js +0 -31
  393. package/tools/live/get-web-live-component-detail.js.map +0 -1
  394. package/tools/live/get-web-live-state-detail.js +0 -31
  395. package/tools/live/get-web-live-state-detail.js.map +0 -1
  396. package/tools/live/get-web-live-uikit-integration.js +0 -52
  397. package/tools/live/get-web-live-uikit-integration.js.map +0 -1
  398. package/tools/live/get_native_live_uikit_extra_features.js +0 -105
  399. package/tools/live/get_native_live_uikit_extra_features.js.map +0 -1
  400. package/tools/live/get_native_live_uikit_interaction.js +0 -101
  401. package/tools/live/get_native_live_uikit_interaction.js.map +0 -1
  402. package/tools/native_live/get-native-live-api.js +0 -31
  403. package/tools/native_live/get-native-live-api.js.map +0 -1
  404. package/tools/room/get-web-room-feature-detail.js.map +0 -1
  405. package/tools/room/get-web-room-integration.js.map +0 -1
  406. package/tools/rtcengine/get-rtcengine-web-sdk-integration.js +0 -28
  407. package/tools/rtcengine/get-rtcengine-web-sdk-integration.js.map +0 -1
  408. package/tools/rtcengine/get-trtc-sdk-faq.js +0 -32
  409. package/tools/rtcengine/get-trtc-sdk-faq.js.map +0 -1
  410. package/tools/rtcengine/get-trtc-web-sdk-api.js +0 -28
  411. package/tools/rtcengine/get-trtc-web-sdk-api.js.map +0 -1
  412. package/tools/rtcengine/get-trtc-web-sdk-faq.js +0 -30
  413. package/tools/rtcengine/get-trtc-web-sdk-faq.js.map +0 -1
  414. package/tools/rtcengine/get-trtc-web-sdk-integration.js +0 -29
  415. package/tools/rtcengine/get-trtc-web-sdk-integration.js.map +0 -1
  416. package/tools/rtcengine/get-trtc-web-sdk-plugin.js +0 -45
  417. package/tools/rtcengine/get-trtc-web-sdk-plugin.js.map +0 -1
  418. package/tools/trtc/get-trtc-native-api.js +0 -31
  419. package/tools/trtc/get-trtc-native-api.js.map +0 -1
  420. package/utils/handle-component-name.js +0 -33
  421. package/utils/handle-component-name.js.map +0 -1
  422. /package/resource/doc/{chatuikit/android/workflow.md → callkit/core-sdk/.gitkeep} +0 -0
  423. /package/resource/doc/{tuicallkit/faq/common/error_code.md → callkit/faq/common/error-code.md} +0 -0
  424. /package/resource/doc/{tuicallkit/react/faq.md → callkit/faq/web-faq.md} +0 -0
  425. /package/resource/doc/{chatuikit → chatkit}/faq/common/server_error_code.md +0 -0
  426. /package/resource/doc/{chatuikit → chatkit}/faq/web_sdk/error_code.md +0 -0
  427. /package/resource/doc/{chatuikit → chatkit}/flutter/faq.md +0 -0
  428. /package/resource/doc/{chatuikit → chatkit}/react/faq.md +0 -0
  429. /package/resource/doc/roomkit/faq/common/{error_code.md → error-code.md} +0 -0
@@ -2,449 +2,172 @@
2
2
  ## Feature Overview
3
3
  `TXAudioEffectManager.h` is the manager class for handling background music, sound effects, and vocal effects on the TRTC Real-Time Communication (TRTC SDK) iOS platform. Use this class to configure and control background music, sound effects, and vocal processing features.
4
4
 
5
-
6
5
  ## TXAudioEffectManager
7
- <table>
8
- <tr>
9
- <td rowspan="1" colSpan="1" >Function List</td>
10
-
11
- <td rowspan="1" colSpan="1" >Description</td>
12
- </tr>
13
-
14
- <tr>
15
- <td rowspan="1" colSpan="1" >[enableVoiceEarMonitor:](https://write.woa.com/document/87029789200396288)</td>
16
-
17
- <td rowspan="1" colSpan="1" >Enable ear return</td>
18
- </tr>
19
-
20
- <tr>
21
- <td rowspan="1" colSpan="1" >[setVoiceEarMonitorVolume:](https://write.woa.com/document/87029789200396288)</td>
22
-
23
- <td rowspan="1" colSpan="1" >Set ear return volume</td>
24
- </tr>
25
-
26
- <tr>
27
- <td rowspan="1" colSpan="1" >[setVoiceReverbType:](https://write.woa.com/document/87029789200396288)</td>
28
-
29
- <td rowspan="1" colSpan="1" >Set vocal reverb effect</td>
30
- </tr>
31
-
32
- <tr>
33
- <td rowspan="1" colSpan="1" >[setVoiceChangerType:](https://write.woa.com/document/87029789200396288)</td>
34
-
35
- <td rowspan="1" colSpan="1" >Set vocal voice changing effect</td>
36
- </tr>
37
-
38
- <tr>
39
- <td rowspan="1" colSpan="1" >[setVoiceVolume:](https://write.woa.com/document/87029789200396288)</td>
40
-
41
- <td rowspan="1" colSpan="1" >Set speech volume</td>
42
- </tr>
43
-
44
- <tr>
45
- <td rowspan="1" colSpan="1" >[setVoicePitch:](https://write.woa.com/document/87029789200396288)</td>
46
-
47
- <td rowspan="1" colSpan="1" >Set speech tone</td>
48
- </tr>
49
-
50
- <tr>
51
- <td rowspan="1" colSpan="1" >[startPlayMusic:onStart:onProgress:onComplete:](https://write.woa.com/document/87029789200396288)</td>
52
-
53
- <td rowspan="1" colSpan="1" >Start playing background music</td>
54
- </tr>
55
-
56
- <tr>
57
- <td rowspan="1" colSpan="1" >[stopPlayMusic:](https://write.woa.com/document/87029789200396288)</td>
58
-
59
- <td rowspan="1" colSpan="1" >Stop playing background music</td>
60
- </tr>
61
-
62
- <tr>
63
- <td rowspan="1" colSpan="1" >[pausePlayMusic:](https://write.woa.com/document/87029789200396288)</td>
64
-
65
- <td rowspan="1" colSpan="1" >Pause background music</td>
66
- </tr>
67
-
68
- <tr>
69
- <td rowspan="1" colSpan="1" >[resumePlayMusic:](https://write.woa.com/document/87029789200396288)</td>
70
-
71
- <td rowspan="1" colSpan="1" >Resume background music</td>
72
- </tr>
73
-
74
- <tr>
75
- <td rowspan="1" colSpan="1" >[setAllMusicVolume:](https://write.woa.com/document/87029789200396288)</td>
76
-
77
- <td rowspan="1" colSpan="1" >Set the local and remote volume of all background music</td>
78
- </tr>
79
-
80
- <tr>
81
- <td rowspan="1" colSpan="1" >[setMusicPublishVolume:volume:](https://write.woa.com/document/87029789200396288)</td>
82
-
83
- <td rowspan="1" colSpan="1" >Set the remote volume of a specific background music track</td>
84
- </tr>
85
-
86
- <tr>
87
- <td rowspan="1" colSpan="1" >[setMusicPlayoutVolume:volume:](https://write.woa.com/document/87029789200396288)</td>
88
-
89
- <td rowspan="1" colSpan="1" >Set the local volume of a specific background music track</td>
90
- </tr>
91
-
92
- <tr>
93
- <td rowspan="1" colSpan="1" >[setMusicPitch:pitch:](https://write.woa.com/document/87029789200396288)</td>
94
-
95
- <td rowspan="1" colSpan="1" >Adjust the pitch of background music</td>
96
- </tr>
97
-
98
- <tr>
99
- <td rowspan="1" colSpan="1" >[setMusicSpeedRate:speedRate:](https://write.woa.com/document/87029789200396288)</td>
100
-
101
- <td rowspan="1" colSpan="1" >Adjust the variable speed effect of background music</td>
102
- </tr>
103
-
104
- <tr>
105
- <td rowspan="1" colSpan="1" >[getMusicCurrentPosInMS:](https://write.woa.com/document/87029789200396288)</td>
106
-
107
- <td rowspan="1" colSpan="1" >Get the playback progress of background music (unit: milliseconds)</td>
108
- </tr>
109
-
110
- <tr>
111
- <td rowspan="1" colSpan="1" >[getMusicDurationInMS:](https://write.woa.com/document/87029789200396288)</td>
112
-
113
- <td rowspan="1" colSpan="1" >Get the total duration of background music (unit: milliseconds)</td>
114
- </tr>
115
-
116
- <tr>
117
- <td rowspan="1" colSpan="1" >[seekMusicToPosInMS:pts:](https://write.woa.com/document/87029789200396288)</td>
118
-
119
- <td rowspan="1" colSpan="1" >Set the playback progress of background music (unit: milliseconds)</td>
120
- </tr>
121
-
122
- <tr>
123
- <td rowspan="1" colSpan="1" >[setMusicScratchSpeedRate:speedRate:](https://write.woa.com/document/87029789200396288)</td>
124
-
125
- <td rowspan="1" colSpan="1" >Adjust the variable speed effect of scratching</td>
126
- </tr>
127
-
128
- <tr>
129
- <td rowspan="1" colSpan="1" >[preloadMusic:onProgress:onError:](https://write.woa.com/document/87029789200396288)</td>
130
-
131
- <td rowspan="1" colSpan="1" >Preload background music</td>
132
- </tr>
133
-
134
- <tr>
135
- <td rowspan="1" colSpan="1" >[getMusicTrackCount:](https://write.woa.com/document/87029789200396288)</td>
136
-
137
- <td rowspan="1" colSpan="1" >Obtain the number of background music tracks</td>
138
- </tr>
139
-
140
- <tr>
141
- <td rowspan="1" colSpan="1" >[setMusicTrack:track:](https://write.woa.com/document/87029789200396288)</td>
142
-
143
- <td rowspan="1" colSpan="1" >Specify the playback track of background music</td>
144
- </tr>
145
- </table>
146
-
6
+ | Function List | Description |
7
+ | --- | --- |
8
+ | enableVoiceEarMonitor: | Enable ear return |
9
+ | setVoiceEarMonitorVolume: | Set ear return volume |
10
+ | setVoiceReverbType: | Set vocal reverb effect |
11
+ | setVoiceChangerType: | Set vocal voice changing effect |
12
+ | setVoiceVolume: | Set speech volume |
13
+ | setVoicePitch: | Set speech tone |
14
+ | startPlayMusic:onStart:onProgress:onComplete: | Start playing background music |
15
+ | stopPlayMusic: | Stop playing background music |
16
+ | pausePlayMusic: | Pause background music |
17
+ | resumePlayMusic: | Resume background music |
18
+ | setAllMusicVolume: | Set the local and remote volume of all background music |
19
+ | setMusicPublishVolume:volume: | Set the remote volume of a specific background music track |
20
+ | setMusicPlayoutVolume:volume: | Set the local volume of a specific background music track |
21
+ | setMusicPitch:pitch: | Adjust the pitch of background music |
22
+ | setMusicSpeedRate:speedRate: | Adjust the variable speed effect of background music |
23
+ | getMusicCurrentPosInMS: | Get the playback progress of background music (unit: milliseconds) |
24
+ | getMusicDurationInMS: | Get the total duration of background music (unit: milliseconds) |
25
+ | seekMusicToPosInMS:pts: | Set the playback progress of background music (unit: milliseconds) |
26
+ | setMusicScratchSpeedRate:speedRate: | Adjust the variable speed effect of scratching |
27
+ | preloadMusic:onProgress:onError: | Preload background music |
28
+ | getMusicTrackCount: | Obtain the number of background music tracks |
29
+ | setMusicTrack:track: | Specify the playback track of background music |
147
30
 
148
31
  ## Structural type
149
- <table>
150
- <tr>
151
- <td rowspan="1" colSpan="1" >Function List</td>
152
-
153
- <td rowspan="1" colSpan="1" >Description</td>
154
- </tr>
155
-
156
- <tr>
157
- <td rowspan="1" colSpan="1" >[TXAudioMusicParam](https://write.woa.com/document/87029789200396288)</td>
158
-
159
- <td rowspan="1" colSpan="1" >Playback control information for background music</td>
160
- </tr>
161
- </table>
162
-
32
+ | Function List | Description |
33
+ | --- | --- |
34
+ | TXAudioMusicParam | Playback control information for background music |
163
35
 
164
36
  ## Enumeration Types
165
- <table>
166
- <tr>
167
- <td rowspan="1" colSpan="1" >Enumeration Types</td>
168
-
169
- <td rowspan="1" colSpan="1" >Description</td>
170
- </tr>
171
-
172
- <tr>
173
- <td rowspan="1" colSpan="1" >[TXVoiceReverbType](https://write.woa.com/document/87029789200396288)</td>
174
-
175
- <td rowspan="1" colSpan="1" >Reverb effects</td>
176
- </tr>
177
-
178
- <tr>
179
- <td rowspan="1" colSpan="1" >[TXVoiceChangeType](https://write.woa.com/document/87029789200396288)</td>
180
-
181
- <td rowspan="1" colSpan="1" >Voice changing effects</td>
182
- </tr>
183
- </table>
184
-
37
+ | Enumeration Types | Description |
38
+ | --- | --- |
39
+ | TXVoiceReverbType | Reverb effects |
40
+ | TXVoiceChangeType | Voice changing effects |
185
41
 
186
42
  ## enableVoiceEarMonitor:
187
43
 
188
-
189
-
190
44
  #### Enable ear return
191
45
 
192
46
  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.
193
47
 
194
-
195
-
196
48
  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.
197
49
 
198
50
  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.
199
- <table>
200
- <tr>
201
- <td rowspan="1" colSpan="1" >Parameters</td>
202
-
203
- <td rowspan="1" colSpan="1" >Description</td>
204
- </tr>
205
-
206
- <tr>
207
- <td rowspan="1" colSpan="1" >enable</td>
208
-
209
- <td rowspan="1" colSpan="1" >YES: On; NO: Off.</td>
210
- </tr>
211
- </table>
212
-
51
+ | Parameters | Description |
52
+ | --- | --- |
53
+ | enable | YES: On; NO: Off. |
213
54
 
214
55
  > **Note**
215
- >
56
+ >
216
57
 
217
58
  > This effect can only be enabled when the host is wearing headphones. Please also prompt the host to wear wired headphones.
218
- >
219
-
59
+ >
220
60
 
221
61
  ## setVoiceEarMonitorVolume:
222
62
 
223
-
224
-
225
63
  #### Set ear return volume
226
64
 
227
65
  Through this interface, you can set the volume of the sound in the ear return effect.
228
- <table>
229
- <tr>
230
- <td rowspan="1" colSpan="1" >Parameters</td>
231
-
232
- <td rowspan="1" colSpan="1" >Description</td>
233
- </tr>
234
-
235
- <tr>
236
- <td rowspan="1" colSpan="1" >volume</td>
237
-
238
- <td rowspan="1" colSpan="1" >Volume. Value range: 0 - 100. Default value: 100.</td>
239
- </tr>
240
- </table>
241
-
66
+ | Parameters | Description |
67
+ | --- | --- |
68
+ | volume | Volume. Value range: 0 - 100. Default value: 100. |
242
69
 
243
70
  > **Note**
244
- >
71
+ >
245
72
 
246
73
  > 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.
247
- >
248
-
74
+ >
249
75
 
250
76
  ## setVoiceReverbType:
251
77
 
252
-
253
-
254
78
  #### Set vocal reverb effect
255
79
 
256
- Through this interface, you can set the vocal reverb effect. For specific effects, please refer to the enumeration Definition [TXVoiceReverbType](https://write.woa.com/document/87029789200396288).
80
+ Through this interface, you can set the vocal reverb effect. For specific effects, please refer to the enumeration Definition TXVoiceReverbType.
257
81
 
258
82
  > **Note**
259
- >
83
+ >
260
84
 
261
85
  > 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.
262
- >
263
-
86
+ >
264
87
 
265
88
  ## setVoiceChangerType:
266
89
 
267
-
268
-
269
90
  #### Set vocal voice changing effect
270
91
 
271
- Through this interface, you can set the voice changing effect. For specific effects, please refer to the enumeration Definition [TXVoiceChangeType](https://write.woa.com/document/87029789200396288).
92
+ Through this interface, you can set the voice changing effect. For specific effects, please refer to the enumeration Definition TXVoiceChangeType.
272
93
 
273
94
  > **Note**
274
- >
95
+ >
275
96
 
276
97
  > 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.
277
- >
278
-
98
+ >
279
99
 
280
100
  ## setVoiceVolume:
281
101
 
282
-
283
-
284
102
  #### Set speech volume
285
103
 
286
- This interface allows you to set the voice volume. It is generally used in conjunction with the music volume setting interface [setAllMusicVolume](https://write.woa.com/document/87029789200396288), to balance the respective volumes of voice and music before mixing.
287
- <table>
288
- <tr>
289
- <td rowspan="1" colSpan="1" >Parameters</td>
290
-
291
- <td rowspan="1" colSpan="1" >Description</td>
292
- </tr>
293
-
294
- <tr>
295
- <td rowspan="1" colSpan="1" >volume</td>
296
-
297
- <td rowspan="1" colSpan="1" >Volume. Value range: 0-100. Default value: 100.</td>
298
- </tr>
299
- </table>
300
-
104
+ 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.
105
+ | Parameters | Description |
106
+ | --- | --- |
107
+ | volume | Volume. Value range: 0-100. Default value: 100. |
301
108
 
302
109
  > **Note**
303
- >
110
+ >
304
111
 
305
112
  > 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.
306
- >
307
-
113
+ >
308
114
 
309
115
  ## setVoicePitch:
310
116
 
311
-
312
-
313
117
  #### Set speech tone
314
118
 
315
119
  This interface can set the voice pitch, achieving pitch change without speed variation.
316
- <table>
317
- <tr>
318
- <td rowspan="1" colSpan="1" >Parameters</td>
319
-
320
- <td rowspan="1" colSpan="1" >Description</td>
321
- </tr>
322
-
323
- <tr>
324
- <td rowspan="1" colSpan="1" >pitch</td>
325
-
326
- <td rowspan="1" colSpan="1" >Pitch, value range: -1.0f to 1.0f, default value: 0.0f.</td>
327
- </tr>
328
- </table>
329
-
120
+ | Parameters | Description |
121
+ | --- | --- |
122
+ | pitch | Pitch, value range: -1.0f to 1.0f, default value: 0.0f. |
330
123
 
331
124
  ## startPlayMusic:onStart:onProgress:onComplete:
332
125
 
333
-
334
-
335
126
  #### Start playing background music
336
127
 
337
128
  Each piece of music requires a specific ID. With this ID, you can control the start, stop, volume, etc., of the music.
338
- <table>
339
- <tr>
340
- <td rowspan="1" colSpan="1" >Parameters</td>
341
-
342
- <td rowspan="1" colSpan="1" >Description</td>
343
- </tr>
344
-
345
- <tr>
346
- <td rowspan="1" colSpan="1" >completeBlock</td>
347
-
348
- <td rowspan="1" colSpan="1" >Play end callback.</td>
349
- </tr>
350
-
351
- <tr>
352
- <td rowspan="1" colSpan="1" >musicParam</td>
353
-
354
- <td rowspan="1" colSpan="1" >Music parameters.</td>
355
- </tr>
356
-
357
- <tr>
358
- <td rowspan="1" colSpan="1" >progressBlock</td>
359
-
360
- <td rowspan="1" colSpan="1" >Playback progress callback.</td>
361
- </tr>
362
-
363
- <tr>
364
- <td rowspan="1" colSpan="1" >startBlock</td>
365
-
366
- <td rowspan="1" colSpan="1" >Playback start callback.</td>
367
- </tr>
368
- </table>
369
-
129
+ | Parameters | Description |
130
+ | --- | --- |
131
+ | completeBlock | Play end callback. |
132
+ | musicParam | Music parameters. |
133
+ | progressBlock | Playback progress callback. |
134
+ | startBlock | Playback start callback. |
370
135
 
371
136
  > **Note**
372
- >
137
+ >
373
138
 
374
139
  > 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.
375
- >
140
+ >
376
141
 
377
142
  > 2. If you want to play different pieces of music simultaneously, assign different IDs for each piece.
378
- >
143
+ >
379
144
 
380
145
  > 3. If you use the same ID to play different music, the SDK will stop the old music before playing the new one.
381
- >
382
-
146
+ >
383
147
 
384
148
  ## stopPlayMusic:
385
149
 
386
-
387
-
388
150
  #### Stop playing background music
389
- <table>
390
- <tr>
391
- <td rowspan="1" colSpan="1" >Parameters</td>
392
-
393
- <td rowspan="1" colSpan="1" >Description</td>
394
- </tr>
395
-
396
- <tr>
397
- <td rowspan="1" colSpan="1" >id</td>
398
-
399
- <td rowspan="1" colSpan="1" >Music ID.</td>
400
- </tr>
401
- </table>
402
-
151
+ | Parameters | Description |
152
+ | --- | --- |
153
+ | id | Music ID. |
403
154
 
404
155
  ## pausePlayMusic:
405
156
 
406
-
407
-
408
157
  #### Pause background music
409
- <table>
410
- <tr>
411
- <td rowspan="1" colSpan="1" >Parameters</td>
412
-
413
- <td rowspan="1" colSpan="1" >Description</td>
414
- </tr>
415
-
416
- <tr>
417
- <td rowspan="1" colSpan="1" >id</td>
418
-
419
- <td rowspan="1" colSpan="1" >Music ID.</td>
420
- </tr>
421
- </table>
422
-
158
+ | Parameters | Description |
159
+ | --- | --- |
160
+ | id | Music ID. |
423
161
 
424
162
  ## resumePlayMusic:
425
163
 
426
-
427
-
428
164
  #### Resume background music
429
- <table>
430
- <tr>
431
- <td rowspan="1" colSpan="1" >Parameters</td>
432
-
433
- <td rowspan="1" colSpan="1" >Description</td>
434
- </tr>
435
-
436
- <tr>
437
- <td rowspan="1" colSpan="1" >id</td>
438
-
439
- <td rowspan="1" colSpan="1" >Music ID.</td>
440
- </tr>
441
- </table>
442
-
165
+ | Parameters | Description |
166
+ | --- | --- |
167
+ | id | Music ID. |
443
168
 
444
169
  ## setAllMusicVolume:
445
170
 
446
-
447
-
448
171
  #### Set the local and remote volume of all background music
449
172
 
450
173
  This interface allows you to set both the local and remote volume of all background music.
@@ -452,169 +175,70 @@ This interface allows you to set both the local and remote volume of all backgro
452
175
 
453
176
  - Remote Volume: The volume of background music that the audience can hear.
454
177
 
455
- <table>
456
- <tr>
457
- <td rowspan="1" colSpan="1" >Parameters</td>
458
-
459
- <td rowspan="1" colSpan="1" >Description</td>
460
- </tr>
461
-
462
- <tr>
463
- <td rowspan="1" colSpan="1" >volume</td>
464
-
465
- <td rowspan="1" colSpan="1" >Volume range, value range is 0-100, default value: 60.</td>
466
- </tr>
467
- </table>
468
-
178
+ | Parameters | Description |
179
+ | --- | --- |
180
+ | volume | Volume range, value range is 0-100, default value: 60. |
469
181
 
470
182
  > **Note**
471
- >
183
+ >
472
184
 
473
185
  > 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.
474
- >
475
-
186
+ >
476
187
 
477
188
  ## setMusicPublishVolume:volume:
478
189
 
479
-
480
-
481
190
  #### Set the remote volume of a specific background music track
482
191
 
483
192
  This interface can finely control the remote volume for each background music track, which is the volume the audience can hear.
484
- <table>
485
- <tr>
486
- <td rowspan="1" colSpan="1" >Parameters</td>
487
-
488
- <td rowspan="1" colSpan="1" >Description</td>
489
- </tr>
490
-
491
- <tr>
492
- <td rowspan="1" colSpan="1" >id</td>
493
-
494
- <td rowspan="1" colSpan="1" >Music ID.</td>
495
- </tr>
496
-
497
- <tr>
498
- <td rowspan="1" colSpan="1" >volume</td>
499
-
500
- <td rowspan="1" colSpan="1" >Volume range, value range is 0-100; default value: 60.</td>
501
- </tr>
502
- </table>
503
-
193
+ | Parameters | Description |
194
+ | --- | --- |
195
+ | id | Music ID. |
196
+ | volume | Volume range, value range is 0-100; default value: 60. |
504
197
 
505
198
  > **Note**
506
- >
199
+ >
507
200
 
508
201
  > 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.
509
- >
510
-
202
+ >
511
203
 
512
204
  ## setMusicPlayoutVolume:volume:
513
205
 
514
-
515
-
516
206
  #### Set the local volume of a specific background music track
517
207
 
518
208
  This interface can finely control the local volume for each background music track, which is the volume the host can hear locally.
519
- <table>
520
- <tr>
521
- <td rowspan="1" colSpan="1" >Parameters</td>
522
-
523
- <td rowspan="1" colSpan="1" >Description</td>
524
- </tr>
525
-
526
- <tr>
527
- <td rowspan="1" colSpan="1" >id</td>
528
-
529
- <td rowspan="1" colSpan="1" >Music ID.</td>
530
- </tr>
531
-
532
- <tr>
533
- <td rowspan="1" colSpan="1" >volume</td>
534
-
535
- <td rowspan="1" colSpan="1" >Volume range, value range is 0-100, default value: 60.</td>
536
- </tr>
537
- </table>
538
-
209
+ | Parameters | Description |
210
+ | --- | --- |
211
+ | id | Music ID. |
212
+ | volume | Volume range, value range is 0-100, default value: 60. |
539
213
 
540
214
  > **Note**
541
- >
215
+ >
542
216
 
543
217
  > 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.
544
- >
545
-
218
+ >
546
219
 
547
220
  ## setMusicPitch:pitch:
548
221
 
549
-
550
-
551
222
  #### Adjust the pitch of background music
552
- <table>
553
- <tr>
554
- <td rowspan="1" colSpan="1" >Parameters</td>
555
-
556
- <td rowspan="1" colSpan="1" >Description</td>
557
- </tr>
558
-
559
- <tr>
560
- <td rowspan="1" colSpan="1" >id</td>
561
-
562
- <td rowspan="1" colSpan="1" >Music ID.</td>
563
- </tr>
564
-
565
- <tr>
566
- <td rowspan="1" colSpan="1" >pitch</td>
567
-
568
- <td rowspan="1" colSpan="1" >Pitch, default value is 0.0f, value range is a floating point between [-1 ~ 1].</td>
569
- </tr>
570
- </table>
571
-
223
+ | Parameters | Description |
224
+ | --- | --- |
225
+ | id | Music ID. |
226
+ | pitch | Pitch, default value is 0.0f, value range is a floating point between [-1 ~ 1]. |
572
227
 
573
228
  ## setMusicSpeedRate:speedRate:
574
229
 
575
-
576
-
577
230
  #### Adjust the variable speed effect of background music
578
- <table>
579
- <tr>
580
- <td rowspan="1" colSpan="1" >Parameters</td>
581
-
582
- <td rowspan="1" colSpan="1" >Description</td>
583
- </tr>
584
-
585
- <tr>
586
- <td rowspan="1" colSpan="1" >id</td>
587
-
588
- <td rowspan="1" colSpan="1" >Music ID.</td>
589
- </tr>
590
-
591
- <tr>
592
- <td rowspan="1" colSpan="1" >speedRate</td>
593
-
594
- <td rowspan="1" colSpan="1" >Speed, default value is 1.0f, value range is a floating point between [0.5 ~ 2].</td>
595
- </tr>
596
- </table>
597
-
231
+ | Parameters | Description |
232
+ | --- | --- |
233
+ | id | Music ID. |
234
+ | speedRate | Speed, default value is 1.0f, value range is a floating point between [0.5 ~ 2]. |
598
235
 
599
236
  ## getMusicCurrentPosInMS:
600
237
 
601
-
602
-
603
238
  #### Get the playback progress of background music (unit: milliseconds)
604
- <table>
605
- <tr>
606
- <td rowspan="1" colSpan="1" >Parameters</td>
607
-
608
- <td rowspan="1" colSpan="1" >Description</td>
609
- </tr>
610
-
611
- <tr>
612
- <td rowspan="1" colSpan="1" >id</td>
613
-
614
- <td rowspan="1" colSpan="1" >Music ID.</td>
615
- </tr>
616
- </table>
617
-
239
+ | Parameters | Description |
240
+ | --- | --- |
241
+ | id | Music ID. |
618
242
 
619
243
  #### Return value description:
620
244
 
@@ -622,23 +246,10 @@ On success, returns current playback time in milliseconds, on failure returns -1
622
246
 
623
247
  ## getMusicDurationInMS:
624
248
 
625
-
626
-
627
249
  #### Get the total duration of background music (unit: milliseconds)
628
- <table>
629
- <tr>
630
- <td rowspan="1" colSpan="1" >Parameters</td>
631
-
632
- <td rowspan="1" colSpan="1" >Description</td>
633
- </tr>
634
-
635
- <tr>
636
- <td rowspan="1" colSpan="1" >path</td>
637
-
638
- <td rowspan="1" colSpan="1" >Music file path.</td>
639
- </tr>
640
- </table>
641
-
250
+ | Parameters | Description |
251
+ | --- | --- |
252
+ | path | Music file path. |
642
253
 
643
254
  #### Return value description:
644
255
 
@@ -646,455 +257,141 @@ On success, returns duration, on failure returns -1.
646
257
 
647
258
  ## seekMusicToPosInMS:pts:
648
259
 
649
-
650
-
651
260
  #### Set the playback progress of background music (unit: milliseconds)
652
- <table>
653
- <tr>
654
- <td rowspan="1" colSpan="1" >Parameters</td>
655
-
656
- <td rowspan="1" colSpan="1" >Description</td>
657
- </tr>
658
-
659
- <tr>
660
- <td rowspan="1" colSpan="1" >id</td>
661
-
662
- <td rowspan="1" colSpan="1" >Music ID.</td>
663
- </tr>
664
-
665
- <tr>
666
- <td rowspan="1" colSpan="1" >pts</td>
667
-
668
- <td rowspan="1" colSpan="1" >Unit: milliseconds.</td>
669
- </tr>
670
- </table>
671
-
261
+ | Parameters | Description |
262
+ | --- | --- |
263
+ | id | Music ID. |
264
+ | pts | Unit: milliseconds. |
672
265
 
673
266
  > **Note**
674
- >
267
+ >
675
268
 
676
269
  > Please avoid calling this interface too frequently as it may read and write music files again, which can be time-consuming.
677
- >
270
+ >
678
271
 
679
272
  > Therefore, when users drag the playback progress bar of the music, please call this interface after the user completes the drag operation.
680
- >
273
+ >
681
274
 
682
275
  > 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.
683
- >
684
-
276
+ >
685
277
 
686
278
  ## setMusicScratchSpeedRate:speedRate:
687
279
 
688
-
689
-
690
280
  #### Adjust the variable speed effect of scratching
691
- <table>
692
- <tr>
693
- <td rowspan="1" colSpan="1" >Parameters</td>
694
-
695
- <td rowspan="1" colSpan="1" >Description</td>
696
- </tr>
697
-
698
- <tr>
699
- <td rowspan="1" colSpan="1" >id</td>
700
-
701
- <td rowspan="1" colSpan="1" >Music ID.</td>
702
- </tr>
703
-
704
- <tr>
705
- <td rowspan="1" colSpan="1" >scratchSpeedRate</td>
706
-
707
- <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>
708
- </tr>
709
- </table>
710
-
281
+ | Parameters | Description |
282
+ | --- | --- |
283
+ | id | Music ID. |
284
+ | 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. |
711
285
 
712
286
  > **Note**
713
- >
287
+ >
714
288
 
715
289
  > Precondition: preloadMusic is successful.
716
- >
717
-
290
+ >
718
291
 
719
292
  ## preloadMusic:onProgress:onError:
720
293
 
721
-
722
-
723
294
  #### Preload background music
724
295
 
725
296
  Each piece of music requires a specific ID. With this ID, you can control the start, stop, volume, etc., of the music.
726
- <table>
727
- <tr>
728
- <td rowspan="1" colSpan="1" >Parameters</td>
729
-
730
- <td rowspan="1" colSpan="1" >Description</td>
731
- </tr>
732
-
733
- <tr>
734
- <td rowspan="1" colSpan="1" >preloadParam</td>
735
-
736
- <td rowspan="1" colSpan="1" >Preload music parameters.</td>
737
- </tr>
738
- </table>
739
-
297
+ | Parameters | Description |
298
+ | --- | --- |
299
+ | preloadParam | Preload music parameters. |
740
300
 
741
301
  > **Note**
742
- >
302
+ >
743
303
 
744
304
  > 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.
745
- >
305
+ >
746
306
 
747
307
  > 2. If the music corresponding to this ID is playing, preloading will fail. You need to call stopPlayMusic first.
748
- >
308
+ >
749
309
 
750
310
  > 3. When the musicParam is exactly the same as the musicParam passed to startPlayMusic, preloading is effective.
751
- >
752
-
311
+ >
753
312
 
754
313
  ## getMusicTrackCount:
755
314
 
756
-
757
-
758
315
  #### Obtain the number of background music tracks
759
- <table>
760
- <tr>
761
- <td rowspan="1" colSpan="1" >Parameters</td>
762
-
763
- <td rowspan="1" colSpan="1" >Description</td>
764
- </tr>
765
-
766
- <tr>
767
- <td rowspan="1" colSpan="1" >id</td>
768
-
769
- <td rowspan="1" colSpan="1" >Music ID.</td>
770
- </tr>
771
- </table>
772
-
316
+ | Parameters | Description |
317
+ | --- | --- |
318
+ | id | Music ID. |
773
319
 
774
320
  ## setMusicTrack:track:
775
321
 
776
-
777
-
778
322
  #### Specify the playback track of background music
779
- <table>
780
- <tr>
781
- <td rowspan="1" colSpan="1" >Parameters</td>
782
-
783
- <td rowspan="1" colSpan="1" >Description</td>
784
- </tr>
785
-
786
- <tr>
787
- <td rowspan="1" colSpan="1" >id</td>
788
-
789
- <td rowspan="1" colSpan="1" >Music ID.</td>
790
- </tr>
791
-
792
- <tr>
793
- <td rowspan="1" colSpan="1" >index</td>
794
-
795
- <td rowspan="1" colSpan="1" >By default, the first audio track is played. The range of values is [0, total number of tracks).</td>
796
- </tr>
797
- </table>
798
-
323
+ | Parameters | Description |
324
+ | --- | --- |
325
+ | id | Music ID. |
326
+ | index | By default, the first audio track is played. The range of values is 0, total number of tracks). |
799
327
 
800
328
  > **Note**
801
- >
329
+ >
802
330
 
803
331
  > The total number of tracks can be obtained through the getMusicTrackCount interface.
804
- >
805
-
332
+ >
806
333
 
807
334
  ## TXVoiceReverbType
808
335
 
809
-
810
-
811
336
  #### Reverb effects
812
337
 
813
338
  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:
814
339
 
815
340
  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.
816
- <table>
817
- <tr>
818
- <td rowspan="1" colSpan="1" >Enumeration</td>
819
-
820
- <td rowspan="1" colSpan="1" >Value</td>
821
-
822
- <td rowspan="1" colSpan="1" >Description</td>
823
- </tr>
824
-
825
- <tr>
826
- <td rowspan="1" colSpan="1" >TXVoiceReverbType_0</td>
827
-
828
- <td rowspan="1" colSpan="1" >0</td>
829
-
830
- <td rowspan="1" colSpan="1" >Turn off effects</td>
831
- </tr>
832
-
833
- <tr>
834
- <td rowspan="1" colSpan="1" >TXVoiceReverbType_1</td>
835
-
836
- <td rowspan="1" colSpan="1" >1</td>
837
-
838
- <td rowspan="1" colSpan="1" >KTV</td>
839
- </tr>
840
-
841
- <tr>
842
- <td rowspan="1" colSpan="1" >TXVoiceReverbType_2</td>
843
-
844
- <td rowspan="1" colSpan="1" >2</td>
845
-
846
- <td rowspan="1" colSpan="1" >Small Room</td>
847
- </tr>
848
-
849
- <tr>
850
- <td rowspan="1" colSpan="1" >TXVoiceReverbType_3</td>
851
-
852
- <td rowspan="1" colSpan="1" >3</td>
853
-
854
- <td rowspan="1" colSpan="1" >Hall</td>
855
- </tr>
856
-
857
- <tr>
858
- <td rowspan="1" colSpan="1" >TXVoiceReverbType_4</td>
859
-
860
- <td rowspan="1" colSpan="1" >4</td>
861
-
862
- <td rowspan="1" colSpan="1" >Low-pitched</td>
863
- </tr>
864
-
865
- <tr>
866
- <td rowspan="1" colSpan="1" >TXVoiceReverbType_5</td>
867
-
868
- <td rowspan="1" colSpan="1" >5</td>
869
-
870
- <td rowspan="1" colSpan="1" >Loud</td>
871
- </tr>
872
-
873
- <tr>
874
- <td rowspan="1" colSpan="1" >TXVoiceReverbType_6</td>
875
-
876
- <td rowspan="1" colSpan="1" >6</td>
877
-
878
- <td rowspan="1" colSpan="1" >Metallic sound</td>
879
- </tr>
880
-
881
- <tr>
882
- <td rowspan="1" colSpan="1" >TXVoiceReverbType_7</td>
883
-
884
- <td rowspan="1" colSpan="1" >7</td>
885
-
886
- <td rowspan="1" colSpan="1" >Magnetic</td>
887
- </tr>
888
-
889
- <tr>
890
- <td rowspan="1" colSpan="1" >TXVoiceReverbType_8</td>
891
-
892
- <td rowspan="1" colSpan="1" >8</td>
893
-
894
- <td rowspan="1" colSpan="1" >Ethereal voice</td>
895
- </tr>
896
-
897
- <tr>
898
- <td rowspan="1" colSpan="1" >TXVoiceReverbType_9</td>
899
-
900
- <td rowspan="1" colSpan="1" >9</td>
901
-
902
- <td rowspan="1" colSpan="1" >Recording studio</td>
903
- </tr>
904
-
905
- <tr>
906
- <td rowspan="1" colSpan="1" >TXVoiceReverbType_10</td>
907
-
908
- <td rowspan="1" colSpan="1" >10</td>
909
-
910
- <td rowspan="1" colSpan="1" >Melodious</td>
911
- </tr>
912
-
913
- <tr>
914
- <td rowspan="1" colSpan="1" >TXVoiceReverbType_11</td>
915
-
916
- <td rowspan="1" colSpan="1" >11</td>
917
-
918
- <td rowspan="1" colSpan="1" >Recording studio 2</td>
919
- </tr>
920
- </table>
921
-
341
+ | Enumeration | Value | Description |
342
+ | --- | --- | --- |
343
+ | TXVoiceReverbType_0 | 0 | Turn off effects |
344
+ | TXVoiceReverbType_1 | 1 | KTV |
345
+ | TXVoiceReverbType_2 | 2 | Small Room |
346
+ | TXVoiceReverbType_3 | 3 | Hall |
347
+ | TXVoiceReverbType_4 | 4 | Low-pitched |
348
+ | TXVoiceReverbType_5 | 5 | Loud |
349
+ | TXVoiceReverbType_6 | 6 | Metallic sound |
350
+ | TXVoiceReverbType_7 | 7 | Magnetic |
351
+ | TXVoiceReverbType_8 | 8 | Ethereal voice |
352
+ | TXVoiceReverbType_9 | 9 | Recording studio |
353
+ | TXVoiceReverbType_10 | 10 | Melodious |
354
+ | TXVoiceReverbType_11 | 11 | Recording studio 2 |
922
355
 
923
356
  ## TXVoiceChangeType
924
357
 
925
-
926
-
927
358
  #### Voice changing effects
928
359
 
929
360
  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:
930
361
 
931
362
  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.
932
- <table>
933
- <tr>
934
- <td rowspan="1" colSpan="1" >Enumeration</td>
935
-
936
- <td rowspan="1" colSpan="1" >Value</td>
937
-
938
- <td rowspan="1" colSpan="1" >Description</td>
939
- </tr>
940
-
941
- <tr>
942
- <td rowspan="1" colSpan="1" >TXVoiceChangeType_0</td>
943
-
944
- <td rowspan="1" colSpan="1" >0</td>
945
-
946
- <td rowspan="1" colSpan="1" >Off</td>
947
- </tr>
948
-
949
- <tr>
950
- <td rowspan="1" colSpan="1" >TXVoiceChangeType_1</td>
951
-
952
- <td rowspan="1" colSpan="1" >1</td>
953
-
954
- <td rowspan="1" colSpan="1" >Naughty kid</td>
955
- </tr>
956
-
957
- <tr>
958
- <td rowspan="1" colSpan="1" >TXVoiceChangeType_2</td>
959
-
960
- <td rowspan="1" colSpan="1" >2</td>
961
-
962
- <td rowspan="1" colSpan="1" >Lolita</td>
963
- </tr>
964
-
965
- <tr>
966
- <td rowspan="1" colSpan="1" >TXVoiceChangeType_3</td>
967
-
968
- <td rowspan="1" colSpan="1" >3</td>
969
-
970
- <td rowspan="1" colSpan="1" >Uncle</td>
971
- </tr>
972
-
973
- <tr>
974
- <td rowspan="1" colSpan="1" >TXVoiceChangeType_4</td>
975
-
976
- <td rowspan="1" colSpan="1" >4</td>
977
-
978
- <td rowspan="1" colSpan="1" >Heavy metal</td>
979
- </tr>
980
-
981
- <tr>
982
- <td rowspan="1" colSpan="1" >TXVoiceChangeType_5</td>
983
-
984
- <td rowspan="1" colSpan="1" >5</td>
985
-
986
- <td rowspan="1" colSpan="1" >Cold</td>
987
- </tr>
988
-
989
- <tr>
990
- <td rowspan="1" colSpan="1" >TXVoiceChangeType_6</td>
991
-
992
- <td rowspan="1" colSpan="1" >6</td>
993
-
994
- <td rowspan="1" colSpan="1" >Foreign accent</td>
995
- </tr>
996
-
997
- <tr>
998
- <td rowspan="1" colSpan="1" >TXVoiceChangeType_7</td>
999
-
1000
- <td rowspan="1" colSpan="1" >7</td>
1001
-
1002
- <td rowspan="1" colSpan="1" >Trapped beast</td>
1003
- </tr>
1004
-
1005
- <tr>
1006
- <td rowspan="1" colSpan="1" >TXVoiceChangeType_8</td>
1007
-
1008
- <td rowspan="1" colSpan="1" >8</td>
1009
-
1010
- <td rowspan="1" colSpan="1" >Otaku</td>
1011
- </tr>
1012
-
1013
- <tr>
1014
- <td rowspan="1" colSpan="1" >TXVoiceChangeType_9</td>
1015
-
1016
- <td rowspan="1" colSpan="1" >9</td>
1017
-
1018
- <td rowspan="1" colSpan="1" >Strong electric current</td>
1019
- </tr>
1020
-
1021
- <tr>
1022
- <td rowspan="1" colSpan="1" >TXVoiceChangeType_10</td>
1023
-
1024
- <td rowspan="1" colSpan="1" >10</td>
1025
-
1026
- <td rowspan="1" colSpan="1" >Heavy Machinery</td>
1027
- </tr>
1028
-
1029
- <tr>
1030
- <td rowspan="1" colSpan="1" >TXVoiceChangeType_11</td>
1031
-
1032
- <td rowspan="1" colSpan="1" >11</td>
1033
-
1034
- <td rowspan="1" colSpan="1" >Ethereal voice</td>
1035
- </tr>
1036
- </table>
1037
-
363
+ | Enumeration | Value | Description |
364
+ | --- | --- | --- |
365
+ | TXVoiceChangeType_0 | 0 | Off |
366
+ | TXVoiceChangeType_1 | 1 | Naughty kid |
367
+ | TXVoiceChangeType_2 | 2 | Lolita |
368
+ | TXVoiceChangeType_3 | 3 | Uncle |
369
+ | TXVoiceChangeType_4 | 4 | Heavy metal |
370
+ | TXVoiceChangeType_5 | 5 | Cold |
371
+ | TXVoiceChangeType_6 | 6 | Foreign accent |
372
+ | TXVoiceChangeType_7 | 7 | Trapped beast |
373
+ | TXVoiceChangeType_8 | 8 | Otaku |
374
+ | TXVoiceChangeType_9 | 9 | Strong electric current |
375
+ | TXVoiceChangeType_10 | 10 | Heavy Machinery |
376
+ | TXVoiceChangeType_11 | 11 | Ethereal voice |
1038
377
 
1039
378
  ## TXAudioMusicParam
1040
379
 
1041
-
1042
-
1043
380
  #### Playback control information for background music
1044
381
 
1045
- This information is used to specify background music details in the interface [startPlayMusic](https://write.woa.com/document/87029789200396288), including play ID, file path, loop count, etc.:
382
+ This information is used to specify background music details in the interface [startPlayMusic, including play ID, file path, loop count, etc.:
1046
383
 
1047
384
  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.
1048
385
 
1049
386
  2. If you want to play different pieces of music simultaneously, assign different IDs for each piece.
1050
387
 
1051
388
  3. If you use the same ID to play different music, the SDK will stop the old music before playing the new one.
1052
- <table>
1053
- <tr>
1054
- <td rowspan="1" colSpan="1" >Enumeration Types</td>
1055
-
1056
- <td rowspan="1" colSpan="1" >Description</td>
1057
- </tr>
1058
-
1059
- <tr>
1060
- <td rowspan="1" colSpan="1" >ID</td>
1061
-
1062
- <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>
1063
- </tr>
1064
-
1065
- <tr>
1066
- <td rowspan="1" colSpan="1" >endTimeMS</td>
1067
-
1068
- <td rowspan="1" colSpan="1" >[Field Meaning] Music play end time, in milliseconds. 0 means play until the end of the file.</td>
1069
- </tr>
1070
-
1071
- <tr>
1072
- <td rowspan="1" colSpan="1" >isShortFile</td>
1073
-
1074
- <td rowspan="1" colSpan="1" >[Field Meaning] Whether the played file is a short music file.<br>[Recommended Value] YES: short music file that needs to be played repeatedly; NO: normal music file. Default: NO.</td>
1075
- </tr>
1076
-
1077
- <tr>
1078
- <td rowspan="1" colSpan="1" >loopCount</td>
1079
-
1080
- <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>
1081
- </tr>
1082
-
1083
- <tr>
1084
- <td rowspan="1" colSpan="1" >path</td>
1085
-
1086
- <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>
1087
- </tr>
1088
-
1089
- <tr>
1090
- <td rowspan="1" colSpan="1" >publish</td>
1091
-
1092
- <td rowspan="1" colSpan="1" >[Field Meaning] Whether to transmit the music to the remote end.<br>[Recommended Value] YES: The music is played locally and is also heard by remote users; NO: The host hears the music locally, but remote audience cannot. Default: NO.</td>
1093
- </tr>
1094
-
1095
- <tr>
1096
- <td rowspan="1" colSpan="1" >startTimeMS</td>
1097
-
1098
- <td rowspan="1" colSpan="1" >[Field Meaning] Music start time, in milliseconds.</td>
1099
- </tr>
1100
- </table>
389
+ | Enumeration Types | Description |
390
+ | --- | --- |
391
+ | 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. |
392
+ | endTimeMS | [Field Meaning] Music play end time, in milliseconds. 0 means play until the end of the file. |
393
+ | isShortFile | [Field Meaning] Whether the played file is a short music file.<br>[Recommended Value] YES: short music file that needs to be played repeatedly; NO: normal music file. Default: NO. |
394
+ | 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. |
395
+ | path | [Field Meaning] The full path or URL of the audio file. Supported audio formats include MP3, AAC, M4A, WAV. |
396
+ | publish | [Field Meaning] Whether to transmit the music to the remote end.<br>[Recommended Value] YES: The music is played locally and is also heard by remote users; NO: The host hears the music locally, but remote audience cannot. Default: NO. |
397
+ | startTimeMS | [Field Meaning] Music start time, in milliseconds. |