@tencent-rtc/mcp 1.3.9 → 1.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +2 -2
- package/resource/doc/{tuicallkit/iOS/faq.md → callkit/faq/android-faq.md} +10 -22
- package/resource/doc/{tuicallkit/android/faq.md → callkit/faq/flutter-faq.md} +10 -22
- package/resource/doc/{tuicallkit/flutter/faq.md → callkit/faq/ios-faq.md} +10 -22
- package/resource/doc/callkit/preset/android/api.md +296 -0
- package/resource/doc/{tuicallkit → callkit/preset}/android/integration.md +53 -365
- package/resource/doc/callkit/preset/flutter/api.md +410 -0
- package/resource/doc/{tuicallkit → callkit/preset}/flutter/integration.md +35 -97
- package/resource/doc/callkit/preset/ios/api.md +80 -0
- package/resource/doc/{tuicallkit/iOS → callkit/preset/ios}/integration.md +37 -118
- package/resource/doc/callkit/preset/react/api.md +501 -0
- package/resource/doc/{tuicallkit → callkit/preset}/react/integration.md +5 -20
- package/resource/doc/callkit/preset/vue/api.md +501 -0
- package/resource/doc/{tuicallkit → callkit/preset}/vue/integration.md +4 -19
- package/resource/doc/{chatuikit → chatkit}/android/faq.md +29 -38
- package/resource/doc/{chatuikit → chatkit}/android/features/theme.md +22 -166
- package/resource/doc/{chatuikit → chatkit}/android/integration.md +28 -121
- package/resource/doc/chatkit/faq/android_sdk/client-api.md +281 -0
- package/resource/doc/{chatuikit → chatkit}/faq/common/product.md +0 -1
- package/resource/doc/{chatuikit → chatkit}/faq/common/server.md +1 -1
- package/resource/doc/chatkit/faq/flutter_sdk/client-api.md +199 -0
- package/resource/doc/{chatuikit → chatkit}/faq/flutter_sdk/faq.md +3 -3
- package/resource/doc/chatkit/faq/ios_sdk/client-api.md +235 -0
- package/resource/doc/{chatuikit → chatkit}/faq/web_sdk/faq.md +3 -3
- package/resource/doc/{chatuikit → chatkit}/flutter/features/theme.md +22 -166
- package/resource/doc/{chatuikit → chatkit}/flutter/integration.md +18 -87
- package/resource/doc/{chatuikit/iOS → chatkit/ios}/faq.md +29 -38
- package/resource/doc/{chatuikit/iOS → chatkit/ios}/features/theme.md +27 -176
- package/resource/doc/{chatuikit/iOS → chatkit/ios}/integration.md +47 -165
- package/resource/doc/{chatuikit → chatkit}/react/components/avatar.md +0 -33
- package/resource/doc/{chatuikit → chatkit}/react/components/chat-header.md +8 -49
- package/resource/doc/{chatuikit → chatkit}/react/components/chat-setting.md +6 -35
- package/resource/doc/{chatuikit → chatkit}/react/components/chat.md +0 -6
- package/resource/doc/{chatuikit → chatkit}/react/components/component-list.md +0 -11
- package/resource/doc/{chatuikit → chatkit}/react/components/contact-list.md +96 -502
- package/resource/doc/chatkit/react/components/conversation-actions.md +174 -0
- package/resource/doc/chatkit/react/components/conversation-list.md +333 -0
- package/resource/doc/chatkit/react/components/conversation-preview.md +118 -0
- package/resource/doc/chatkit/react/components/conversation-search.md +60 -0
- package/resource/doc/{chatuikit → chatkit}/react/components/message-input.md +36 -337
- package/resource/doc/{chatuikit → chatkit}/react/components/message-list.md +20 -212
- package/resource/doc/chatkit/react/components/search.md +243 -0
- package/resource/doc/{chatuikit → chatkit}/react/components/tuikit.md +1 -47
- package/resource/doc/{chatuikit → chatkit}/react/integration.md +21 -81
- package/resource/doc/{chatuikit → chatkit}/vue/components/avatar.md +0 -33
- package/resource/doc/{chatuikit → chatkit}/vue/components/chat-header.md +7 -48
- package/resource/doc/{chatuikit → chatkit}/vue/components/chat-setting.md +3 -5
- package/resource/doc/{chatuikit → chatkit}/vue/components/chat.md +0 -5
- package/resource/doc/{chatuikit → chatkit}/vue/components/component-list.md +0 -15
- package/resource/doc/chatkit/vue/components/contact-list.md +271 -0
- package/resource/doc/chatkit/vue/components/conversation-actions.md +228 -0
- package/resource/doc/{chatuikit → chatkit}/vue/components/conversation-list.md +42 -492
- package/resource/doc/chatkit/vue/components/conversation-preview.md +213 -0
- package/resource/doc/chatkit/vue/components/conversation-search.md +50 -0
- package/resource/doc/{chatuikit → chatkit}/vue/components/message-input.md +2 -223
- package/resource/doc/{chatuikit → chatkit}/vue/components/message-list.md +23 -252
- package/resource/doc/{chatuikit → chatkit}/vue/components/search.md +73 -640
- package/resource/doc/{chatuikit → chatkit}/vue/components/tuikit.md +7 -21
- package/resource/doc/{chatuikit → chatkit}/vue/components/userpicker.md +3 -62
- package/resource/doc/{chatuikit → chatkit}/vue/faq.md +1 -1
- package/resource/doc/{chatuikit → chatkit}/vue/integration.md +22 -23
- package/resource/doc/livekit/{live → core-sdk/live}/android/live-audience-list.md +18 -89
- package/resource/doc/livekit/{live → core-sdk/live}/android/live-audio-effect.md +34 -192
- package/resource/doc/livekit/{live → core-sdk/live}/android/live-barrage.md +28 -141
- package/resource/doc/livekit/{live → core-sdk/live}/android/live-base-beauty.md +20 -112
- package/resource/doc/livekit/{live → core-sdk/live}/android/live-co-guest-interaction.md +59 -193
- package/resource/doc/livekit/{live → core-sdk/live}/android/live-gift.md +75 -455
- package/resource/doc/livekit/{live → core-sdk/live}/android/live-host-interaction.md +94 -344
- package/resource/doc/livekit/{live → core-sdk/live}/android/live-integration.md +107 -515
- package/resource/doc/livekit/{live → core-sdk/live}/android/live-live-list.md +33 -173
- package/resource/doc/livekit/{live → core-sdk/live}/flutter/live-audience-list.md +14 -93
- package/resource/doc/livekit/{live → core-sdk/live}/flutter/live-audio-effect.md +34 -179
- package/resource/doc/livekit/{live → core-sdk/live}/flutter/live-barrage.md +19 -107
- package/resource/doc/livekit/{live → core-sdk/live}/flutter/live-base-beauty.md +24 -166
- package/resource/doc/livekit/{live → core-sdk/live}/flutter/live-co-guest-interaction.md +56 -163
- package/resource/doc/livekit/{live → core-sdk/live}/flutter/live-gift.md +69 -443
- package/resource/doc/livekit/{live → core-sdk/live}/flutter/live-host-interaction.md +117 -364
- package/resource/doc/livekit/{live → core-sdk/live}/flutter/live-integration.md +107 -492
- package/resource/doc/livekit/{live → core-sdk/live}/flutter/live-live-list.md +23 -165
- package/resource/doc/livekit/{live → core-sdk/live}/ios/live-audience-list.md +35 -111
- package/resource/doc/livekit/{live → core-sdk/live}/ios/live-audio-effect.md +35 -193
- package/resource/doc/livekit/{live → core-sdk/live}/ios/live-barrage.md +31 -144
- package/resource/doc/livekit/{live → core-sdk/live}/ios/live-base-beauty.md +24 -116
- package/resource/doc/livekit/{live → core-sdk/live}/ios/live-co-guest-interaction.md +37 -171
- package/resource/doc/livekit/{live → core-sdk/live}/ios/live-gift.md +79 -459
- package/resource/doc/livekit/{live → core-sdk/live}/ios/live-host-interaction.md +69 -320
- package/resource/doc/livekit/{live → core-sdk/live}/ios/live-integration.md +85 -502
- package/resource/doc/livekit/{live → core-sdk/live}/ios/live-live-list.md +32 -169
- package/resource/doc/livekit/{voice → core-sdk/voice}/android/voice-audience-list.md +18 -89
- package/resource/doc/livekit/{voice → core-sdk/voice}/android/voice-audio-effect.md +34 -192
- package/resource/doc/livekit/{voice → core-sdk/voice}/android/voice-barrage.md +28 -141
- package/resource/doc/livekit/{voice → core-sdk/voice}/android/voice-co-guest-interaction.md +50 -259
- package/resource/doc/livekit/{voice → core-sdk/voice}/android/voice-gift.md +75 -455
- package/resource/doc/livekit/{voice → core-sdk/voice}/android/voice-host-interaction.md +51 -265
- package/resource/doc/livekit/{voice → core-sdk/voice}/android/voice-integration.md +61 -427
- package/resource/doc/livekit/{voice → core-sdk/voice}/android/voice-room-list.md +33 -173
- package/resource/doc/livekit/{voice → core-sdk/voice}/flutter/voice-co-guest-interaction.md +44 -203
- package/resource/doc/livekit/{voice → core-sdk/voice}/flutter/voice-integration.md +56 -416
- package/resource/doc/livekit/{voice → core-sdk/voice}/ios/voice-audience-list.md +35 -111
- package/resource/doc/livekit/{voice → core-sdk/voice}/ios/voice-audio-effect.md +35 -193
- package/resource/doc/livekit/{voice → core-sdk/voice}/ios/voice-barrage.md +31 -144
- package/resource/doc/livekit/{voice → core-sdk/voice}/ios/voice-co-guest-interaction.md +43 -252
- package/resource/doc/livekit/{voice → core-sdk/voice}/ios/voice-gift.md +79 -459
- package/resource/doc/livekit/{voice → core-sdk/voice}/ios/voice-host-interaction.md +46 -264
- package/resource/doc/livekit/{voice → core-sdk/voice}/ios/voice-integration.md +61 -445
- package/resource/doc/livekit/{voice → core-sdk/voice}/ios/voice-room-list.md +32 -169
- package/resource/doc/livekit/faq/common/{error_code.md → error-code.md} +2 -2
- package/resource/doc/livekit/preset/live/vue/api-reference/index.md +780 -0
- package/resource/doc/livekit/preset/live/vue/components/barrage.md +291 -0
- package/resource/doc/livekit/{live → preset/live}/vue/components/co-guest-panel.md +10 -49
- package/resource/doc/livekit/{live → preset/live}/vue/components/live-audience-list.md +26 -144
- package/resource/doc/livekit/{live → preset/live}/vue/components/live-scene-panel.md +12 -75
- package/resource/doc/livekit/{live → preset/live}/vue/components/live-view.md +36 -227
- package/resource/doc/livekit/preset/live/vue/components/stream-mixer.md +215 -0
- package/resource/doc/livekit/preset/live/vue/faq.md +1 -0
- package/resource/doc/livekit/preset/live/vue/live-list-integration.md +241 -0
- package/resource/doc/livekit/preset/live/vue/live-player-desk-integration.md +299 -0
- package/resource/doc/livekit/preset/live/vue/live-player-h5-integration.md +300 -0
- package/resource/doc/livekit/preset/live/vue/live-pusher-integration.md +743 -0
- package/resource/doc/roomkit/vue/faq.md +1 -0
- package/resource/doc/roomkit/vue/features/call-user-to-room.md +17 -53
- package/resource/doc/roomkit/vue/features/device-detection.md +30 -48
- package/resource/doc/roomkit/vue/features/device-state.md +24 -44
- package/resource/doc/roomkit/vue/features/free-beauty-panel.md +13 -36
- package/resource/doc/roomkit/vue/features/room-chat.md +31 -89
- package/resource/doc/roomkit/vue/features/room-participant-state.md +28 -50
- package/resource/doc/roomkit/vue/features/room-state.md +25 -34
- package/resource/doc/roomkit/vue/features/room-view.md +30 -125
- package/resource/doc/roomkit/vue/features/schedule-room.md +9 -40
- package/resource/doc/roomkit/vue/features/screen-share.md +22 -90
- package/resource/doc/roomkit/vue/features/virtual-background.md +13 -29
- package/resource/doc/roomkit/vue/integration.md +21 -76
- package/resource/doc/rtcengine/faq/common/error_code.md +1 -0
- package/resource/doc/rtcengine/faq/web/web.md +14 -24
- package/resource/doc/rtcengine/web/api.md +1 -3
- package/resource/doc/rtcengine/web/how_to_integrated_web_sdk.md +3 -10
- package/resource/doc/rtcengine/web/how_to_run_web_sdk_demo.md +1 -5
- package/resource/doc/rtcengine/web/plugin/20-advanced-customized-capture-rendering.md +1 -2
- package/resource/doc/rtcengine/web/plugin/21-advanced-auto-play-policy.md +2 -4
- package/resource/doc/rtcengine/web/plugin/23-advanced-support-detection.md +3 -5
- package/resource/doc/rtcengine/web/plugin/24-advanced-network-quality.md +1 -7
- package/resource/doc/rtcengine/web/plugin/25-advanced-device-change.md +0 -2
- package/resource/doc/rtcengine/web/plugin/26-advanced-publish-cdn-stream.md +4 -8
- package/resource/doc/rtcengine/web/plugin/27-advanced-small-stream.md +11 -11
- package/resource/doc/rtcengine/web/plugin/28-advanced-beauty.md +12 -88
- package/resource/doc/rtcengine/web/plugin/31-advanced-plugins-overview.md +5 -5
- package/resource/doc/rtcengine/web/plugin/34-advanced-proxy.md +30 -37
- package/resource/doc/rtcengine/web/plugin/36-advanced-virtual-background.md +13 -90
- package/resource/doc/rtcengine/web/plugin/37-advanced-voice-changer.md +1 -2
- package/resource/doc/rtcengine/web/plugin/39-advanced-video-decoder.md +1 -2
- package/resource/doc/rtcengine/web/plugin/40-advanced-video-mixer.md +19 -19
- package/resource/doc/rtcengine/web/plugin/41-advanced-small-stream-auto-switcher.md +1 -1
- package/resource/doc/rtcengine/web/plugin/42-advanced-realtime-transcriber.md +4 -5
- package/resource/doc/rtcengine/web/plugin/43-advanced-face-detection.md +3 -3
- package/resource/doc/trtc/C++/ITRTCCloud.md +686 -2835
- package/resource/doc/trtc/C++/ITRTCStatistics.md +53 -308
- package/resource/doc/trtc/C++/ITXAudioEffectManager.md +202 -1022
- package/resource/doc/trtc/C++/ITXDeviceManager.md +126 -767
- package/resource/doc/trtc/C++/TRTCCloudCallback.md +579 -2147
- package/resource/doc/trtc/C++/TRTCTypeDef.md +703 -3378
- package/resource/doc/trtc/C++/TXLiteAVCode.md +116 -908
- package/resource/doc/trtc/android/TRTCCloud.md +606 -2573
- package/resource/doc/trtc/android/TRTCCloudDef.md +752 -3640
- package/resource/doc/trtc/android/TRTCCloudListener.md +581 -2008
- package/resource/doc/trtc/android/TRTCStatistics.md +48 -278
- package/resource/doc/trtc/android/TXAudioEffectManager.md +202 -1022
- package/resource/doc/trtc/android/TXBeautyManager.md +127 -704
- package/resource/doc/trtc/android/TXDeviceManager.md +51 -318
- package/resource/doc/trtc/android/TXLiteAVCode.md +114 -892
- package/resource/doc/trtc/iOS/TRTCCloud.md +694 -2904
- package/resource/doc/trtc/iOS/TRTCCloudDef.md +726 -3498
- package/resource/doc/trtc/iOS/TRTCCloudDelegate.md +543 -2028
- package/resource/doc/trtc/iOS/TRTCStatistics.md +48 -278
- package/resource/doc/trtc/iOS/TXAudioEffectManager.md +174 -877
- package/resource/doc/trtc/iOS/TXBeautyManager.md +128 -710
- package/resource/doc/trtc/iOS/TXDeviceManager.md +129 -772
- package/resource/doc/trtc/iOS/TXLiteAVCode.md +117 -915
- package/server.js +1 -5
- package/server.js.map +1 -1
- package/tools/call/get_callkit_api.js +32 -0
- package/tools/call/get_callkit_api.js.map +1 -0
- package/tools/call/get_native_call_uikit_integration.js +34 -0
- package/tools/call/get_native_call_uikit_integration.js.map +1 -0
- package/tools/call/{get-web-call-integration.js → get_web_call_uikit_integration.js} +13 -8
- package/tools/call/get_web_call_uikit_integration.js.map +1 -0
- package/tools/chat/get_native_chat_uikit_feature_detail.js +34 -0
- package/tools/chat/get_native_chat_uikit_feature_detail.js.map +1 -0
- package/tools/chat/get_native_chat_uikit_integration.js +45 -0
- package/tools/chat/get_native_chat_uikit_integration.js.map +1 -0
- package/tools/chat/get_web_chat_uikit_component_detail.js +34 -0
- package/tools/chat/get_web_chat_uikit_component_detail.js.map +1 -0
- package/tools/chat/get_web_chat_uikit_integration.js +45 -0
- package/tools/chat/get_web_chat_uikit_integration.js.map +1 -0
- package/tools/common/get_faq.js +265 -0
- package/tools/common/get_faq.js.map +1 -0
- package/tools/common/{get-usersig.js → get_usersig.js} +6 -3
- package/tools/common/get_usersig.js.map +1 -0
- package/tools/common/present_framework_choice.js +63 -0
- package/tools/common/present_framework_choice.js.map +1 -0
- package/tools/common/record_skill_session.js +58 -0
- package/tools/common/record_skill_session.js.map +1 -0
- package/tools/definitions/get_callkit_api_def.js +29 -0
- package/tools/definitions/get_callkit_api_def.js.map +1 -0
- package/tools/definitions/get_faq_def.js +17 -18
- package/tools/definitions/get_faq_def.js.map +1 -1
- package/tools/definitions/get_native_call_uikit_integration_def.js +15 -34
- package/tools/definitions/get_native_call_uikit_integration_def.js.map +1 -1
- package/tools/definitions/get_native_chat_uikit_feature_detail_def.js +31 -0
- package/tools/definitions/get_native_chat_uikit_feature_detail_def.js.map +1 -0
- package/tools/definitions/get_native_chat_uikit_integration_def.js +16 -41
- package/tools/definitions/get_native_chat_uikit_integration_def.js.map +1 -1
- package/tools/definitions/get_native_livekit_core_features_def.js +34 -0
- package/tools/definitions/get_native_livekit_core_features_def.js.map +1 -0
- package/tools/definitions/get_native_livekit_core_integration_def.js +34 -0
- package/tools/definitions/get_native_livekit_core_integration_def.js.map +1 -0
- package/tools/definitions/get_native_trtc_sdk_docs_def.js +32 -0
- package/tools/definitions/get_native_trtc_sdk_docs_def.js.map +1 -0
- package/tools/definitions/get_usersig_def.js +17 -22
- package/tools/definitions/get_usersig_def.js.map +1 -1
- package/tools/definitions/get_web_call_uikit_integration_def.js +15 -7
- package/tools/definitions/get_web_call_uikit_integration_def.js.map +1 -1
- package/tools/definitions/get_web_chat_uikit_component_detail_def.js +17 -49
- package/tools/definitions/get_web_chat_uikit_component_detail_def.js.map +1 -1
- package/tools/definitions/get_web_chat_uikit_integration_def.js +16 -19
- package/tools/definitions/get_web_chat_uikit_integration_def.js.map +1 -1
- package/tools/definitions/get_web_live_uikit_integration_def.js +15 -18
- package/tools/definitions/get_web_live_uikit_integration_def.js.map +1 -1
- package/tools/definitions/get_web_livekit_api_def.js +30 -0
- package/tools/definitions/get_web_livekit_api_def.js.map +1 -0
- package/tools/definitions/get_web_livekit_component_detail_def.js +32 -0
- package/tools/definitions/get_web_livekit_component_detail_def.js.map +1 -0
- package/tools/definitions/get_web_room_uikit_integration_def.js +15 -46
- package/tools/definitions/get_web_room_uikit_integration_def.js.map +1 -1
- package/tools/definitions/get_web_roomkit_feature_detail_def.js +31 -0
- package/tools/definitions/get_web_roomkit_feature_detail_def.js.map +1 -0
- package/tools/definitions/get_web_trtc_sdk_api_def.js +27 -0
- package/tools/definitions/get_web_trtc_sdk_api_def.js.map +1 -0
- package/tools/definitions/get_web_trtc_sdk_integration_def.js +27 -0
- package/tools/definitions/get_web_trtc_sdk_integration_def.js.map +1 -0
- package/tools/definitions/get_web_trtc_sdk_plugin_def.js +27 -0
- package/tools/definitions/get_web_trtc_sdk_plugin_def.js.map +1 -0
- package/tools/definitions/present_framework_choice_def.js +24 -12
- package/tools/definitions/present_framework_choice_def.js.map +1 -1
- package/tools/definitions/record_skill_session_def.js +31 -0
- package/tools/definitions/record_skill_session_def.js.map +1 -0
- package/tools/index.js +49 -61
- package/tools/index.js.map +1 -1
- package/tools/live/get_native_livekit_core_features.js +65 -0
- package/tools/live/get_native_livekit_core_features.js.map +1 -0
- package/tools/live/get_native_livekit_core_integration.js +59 -0
- package/tools/live/get_native_livekit_core_integration.js.map +1 -0
- package/tools/live/get_web_live_uikit_integration.js +48 -0
- package/tools/live/get_web_live_uikit_integration.js.map +1 -0
- package/tools/live/get_web_livekit_api.js +32 -0
- package/tools/live/get_web_livekit_api.js.map +1 -0
- package/tools/live/get_web_livekit_component_detail.js +34 -0
- package/tools/live/get_web_livekit_component_detail.js.map +1 -0
- package/tools/room/{get-web-room-integration.js → get_web_room_uikit_integration.js} +13 -14
- package/tools/room/get_web_room_uikit_integration.js.map +1 -0
- package/tools/room/{get-web-room-feature-detail.js → get_web_roomkit_feature_detail.js} +30 -31
- package/tools/room/get_web_roomkit_feature_detail.js.map +1 -0
- package/tools/rtcengine/get_web_trtc_sdk_api.js +31 -0
- package/tools/rtcengine/get_web_trtc_sdk_api.js.map +1 -0
- package/tools/rtcengine/get_web_trtc_sdk_integration.js +31 -0
- package/tools/rtcengine/get_web_trtc_sdk_integration.js.map +1 -0
- package/tools/rtcengine/get_web_trtc_sdk_plugin.js +31 -0
- package/tools/rtcengine/get_web_trtc_sdk_plugin.js.map +1 -0
- package/tools/trtc/get_native_trtc_sdk_docs.js +73 -0
- package/tools/trtc/get_native_trtc_sdk_docs.js.map +1 -0
- package/utils/generate-structured-result.js +61 -17
- package/utils/generate-structured-result.js.map +1 -1
- package/utils/report-cls-client.js +21 -1
- package/utils/report-cls-client.js.map +1 -1
- package/utils/report-es-client.js +2 -2
- package/resource/doc/chatuikit/android/workflow.md +0 -713
- package/resource/doc/chatuikit/faq/android_sdk/client-api.md +0 -1371
- package/resource/doc/chatuikit/faq/flutter_sdk/client-api.md +0 -932
- package/resource/doc/chatuikit/faq/ios_sdk/client-api.md +0 -1119
- package/resource/doc/chatuikit/flutter/workflow.md +0 -941
- package/resource/doc/chatuikit/react/components/conversation-list.md +0 -1017
- package/resource/doc/chatuikit/react/components/search.md +0 -745
- package/resource/doc/chatuikit/react/create-group.md +0 -23
- package/resource/doc/chatuikit/react/init.md +0 -26
- package/resource/doc/chatuikit/react/workflow.md +0 -258
- package/resource/doc/chatuikit/vue/components/contact-list.md +0 -679
- package/resource/doc/chatuikit/vue/create-group.md +0 -25
- package/resource/doc/chatuikit/vue/init.md +0 -40
- package/resource/doc/chatuikit/vue/workflow.md +0 -395
- package/resource/doc/livekit/live/android/workflow.md +0 -320
- package/resource/doc/livekit/live/flutter/workflow.md +0 -353
- package/resource/doc/livekit/live/ios/workflow.md +0 -454
- package/resource/doc/livekit/live/vue/components/barrage.md +0 -616
- package/resource/doc/livekit/live/vue/components/stream-mixer.md +0 -446
- package/resource/doc/livekit/live/vue/faq.md +0 -0
- package/resource/doc/livekit/live/vue/live-list-integration.md +0 -200
- package/resource/doc/livekit/live/vue/live-player-desk-integration.md +0 -269
- package/resource/doc/livekit/live/vue/live-player-h5-integration.md +0 -269
- package/resource/doc/livekit/live/vue/live-pusher-integration.md +0 -595
- package/resource/doc/livekit/live/vue/states/live-state.md +0 -3591
- package/resource/doc/livekit/live/vue/workflow.md +0 -218
- package/resource/doc/native_live/android/V2TXLiveCode_api_android.md +0 -312
- package/resource/doc/native_live/android/V2TXLiveDef_api_android.md +0 -430
- package/resource/doc/native_live/android/V2TXLivePlayerObserver_api_android.md +0 -679
- package/resource/doc/native_live/android/V2TXLivePlayer_api_android.md +0 -671
- package/resource/doc/native_live/android/V2TXLivePremier_api_android.md +0 -271
- package/resource/doc/native_live/android/V2TXLivePusherObserver_api_android.md +0 -849
- package/resource/doc/native_live/android/V2TXLivePusher_api_android.md +0 -1046
- package/resource/doc/native_live/flutter/V2TXLiveCode_api_flutter.md +0 -460
- package/resource/doc/native_live/flutter/V2TXLiveDef_api_flutter.md +0 -558
- package/resource/doc/native_live/flutter/V2TXLivePlayerObserver_api_flutter.md +0 -865
- package/resource/doc/native_live/flutter/V2TXLivePlayer_api_flutter.md +0 -657
- package/resource/doc/native_live/flutter/V2TXLivePremier_api_flutter.md +0 -437
- package/resource/doc/native_live/flutter/V2TXLivePusherObserver_api_flutter.md +0 -335
- package/resource/doc/native_live/flutter/V2TXLivePusher_api_flutter.md +0 -748
- package/resource/doc/native_live/iOS/V2TXLiveCode_api_iOS.md +0 -327
- package/resource/doc/native_live/iOS/V2TXLiveDef_api_iOS.md +0 -507
- package/resource/doc/native_live/iOS/V2TXLivePlayerObserver_api_iOS.md +0 -507
- package/resource/doc/native_live/iOS/V2TXLivePlayer_api_iOS.md +0 -659
- package/resource/doc/native_live/iOS/V2TXLivePremier_api_iOS.md +0 -284
- package/resource/doc/native_live/iOS/V2TXLivePusherObserver_api_iOS.md +0 -814
- package/resource/doc/native_live/iOS/V2TXLivePusher_api_iOS.md +0 -1000
- package/resource/doc/roomkit/vue/features/workflow.md +0 -553
- package/resource/doc/roomkit/vue/workflow.md +0 -733
- package/resource/doc/tuicallkit/android/workflow.md +0 -441
- package/resource/doc/tuicallkit/faq/android_sdk/call-observer-api.md +0 -784
- package/resource/doc/tuicallkit/faq/android_sdk/callkit-api.md +0 -610
- package/resource/doc/tuicallkit/faq/flutter_sdk/call-define-api.md +0 -938
- package/resource/doc/tuicallkit/faq/flutter_sdk/call-observer-api.md +0 -897
- package/resource/doc/tuicallkit/faq/flutter_sdk/callkit-api.md +0 -469
- package/resource/doc/tuicallkit/faq/ios_sdk/call-observer-api.md +0 -781
- package/resource/doc/tuicallkit/faq/ios_sdk/callkit-api.md +0 -398
- package/resource/doc/tuicallkit/flutter/workflow.md +0 -331
- package/resource/doc/tuicallkit/react/api.md +0 -1404
- package/resource/doc/tuicallkit/vue/api.md +0 -1406
- package/resource/doc/tuicallkit/vue/faq.md +0 -36
- package/tools/call/get-native-call-integration.js +0 -43
- package/tools/call/get-native-call-integration.js.map +0 -1
- package/tools/call/get-web-call-api.js +0 -27
- package/tools/call/get-web-call-api.js.map +0 -1
- package/tools/call/get-web-call-integration.js.map +0 -1
- package/tools/chat/get-native-chat-feature-detail.js +0 -30
- package/tools/chat/get-native-chat-feature-detail.js.map +0 -1
- package/tools/chat/get-native-chat-integration.js +0 -45
- package/tools/chat/get-native-chat-integration.js.map +0 -1
- package/tools/chat/get-web-chat-component-detail.js +0 -31
- package/tools/chat/get-web-chat-component-detail.js.map +0 -1
- package/tools/chat/get-web-chat-integration.js +0 -45
- package/tools/chat/get-web-chat-integration.js.map +0 -1
- package/tools/chat/get-web-chat-uikit-init.js +0 -28
- package/tools/chat/get-web-chat-uikit-init.js.map +0 -1
- package/tools/chat/get-web-create-group-doc.js +0 -28
- package/tools/chat/get-web-create-group-doc.js.map +0 -1
- package/tools/common/get-faq.js +0 -91
- package/tools/common/get-faq.js.map +0 -1
- package/tools/common/get-usersig.js.map +0 -1
- package/tools/common/present-framework-choice.js +0 -16
- package/tools/common/present-framework-choice.js.map +0 -1
- package/tools/common/present-scenario-choice.js +0 -16
- package/tools/common/present-scenario-choice.js.map +0 -1
- package/tools/common/record-prompt.js +0 -55
- package/tools/common/record-prompt.js.map +0 -1
- package/tools/common/record-result.js +0 -60
- package/tools/common/record-result.js.map +0 -1
- package/tools/definitions/get_native_chat_feature_detail_def.js +0 -32
- package/tools/definitions/get_native_chat_feature_detail_def.js.map +0 -1
- package/tools/definitions/get_native_live_api_def.js +0 -23
- package/tools/definitions/get_native_live_api_def.js.map +0 -1
- package/tools/definitions/get_native_live_uikit_extra_features_def.js +0 -87
- package/tools/definitions/get_native_live_uikit_extra_features_def.js.map +0 -1
- package/tools/definitions/get_native_live_uikit_integration_def.js +0 -75
- package/tools/definitions/get_native_live_uikit_integration_def.js.map +0 -1
- package/tools/definitions/get_native_live_uikit_interaction_def.js +0 -63
- package/tools/definitions/get_native_live_uikit_interaction_def.js.map +0 -1
- package/tools/definitions/get_trtc_native_api_def.js +0 -16
- package/tools/definitions/get_trtc_native_api_def.js.map +0 -1
- package/tools/definitions/get_web_call_uikit_api_def.js +0 -23
- package/tools/definitions/get_web_call_uikit_api_def.js.map +0 -1
- package/tools/definitions/get_web_chat_uikit_init_def.js +0 -23
- package/tools/definitions/get_web_chat_uikit_init_def.js.map +0 -1
- package/tools/definitions/get_web_create_group_doc_def.js +0 -18
- package/tools/definitions/get_web_create_group_doc_def.js.map +0 -1
- package/tools/definitions/get_web_live_state_detail_def.js +0 -19
- package/tools/definitions/get_web_live_state_detail_def.js.map +0 -1
- package/tools/definitions/get_web_live_uikit_component_detail_def.js +0 -27
- package/tools/definitions/get_web_live_uikit_component_detail_def.js.map +0 -1
- package/tools/definitions/get_web_room_feature_detail_def.js +0 -92
- package/tools/definitions/get_web_room_feature_detail_def.js.map +0 -1
- package/tools/definitions/get_web_room_state_detail_def.js +0 -19
- package/tools/definitions/get_web_room_state_detail_def.js.map +0 -1
- package/tools/definitions/present_scenario_choice_def.js +0 -53
- package/tools/definitions/present_scenario_choice_def.js.map +0 -1
- package/tools/definitions/record_prompt_def.js +0 -58
- package/tools/definitions/record_prompt_def.js.map +0 -1
- package/tools/definitions/record_result_def.js +0 -46
- package/tools/definitions/record_result_def.js.map +0 -1
- package/tools/live/get-native-live-uikit-integration.js +0 -177
- package/tools/live/get-native-live-uikit-integration.js.map +0 -1
- package/tools/live/get-web-live-component-detail.js +0 -31
- package/tools/live/get-web-live-component-detail.js.map +0 -1
- package/tools/live/get-web-live-state-detail.js +0 -31
- package/tools/live/get-web-live-state-detail.js.map +0 -1
- package/tools/live/get-web-live-uikit-integration.js +0 -52
- package/tools/live/get-web-live-uikit-integration.js.map +0 -1
- package/tools/live/get_native_live_uikit_extra_features.js +0 -105
- package/tools/live/get_native_live_uikit_extra_features.js.map +0 -1
- package/tools/live/get_native_live_uikit_interaction.js +0 -194
- package/tools/live/get_native_live_uikit_interaction.js.map +0 -1
- package/tools/native_live/get-native-live-api.js +0 -31
- package/tools/native_live/get-native-live-api.js.map +0 -1
- package/tools/room/get-web-room-feature-detail.js.map +0 -1
- package/tools/room/get-web-room-integration.js.map +0 -1
- package/tools/rtcengine/get-rtcengine-web-sdk-integration.js +0 -28
- package/tools/rtcengine/get-rtcengine-web-sdk-integration.js.map +0 -1
- package/tools/rtcengine/get-trtc-sdk-faq.js +0 -32
- package/tools/rtcengine/get-trtc-sdk-faq.js.map +0 -1
- package/tools/rtcengine/get-trtc-web-sdk-api.js +0 -28
- package/tools/rtcengine/get-trtc-web-sdk-api.js.map +0 -1
- package/tools/rtcengine/get-trtc-web-sdk-faq.js +0 -30
- package/tools/rtcengine/get-trtc-web-sdk-faq.js.map +0 -1
- package/tools/rtcengine/get-trtc-web-sdk-integration.js +0 -29
- package/tools/rtcengine/get-trtc-web-sdk-integration.js.map +0 -1
- package/tools/rtcengine/get-trtc-web-sdk-plugin.js +0 -45
- package/tools/rtcengine/get-trtc-web-sdk-plugin.js.map +0 -1
- package/tools/trtc/get-trtc-native-api.js +0 -31
- package/tools/trtc/get-trtc-native-api.js.map +0 -1
- package/utils/handle-component-name.js +0 -33
- package/utils/handle-component-name.js.map +0 -1
- /package/resource/doc/{chatuikit/iOS/workflow.md → callkit/core-sdk/.gitkeep} +0 -0
- /package/resource/doc/{tuicallkit/faq/common/error_code.md → callkit/faq/common/error-code.md} +0 -0
- /package/resource/doc/{tuicallkit/react/faq.md → callkit/faq/web-faq.md} +0 -0
- /package/resource/doc/{chatuikit → chatkit}/faq/common/server_error_code.md +0 -0
- /package/resource/doc/{chatuikit → chatkit}/faq/web_sdk/error_code.md +0 -0
- /package/resource/doc/{chatuikit → chatkit}/flutter/faq.md +0 -0
- /package/resource/doc/{chatuikit → chatkit}/react/faq.md +0 -0
- /package/resource/doc/roomkit/faq/common/{error_code.md → error-code.md} +0 -0
|
@@ -0,0 +1,780 @@
|
|
|
1
|
+
The atomicx-core SDK is a brand-new first-generation responsive API launched by Tencent Cloud for Chat, Audio/Video Calls, live streaming, voice chat room and other scenarios. You can quickly build your own UI page based on this set of APIs. It supports room management, screen sharing, member management, microphone position control, basic beauty filter and other rich features. Based on the TRTC SDK, it can provide ultra-low latency and high-quality audio/video experience. This page contains ALL API interfaces of the atomicx-core SDK, displayed by feature module.
|
|
2
|
+
|
|
3
|
+
## LoginState
|
|
4
|
+
|
|
5
|
+
User Identity Authentication and Logon Management Module
|
|
6
|
+
-Core features: Provide basic identity authentication including user login, logout, and personal information management, forming the user identity basis of the entire system.
|
|
7
|
+
|
|
8
|
+
- Technical features: Support various log-in methods, user information cache, login status persistence and other features to underwrite user identity security and reliability.
|
|
9
|
+
|
|
10
|
+
- Business value: Provides unified user identity authentication service for all business modules, forming the foundation of system security and user experience assurance.
|
|
11
|
+
|
|
12
|
+
- Application scenarios: Core identity authentication scenarios such as user login, identity verification, personal information management, and permission control.
|
|
13
|
+
|
|
14
|
+
responsive data
|
|
15
|
+
|
|
16
|
+
| **Data List** | **Description** |
|
|
17
|
+
| --- | --- |
|
|
18
|
+
| [loginUserInfo](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#loginUserInfo) | Current login user information. |
|
|
19
|
+
|
|
20
|
+
API Function
|
|
21
|
+
|
|
22
|
+
| **Function list** | **Description** |
|
|
23
|
+
| --- | --- |
|
|
24
|
+
| [login](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#login) | User login. |
|
|
25
|
+
| [setSelfInfo](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#setSelfInfo) | Set user personal information. |
|
|
26
|
+
| [logout](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#logout) | User logout function. |
|
|
27
|
+
|
|
28
|
+
## DeviceState
|
|
29
|
+
|
|
30
|
+
Device Status Management Module
|
|
31
|
+
-Core feature: Manage control of cameras, microphones and other audio/video devices, providing device status monitoring, permission check and other basic equipment services.
|
|
32
|
+
|
|
33
|
+
- Technical feature: Supports advanced functions such as multi-device management, real-time status monitoring, dynamic permission check, and automatic failure recovery.
|
|
34
|
+
|
|
35
|
+
- Business value: Provide stability to the live streaming system, underwriting the reliability of audio and video capture and user experience.
|
|
36
|
+
|
|
37
|
+
- Use cases: Basic technical scenarios such as device management, permission control, audio and video capture, and fault handling.
|
|
38
|
+
|
|
39
|
+
responsive data
|
|
40
|
+
|
|
41
|
+
| **Data List** | **Description** |
|
|
42
|
+
| --- | --- |
|
|
43
|
+
| [microphoneStatus](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#microphoneStatus) | Microphone Status. |
|
|
44
|
+
| [microphoneList](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#microphoneList) | Microphone Device List. |
|
|
45
|
+
| [currentMicrophone](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#currentMicrophone) | Selected microphone device. |
|
|
46
|
+
| [microphoneLastError](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#microphoneLastError) | Last microphone error information. |
|
|
47
|
+
| [captureVolume](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#captureVolume) | Mic capture volume. |
|
|
48
|
+
| [currentMicVolume](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#currentMicVolume) | Current microphone volume. |
|
|
49
|
+
| [isMicrophoneTesting](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#isMicrophoneTesting) | Mic testing status. |
|
|
50
|
+
| [testingMicVolume](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#testingMicVolume) | Microphone volume during testing. |
|
|
51
|
+
| [cameraStatus](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#cameraStatus) | Camera status. |
|
|
52
|
+
| [cameraList](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#cameraList) | Camera list. |
|
|
53
|
+
| [currentCamera](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#currentCamera) | Selected camera. |
|
|
54
|
+
| [cameraLastError](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#cameraLastError) | Last camera error information. |
|
|
55
|
+
| [isCameraTesting](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#isCameraTesting) | Camera test status. |
|
|
56
|
+
| [isCameraTestLoading](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#isCameraTestLoading) | Camera test loading status. |
|
|
57
|
+
| [isFrontCamera](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#isFrontCamera) | Whether the camera is front-facing. |
|
|
58
|
+
| [localMirrorType](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#localMirrorType) | Local video image type. |
|
|
59
|
+
| [localVideoQuality](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#localVideoQuality) | Local video quality. |
|
|
60
|
+
| [speakerList](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#speakerList) | Speaker Device List. |
|
|
61
|
+
| [currentSpeaker](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#currentSpeaker) | Selected speaker device. |
|
|
62
|
+
| [outputVolume](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#outputVolume) | Speaker output volume. |
|
|
63
|
+
| [currentAudioRoute](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#currentAudioRoute) | Current audio routing. |
|
|
64
|
+
| [isSpeakerTesting](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#isSpeakerTesting) | Speaker testing status. |
|
|
65
|
+
| [screenStatus](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#screenStatus) | Screen sharing status. |
|
|
66
|
+
| [networkInfo](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#networkInfo) | Network information. |
|
|
67
|
+
|
|
68
|
+
API Function
|
|
69
|
+
|
|
70
|
+
| **Function list** | **Description** |
|
|
71
|
+
| --- | --- |
|
|
72
|
+
| [openLocalMicrophone](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#openLocalMicrophone) | Open local microphone. |
|
|
73
|
+
| [closeLocalMicrophone](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#closeLocalMicrophone) | Close local microphone. |
|
|
74
|
+
| [muteLocalAudio](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#muteLocalAudio) | Mute local audio. |
|
|
75
|
+
| [unmuteLocalAudio](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#unmuteLocalAudio) | Unmute local audio. |
|
|
76
|
+
| [getMicrophoneList](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#getMicrophoneList) | Get microphone device list. |
|
|
77
|
+
| [setCurrentMicrophone](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#setCurrentMicrophone) | Set current microphone device. |
|
|
78
|
+
| [startMicrophoneTest](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#startMicrophoneTest) | Start mic testing. |
|
|
79
|
+
| [setCaptureVolume](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#setCaptureVolume) | Set audio capture volume. |
|
|
80
|
+
| [setOutputVolume](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#setOutputVolume) | Set audio playback volume. |
|
|
81
|
+
| [stopMicrophoneTest](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#stopMicrophoneTest) | Stop mic testing. |
|
|
82
|
+
| [getSpeakerList](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#getSpeakerList) | Search speaker device list. |
|
|
83
|
+
| [setCurrentSpeaker](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#setCurrentSpeaker) | Set current speaker device. |
|
|
84
|
+
| [setAudioRoute](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#setAudioRoute) | Set audio routing. |
|
|
85
|
+
| [startSpeakerTest](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#startSpeakerTest) | Start speaker testing. |
|
|
86
|
+
| [stopSpeakerTest](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#stopSpeakerTest) | Stop speaker test. |
|
|
87
|
+
| [openLocalCamera](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#openLocalCamera) | Turn on local camera. |
|
|
88
|
+
| [closeLocalCamera](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#closeLocalCamera) | Turn off local camera. |
|
|
89
|
+
| [getCameraList](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#getCameraList) | Get camera list. |
|
|
90
|
+
| [setCurrentCamera](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#setCurrentCamera) | Set current camera. |
|
|
91
|
+
| [switchCamera](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#switchCamera) | Switch between front and rear cameras. |
|
|
92
|
+
| [switchMirror](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#switchMirror) | Toggle video mirroring mode. |
|
|
93
|
+
| [updateVideoQuality](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#updateVideoQuality) | Refresh video quality. |
|
|
94
|
+
| [startCameraDeviceTest](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#startCameraDeviceTest) | Start camera test. |
|
|
95
|
+
| [startScreenShare](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#startScreenShare) | Start screen sharing. |
|
|
96
|
+
| [stopScreenShare](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#stopScreenShare) | Stop screen sharing. |
|
|
97
|
+
| [stopCameraDeviceTest](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#stopCameraDeviceTest) | Stop camera test. |
|
|
98
|
+
| [screenCaptureStopped](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#screenCaptureStopped) | Screen sharing stop callback. |
|
|
99
|
+
|
|
100
|
+
## LiveListState
|
|
101
|
+
|
|
102
|
+
Live List Management Module
|
|
103
|
+
-Core features: Manage the complete lifecycle of live streaming rooms, including creation, join, leave, and end core business processes, support pagination fetch and real-time update of live lists.
|
|
104
|
+
|
|
105
|
+
- Technical features: Support load by page, real-time state synchronization, dynamic data updates of live information, implement responsive data management to ensure real-time synchronization between UI and data status. Newly-added liveList and liveListCursor responsive data, provide fetchLiveList API function.
|
|
106
|
+
|
|
107
|
+
- Business value: Provide core live room management capabilities for the live streaming platform, support large-scale concurrency in live-streaming scenarios, and serve as the infrastructure for the live streaming business.
|
|
108
|
+
|
|
109
|
+
- Application scenario: Core business scenarios such as live list display, live room creation, live stream status management, and live broadcast data statistics.
|
|
110
|
+
|
|
111
|
+
responsive data
|
|
112
|
+
|
|
113
|
+
| **Data List** | **Description** |
|
|
114
|
+
| --- | --- |
|
|
115
|
+
| [currentLive](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#currentLive) | Switch TUILiveInfo to LiveInfo format. |
|
|
116
|
+
| [liveList](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#liveList) | Live list data, including info of all live streaming rooms. |
|
|
117
|
+
| [liveListCursor](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#liveListCursor) | Live list pagination cursor, used to obtain next page data. |
|
|
118
|
+
|
|
119
|
+
API Function
|
|
120
|
+
|
|
121
|
+
| **Function list** | **Description** |
|
|
122
|
+
| --- | --- |
|
|
123
|
+
| [createLive](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#createLive) | Create a live streaming room. |
|
|
124
|
+
| [joinLive](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#joinLive) | Join live room. |
|
|
125
|
+
| [leaveLive](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#leaveLive) | Leave the live streaming room. |
|
|
126
|
+
| [endLive](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#endLive) | End live stream. |
|
|
127
|
+
| [updateLiveInfo](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#updateLiveInfo) | Refresh live room information. |
|
|
128
|
+
| [queryMetaData](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#queryMetaData) | Query metadata. |
|
|
129
|
+
| [updateLiveMetaData](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#updateLiveMetaData) | Update live room metadata. |
|
|
130
|
+
| [fetchLiveList](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#fetchLiveList) | Get live list. |
|
|
131
|
+
|
|
132
|
+
## LiveSeatState
|
|
133
|
+
|
|
134
|
+
Live Room Seat Management Module
|
|
135
|
+
-Core features: Implement seat control in microphone-connected scenarios, support complex seat status management and audio/video device control, including joining, leaving, seat lock and all features.
|
|
136
|
+
|
|
137
|
+
-Technical features: Based on WebRTC technology, it supports multiple media stream management and offers advanced functions like seat locking, device control, and permission management. Newly-added responsive data includes seatList, canvas, speakingUsers, and networkQualities, as well as a complete operation API for seats.
|
|
138
|
+
|
|
139
|
+
- Business value: Provide core technology support for multi-person interactive live streaming, supporting various interactive scenarios like PK, microphone connection, and multiplayer games.
|
|
140
|
+
|
|
141
|
+
- Application scenarios: Scenarios requiring multi-person audio and video interaction, such as co-anchoring, PK battles, interactive games, online education, and live conference streaming.
|
|
142
|
+
|
|
143
|
+
responsive data
|
|
144
|
+
|
|
145
|
+
| **Data List** | **Description** |
|
|
146
|
+
| --- | --- |
|
|
147
|
+
| [seatList](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#seatList) | Microphone position list, including ALL seat states and user information. |
|
|
148
|
+
| [canvas](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#canvas) | Canvas configuration for video rendering and layout management. |
|
|
149
|
+
| [speakingUsers](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#speakingUsers) | List of users speaking. |
|
|
150
|
+
| [networkQualities](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#networkQualities) | Network quality information, including user's network status. |
|
|
151
|
+
|
|
152
|
+
API Function
|
|
153
|
+
|
|
154
|
+
| **Function list** | **Description** |
|
|
155
|
+
| --- | --- |
|
|
156
|
+
| [takeSeat](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#takeSeat) | User joins the stage. |
|
|
157
|
+
| [leaveSeat](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#leaveSeat) | User Microphone Dequeuing. |
|
|
158
|
+
| [lockSeat](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#lockSeat) | Seat locking. |
|
|
159
|
+
| [unLockSeat](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#unLockSeat) | Unlock microphone position. |
|
|
160
|
+
| [kickUserOutOfSeat](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#kickUserOutOfSeat) | Remove users from speaking. |
|
|
161
|
+
| [moveUserToSeat](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#moveUserToSeat) | Move user to designated seat. |
|
|
162
|
+
| [openRemoteCamera](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#openRemoteCamera) | Enable remote camera. |
|
|
163
|
+
| [closeRemoteCamera](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#closeRemoteCamera) | Turn off remote camera. |
|
|
164
|
+
| [openRemoteMicrophone](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#openRemoteMicrophone) | Enable remote microphone. |
|
|
165
|
+
| [closeRemoteMicrophone](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#closeRemoteMicrophone) | Turn off remote microphone. |
|
|
166
|
+
| [muteMicrophone](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#muteMicrophone) | Mute microphone. |
|
|
167
|
+
| [unmuteMicrophone](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#unmuteMicrophone) | Unmute microphone. |
|
|
168
|
+
| [startPlayStream](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#startPlayStream) | Start playback. |
|
|
169
|
+
| [stopPlayStream](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#stopPlayStream) | Stop playback. |
|
|
170
|
+
|
|
171
|
+
## LiveAudienceState
|
|
172
|
+
|
|
173
|
+
Live Room Audience Management Module
|
|
174
|
+
- Core features: Manage the audience list of live streaming rooms, provide permission control, admin settings and other maintenance features for live room order, support real-time audience statistics.
|
|
175
|
+
|
|
176
|
+
- Technical features: Support advanced functions such as real-time audience list update, permission hierarchy management, and batch operation to underwrite live room order and user experience. Newly-added responsive data: audienceList and audienceCount.
|
|
177
|
+
|
|
178
|
+
- Business value: Offer a complete audience management solution for the live streaming platform, supporting order maintenance in large-scale audience scenarios.
|
|
179
|
+
|
|
180
|
+
- Application scenario: Core business scenarios such as audience management, permission control, live streaming room order maintenance, and audience interaction management.
|
|
181
|
+
|
|
182
|
+
responsive data
|
|
183
|
+
|
|
184
|
+
| **Data List** | **Description** |
|
|
185
|
+
| --- | --- |
|
|
186
|
+
| [audienceList](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#audienceList) | Audience list, including info of all audience in the live streaming room. |
|
|
187
|
+
| [audienceCount](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#audienceCount) | Total number statistics of audience. |
|
|
188
|
+
|
|
189
|
+
API Function
|
|
190
|
+
|
|
191
|
+
| **Function list** | **Description** |
|
|
192
|
+
| --- | --- |
|
|
193
|
+
| [fetchAudienceList](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#fetchAudienceList) | Retrieve audience list. |
|
|
194
|
+
| [setAdministrator](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#setAdministrator) | Set administrator. |
|
|
195
|
+
| [revokeAdministrator](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#revokeAdministrator) | Revoke admin. |
|
|
196
|
+
| [kickUserOutOfRoom](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#kickUserOutOfRoom) | Kick out of room. |
|
|
197
|
+
| [disableSendMessage](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#disableSendMessage) | Mute users. |
|
|
198
|
+
|
|
199
|
+
## LiveMonitorState
|
|
200
|
+
|
|
201
|
+
Live Stream Monitoring Management Module
|
|
202
|
+
- Core features: Provide real-time monitoring for live streaming rooms, including live status monitoring, data statistics, anomaly detection and other core monitoring capabilities, support multi-room monitoring.
|
|
203
|
+
|
|
204
|
+
- Technical features: Support real-time data collection, multidimensional monitoring metrics, intelligent alarm mechanism to underwrite service stability and reliability. Newly-added monitorLiveInfoList responsive data, optimized monitoring interface.
|
|
205
|
+
|
|
206
|
+
- Business value: Offer comprehensive monitoring assurance for the live streaming platform, enabling timely detection and handling of anomalies to improve service quality.
|
|
207
|
+
|
|
208
|
+
- Application scenario: Operation management scenarios such as live stream quality monitoring, performance analysis, abnormal alarm, and data statistics.
|
|
209
|
+
|
|
210
|
+
responsive data
|
|
211
|
+
|
|
212
|
+
| **Data List** | **Description** |
|
|
213
|
+
| --- | --- |
|
|
214
|
+
| [monitorLiveInfoList](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#monitorLiveInfoList) | Live room monitoring list. |
|
|
215
|
+
|
|
216
|
+
API Function
|
|
217
|
+
|
|
218
|
+
| **Function list** | **Description** |
|
|
219
|
+
| --- | --- |
|
|
220
|
+
| [init](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#init) | Initialize monitoring. |
|
|
221
|
+
| [getLiveList](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#getLiveList) | Get live list. |
|
|
222
|
+
| [closeRoom](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#closeRoom) | Close the room. |
|
|
223
|
+
| [sendMessage](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#sendMessage) | Send message. |
|
|
224
|
+
| [startPlay](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#startPlay) | Start playback. |
|
|
225
|
+
| [stopPlay](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#stopPlay) | Stop playback. |
|
|
226
|
+
| [muteLiveAudio](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#muteLiveAudio) | Mute live audio. |
|
|
227
|
+
|
|
228
|
+
## CoGuestState
|
|
229
|
+
|
|
230
|
+
Guest management module
|
|
231
|
+
- Core features: Handle mic-connect interaction between audience and host, manage join microphone application, invitation, acceptance, rejection and other complete process, support status management.
|
|
232
|
+
|
|
233
|
+
- Technical features: Based on real-time audio and video technology, support advanced functions like real-time synchronization of mic-connect status, adaptive adjustment of audio/video quality, and network condition monitoring. Newly-added connected, invitees, applicants, candidates responsive data and applyForSeat API.
|
|
234
|
+
|
|
235
|
+
- Business value: Provide core audience interaction capabilities for the live streaming platform, enhance user stickiness and live stream fun.
|
|
236
|
+
|
|
237
|
+
- Application scenarios: Interactive scenarios requiring audience participation, such as audience mic connection, interactive Q&A, online karaoke, and game live streaming.
|
|
238
|
+
|
|
239
|
+
responsive data
|
|
240
|
+
|
|
241
|
+
| **Data List** | **Description** |
|
|
242
|
+
| --- | --- |
|
|
243
|
+
| [candidates](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#candidates) | Unsubscription of co-streaming event. |
|
|
244
|
+
| [connected](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#connected) | Co-streaming Connection Status. |
|
|
245
|
+
| [invitees](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#invitees) | List of invited users. |
|
|
246
|
+
| [applicants](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#applicants) | List of users applying for mic connection. |
|
|
247
|
+
|
|
248
|
+
API Function
|
|
249
|
+
|
|
250
|
+
| **Function list** | **Description** |
|
|
251
|
+
| --- | --- |
|
|
252
|
+
| [cancelApplication](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#cancelApplication) | Cancel application. |
|
|
253
|
+
| [acceptApplication](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#acceptApplication) | Accept application. |
|
|
254
|
+
| [rejectApplication](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#rejectApplication) | Reject application. |
|
|
255
|
+
| [cancelInvitation](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#cancelInvitation) | Cancel invitation. |
|
|
256
|
+
| [acceptInvitation](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#acceptInvitation) | Accept invitation. |
|
|
257
|
+
| [rejectInvitation](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#rejectInvitation) | Reject invitation. |
|
|
258
|
+
| [disConnect](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#disConnect) | Disconnect. |
|
|
259
|
+
| [applyForSeat](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#applyForSeat) | Request to speak. |
|
|
260
|
+
|
|
261
|
+
## CoHostState
|
|
262
|
+
|
|
263
|
+
Anchor management module
|
|
264
|
+
- Core features: Implement the co-anchoring function between hosts, support host invitations, join microphone applications, status management, and other interaction features, providing a complete co-anchoring process.
|
|
265
|
+
|
|
266
|
+
- Technical features: Support advanced technologies like multi-anchor audio-video synchronization, Picture-in-Picture display, and audio/video quality optimization to ensure smooth co-anchoring experience. Newly-added coHostStatus, connected, applicant, invitees, candidates responsive data and a complete co-anchoring control API.
|
|
267
|
+
|
|
268
|
+
- Business value: Provide core collaboration capabilities for hosts on live streaming platforms, supporting advanced business scenarios like PK and co-streaming.
|
|
269
|
+
|
|
270
|
+
- Application scenarios: Advanced live-streaming scenarios such as host PK battles, co-streaming, cross-platform voice chats, and host interactions.
|
|
271
|
+
|
|
272
|
+
responsive data
|
|
273
|
+
|
|
274
|
+
| **Data List** | **Description** |
|
|
275
|
+
| --- | --- |
|
|
276
|
+
| [coHostStatus](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#coHostStatus) | Co-streaming Host Status. |
|
|
277
|
+
| [connected](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#connected) | Co-streaming Connection Status. |
|
|
278
|
+
| [applicant](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#applicant) | Host information applying for mic connection. |
|
|
279
|
+
| [invitees](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#invitees) | List of invited users. |
|
|
280
|
+
| [candidates](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#candidates) | List of candidate users. |
|
|
281
|
+
|
|
282
|
+
API Function
|
|
283
|
+
|
|
284
|
+
| **Function list** | **Description** |
|
|
285
|
+
| --- | --- |
|
|
286
|
+
| [requestHostConnection](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#requestHostConnection) | Request host mic connection. |
|
|
287
|
+
| [cancelHostConnection](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#cancelHostConnection) | Cancel host mic connection. |
|
|
288
|
+
| [acceptHostConnection](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#acceptHostConnection) | Accept host mic connection. |
|
|
289
|
+
| [rejectHostConnection](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#rejectHostConnection) | Reject host mic connection. |
|
|
290
|
+
| [exitHostConnection](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#exitHostConnection) | Exit host mic connection. |
|
|
291
|
+
|
|
292
|
+
## BattleState
|
|
293
|
+
|
|
294
|
+
PK Battle Management Module
|
|
295
|
+
- Core features: Manage PK battles between hosts, including battle invitations, acceptance, rejection, and completion, supporting live score statistics.
|
|
296
|
+
|
|
297
|
+
- Technical features: Support real-time battle state synchronization, score calculation, results statistics and other features. Newly-added battleScore responsive data provides a complete PK battle experience.
|
|
298
|
+
|
|
299
|
+
- Business value: The platform offers competitive gaming interaction features to enhance live stream fun and user engagement.
|
|
300
|
+
|
|
301
|
+
- Application scenarios: Entertainment scenarios such as host PK battles, talent competitions, game battles, and interactive competitions.
|
|
302
|
+
|
|
303
|
+
responsive data
|
|
304
|
+
|
|
305
|
+
| **Data List** | **Description** |
|
|
306
|
+
| --- | --- |
|
|
307
|
+
| [currentBattleInfo](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#currentBattleInfo) | Current PK info. |
|
|
308
|
+
| [battleUsers](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#battleUsers) | List of PK participants. |
|
|
309
|
+
| [battleScore](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#battleScore) | Live score of PK battle. |
|
|
310
|
+
|
|
311
|
+
API Function
|
|
312
|
+
|
|
313
|
+
| **Function list** | **Description** |
|
|
314
|
+
| --- | --- |
|
|
315
|
+
| [requestBattle](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#requestBattle) | Request PK. |
|
|
316
|
+
| [cancelBattleRequest](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#cancelBattleRequest) | Cancel battle request. |
|
|
317
|
+
| [acceptBattle](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#acceptBattle) | Accept PK. |
|
|
318
|
+
| [rejectBattle](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#rejectBattle) | Reject PK. |
|
|
319
|
+
| [exitBattle](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#exitBattle) | Exit PK. |
|
|
320
|
+
|
|
321
|
+
## BarrageState
|
|
322
|
+
|
|
323
|
+
Bullet screen message management module
|
|
324
|
+
- Core features: Process text messages and custom messages in the live streaming room, support barrage sending, message status synchronization and complete danmaku system, provide local notification.
|
|
325
|
+
|
|
326
|
+
- Technical features: Support advanced functions like high-concurrency message processing, real-time message synchronization, message filtering, and emoji pack support. Newly-added API functions: sendTextMessage, sendCustomMessage, appendLocalTip.
|
|
327
|
+
|
|
328
|
+
- Business value: Provide core interactive capabilities for the live streaming platform, enhance user engagement and communication environment.
|
|
329
|
+
|
|
330
|
+
- Application scenarios: bullet screen interaction, message management, emoji pack, chat room, and other social interactive scenarios.
|
|
331
|
+
|
|
332
|
+
responsive data
|
|
333
|
+
|
|
334
|
+
| **Data List** | **Description** |
|
|
335
|
+
| --- | --- |
|
|
336
|
+
| [messageList](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#messageList) | Barrage message list. |
|
|
337
|
+
|
|
338
|
+
API Function
|
|
339
|
+
|
|
340
|
+
| **Function list** | **Description** |
|
|
341
|
+
| --- | --- |
|
|
342
|
+
| [sendTextMessage](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#sendTextMessage) | Send text message. |
|
|
343
|
+
| [sendCustomMessage](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#sendCustomMessage) | Send custom messages. |
|
|
344
|
+
| [appendLocalTip](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#appendLocalTip) | Add local prompt. |
|
|
345
|
+
|
|
346
|
+
## MessageListState
|
|
347
|
+
|
|
348
|
+
Message List Management Module
|
|
349
|
+
- Core features: Manage chat message list, support message loading, scroll control, read receipt, and highlight for complete display functionality.
|
|
350
|
+
|
|
351
|
+
- Technical features: Support high-performance message processing like virtual scrolling, message optimization, and real-time update. Newly-added responsive data: activeConversationID, messageList, hasMoreOlderMessage.
|
|
352
|
+
|
|
353
|
+
- Business value: Provide core message display capacity for Chat to underwrite a good chat experience.
|
|
354
|
+
|
|
355
|
+
- Application scenarios: Chat, group chat, private chat, and message management in communication scenarios.
|
|
356
|
+
|
|
357
|
+
responsive data
|
|
358
|
+
|
|
359
|
+
| **Data List** | **Description** |
|
|
360
|
+
| --- | --- |
|
|
361
|
+
| [activeConversationID](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#activeConversationID) | Current active session ID. |
|
|
362
|
+
| [messageList](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#messageList) | Message list data. |
|
|
363
|
+
| [hasMoreOlderMessage](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#hasMoreOlderMessage) | Whether there are more old messages. |
|
|
364
|
+
| [hasMoreNewerMessage](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#hasMoreNewerMessage) | Whether there are more new messages. |
|
|
365
|
+
| [enableReadReceipt](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#enableReadReceipt) | Whether to enable read receipt. |
|
|
366
|
+
| [isDisableScroll](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#isDisableScroll) | Whether to disable scrolling. |
|
|
367
|
+
| [recalledMessageIDSet](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#recalledMessageIDSet) | ID set of recalled messages. |
|
|
368
|
+
| [highlightMessageIDSet](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#highlightMessageIDSet) | ID set of highlight messages. |
|
|
369
|
+
|
|
370
|
+
API Function
|
|
371
|
+
|
|
372
|
+
| **Function list** | **Description** |
|
|
373
|
+
| --- | --- |
|
|
374
|
+
| [setEnableReadReceipt](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#setEnableReadReceipt) | Set read receipt. |
|
|
375
|
+
| [setIsDisableScroll](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#setIsDisableScroll) | Disable scrolling. |
|
|
376
|
+
| [highlightMessage](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#highlightMessage) | Highlight message. |
|
|
377
|
+
|
|
378
|
+
## MessageInputState
|
|
379
|
+
|
|
380
|
+
Message Input Management Module
|
|
381
|
+
- Core features: Manage the state and behavior of the message input box, support text input, emoji pack, @feature, input state notification, and complete input experience.
|
|
382
|
+
|
|
383
|
+
- Technical features: Support rich text editing, input state synchronization, draft saving, and other features. Newly-added responsive data: inputRawValue, isPeerTyping.
|
|
384
|
+
|
|
385
|
+
- Business value: Provide users with a convenient message input experience to enhance communication efficiency.
|
|
386
|
+
|
|
387
|
+
- Application scenarios: Message editing, emoji input, file sending, and voice input in input scenarios.
|
|
388
|
+
|
|
389
|
+
responsive data
|
|
390
|
+
|
|
391
|
+
| **Data List** | **Description** |
|
|
392
|
+
| --- | --- |
|
|
393
|
+
| [inputRawValue](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#inputRawValue) | Original text content of the input box. |
|
|
394
|
+
| [isPeerTyping](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#isPeerTyping) | Whether the other party is typing. |
|
|
395
|
+
|
|
396
|
+
API Function
|
|
397
|
+
|
|
398
|
+
| **Function list** | **Description** |
|
|
399
|
+
| --- | --- |
|
|
400
|
+
| [updateRawValue](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#updateRawValue) | Refresh original value. |
|
|
401
|
+
| [setEditorInstance](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#setEditorInstance) | Set the editor instance. |
|
|
402
|
+
| [setContent](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#setContent) | Set Content. |
|
|
403
|
+
| [insertContent](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#insertContent) | Insert content. |
|
|
404
|
+
| [focusEditor](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#focusEditor) | Focus editor. |
|
|
405
|
+
| [blurEditor](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#blurEditor) | Blur editor. |
|
|
406
|
+
| [sendMessage](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#sendMessage) | Send message. |
|
|
407
|
+
|
|
408
|
+
## MessageActionState
|
|
409
|
+
|
|
410
|
+
Message Operation Management Module
|
|
411
|
+
- Core features: Manage various operations of messages, including forward, refer, copy, delete, and revoke for complete message operation functionality.
|
|
412
|
+
|
|
413
|
+
- Technical features: Support batch operations, status management, permission control, and other features. Newly-added responsive data: forwardMessageIDList, isForwardMessageSelectionDone.
|
|
414
|
+
|
|
415
|
+
- Business value: Provide users with various message operation capabilities to enhance user experience.
|
|
416
|
+
|
|
417
|
+
- Application scenarios: Message forwarding, message quotation, message management, batch operation, and other scenarios.
|
|
418
|
+
|
|
419
|
+
responsive data
|
|
420
|
+
|
|
421
|
+
| **Data List** | **Description** |
|
|
422
|
+
| --- | --- |
|
|
423
|
+
| [forwardMessageIDList](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#forwardMessageIDList) | ID list of messages to forward. |
|
|
424
|
+
| [isForwardMessageSelectionDone](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#isForwardMessageSelectionDone) | Whether message forwarding is completed. |
|
|
425
|
+
| [forwardConversationIDList](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#forwardConversationIDList) | ID list of forwarding target sessions. |
|
|
426
|
+
| [quotedMessage](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#quotedMessage) | Referenced message info. |
|
|
427
|
+
|
|
428
|
+
API Function
|
|
429
|
+
|
|
430
|
+
| **Function list** | **Description** |
|
|
431
|
+
| --- | --- |
|
|
432
|
+
| [forwardMessage](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#forwardMessage) | Forward message. |
|
|
433
|
+
| [setForwardMessageIDList](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#setForwardMessageIDList) | Set forwarding message list. |
|
|
434
|
+
| [setIsForwardMessageSelectionDone](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#setIsForwardMessageSelectionDone) | Forward selection is completed. |
|
|
435
|
+
| [setForwardConversationIDList](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#setForwardConversationIDList) | Set forwarding session list. |
|
|
436
|
+
| [quoteMessage](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#quoteMessage) | Quoted message. |
|
|
437
|
+
| [clearQuotedMessage](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#clearQuotedMessage) | Clear quoted message. |
|
|
438
|
+
| [copyTextMessage](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#copyTextMessage) | Copy text message. |
|
|
439
|
+
| [deleteMessage](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#deleteMessage) | Delete message. |
|
|
440
|
+
| [recallMessage](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#recallMessage) | Recall message. |
|
|
441
|
+
| [resetMessageActionState](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#resetMessageActionState) | Reset message operation status. |
|
|
442
|
+
|
|
443
|
+
## ConversationListState
|
|
444
|
+
|
|
445
|
+
Session List Management Module
|
|
446
|
+
- Core features: Manage user session list, support session sorting, unread statistics, and conversation action for complete session management functionality.
|
|
447
|
+
|
|
448
|
+
- Technical features: Support real-time session update, intelligent sorting, network status monitoring and other features. Newly-added responsive data: conversationList, activeConversation, totalUnRead, netStatus.
|
|
449
|
+
|
|
450
|
+
- Business value: Provide users with a clear session management interface to enhance communication efficiency.
|
|
451
|
+
|
|
452
|
+
- Application scenarios: Session management, contact list, group management, message center, and other scenarios.
|
|
453
|
+
|
|
454
|
+
responsive data
|
|
455
|
+
|
|
456
|
+
| **Data List** | **Description** |
|
|
457
|
+
| --- | --- |
|
|
458
|
+
| [conversationList](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#conversationList) | Conversation list data. |
|
|
459
|
+
| [activeConversation](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#activeConversation) | Current active session. |
|
|
460
|
+
| [totalUnRead](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#totalUnRead) | Total unread count. |
|
|
461
|
+
| [netStatus](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#netStatus) | Network connection status. |
|
|
462
|
+
|
|
463
|
+
API Function
|
|
464
|
+
|
|
465
|
+
| **Function list** | **Description** |
|
|
466
|
+
| --- | --- |
|
|
467
|
+
| [markConversationUnread](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#markConversationUnread) | Mark conversation as unread. |
|
|
468
|
+
| [setActiveConversation](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#setActiveConversation) | Set active session. |
|
|
469
|
+
| [pinConversation](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#pinConversation) | Pin conversation to top. |
|
|
470
|
+
| [deleteConversation](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#deleteConversation) | Delete conversation. |
|
|
471
|
+
| [muteConversation](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#muteConversation) | Mute session. |
|
|
472
|
+
| [setConversationDraft](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#setConversationDraft) | Set session draft. |
|
|
473
|
+
| [createC2CConversation](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#createC2CConversation) | Create one-on-one chat session. |
|
|
474
|
+
| [createGroupConversation](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#createGroupConversation) | Create group chat session. |
|
|
475
|
+
|
|
476
|
+
## ContactListState
|
|
477
|
+
|
|
478
|
+
Contact Management Module
|
|
479
|
+
- Core features: Manage user contact list, including friend management, chat group management, and blocklist management for complete contact feature.
|
|
480
|
+
|
|
481
|
+
- Technical features: Support contact group, Friend request processing, group application management and other features. Newly-added responsive data: friendList, groupList, blackList, and complete contact operation API.
|
|
482
|
+
|
|
483
|
+
- Business value: Provides users with complete social relationship management capability to build a social network.
|
|
484
|
+
|
|
485
|
+
- Application scenarios: Friend management, group management, contact search, social network, and other scenarios.
|
|
486
|
+
|
|
487
|
+
responsive data
|
|
488
|
+
|
|
489
|
+
| **Data List** | **Description** |
|
|
490
|
+
| --- | --- |
|
|
491
|
+
| [friendList](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#friendList) | Friend list. |
|
|
492
|
+
| [groupList](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#groupList) | Group list. |
|
|
493
|
+
| [blackList](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#blackList) | Blocklist. |
|
|
494
|
+
| [friendApplicationUnreadCount](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#friendApplicationUnreadCount) | Friend request unread. |
|
|
495
|
+
| [friendGroupList](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#friendGroupList) | Friend group list. |
|
|
496
|
+
| [friendApplicationList](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#friendApplicationList) | Friend request list. |
|
|
497
|
+
| [groupApplicationList](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#groupApplicationList) | Group join request list. |
|
|
498
|
+
|
|
499
|
+
API Function
|
|
500
|
+
|
|
501
|
+
| **Function list** | **Description** |
|
|
502
|
+
| --- | --- |
|
|
503
|
+
| [setGroupApplicationList](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#setGroupApplicationList) | Set group join request list. |
|
|
504
|
+
| [setFriendList](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#setFriendList) | Set friend list. |
|
|
505
|
+
| [setGroupList](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#setGroupList) | Set group list. |
|
|
506
|
+
| [setBlackList](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#setBlackList) | Set blocklist. |
|
|
507
|
+
| [setFriendApplicationUnreadCount](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#setFriendApplicationUnreadCount) | Set friend request unread. |
|
|
508
|
+
| [setFriendGroupList](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#setFriendGroupList) | Set friend group list. |
|
|
509
|
+
| [setFriendApplicationList](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#setFriendApplicationList) | Set friend request list. |
|
|
510
|
+
| [initContactListWatcher](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#initContactListWatcher) | Initialize contact person listener. |
|
|
511
|
+
| [addFriend](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#addFriend) | Add friend. |
|
|
512
|
+
| [markFriendApplicationAsRead](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#markFriendApplicationAsRead) | Tag friend request as read. |
|
|
513
|
+
| [acceptFriendApplication](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#acceptFriendApplication) | Accept friend request. |
|
|
514
|
+
| [refuseFriendApplication](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#refuseFriendApplication) | Refuse friend application. |
|
|
515
|
+
| [addToBlacklist](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#addToBlacklist) | Add to blocklist. |
|
|
516
|
+
| [removeFromBlacklist](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#removeFromBlacklist) | Remove from blocklist. |
|
|
517
|
+
| [deleteFriend](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#deleteFriend) | Delete friend. |
|
|
518
|
+
| [setFriendRemark](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#setFriendRemark) | Set friend remark. |
|
|
519
|
+
| [createFriendGroup](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#createFriendGroup) | Create friend group. |
|
|
520
|
+
| [deleteFriendGroup](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#deleteFriendGroup) | Delete friend group. |
|
|
521
|
+
| [addToFriendGroup](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#addToFriendGroup) | Add to friend group. |
|
|
522
|
+
| [removeFromFriendGroup](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#removeFromFriendGroup) | Remove from friend group. |
|
|
523
|
+
| [renameFriendGroup](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#renameFriendGroup) | Rename friend group. |
|
|
524
|
+
| [joinGroup](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#joinGroup) | Join group. |
|
|
525
|
+
| [acceptGroupApplication](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#acceptGroupApplication) | Accept group request. |
|
|
526
|
+
| [refuseGroupApplication](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#refuseGroupApplication) | Reject group request. |
|
|
527
|
+
|
|
528
|
+
## C2CSettingState
|
|
529
|
+
|
|
530
|
+
C2C Chat Settings Management Module
|
|
531
|
+
- Core features: Manage various settings for C2C Chat, including user information, chat settings, and permission control.
|
|
532
|
+
|
|
533
|
+
- Technical features: Support real-time set synchronization, permission management, personalized configuration, and other features. Update responsive data to standardized fields such as userID, avatar, and signature.
|
|
534
|
+
|
|
535
|
+
- Business value: Provide users with a personalized C2C Chat experience to enhance communication quality.
|
|
536
|
+
|
|
537
|
+
- Application scenarios: C2C chat settings, user information management, and permission control in chat scenarios.
|
|
538
|
+
|
|
539
|
+
responsive data
|
|
540
|
+
|
|
541
|
+
| **Data List** | **Description** |
|
|
542
|
+
| --- | --- |
|
|
543
|
+
| [currentConversationRef](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#currentConversationRef) | Current session reference. |
|
|
544
|
+
| [userIDRef](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#userIDRef) | User ID. |
|
|
545
|
+
| [nickRef](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#nickRef) | User nickname. |
|
|
546
|
+
| [avatarRef](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#avatarRef) | User profile photo. |
|
|
547
|
+
| [signatureRef](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#signatureRef) | User personal signature. |
|
|
548
|
+
| [remarkRef](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#remarkRef) | Friend remark name. |
|
|
549
|
+
| [isMutedRef](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#isMutedRef) | Session mute status. |
|
|
550
|
+
| [isPinnedRef](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#isPinnedRef) | Session pinning status. |
|
|
551
|
+
| [isContactRef](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#isContactRef) | Friend relationship status. |
|
|
552
|
+
| [userID](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#userID) | User ID. |
|
|
553
|
+
| [avatar](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#avatar) | User avatar URL. |
|
|
554
|
+
| [signature](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#signature) | User personal signature. |
|
|
555
|
+
| [remark](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#remark) | User remark name. |
|
|
556
|
+
| [isMuted](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#isMuted) | Whether muted. |
|
|
557
|
+
| [isPinned](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#isPinned) | Whether pinned to top. |
|
|
558
|
+
| [isContact](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#isContact) | Whether it is the contact person. |
|
|
559
|
+
|
|
560
|
+
API Function
|
|
561
|
+
|
|
562
|
+
| **Function list** | **Description** |
|
|
563
|
+
| --- | --- |
|
|
564
|
+
| [setChatPinned](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#setChatPinned) | Pin chat to top. |
|
|
565
|
+
| [setChatMuted](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#setChatMuted) | Enable Do Not Disturb for chat. |
|
|
566
|
+
| [setUserRemark](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#setUserRemark) | Set user remark. |
|
|
567
|
+
|
|
568
|
+
## GroupSettingState
|
|
569
|
+
|
|
570
|
+
Group chat settings management module
|
|
571
|
+
-Core features: Manage various group chat settings and operations, including information management, member management, permission control, and complete group management capabilities.
|
|
572
|
+
|
|
573
|
+
- Technical features: Support group permission management, member operations, group set sync and other features. Newly-added responsive data: groupID, groupType, groupName, and complete group information response and management API.
|
|
574
|
+
|
|
575
|
+
- Business value: Provides group owners and admins with complete group management capability to maintain order.
|
|
576
|
+
|
|
577
|
+
- Application scenarios: Group management, member management, permission control, group settings, and other scenarios.
|
|
578
|
+
|
|
579
|
+
responsive data
|
|
580
|
+
|
|
581
|
+
| **Data List** | **Description** |
|
|
582
|
+
| --- | --- |
|
|
583
|
+
| [groupID](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#groupID) | Group ID. |
|
|
584
|
+
| [groupType](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#groupType) | Group type. |
|
|
585
|
+
| [groupName](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#groupName) | Group name. |
|
|
586
|
+
| [avatar](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#avatar) | User avatar URL. |
|
|
587
|
+
| [introduction](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#introduction) | Group introduction. |
|
|
588
|
+
| [notification](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#notification) | Group notice. |
|
|
589
|
+
| [isMuted](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#isMuted) | Whether muted. |
|
|
590
|
+
| [isPinned](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#isPinned) | Whether pinned to top. |
|
|
591
|
+
| [groupOwner](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#groupOwner) | Group owner info. |
|
|
592
|
+
| [adminMembers](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#adminMembers) | Administrator list. |
|
|
593
|
+
| [allMembers](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#allMembers) | All member list. |
|
|
594
|
+
| [memberCount](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#memberCount) | Total number of members. |
|
|
595
|
+
| [maxMemberCount](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#maxMemberCount) | Maximum number of members. |
|
|
596
|
+
| [currentUserID](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#currentUserID) | Current user ID. |
|
|
597
|
+
| [currentUserRole](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#currentUserRole) | Current user role. |
|
|
598
|
+
| [nameCard](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#nameCard) | Name card. |
|
|
599
|
+
| [isMuteAllMembers](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#isMuteAllMembers) | Whether to mute all members. |
|
|
600
|
+
| [isInGroup](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#isInGroup) | Whether in the group. |
|
|
601
|
+
| [inviteOption](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#inviteOption) | InviteOption. |
|
|
602
|
+
|
|
603
|
+
API Function
|
|
604
|
+
|
|
605
|
+
| **Function list** | **Description** |
|
|
606
|
+
| --- | --- |
|
|
607
|
+
| [getGroupMemberList](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#getGroupMemberList) | Get Group Member list. |
|
|
608
|
+
| [updateGroupProfile](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#updateGroupProfile) | Refresh group information. |
|
|
609
|
+
| [addGroupMember](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#addGroupMember) | Add Group Member. |
|
|
610
|
+
| [deleteGroupMember](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#deleteGroupMember) | Delete group member. |
|
|
611
|
+
| [changeGroupOwner](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#changeGroupOwner) | Transfer Group Ownership. |
|
|
612
|
+
| [setGroupMemberRole](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#setGroupMemberRole) | Set group member role. |
|
|
613
|
+
| [setGroupMemberNameCard](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#setGroupMemberNameCard) | Set group member name card. |
|
|
614
|
+
| [setChatPinned](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#setChatPinned) | Pin chat to top. |
|
|
615
|
+
| [setChatMuted](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#setChatMuted) | Enable Do Not Disturb for chat. |
|
|
616
|
+
| [setGroupMemberMuteTime](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#setGroupMemberMuteTime) | Mute group member. |
|
|
617
|
+
| [setMuteAllMember](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#setMuteAllMember) | Enable room-wide mute. |
|
|
618
|
+
| [dismissGroup](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#dismissGroup) | Disband group. |
|
|
619
|
+
| [quitGroup](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#quitGroup) | Leave Group. |
|
|
620
|
+
| [hasPermission](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#hasPermission) | Check permission. |
|
|
621
|
+
| [canOperateOnMember](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#canOperateOnMember) | Check member operation permissions. |
|
|
622
|
+
| [getAvailablePermissions](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#getAvailablePermissions) | Get available permissions. |
|
|
623
|
+
| [initWatcher](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#initWatcher) | Initialize listener. |
|
|
624
|
+
|
|
625
|
+
## VideoMixerState
|
|
626
|
+
|
|
627
|
+
Video stream mixing management module
|
|
628
|
+
-Core feature: Manage video stream mixing functionality, support advanced video processing such as multiple streams video compositing, layout management, and media source control.
|
|
629
|
+
|
|
630
|
+
- Technical features: Support real-time video stream mixing, dynamic layout adjustment, media source management and other features. Newly-added isVideoMixerEnabled, mediaSourceList, activeMediaSource responsive data and complete control interface.
|
|
631
|
+
|
|
632
|
+
- Business value: The platform offers professional video production capabilities to enhance live streaming quality.
|
|
633
|
+
|
|
634
|
+
- Application scenarios: Scenarios such as multi-person live streaming, Picture-in-Picture, video compositing, and professional production.
|
|
635
|
+
|
|
636
|
+
responsive data
|
|
637
|
+
|
|
638
|
+
| **Data List** | **Description** |
|
|
639
|
+
| --- | --- |
|
|
640
|
+
| [publishVideoQuality](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#publishVideoQuality) | Get size based on resolution. |
|
|
641
|
+
| [isVideoMixerEnabled](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#isVideoMixerEnabled) | Whether video stream mixing is enabled. |
|
|
642
|
+
| [mediaSourceList](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#mediaSourceList) | Media source list. |
|
|
643
|
+
| [activeMediaSource](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#activeMediaSource) | Currently active media source. |
|
|
644
|
+
|
|
645
|
+
API Function
|
|
646
|
+
|
|
647
|
+
| **Function list** | **Description** |
|
|
648
|
+
| --- | --- |
|
|
649
|
+
| [getVideoDataByQuality](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#getVideoDataByQuality) | Get video data based on quality. |
|
|
650
|
+
| [getSizeByQuality](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#getSizeByQuality) | Get size based on quality. |
|
|
651
|
+
| [getSizeByResolution](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#getSizeByResolution) | Get size based on resolution. |
|
|
652
|
+
| [transformTUIVideoQualityToTRTCVideoResolution](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#transformTUIVideoQualityToTRTCVideoResolution) | Switch video quality to TRTC resolution. |
|
|
653
|
+
| [transformTRTCVideoResolutionToTUIVideoQuality](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#transformTRTCVideoResolutionToTUIVideoQuality) | Switch TRTC resolution to video quality. |
|
|
654
|
+
| [transformTRTCVideoResModeToTUIVideoResMode](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#transformTRTCVideoResModeToTUIVideoResMode) | Switch TRTC resolution mode. |
|
|
655
|
+
| [changeActiveMediaSource](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#changeActiveMediaSource) | Switch active media source. |
|
|
656
|
+
| [updateVideoQuality](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#updateVideoQuality) | Refresh video quality. |
|
|
657
|
+
| [getDefaultLayoutByMediaSource](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#getDefaultLayoutByMediaSource) | Get default layout based on media source. |
|
|
658
|
+
| [addMediaSource](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#addMediaSource) | Add media source. |
|
|
659
|
+
| [updateMediaSource](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#updateMediaSource) | Refresh media source. |
|
|
660
|
+
| [removeMediaSource](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#removeMediaSource) | Remove media source. |
|
|
661
|
+
| [enableLocalVideoMixer](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#enableLocalVideoMixer) | Enable local video stream mixing. |
|
|
662
|
+
| [clearMediaSource](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#clearMediaSource) | Clear ALL media sources. |
|
|
663
|
+
| [initMediaSourceManager](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#initMediaSourceManager) | Initialize media source manager. |
|
|
664
|
+
| [initVideoMixerState](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#initVideoMixerState) | Initialize video mixing status. |
|
|
665
|
+
|
|
666
|
+
## VirtualBackgroundState
|
|
667
|
+
|
|
668
|
+
Virtual Background Management Module
|
|
669
|
+
-Core features: Manage the virtual background feature, supporting background replacement, background blurring, and custom background for video beautification.
|
|
670
|
+
|
|
671
|
+
- Technical features: Real-time background segmentation and replacement based on AI technology. Newly-added virtualBackgroundConfig responsive data and isSupported, setVirtualBackground API functions.
|
|
672
|
+
|
|
673
|
+
- Business value: Provides users with privacy protection and video beautification features to enhance the video call experience.
|
|
674
|
+
|
|
675
|
+
- Application scenarios: Video call, online meeting, live stream beautification, privacy protection, and other scenarios.
|
|
676
|
+
|
|
677
|
+
responsive data
|
|
678
|
+
|
|
679
|
+
| **Data List** | **Description** |
|
|
680
|
+
| --- | --- |
|
|
681
|
+
| [virtualBackgroundConfig](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#virtualBackgroundConfig) | Virtual background configuration. |
|
|
682
|
+
|
|
683
|
+
API Function
|
|
684
|
+
|
|
685
|
+
| **Function list** | **Description** |
|
|
686
|
+
| --- | --- |
|
|
687
|
+
| [initVirtualBackground](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#initVirtualBackground) | Initialize virtual background. |
|
|
688
|
+
| [saveVirtualBackground](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#saveVirtualBackground) | Save virtual background. |
|
|
689
|
+
| [isSupported](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#isSupported) | Check whether it is supported. |
|
|
690
|
+
| [setVirtualBackground](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#setVirtualBackground) | Set virtual background. |
|
|
691
|
+
|
|
692
|
+
## ASRState
|
|
693
|
+
|
|
694
|
+
Automatic Speech Recognition (ASR) management module
|
|
695
|
+
- Core features: Manage Automatic Speech Recognition (ASR), support real-time voice-to-text, history management, export and other features.
|
|
696
|
+
|
|
697
|
+
- Technical features: Based on advanced ASR technology, support language recognition, real-time transcription, history and other features. Newly-added responsive data: recentTranscripts, transcriptHistory and API: exportTranscripts.
|
|
698
|
+
|
|
699
|
+
- Business value: Provide users with speech-to-text service to enhance communication efficiency and accessibility.
|
|
700
|
+
|
|
701
|
+
- Application scenarios: Meeting minutes, speech transcription, barrier-free communication, content recording, and other scenarios.
|
|
702
|
+
|
|
703
|
+
responsive data
|
|
704
|
+
|
|
705
|
+
| **Data List** | **Description** |
|
|
706
|
+
| --- | --- |
|
|
707
|
+
| [recentTranscripts](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#recentTranscripts) | Latest speech transcription records. |
|
|
708
|
+
| [transcriptHistory](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#transcriptHistory) | Speech transcription history. |
|
|
709
|
+
|
|
710
|
+
API Function
|
|
711
|
+
|
|
712
|
+
| **Function list** | **Description** |
|
|
713
|
+
| --- | --- |
|
|
714
|
+
| [setRecentTranscriptsDuration](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#setRecentTranscriptsDuration) | Set the most recent transcription duration. |
|
|
715
|
+
| [clearHistory](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#clearHistory) | Clear transcription history. |
|
|
716
|
+
| [exportTranscripts](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#exportTranscripts) | Export transcribed content. |
|
|
717
|
+
|
|
718
|
+
## SearchState
|
|
719
|
+
|
|
720
|
+
Search functionality management module
|
|
721
|
+
-Core feature: Manage global search functionality, supporting message search, user search, group search, and other multidimensional search capabilities.
|
|
722
|
+
|
|
723
|
+
- Technical feature: Support advanced search, search history, search suggestions, and other features. Reconstruct responsive data into standardized fields like keyword, results, isLoading, and provide a complete search interface.
|
|
724
|
+
|
|
725
|
+
- Business value: Provide users with quick search ability to enhance usage efficiency.
|
|
726
|
+
|
|
727
|
+
- Application scenarios: Message search, contact search, content search, history records, and other scenarios.
|
|
728
|
+
|
|
729
|
+
responsive data
|
|
730
|
+
|
|
731
|
+
| **Data List** | **Description** |
|
|
732
|
+
| --- | --- |
|
|
733
|
+
| [keyword](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#keyword) | Search keywords. |
|
|
734
|
+
| [results](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#results) | Search result. |
|
|
735
|
+
| [isLoading](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#isLoading) | Whether loading. |
|
|
736
|
+
| [error](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#error) | Error Message. |
|
|
737
|
+
| [searchAdvancedParams](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#searchAdvancedParams) | Advanced search parameter. |
|
|
738
|
+
| [selectedSearchType](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#selectedSearchType) | Selected search type. |
|
|
739
|
+
|
|
740
|
+
API Function
|
|
741
|
+
|
|
742
|
+
| **Function list** | **Description** |
|
|
743
|
+
| --- | --- |
|
|
744
|
+
| [search](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#search) | Search. |
|
|
745
|
+
| [setKeyword](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#setKeyword) | Set keyword. |
|
|
746
|
+
| [setSelectedType](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#setSelectedType) | Set selected type. |
|
|
747
|
+
| [setSearchMessageAdvancedParams](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#setSearchMessageAdvancedParams) | Set advanced message search parameters. |
|
|
748
|
+
| [setSearchUserAdvancedParams](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#setSearchUserAdvancedParams) | Set advanced user search parameters. |
|
|
749
|
+
| [setSearchGroupAdvancedParams](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#setSearchGroupAdvancedParams) | Set advanced group search parameters. |
|
|
750
|
+
| [loadMore](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#loadMore) | Load more. |
|
|
751
|
+
|
|
752
|
+
## SeatStore
|
|
753
|
+
|
|
754
|
+
Seat Storage Management Module
|
|
755
|
+
-Core features: Provide underlying storage and management for seat status, support core features such as seat information cache, user information map, and device request handling.
|
|
756
|
+
|
|
757
|
+
- Technical features: Use responsive storage design, support real-time status synchronization, event-driven updates, and other features. Add newly-added responsive data such as liveOwnerUserId, localUserId, seatList, and APIs like getUserInfo and convertUserInfoToAudienceInfo.
|
|
758
|
+
|
|
759
|
+
- Business value: Provide a reliable data foundation for seat management and ensure seat status consistency.
|
|
760
|
+
|
|
761
|
+
- Application scenarios: Seat status management, user information storage, device status tracking, and other underlying scenarios.
|
|
762
|
+
|
|
763
|
+
responsive data
|
|
764
|
+
|
|
765
|
+
| **Data List** | **Description** |
|
|
766
|
+
| --- | --- |
|
|
767
|
+
| [liveOwnerUserId](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#liveOwnerUserId) | Anchor user ID in the live streaming room. |
|
|
768
|
+
| [localUserId](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#localUserId) | Local User ID. |
|
|
769
|
+
| [seatList](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#seatList) | Microphone position list, including ALL seat states and user information. |
|
|
770
|
+
| [coHostUserList](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#coHostUserList) | Anchor list for mic connection. |
|
|
771
|
+
| [sentDeviceRequestMap](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#sentDeviceRequestMap) | Request mapping sent to the device. |
|
|
772
|
+
| [receivedDeviceRequestMap](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#receivedDeviceRequestMap) | Request mapping received from the device. |
|
|
773
|
+
| [userInfoMap](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#userInfoMap) | User information mapping table. |
|
|
774
|
+
|
|
775
|
+
API Function
|
|
776
|
+
|
|
777
|
+
| Function list | Description |
|
|
778
|
+
| --- | --- |
|
|
779
|
+
| [getUserInfo](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#getUserInfo) | Retrieve user information. |
|
|
780
|
+
| [convertUserInfoToAudienceInfo](https://web.sdk.qcloud.com/trtc/live/web/doc/zh/index.html#convertUserInfoToAudienceInfo) | Switch user information to audience information. |
|