@tencent-rtc/mcp 1.6.7 → 1.6.8
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/knowledge/build-index.js +3 -0
- package/knowledge/content-loader.js +3 -1
- package/knowledge/search/filter-pool.js +12 -4
- package/knowledge/search/query-normalizer.js +76 -0
- package/knowledge/search/search-knowledge.js +104 -5
- package/package.json +1 -1
- package/resource/_schema/feature-aliases.yaml +1 -0
- package/resource/_schema/query-normalization.yaml +9 -0
- package/resource/index/manifest.json +1 -1
- package/resource/integration/callkit/preset/android/integration.md +3 -14
- package/resource/integration/callkit/preset/flutter/integration.md +1 -12
- package/resource/integration/callkit/preset/ios/integration.md +2 -12
- package/resource/integration/callkit/preset/react/integration.md +1 -14
- package/resource/integration/callkit/preset/vue/integration.md +1 -14
- package/resource/integration/chat/preset/android/integration.md +6 -13
- package/resource/integration/chat/preset/flutter/integration.md +1 -8
- package/resource/integration/chat/preset/ios/integration.md +4 -12
- package/resource/integration/chat/preset/react/integration.md +6 -16
- package/resource/integration/chat/preset/vue/integration.md +0 -9
- package/resource/integration/livekit/preset/live/android/live-audience-integration.md +2 -6
- package/resource/integration/livekit/preset/live/android/live-host-integration.md +1 -11
- package/resource/integration/livekit/preset/live/android/live-list-integration.md +2 -6
- package/resource/integration/livekit/preset/live/android/prepare-integration.md +2 -7
- package/resource/integration/livekit/preset/live/ios/live-audience-integration.md +2 -7
- package/resource/integration/livekit/preset/live/ios/live-host-integration.md +1 -13
- package/resource/integration/livekit/preset/live/ios/live-list-integration.md +2 -10
- package/resource/integration/livekit/preset/live/ios/prepare-integration.md +3 -8
- package/resource/integration/livekit/preset/live/vue/live-list-integration.md +0 -4
- package/resource/integration/livekit/preset/live/vue/live-player-desk-integration.md +1 -5
- package/resource/integration/livekit/preset/live/vue/live-player-h5-integration.md +2 -7
- package/resource/integration/livekit/preset/live/vue/live-pusher-integration.md +2 -8
- package/resource/integration/roomkit/preset/vue/integration.md +0 -11
- package/resource/knowledge/callkit/core-sdk/android/answer-call.md +0 -7
- package/resource/knowledge/callkit/core-sdk/android/make-call.md +0 -8
- package/resource/knowledge/callkit/core-sdk/android/offline-push.md +1 -9
- package/resource/knowledge/callkit/core-sdk/flutter/answer-call.md +2 -8
- package/resource/knowledge/callkit/core-sdk/flutter/make-call.md +2 -8
- package/resource/knowledge/callkit/core-sdk/flutter/offline-push.md +1 -16
- package/resource/knowledge/callkit/core-sdk/ios/answer-call.md +0 -8
- package/resource/knowledge/callkit/core-sdk/ios/make-call.md +0 -8
- package/resource/knowledge/callkit/core-sdk/ios/offline-push.md +0 -11
- package/resource/knowledge/callkit/core-sdk/uni-app/answer-call.md +178 -200
- package/resource/knowledge/callkit/core-sdk/uni-app/make-call.md +195 -217
- package/resource/knowledge/callkit/faq/android.md +4 -14
- package/resource/knowledge/callkit/faq/common.md +0 -2
- package/resource/knowledge/callkit/faq/error-code.md +2 -4
- package/resource/knowledge/callkit/faq/ios.md +1 -4
- package/resource/knowledge/callkit/preset/android/api.md +0 -6
- package/resource/knowledge/callkit/preset/ios/api.md +0 -4
- package/resource/knowledge/callkit/preset/react/api.md +3 -4
- package/resource/knowledge/callkit/preset/react/uikit-api-reference.md +3 -4
- package/resource/knowledge/callkit/preset/vue/api.md +3 -4
- package/resource/knowledge/callkit/preset/vue/uikit-api-reference.md +3 -4
- package/resource/knowledge/chat/preset/android/features/chat-setting.md +0 -5
- package/resource/knowledge/chat/preset/android/features/contact-list.md +0 -7
- package/resource/knowledge/chat/preset/android/features/conversation-list.md +0 -6
- package/resource/knowledge/chat/preset/android/features/language.md +0 -8
- package/resource/knowledge/chat/preset/android/features/message-input.md +0 -6
- package/resource/knowledge/chat/preset/android/features/message-list.md +0 -8
- package/resource/knowledge/chat/preset/android/features/search.md +0 -7
- package/resource/knowledge/chat/preset/android/features/theme.md +0 -4
- package/resource/knowledge/chat/preset/android-view/integration.md +0 -6
- package/resource/knowledge/chat/preset/flutter/features/chat-setting.md +0 -4
- package/resource/knowledge/chat/preset/flutter/features/contact-list.md +0 -9
- package/resource/knowledge/chat/preset/flutter/features/conversation-list.md +0 -7
- package/resource/knowledge/chat/preset/flutter/features/language.md +0 -5
- package/resource/knowledge/chat/preset/flutter/features/message-input.md +0 -6
- package/resource/knowledge/chat/preset/flutter/features/message-list.md +0 -8
- package/resource/knowledge/chat/preset/flutter/features/search.md +0 -5
- package/resource/knowledge/chat/preset/flutter/features/theme.md +0 -4
- package/resource/knowledge/chat/preset/ios/features/chat-setting.md +0 -5
- package/resource/knowledge/chat/preset/ios/features/contact-list.md +0 -5
- package/resource/knowledge/chat/preset/ios/features/conversation-list.md +0 -7
- package/resource/knowledge/chat/preset/ios/features/language.md +1 -8
- package/resource/knowledge/chat/preset/ios/features/message-input.md +0 -6
- package/resource/knowledge/chat/preset/ios/features/message-list.md +0 -8
- package/resource/knowledge/chat/preset/ios/features/search.md +0 -5
- package/resource/knowledge/chat/preset/ios/features/theme.md +0 -4
- package/resource/knowledge/chat/preset/ios-uikit/integration.md +0 -6
- package/resource/knowledge/chat/preset/react/features/contact-list.md +0 -23
- package/resource/knowledge/chat/preset/react/features/conversation-actions.md +2 -11
- package/resource/knowledge/chat/preset/react/features/conversation-list.md +4 -26
- package/resource/knowledge/chat/preset/react/features/conversation-preview.md +0 -6
- package/resource/knowledge/chat/preset/react/features/search.md +0 -1
- package/resource/knowledge/chat/preset/react/features/theme.md +0 -1
- package/resource/knowledge/chat/preset/vue/features/contact-list.md +3 -9
- package/resource/knowledge/chat/preset/vue/features/conversation-actions.md +0 -3
- package/resource/knowledge/chat/preset/vue/features/conversation-list.md +2 -13
- package/resource/knowledge/chat/preset/vue/features/conversation-preview.md +2 -3
- package/resource/knowledge/chat/preset/vue/features/conversation-search.md +1 -0
- package/resource/knowledge/chat/preset/vue/features/search.md +4 -3
- package/resource/knowledge/livekit/core-sdk/api-reference/android/AudioEffectStore.md +0 -7
- package/resource/knowledge/livekit/core-sdk/api-reference/android/BarrageStore.md +0 -3
- package/resource/knowledge/livekit/core-sdk/api-reference/android/BattleStore.md +0 -3
- package/resource/knowledge/livekit/core-sdk/api-reference/android/CameraView.md +0 -1
- package/resource/knowledge/livekit/core-sdk/api-reference/android/CoGuestStore.md +0 -5
- package/resource/knowledge/livekit/core-sdk/api-reference/android/CoHostStore.md +0 -3
- package/resource/knowledge/livekit/core-sdk/api-reference/android/DeviceStore.md +0 -2
- package/resource/knowledge/livekit/core-sdk/api-reference/android/GiftStore.md +0 -2
- package/resource/knowledge/livekit/core-sdk/api-reference/android/LikeStore.md +0 -2
- package/resource/knowledge/livekit/core-sdk/api-reference/android/LiveAudienceStore.md +0 -2
- package/resource/knowledge/livekit/core-sdk/api-reference/android/LiveCoreView.md +0 -1
- package/resource/knowledge/livekit/core-sdk/api-reference/android/LiveSeatStore.md +0 -2
- package/resource/knowledge/livekit/core-sdk/api-reference/android/LoginStore.md +0 -2
- package/resource/knowledge/livekit/core-sdk/api-reference/flutter/AudioEffectStore.md +0 -7
- package/resource/knowledge/livekit/core-sdk/api-reference/flutter/BarrageStore.md +0 -3
- package/resource/knowledge/livekit/core-sdk/api-reference/flutter/BaseBeautyStore.md +0 -1
- package/resource/knowledge/livekit/core-sdk/api-reference/flutter/BattleStore.md +0 -3
- package/resource/knowledge/livekit/core-sdk/api-reference/flutter/CoGuestStore.md +0 -5
- package/resource/knowledge/livekit/core-sdk/api-reference/flutter/CoHostStore.md +0 -3
- package/resource/knowledge/livekit/core-sdk/api-reference/flutter/DeviceStore.md +0 -2
- package/resource/knowledge/livekit/core-sdk/api-reference/flutter/GiftStore.md +0 -2
- package/resource/knowledge/livekit/core-sdk/api-reference/flutter/LikeStore.md +0 -2
- package/resource/knowledge/livekit/core-sdk/api-reference/flutter/LiveAudienceStore.md +0 -2
- package/resource/knowledge/livekit/core-sdk/api-reference/flutter/LiveCoreView.md +0 -1
- package/resource/knowledge/livekit/core-sdk/api-reference/flutter/LiveSeatStore.md +0 -2
- package/resource/knowledge/livekit/core-sdk/api-reference/flutter/LoginStore.md +1 -3
- package/resource/knowledge/livekit/core-sdk/api-reference/ios/AudioEffectStore.md +0 -7
- package/resource/knowledge/livekit/core-sdk/api-reference/ios/BarrageStore.md +0 -3
- package/resource/knowledge/livekit/core-sdk/api-reference/ios/BaseBeautyStore.md +0 -1
- package/resource/knowledge/livekit/core-sdk/api-reference/ios/BattleStore.md +0 -3
- package/resource/knowledge/livekit/core-sdk/api-reference/ios/CoGuestStore.md +0 -5
- package/resource/knowledge/livekit/core-sdk/api-reference/ios/CoHostStore.md +0 -3
- package/resource/knowledge/livekit/core-sdk/api-reference/ios/DeviceStore.md +0 -2
- package/resource/knowledge/livekit/core-sdk/api-reference/ios/GiftStore.md +0 -2
- package/resource/knowledge/livekit/core-sdk/api-reference/ios/LikeStore.md +0 -2
- package/resource/knowledge/livekit/core-sdk/api-reference/ios/LiveAudienceStore.md +0 -2
- package/resource/knowledge/livekit/core-sdk/api-reference/ios/LiveCoreView.md +0 -1
- package/resource/knowledge/livekit/core-sdk/api-reference/ios/LiveSeatStore.md +0 -2
- package/resource/knowledge/livekit/core-sdk/api-reference/ios/LoginStore.md +0 -2
- package/resource/knowledge/livekit/core-sdk/features/android/audience-list.md +2 -2
- package/resource/knowledge/livekit/core-sdk/features/android/audio-effect.md +2 -3
- package/resource/knowledge/livekit/core-sdk/features/android/barrage.md +2 -2
- package/resource/knowledge/livekit/core-sdk/features/android/base-beauty.md +2 -2
- package/resource/knowledge/livekit/core-sdk/features/android/gift.md +2 -7
- package/resource/knowledge/livekit/core-sdk/features/android/live-list.md +3 -4
- package/resource/knowledge/livekit/core-sdk/features/flutter/audience-list.md +2 -2
- package/resource/knowledge/livekit/core-sdk/features/flutter/audio-effect.md +2 -4
- package/resource/knowledge/livekit/core-sdk/features/flutter/barrage.md +2 -2
- package/resource/knowledge/livekit/core-sdk/features/flutter/base-beauty.md +0 -2
- package/resource/knowledge/livekit/core-sdk/features/flutter/gift.md +2 -7
- package/resource/knowledge/livekit/core-sdk/features/flutter/live-list.md +3 -2
- package/resource/knowledge/livekit/core-sdk/features/ios/audience-list.md +2 -2
- package/resource/knowledge/livekit/core-sdk/features/ios/audio-effect.md +2 -4
- package/resource/knowledge/livekit/core-sdk/features/ios/barrage.md +2 -2
- package/resource/knowledge/livekit/core-sdk/features/ios/base-beauty.md +2 -2
- package/resource/knowledge/livekit/core-sdk/features/ios/gift.md +2 -7
- package/resource/knowledge/livekit/core-sdk/features/ios/live-list.md +3 -4
- package/resource/knowledge/livekit/core-sdk/live/android/co-guest-interaction.md +0 -3
- package/resource/knowledge/livekit/core-sdk/live/android/host-interaction.md +0 -4
- package/resource/knowledge/livekit/core-sdk/live/android/integration.md +1 -4
- package/resource/knowledge/livekit/core-sdk/live/flutter/co-guest-interaction.md +1 -3
- package/resource/knowledge/livekit/core-sdk/live/flutter/host-interaction.md +0 -1
- package/resource/knowledge/livekit/core-sdk/live/flutter/integration.md +1 -4
- package/resource/knowledge/livekit/core-sdk/live/ios/co-guest-interaction.md +0 -3
- package/resource/knowledge/livekit/core-sdk/live/ios/host-interaction.md +0 -3
- package/resource/knowledge/livekit/core-sdk/live/ios/integration.md +1 -4
- package/resource/knowledge/livekit/core-sdk/voice/android/co-guest-interaction.md +0 -2
- package/resource/knowledge/livekit/core-sdk/voice/android/host-interaction.md +0 -5
- package/resource/knowledge/livekit/core-sdk/voice/android/integration.md +1 -4
- package/resource/knowledge/livekit/core-sdk/voice/flutter/co-guest-interaction.md +1 -4
- package/resource/knowledge/livekit/core-sdk/voice/flutter/integration.md +3 -6
- package/resource/knowledge/livekit/core-sdk/voice/ios/co-guest-interaction.md +0 -2
- package/resource/knowledge/livekit/core-sdk/voice/ios/host-interaction.md +0 -4
- package/resource/knowledge/livekit/core-sdk/voice/ios/integration.md +1 -4
- package/resource/knowledge/livekit/faq/error-code.md +0 -1
- package/resource/knowledge/livekit/preset/live/vue/features/barrage.md +2 -3
- package/resource/knowledge/livekit/preset/live/vue/features/live-audience-list.md +3 -3
- package/resource/knowledge/livekit/preset/live/vue/features/live-view.md +3 -3
- package/resource/knowledge/push/api-reference/android.md +0 -1
- package/resource/knowledge/push/api-reference/harmonyos.md +0 -2
- package/resource/knowledge/push/api-reference/react-native.md +3 -5
- package/resource/knowledge/push/api-reference/uni-app.md +3 -5
- package/resource/knowledge/push/api-reference/unity.md +0 -1
- package/resource/knowledge/push/api-reference/unreal-engine.md +0 -1
- package/resource/knowledge/push/config/android.md +0 -24
- package/resource/knowledge/push/config/harmonyos.md +0 -1
- package/resource/knowledge/push/config/ios.md +0 -3
- package/resource/knowledge/push/config/react-native.md +0 -29
- package/resource/knowledge/push/config/unity.md +1 -24
- package/resource/knowledge/push/config/unreal-engine.md +1 -24
- package/resource/knowledge/push/integration/android.md +0 -14
- package/resource/knowledge/push/integration/flutter.md +0 -19
- package/resource/knowledge/push/integration/harmonyos.md +0 -2
- package/resource/knowledge/push/integration/ios.md +0 -3
- package/resource/knowledge/push/integration/react-native.md +0 -24
- package/resource/knowledge/push/integration/uni-app.md +1 -11
- package/resource/knowledge/push/integration/unity.md +0 -9
- package/resource/knowledge/push/integration/unreal-engine.md +1 -17
- package/resource/knowledge/roomkit/core-sdk/android/call-user-to-room.md +0 -4
- package/resource/knowledge/roomkit/core-sdk/android/room-participant-state.md +0 -4
- package/resource/knowledge/roomkit/core-sdk/android/room-state.md +0 -4
- package/resource/knowledge/roomkit/core-sdk/android/schedule-room.md +1 -5
- package/resource/knowledge/roomkit/core-sdk/ios/call-user-to-room.md +0 -4
- package/resource/knowledge/roomkit/core-sdk/ios/room-participant-state.md +0 -4
- package/resource/knowledge/roomkit/core-sdk/ios/room-state.md +0 -4
- package/resource/knowledge/roomkit/core-sdk/ios/schedule-room.md +1 -5
- package/resource/knowledge/roomkit/core-sdk/vue/call-user-to-room.md +1 -1
- package/resource/knowledge/roomkit/core-sdk/vue/device-state.md +0 -6
- package/resource/knowledge/roomkit/core-sdk/vue/free-beauty-panel.md +0 -9
- package/resource/knowledge/roomkit/core-sdk/vue/room-chat.md +0 -11
- package/resource/knowledge/roomkit/core-sdk/vue/room-participant-state.md +1 -5
- package/resource/knowledge/roomkit/core-sdk/vue/room-state.md +1 -8
- package/resource/knowledge/roomkit/core-sdk/vue/room-view.md +0 -3
- package/resource/knowledge/roomkit/core-sdk/vue/screen-share.md +0 -3
- package/resource/knowledge/roomkit/core-sdk/vue/virtual-background.md +0 -5
- package/resource/knowledge/roomkit/preset/android/integration.md +0 -4
- package/resource/knowledge/roomkit/preset/flutter/integration.md +1 -13
- package/resource/knowledge/roomkit/preset/ios/integration.md +0 -6
- package/resource/knowledge/roomkit/preset/react/integration.md +0 -16
- package/resource/knowledge/rtcengine/web/api.md +1 -8
- package/resource/knowledge/rtcengine/web/faq.md +3 -5
- package/resource/knowledge/rtcengine/web/how_to_integrated_web_sdk.md +0 -6
- package/resource/knowledge/rtcengine/web/plugin/20-advanced-customized-capture-rendering.md +1 -1
- package/resource/knowledge/rtcengine/web/plugin/21-advanced-auto-play-policy.md +1 -1
- package/resource/knowledge/rtcengine/web/plugin/26-advanced-publish-cdn-stream.md +1 -1
- package/resource/knowledge/rtcengine/web/plugin/27-advanced-small-stream.md +1 -1
- package/resource/knowledge/rtcengine/web/plugin/31-advanced-plugins-overview.md +1 -3
- package/resource/knowledge/rtcengine/web/plugin/34-advanced-proxy.md +2 -4
- package/resource/knowledge/rtcengine/web/plugin/36-advanced-virtual-background.md +0 -4
- package/resource/knowledge/rtcengine/web/plugin/39-advanced-video-decoder.md +0 -2
- package/resource/knowledge/trtc/android/TRTCCloud.md +8 -56
- package/resource/knowledge/trtc/android/TRTCCloudDef.md +6 -7
- package/resource/knowledge/trtc/android/TRTCCloudListener.md +1 -18
- package/resource/knowledge/trtc/android/TXAudioEffectManager.md +0 -14
- package/resource/knowledge/trtc/android/TXDeviceManager.md +0 -1
- package/resource/knowledge/trtc/android/TXLiteAVCode.md +1 -1
- package/resource/knowledge/trtc/c++/ITRTCCloud.md +7 -59
- package/resource/knowledge/trtc/c++/ITXAudioEffectManager.md +0 -14
- package/resource/knowledge/trtc/c++/ITXDeviceManager.md +0 -4
- package/resource/knowledge/trtc/c++/TRTCCloudCallback.md +1 -19
- package/resource/knowledge/trtc/c++/TRTCTypeDef.md +6 -7
- package/resource/knowledge/trtc/c++/TXLiteAVCode.md +1 -1
- package/resource/knowledge/trtc/ios/TRTCCloud.md +9 -60
- package/resource/knowledge/trtc/ios/TRTCCloudDef.md +6 -7
- package/resource/knowledge/trtc/ios/TRTCCloudDelegate.md +1 -19
- package/resource/knowledge/trtc/ios/TXAudioEffectManager.md +0 -13
- package/resource/knowledge/trtc/ios/TXDeviceManager.md +0 -4
- package/resource/knowledge/trtc/ios/TXLiteAVCode.md +1 -1
- package/server.js +1 -1
- package/tools/common/search_trtc_knowledge.js +2 -0
- package/tools/definitions/search_trtc_knowledge_def.js +1 -0
- package/utils/report-cls-client.js +3 -3
- package/utils/report-es-client.js +1 -1
- package/resource/knowledge/roomkit/core-sdk/flutter/call-user-to-room.md +0 -230
- package/resource/knowledge/roomkit/core-sdk/flutter/room-participant-state.md +0 -797
- package/resource/knowledge/roomkit/core-sdk/flutter/room-state.md +0 -325
- package/resource/knowledge/roomkit/core-sdk/flutter/schedule-room.md +0 -325
|
@@ -65,7 +65,6 @@ end
|
|
|
65
65
|
Call `LoginStore.shared.login` in your project to log in. **This is the key premise for using all functions of AtomicXCore.**
|
|
66
66
|
|
|
67
67
|
> **Important:**
|
|
68
|
-
>
|
|
69
68
|
> It is recommended to call `LoginStore.shared.login` after successful log-in to your App's user account to ensure clear and consistent business logic.
|
|
70
69
|
>
|
|
71
70
|
|
|
@@ -106,7 +105,6 @@ void main() async {
|
|
|
106
105
|
Follow these steps to quickly set up host video streaming:
|
|
107
106
|
|
|
108
107
|
> **Note:**
|
|
109
|
-
>
|
|
110
108
|
> For a complete host streaming implementation, see [live_room_anchor_widget.dart](https://github.com/Tencent-RTC/TUIKit_Flutter/blob/main/live/livekit/lib/live_stream/features/live_room_anchor_widget.dart) in the TUILiveKit open-source project.
|
|
111
109
|
>
|
|
112
110
|
|
|
@@ -343,7 +341,6 @@ Follow these steps to quickly set up host video streaming:
|
|
|
343
341
|
Enable audience live viewing with these steps:
|
|
344
342
|
|
|
345
343
|
> **Note:**
|
|
346
|
-
>
|
|
347
344
|
> For a complete audience implementation, see [audience_widget.dart](https://github.com/Tencent-RTC/TUIKit_Flutter/blob/main/live/livekit/lib/live_stream/features/audience/audience_widget.dart) in the TUILiveKit open-source project.
|
|
348
345
|
>
|
|
349
346
|
|
|
@@ -586,7 +583,7 @@ After integrating LiveCoreWidget, you’ll have a clean video rendering view wit
|
|
|
586
583
|
|
|
587
584
|
## Enrich Live Streaming Scenarios
|
|
588
585
|
|
|
589
|
-
Once the basic live streaming functionality is in place,
|
|
586
|
+
Once the basic live streaming functionality is in place,
|
|
590
587
|
|
|
591
588
|
|**Feature**|**Description**|**Store**|**Implementation Guide**|
|
|
592
589
|
|---------|---------|---------|---------|
|
|
@@ -18,8 +18,6 @@
|
|
|
18
18
|
|
|
19
19
|
### Step 1: Component Integration
|
|
20
20
|
|
|
21
|
-
Refer to Quick Start to integrate AtomicXCore and complete the setup of `LiveCoreView`.
|
|
22
|
-
|
|
23
21
|
### Step 2: Implement Audience Request to Join
|
|
24
22
|
|
|
25
23
|
#### Audience-Side Implementation
|
|
@@ -258,7 +256,6 @@ Use the "slot" capability provided by the `LiveCoreView.VideoViewDelegate` proto
|
|
|
258
256
|
#### Implementation Steps
|
|
259
257
|
|
|
260
258
|
> **Note:**
|
|
261
|
-
>
|
|
262
259
|
> For complete implementation details, refer to the open-source TUILiveKit project files [AnchorCoGuestView.swift](https://github.com/Tencent-RTC/TUIKit_iOS/blob/main/live/Sources/Features/AnchorView/View/VideoWidgets/AnchorCoGuestView.swift) and [AnchorEmptySeatView.swift](https://github.com/Tencent-RTC/TUIKit_iOS/blob/main/live/Sources/Features/AnchorView/View/VideoWidgets/AnchorEmptySeatView.swift).
|
|
263
260
|
>
|
|
264
261
|
|
|
@@ -2,7 +2,6 @@ Displaying PK User Score on Video View**AtomicXCore** provides two primary modul
|
|
|
2
2
|
|
|
3
3
|
## Core Scenario
|
|
4
4
|
|
|
5
|
-
A typical "Host Co-hosting PK" session consists of three main stages, as shown below:
|
|
6
5
|
1. **Cross-room Co-hosting**: Two hosts connect, and both video streams are displayed in a shared view.
|
|
7
6
|
|
|
8
7
|
2. **Initiate PK**: After the connection is established, either host can start a PK challenge.
|
|
@@ -13,8 +12,6 @@ A typical "Host Co-hosting PK" session consists of three main stages, as shown b
|
|
|
13
12
|
|
|
14
13
|
### Step 1: Component Integration
|
|
15
14
|
|
|
16
|
-
Refer to Quick Start to integrate AtomicXCore and complete the setup of LiveCoreView.
|
|
17
|
-
|
|
18
15
|
### Step 2: Implement Cross-Room Co-hosting
|
|
19
16
|
|
|
20
17
|
The goal of this step is to display the video streams of two hosts in the same view. Use [CoHostStore](https://tencent-rtc.github.io/TUIKit_iOS/documentation/atomicxcore/cohoststore) to achieve this.
|
|
@@ -44,7 +44,6 @@ See Activate Service to obtain either the trial or paid version of the SDK.Then,
|
|
|
44
44
|
Call `LoginStore.shared.login` in your project to complete authentication. **This is required before using any functionality of AtomicXCore**.
|
|
45
45
|
|
|
46
46
|
> **Note:**
|
|
47
|
-
>
|
|
48
47
|
> We recommend calling LoginStore.shared.login only after your app's own user authentication is successful, to ensure clear and consistent login logic.
|
|
49
48
|
>
|
|
50
49
|
|
|
@@ -81,7 +80,6 @@ func application(_ application: UIApplication, didFinishLaunchingWithOptions lau
|
|
|
81
80
|
Follow these steps to quickly set up broadcaster video streaming:
|
|
82
81
|
|
|
83
82
|
> **Note:**
|
|
84
|
-
>
|
|
85
83
|
> For a complete broadcaster streaming implementation, refer to [TUILiveRoomAnchorViewController.swift](https://github.com/Tencent-RTC/TUIKit_iOS/blob/main/live/Sources/LiveStream/TUILiveRoomAnchorViewController.swift) in the TUILiveKit open source project.
|
|
86
84
|
>
|
|
87
85
|
|
|
@@ -223,7 +221,6 @@ Follow these steps to quickly set up broadcaster video streaming:
|
|
|
223
221
|
Enable audience viewing with the following steps:
|
|
224
222
|
|
|
225
223
|
> **Note:**
|
|
226
|
-
>
|
|
227
224
|
> For a complete audience playback implementation, refer to [TUILiveRoomAudienceViewController.swift](https://github.com/Tencent-RTC/TUIKit_iOS/blob/main/live/Sources/LiveStream/TUILiveRoomAudienceViewController.swift) in the TUILiveKit open source project.
|
|
228
225
|
>
|
|
229
226
|
|
|
@@ -439,7 +436,7 @@ private func subscribeToDataUpdates() {
|
|
|
439
436
|
|
|
440
437
|
## Enriching the Live Streaming Scene
|
|
441
438
|
|
|
442
|
-
Once the basic live streaming functionality is in place,
|
|
439
|
+
Once the basic live streaming functionality is in place,
|
|
443
440
|
| <strong>Feature</strong> | <strong>Description</strong> | <strong>Store</strong> | <strong>Implementation Guide</strong> |
|
|
444
441
|
| --- | --- | --- | --- |
|
|
445
442
|
| Enable Audience Audio/Video Co-hosting | Audience can apply to join the host and interact via real-time video. | <a href="https://tencent-rtc.github.io/TUIKit_iOS/documentation/atomicxcore/cogueststore">CoGuestStore</a> | Implementation Guide |
|
|
@@ -13,8 +13,6 @@ AtomicXCore provides the [CoGuestStore](https://tencent-rtc.github.io/TUIKit_And
|
|
|
13
13
|
|
|
14
14
|
### Step 1: Component Integration
|
|
15
15
|
|
|
16
|
-
Refer to the Quick Start guide to integrate **AtomicXCore** into your project.
|
|
17
|
-
|
|
18
16
|
### Step 2: Implement Audience Mic-Link Request
|
|
19
17
|
|
|
20
18
|
#### Audience Side Implementation
|
|
@@ -24,7 +24,6 @@ To initiate a connection or PK, the host must retrieve the current list of live
|
|
|
24
24
|
**Implementation:** Call `LiveListStore.shared().fetchLiveList`.
|
|
25
25
|
|
|
26
26
|
> **Note:**
|
|
27
|
-
>
|
|
28
27
|
> - If the target room is missing from the returned list, verify that isPublicVisible in TUILiveInfo is set to true when starting the stream.
|
|
29
28
|
> - This API supports pagination. Use the cursor from the onSuccess callback for subsequent fetches. An empty cursor indicates all rooms have been fetched.
|
|
30
29
|
> - For optimal performance, set pageCount to 20.
|
|
@@ -55,7 +54,6 @@ fun fetchLiveListForCoHost() {
|
|
|
55
54
|
When a host selects another host, use `CoHostStore.requestHostConnection` to send a connection invitation.
|
|
56
55
|
|
|
57
56
|
> **Note:**
|
|
58
|
-
>
|
|
59
57
|
> 1. AtomicXCore supports up to **9** interconnected rooms, each with up to **50** users.
|
|
60
58
|
> 2. This interface supports batch invitations, which you can use continuously; to check if an invitation to a single live room was successful, you need to listen for the `onSuccess` callback.
|
|
61
59
|
> 3. The API supports extension fields. These are delivered to the target host via `onCoHostRequestReceived` in `CoHostListener`. Use this to pass business logic such as "start PK immediately".
|
|
@@ -214,7 +212,6 @@ AtomicXCore enables hosts to start a timed PK battle once connected. Typical UI
|
|
|
214
212
|
To start a PK battle among connected hosts, use `BattleStore.requestBattle`. Configure PK duration, whether a response is required, and any extension info.
|
|
215
213
|
|
|
216
214
|
> **Note:**
|
|
217
|
-
>
|
|
218
215
|
> 1. Default PK duration is 5 minutes if not set in `BattleConfig`.
|
|
219
216
|
> 2. To start PK immediately, set `needResponse` to `false`.
|
|
220
217
|
> 3. If `needResponse` is `false`, set `timeout` to 0.
|
|
@@ -305,7 +302,6 @@ PK ends either when the duration expires or when all hosts leave.
|
|
|
305
302
|
5. After PK ends, the winner is determined by points.
|
|
306
303
|
|
|
307
304
|
> **Note:**
|
|
308
|
-
>
|
|
309
305
|
> This workflow requires both CoHostStore and BattleStore, with `needResponse` in BattleConfig set to `false`.
|
|
310
306
|
>
|
|
311
307
|
|
|
@@ -401,7 +397,6 @@ This step is the same as Enter PK State.
|
|
|
401
397
|
In typical **live host PK scenarios,** the value of gifts received by the host is linked to the PK score (for example, when a viewer sends a "Rocket" gift, the host's PK score increases by 500 points). You can implement real-time PK score updates using our REST API.
|
|
402
398
|
|
|
403
399
|
> **Note:**
|
|
404
|
-
>
|
|
405
400
|
> The PK score system in the LiveKit backend uses pure numeric calculation and accumulation. You must calculate the PK score according to your own business logic before calling the update API. See the following PK score calculation examples:
|
|
406
401
|
>
|
|
407
402
|
|
|
@@ -38,7 +38,6 @@ dependencies {
|
|
|
38
38
|
Call `LoginStore.shared.login` in your project to complete authentication. **This is required before using any functionality of AtomicXCore**.
|
|
39
39
|
|
|
40
40
|
> **Note:**
|
|
41
|
-
>
|
|
42
41
|
> We recommend calling `LoginStore.shared.login` after your app's own user authentication is successful to ensure clear and consistent login logic.
|
|
43
42
|
>
|
|
44
43
|
|
|
@@ -221,7 +220,6 @@ class YourHostActivity : AppCompatActivity() {
|
|
|
221
220
|
#### **4. Build the Mic Seat UI**
|
|
222
221
|
|
|
223
222
|
> **Note:**
|
|
224
|
-
>
|
|
225
223
|
> For the complete business logic of mic seat UI effects, refer to the open-source [SeatGridView.kt](https://github.com/Tencent-RTC/TUILiveKit/blob/main/Android/tuilivekit/src/main/java/com/trtc/uikit/livekit/voiceroomcore/SeatGridView.kt) in the TUILiveKit project.
|
|
226
224
|
>
|
|
227
225
|
|
|
@@ -379,7 +377,7 @@ class YourAudienceActivity : AppCompatActivity() {
|
|
|
379
377
|
|
|
380
378
|
#### **3. Build the Mic Seat UI**
|
|
381
379
|
|
|
382
|
-
The process for building the mic seat UI as an audience member is the same as for the host.
|
|
380
|
+
The process for building the mic seat UI as an audience member is the same as for the host. .
|
|
383
381
|
|
|
384
382
|
#### **4. Leave the Voice Chat Room**
|
|
385
383
|
|
|
@@ -431,7 +429,6 @@ In voice chat rooms, it is common to show a wave animation on the avatar of user
|
|
|
431
429
|
#### Implementation
|
|
432
430
|
|
|
433
431
|
> **Note:**
|
|
434
|
-
>
|
|
435
432
|
> For a complete implementation of the speaking wave animation, refer to [SeatGridView.kt](https://github.com/Tencent-RTC/TUILiveKit/blob/main/Android/tuilivekit/src/main/java/com/trtc/uikit/livekit/voiceroomcore/SeatGridView.kt) in the open-source TUILiveKit project.
|
|
436
433
|
>
|
|
437
434
|
|
|
@@ -13,10 +13,7 @@
|
|
|
13
13
|
|
|
14
14
|
### Step 1: Integrate the Components
|
|
15
15
|
|
|
16
|
-
Refer to quick integration to integrate **AtomicXCore**.
|
|
17
|
-
|
|
18
16
|
> **Note:**
|
|
19
|
-
>
|
|
20
17
|
> Before enabling co-hosting features, you must obtain the `liveId` (the unique identifier for the live room) to distinguish between different live rooms. You can get it as follows:
|
|
21
18
|
>
|
|
22
19
|
> - **Host**: Specify when creating a live stream via `LiveListStore.shared.createLive(liveInfo)`.
|
|
@@ -468,7 +465,7 @@ if (result2.isSuccess) {
|
|
|
468
465
|
Host and co-host can call `moveUserToSeat` to change seat positions.
|
|
469
466
|
|
|
470
467
|
#### Implementation:
|
|
471
|
-
1. **Host Moves User to Mic Seat**: The host can call this API to move any user to a specified seat. At this point, `userID` is the ID of the target user, `targetIndex` is the index of the target seat, and the `policy` parameter specifies the move strategy if the target seat is occupied.
|
|
468
|
+
1. **Host Moves User to Mic Seat**: The host can call this API to move any user to a specified seat. At this point, `userID` is the ID of the target user, `targetIndex` is the index of the target seat, and the `policy` parameter specifies the move strategy if the target seat is occupied. .
|
|
472
469
|
|
|
473
470
|
2. **On-Mic User Moves Themselves**: On-mic users can also call this API to move themselves. In this case, `userID` must be the user's own ID, `targetIndex` is the desired new seat index, and the `policy` parameter is ignored. If the target seat is occupied, the move fails with an error.
|
|
474
471
|
|
|
@@ -65,7 +65,6 @@ end
|
|
|
65
65
|
Call `LoginStore.shared.login` in the project to complete login. **This is the key premise for using** `AtomicXCore` **all functions**.
|
|
66
66
|
|
|
67
67
|
> **Important:**
|
|
68
|
-
>
|
|
69
68
|
> We recommend calling LoginStore.shared.login after successful log-in to your App's user account to ensure clear and consistent login service logic.
|
|
70
69
|
>
|
|
71
70
|
|
|
@@ -244,7 +243,6 @@ class _YourAnchorPageState extends State<YourAnchorPage> {
|
|
|
244
243
|
#### 4. Build a Seat UI
|
|
245
244
|
|
|
246
245
|
> **Note:**
|
|
247
|
-
>
|
|
248
246
|
> For the business code of the Mic Seat `UI` effect, see the [seat_grid_widget.dart](https://github.com/Tencent-RTC/TUIKit_Flutter/blob/main/live/livekit/lib/seat_grid_widget/seat_grid_widget.dart) file in the `TUILiveKit` open-source project to learn about the complete implementation logic.
|
|
249
247
|
>
|
|
250
248
|
|
|
@@ -423,7 +421,7 @@ class _YourAudiencePageState extends State<YourAudiencePage> {
|
|
|
423
421
|
|
|
424
422
|
#### 3. Build a Seat UI
|
|
425
423
|
|
|
426
|
-
Audience seat UI implementation is identical to the host.
|
|
424
|
+
Audience seat UI implementation is identical to the host. .
|
|
427
425
|
|
|
428
426
|
#### 4. **Leave the Voice Chat Room**
|
|
429
427
|
|
|
@@ -446,7 +444,7 @@ class _YourAudiencePageState extends State<YourAudiencePage> {
|
|
|
446
444
|
|
|
447
445
|
### Run and Test
|
|
448
446
|
|
|
449
|
-
After completing the above steps, you can complete a most basic voice chat live streaming scenario. You can
|
|
447
|
+
After completing the above steps, you can complete a most basic voice chat live streaming scenario. You can .
|
|
450
448
|
|
|
451
449
|
## Advanced Features
|
|
452
450
|
|
|
@@ -457,7 +455,6 @@ In a voice chat room scenario, a common need is to display a wave animation on t
|
|
|
457
455
|
#### Implementation
|
|
458
456
|
|
|
459
457
|
> **Note:**
|
|
460
|
-
>
|
|
461
458
|
> When an Anchor speaks, a wave animation effect is shown. See the [seat_grid_widget.dart](https://github.com/Tencent-RTC/TUIKit_Flutter/blob/main/live/livekit/lib/seat_grid_widget/seat_grid_widget.dart) file in the `TUILiveKit` open-source project to learn about the complete implementation logic.
|
|
462
459
|
>
|
|
463
460
|
|
|
@@ -524,7 +521,7 @@ class YourSpeakingIndicatorWidget extends StatelessWidget {
|
|
|
524
521
|
|
|
525
522
|
## Enrich Voice Chat Room Scenarios
|
|
526
523
|
|
|
527
|
-
After completing the basic voice chat room features, you can
|
|
524
|
+
After completing the basic voice chat room features, you can .
|
|
528
525
|
|
|
529
526
|
|**Feature**|**Feature Description**|**Feature Stores**|**Implementation Guide**|
|
|
530
527
|
|---------|---------|---------|---------|
|
|
@@ -24,7 +24,6 @@ To initiate co-hosting or PK, fetch the current list of live rooms and select a
|
|
|
24
24
|
**Implementation:** Call `LiveListStore.shared.fetchLiveList`.
|
|
25
25
|
|
|
26
26
|
> **Note:**
|
|
27
|
-
>
|
|
28
27
|
> - If the desired live room is missing from the list, verify that the isPublicVisible field in TUILiveInfo was set to true when starting the stream.
|
|
29
28
|
> - This API supports pagination. Use the cursor from the `Result` is `.success` callback for subsequent requests. If the returned cursor is empty, all rooms have been fetched.
|
|
30
29
|
> - For optimal performance, set count to 20.
|
|
@@ -56,7 +55,6 @@ func fetchLiveListForCoHost() {
|
|
|
56
55
|
After selecting a target streamer, use `CoHostStore.requestHostConnection` to send a co-hosting invitation.
|
|
57
56
|
|
|
58
57
|
> **Note:**
|
|
59
|
-
>
|
|
60
58
|
> - AtomicXCore supports up to 9 rooms for cross-room co-hosting, with 50 users per room.
|
|
61
59
|
> - The API supports batch invitations. To check if an invitation to a single room was successful, you need to check if the `Result` is `.success` in the completion callback.
|
|
62
60
|
> - The API accepts extension fields. After the invitation is sent, this field is delivered to the target streamer via the `onCoHostRequestReceived` callback. Use it to pass custom business data, such as "start PK immediately".
|
|
@@ -251,7 +249,6 @@ PK Streamer Initiates a PK BattleStreamers can start PK battles using two main f
|
|
|
251
249
|
While co-hosting, call `BattleStore.requestBattle` to send a PK invitation. Configure PK duration, whether acceptance is required, and any extension info.
|
|
252
250
|
|
|
253
251
|
> **Note:**
|
|
254
|
-
>
|
|
255
252
|
> - If duration is not set, PK defaults to 5 minutes.
|
|
256
253
|
> - To skip target acceptance, set needResponse to false in BattleConfig. PK starts immediately.
|
|
257
254
|
> - If needResponse is false, set timeout to 0.
|
|
@@ -465,7 +462,6 @@ This step is same as Enter PK State.
|
|
|
465
462
|
In typical **live host PK scenarios,** the value of gifts received by the host is linked to the PK score (for example, when a viewer sends a "Rocket" gift, the host's PK score increases by 500 points). You can implement real-time PK score updates using our `REST API`.
|
|
466
463
|
|
|
467
464
|
> **Note:**
|
|
468
|
-
>
|
|
469
465
|
> The PK score system in the LiveKit backend uses pure numeric calculation and accumulation. You must calculate the PK score according to your own business logic before calling the update API. See the following PK score calculation examples:
|
|
470
466
|
>
|
|
471
467
|
|
|
@@ -39,7 +39,6 @@ See Activate Service to obtain either the trial or paid version of the SDK.Then,
|
|
|
39
39
|
Call `LoginStore.shared.login` in your project to complete authentication. **This is required before using any functionality of AtomicXCore**.
|
|
40
40
|
|
|
41
41
|
> **Note:**
|
|
42
|
-
>
|
|
43
42
|
> We recommend calling LoginStore.shared.login only after your app's own user authentication is successful, to ensure clear and consistent login logic.
|
|
44
43
|
>
|
|
45
44
|
|
|
@@ -198,7 +197,6 @@ class YourAnchorViewController: UIViewController {
|
|
|
198
197
|
#### **4. Build the Mic Seat UI**
|
|
199
198
|
|
|
200
199
|
> **Note:**
|
|
201
|
-
>
|
|
202
200
|
> For seat UI logic and effects, refer to the open-source [SeatGridView.swift](https://github.com/Tencent-RTC/TUIKit_iOS/blob/main/live/Sources/Component/SeatGridview/SeatGridView.swift) in TUILiveKit.
|
|
203
201
|
>
|
|
204
202
|
|
|
@@ -337,7 +335,7 @@ class YourAudienceViewController: UIViewController {
|
|
|
337
335
|
|
|
338
336
|
#### **3. Build the Mic Seat UI**
|
|
339
337
|
|
|
340
|
-
Building the seat UI for audience members is identical to the host process.
|
|
338
|
+
Building the seat UI for audience members is identical to the host process. .
|
|
341
339
|
|
|
342
340
|
#### **4. Leave the Voice Chat Room**
|
|
343
341
|
|
|
@@ -377,7 +375,6 @@ In voice chat rooms, it's common to show a wave animation over the avatar of use
|
|
|
377
375
|
#### Implementation
|
|
378
376
|
|
|
379
377
|
> **Note:**
|
|
380
|
-
>
|
|
381
378
|
> For a complete implementation of the speaking wave animation, refer to [SeatGridView.swift](https://github.com/Tencent-RTC/TUIKit_iOS/blob/main/live/Sources/Component/SeatGridview/SeatGridView.swift) in TUILiveKit.
|
|
382
379
|
>
|
|
383
380
|
|
|
@@ -11,7 +11,6 @@
|
|
|
11
11
|
|-1002|Not logged in, please call `Login` API.|
|
|
12
12
|
|-1003|Failed to obtain permission, unauthorized audio/video permission, please check if `Device Permission` is enabled.|
|
|
13
13
|
|-1004|This feature requires an additional package. Please activate the corresponding package as needed in the [TRTC Console](https://console.tencentcloud.com/trtc/allapp).|
|
|
14
|
-
|-3301|Network access is restricted. Please [contact us](https://trtc.io/contact) for support.|
|
|
15
14
|
|
|
16
15
|
### Local User Rendering, Video Management, Audio Management API Callback Error Definition
|
|
17
16
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
This document provides a detailed introduction to the **barrage component**, including the **barrage message component (BarrageList)** and the **message sending component (BarrageInput)**. You can
|
|
1
|
+
This document provides a detailed introduction to the **barrage component**, including the **barrage message component (BarrageList)** and the **message sending component (BarrageInput)**. You can .
|
|
2
2
|
|
|
3
3
|
## Component Composition
|
|
4
4
|
| <strong>Component Name</strong> | <strong>Detailed Description</strong> |
|
|
@@ -10,7 +10,7 @@ This document provides a detailed introduction to the **barrage component**, inc
|
|
|
10
10
|
|
|
11
11
|
### Step 1: Configuring the Environment and Activating the Service
|
|
12
12
|
|
|
13
|
-
Before performing quick integration, you need to
|
|
13
|
+
Before performing quick integration, you need to .
|
|
14
14
|
|
|
15
15
|
### Step 2: Installing Dependencies
|
|
16
16
|
|
|
@@ -84,7 +84,6 @@ onMounted(async () => {
|
|
|
84
84
|
**Barrage Message Component** provides users with various and dimensional `Props` APIs for custom requirements, allowing users to customize features or UI. Parameter content is as shown in the table below.
|
|
85
85
|
|
|
86
86
|
> **Note:**
|
|
87
|
-
>
|
|
88
87
|
> Note: To directly learn about the custom details of the Barrage Message Component (BarrageList), quickly jump to the following link: Barrage Message Component Customization;
|
|
89
88
|
>
|
|
90
89
|
> Note: To directly learn about the custom details of the Message Sending Component (BarrageInput), quickly jump to the following link: Message Sending Component Customization.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
This document provides a detailed introduction to the **Audience List Component (LiveAudienceList)**. You can
|
|
1
|
+
This document provides a detailed introduction to the **Audience List Component (LiveAudienceList)**. You can .
|
|
2
2
|
|
|
3
3
|
## Core Features
|
|
4
4
|
| <strong>Feature Category</strong> | <strong>Specific capabilities</strong> |
|
|
@@ -11,7 +11,7 @@ This document provides a detailed introduction to the **Audience List Component
|
|
|
11
11
|
|
|
12
12
|
### Step 1: Configuring the Environment and Activating the Service
|
|
13
13
|
|
|
14
|
-
Before performing quick integration, you need to
|
|
14
|
+
Before performing quick integration, you need to .
|
|
15
15
|
|
|
16
16
|
### Step 2: Dependency Installation
|
|
17
17
|
|
|
@@ -119,7 +119,7 @@ interface AudienceInfo {
|
|
|
119
119
|
|
|
120
120
|
#### Custom Slot Example
|
|
121
121
|
|
|
122
|
-
To help you better experience and understand the **audience list component**'s **customAudienceInfo** slot customization capability, we provide a **custom personal info** example scenario for your reference. You can
|
|
122
|
+
To help you better experience and understand the **audience list component**'s **customAudienceInfo** slot customization capability, we provide a **custom personal info** example scenario for your reference. You can .
|
|
123
123
|
``` typescript
|
|
124
124
|
<template>
|
|
125
125
|
<LiveAudienceList>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
This document provides a detailed introduction to the **live stream video component (LiveView)**. You can
|
|
1
|
+
This document provides a detailed introduction to the **live stream video component (LiveView)**. You can .
|
|
2
2
|
|
|
3
3
|
## Core Features
|
|
4
4
|
| <strong>Feature Category</strong> | <strong>Specific Capacity</strong> |
|
|
@@ -10,7 +10,7 @@ This document provides a detailed introduction to the **live stream video compon
|
|
|
10
10
|
|
|
11
11
|
### Step 1: Configuring the Environment and Activating the Service
|
|
12
12
|
|
|
13
|
-
Before quick integration, you need to
|
|
13
|
+
Before quick integration, you need to .
|
|
14
14
|
|
|
15
15
|
### Step 2: Dependency Installation
|
|
16
16
|
|
|
@@ -164,7 +164,7 @@ LiveView provides flexible component customization slots. These slots support ad
|
|
|
164
164
|
|
|
165
165
|
#### Custom Mic Seat Example
|
|
166
166
|
|
|
167
|
-
To help you better experience and understand the customized capability of the LiveView component's streamViewUI, we provide a **live streaming and mic connection scenario** example for your reference. You can
|
|
167
|
+
To help you better experience and understand the customized capability of the LiveView component's streamViewUI, we provide a **live streaming and mic connection scenario** example for your reference. You can .
|
|
168
168
|
``` typescript
|
|
169
169
|
<template>
|
|
170
170
|
<LiveView>
|
|
@@ -118,6 +118,5 @@ Received a notification of Push message recall, messageID uniquely identifies th
|
|
|
118
118
|
Notification bar message click callback.
|
|
119
119
|
|
|
120
120
|
> **Note:**
|
|
121
|
-
>
|
|
122
121
|
> The push certificate in the console needs to be configured as "open a specific interface within the application" and use the default fill value to take effect.
|
|
123
122
|
>
|
|
@@ -41,7 +41,6 @@ unRegisterPush(): Promise<TIMPushResult>;
|
|
|
41
41
|
### Setting Push ID Identifier RegistrationID
|
|
42
42
|
|
|
43
43
|
> **Note:**
|
|
44
|
-
>
|
|
45
44
|
> 1. If you call this API, ensure to call it before `registerPush`.
|
|
46
45
|
|
|
47
46
|
#### API
|
|
@@ -58,7 +57,6 @@ setRegistrationID(registrationID: string): Promise<TIMPushResult>;
|
|
|
58
57
|
### Getting Push ID Identifier RegistrationID
|
|
59
58
|
|
|
60
59
|
> **Note:**
|
|
61
|
-
>
|
|
62
60
|
> Note: If you have called the `setRegistrationID` API to set an identifier ID, this API will return the identifier ID you have set. Otherwise, it will return a random value generated by the Push SDK.
|
|
63
61
|
>
|
|
64
62
|
|
|
@@ -32,7 +32,7 @@ registerPush(SDKAppID, appKey, onSuccess, onError)
|
|
|
32
32
|
|
|
33
33
|
#### API
|
|
34
34
|
``` javascript
|
|
35
|
-
|
|
35
|
+
unRegisterPush(onSuccess, onError)
|
|
36
36
|
```
|
|
37
37
|
|
|
38
38
|
#### Parameter description:
|
|
@@ -45,12 +45,11 @@ registerPush(SDKAppID, appKey, onSuccess, onError)
|
|
|
45
45
|
### Set push ID identifier RegistrationID
|
|
46
46
|
|
|
47
47
|
> **Note:**
|
|
48
|
-
>
|
|
49
48
|
> 1. If you call this API, make sure to call it before `registerPush`.
|
|
50
49
|
|
|
51
50
|
#### API
|
|
52
51
|
``` javascript
|
|
53
|
-
|
|
52
|
+
setRegistrationID(registrationID, onSuccess)
|
|
54
53
|
```
|
|
55
54
|
|
|
56
55
|
#### Parameter description:
|
|
@@ -63,12 +62,11 @@ registerPush(SDKAppID, appKey, onSuccess, onError)
|
|
|
63
62
|
### Get push ID identifier RegistrationID
|
|
64
63
|
|
|
65
64
|
> **Note:**
|
|
66
|
-
>
|
|
67
65
|
> 1. If you have called the `setRegistrationID` interface to set the identifier ID, this interface will return the identifier ID you set, otherwise, it will return a random value generated by the Push SDK.
|
|
68
66
|
|
|
69
67
|
#### API
|
|
70
68
|
``` javascript
|
|
71
|
-
|
|
69
|
+
getRegistrationID(onSuccess)
|
|
72
70
|
```
|
|
73
71
|
|
|
74
72
|
#### Parameter description:
|
|
@@ -32,7 +32,7 @@ registerPush(SDKAppID, appKey, onSuccess, onError)
|
|
|
32
32
|
|
|
33
33
|
#### API
|
|
34
34
|
``` javascript
|
|
35
|
-
|
|
35
|
+
unRegisterPush(onSuccess, onError)
|
|
36
36
|
```
|
|
37
37
|
|
|
38
38
|
#### Parameter description:
|
|
@@ -45,12 +45,11 @@ registerPush(SDKAppID, appKey, onSuccess, onError)
|
|
|
45
45
|
### Set push ID identifier RegistrationID
|
|
46
46
|
|
|
47
47
|
> **Note:**
|
|
48
|
-
>
|
|
49
48
|
> 1. If you call this API, make sure to call it before `registerPush`.
|
|
50
49
|
|
|
51
50
|
#### API
|
|
52
51
|
``` javascript
|
|
53
|
-
|
|
52
|
+
setRegistrationID(registrationID, onSuccess)
|
|
54
53
|
```
|
|
55
54
|
|
|
56
55
|
#### Parameter description:
|
|
@@ -63,12 +62,11 @@ registerPush(SDKAppID, appKey, onSuccess, onError)
|
|
|
63
62
|
### Get push ID identifier RegistrationID
|
|
64
63
|
|
|
65
64
|
> **Note:**
|
|
66
|
-
>
|
|
67
65
|
> 1. If you have called the `setRegistrationID` interface to set the identifier ID, this interface will return the identifier ID you set, otherwise, it will return a random value generated by the Push SDK.
|
|
68
66
|
|
|
69
67
|
#### API
|
|
70
68
|
``` javascript
|
|
71
|
-
|
|
69
|
+
getRegistrationID(onSuccess)
|
|
72
70
|
```
|
|
73
71
|
|
|
74
72
|
#### Parameter description:
|
|
@@ -114,6 +114,5 @@ Received a Push message recall notification, messageID unique message identifier
|
|
|
114
114
|
Click the notification bar message Webhook.
|
|
115
115
|
|
|
116
116
|
> **Note:**
|
|
117
|
-
>
|
|
118
117
|
> Configure the console Push Certificate to "open specified in-app page" and use the default populated value to take effect.
|
|
119
118
|
>
|
|
@@ -118,6 +118,5 @@ Push message recall notification received. messageID: unique message identifier.
|
|
|
118
118
|
Click notification bar message Webhook.
|
|
119
119
|
|
|
120
120
|
> **Note:**
|
|
121
|
-
>
|
|
122
121
|
> Note: Push Certificate in the console need to configure "open specified in-app page" and use populate by default to take effect.
|
|
123
122
|
>
|
|
@@ -22,10 +22,6 @@ Explanation of the **Subsequent Actions** option:
|
|
|
22
22
|
|
|
23
23
|
【Mi】
|
|
24
24
|
|
|
25
|
-
|Vendor Push Platform|Configuring in the Chat console|
|
|
26
|
-
|---------|---------|
|
|
27
|
-
|||
|
|
28
|
-
|
|
29
25
|
【Huawei】
|
|
30
26
|
| Vendor Push Platform | Configuring in the Chat console |
|
|
31
27
|
| --- | --- |
|
|
@@ -33,38 +29,18 @@ Explanation of the **Subsequent Actions** option:
|
|
|
33
29
|
|
|
34
30
|
【OPPO】
|
|
35
31
|
|
|
36
|
-
|Vendor Push Platform|Configuring in the Chat console|
|
|
37
|
-
|---------|---------|
|
|
38
|
-
|||
|
|
39
|
-
|
|
40
32
|
【vivo】
|
|
41
33
|
|
|
42
|
-
|Vendor Push Platform|Configuring in the Chat console|
|
|
43
|
-
|---------|---------|
|
|
44
|
-
|||
|
|
45
|
-
|
|
46
34
|
For receipt configuration, please refer to: [Message Delivery Statistics Configuration - vivo](https://www.tencentcloud.com/document/product/1047/60552#daa658b0-1ac0-44a8-8a47-7ec8822ebe82).
|
|
47
35
|
|
|
48
36
|
【Meizu】
|
|
49
37
|
|
|
50
|
-
|Vendor Push Platform|Configuring in the Chat console|
|
|
51
|
-
|---------|---------|
|
|
52
|
-
|||
|
|
53
|
-
|
|
54
38
|
For receipt configuration, please refer to: [Message Delivery Statistics Configuration - Meizu](https://www.tencentcloud.com/document/product/1047/60552#daa658b0-1ac0-44a8-8a47-7ec8822ebe82).
|
|
55
39
|
|
|
56
40
|
【HONOR】
|
|
57
41
|
|
|
58
|
-
|Vendor Push Platform|Configuring in the Chat console|
|
|
59
|
-
|---------|---------|
|
|
60
|
-
|||
|
|
61
|
-
|
|
62
42
|
【Google FCM】
|
|
63
43
|
|
|
64
|
-
|Vendor Push Platform|Configuring in the Chat console|
|
|
65
|
-
|---------|---------|
|
|
66
|
-
|||
|
|
67
|
-
|
|
68
44
|
> **Note:**
|
|
69
45
|
>
|
|
70
46
|
> Regarding **Click for Subsequent Actions** supports the Report Statistics feature:
|
|
@@ -6,7 +6,6 @@ If you have any questions about the "Developer Account" or "Develop/Distribute C
|
|
|
6
6
|
1. APNs Push Certificate Configuration
|
|
7
7
|
|
|
8
8
|
> **Note:**
|
|
9
|
-
>
|
|
10
9
|
> Each vendor only supports the configuration of one certificate.
|
|
11
10
|
>
|
|
12
11
|
|
|
@@ -43,8 +42,6 @@ Apple currently offers two mainstream types of certificates for vendor configura
|
|
|
43
42
|
#### Generating Certificate
|
|
44
43
|
1. Select your AppID, choose **Configure**.
|
|
45
44
|
|
|
46
|
-
2. You can see in the **Apple Push Notification service SSL Certificates** window, there are two `SSL Certificate`, one for the development environment (Development) and the other for the production environment (Production) remote push certificate, as shown below:
|
|
47
|
-
|
|
48
45
|
3. First, we choose the Development **Create Certificate**; the system will prompt us that a Certificate Signing Request (CSR) is required.
|
|
49
46
|
|
|
50
47
|
4. Open **Keychain Access** on your Mac, in the menu, select **Keychain Access** > **Certificate Assistant** > **Request a Certificate From a Certificate Authority** (`Keychain Access - Certificate Assistant - Request a Certificate From a Certificate Authority`).
|