@tencent-rtc/mcp 1.3.9 → 1.4.0

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