@polyvharmony/live-scenes-sdk 1.3.4 → 1.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/BuildProfile.d.ets +4 -4
- package/CHANGELOG.md +23 -0
- package/ets/modules.abc +0 -0
- package/oh-package.json5 +1 -1
- package/package.json +1 -1
- package/src/main/ets/common/PLVChannelData.d.ets +21 -10
- package/src/main/ets/common/PLVDataBaseModule.d.ets +1 -1
- package/src/main/ets/common/PLVLiveSceneSDK.d.ets +4 -4
- package/src/main/ets/modules/business/model/PLVLiveChannelSettingUpdateRequestVO.d.ets +1 -0
- package/src/main/ets/modules/business/model/PLVReportPageViewerVO.d.ets +1 -1
- package/src/main/ets/modules/chatroom/PLVChatroomManager.d.ets +22 -22
- package/src/main/ets/modules/chatroom/handler/PLVChatroomBanIpMessageHandler.d.ets +1 -1
- package/src/main/ets/modules/chatroom/handler/PLVChatroomBaseHandler.d.ets +2 -2
- package/src/main/ets/modules/chatroom/handler/PLVChatroomCancelTopHandler.d.ets +1 -1
- package/src/main/ets/modules/chatroom/handler/PLVChatroomCloseRoomMessageHandler.d.ets +1 -1
- package/src/main/ets/modules/chatroom/handler/PLVChatroomDataHandlerFactory.d.ets +1 -1
- package/src/main/ets/modules/chatroom/handler/PLVChatroomFocusModeHandler.d.ets +1 -1
- package/src/main/ets/modules/chatroom/handler/PLVChatroomLikesMessageHandler.d.ets +1 -1
- package/src/main/ets/modules/chatroom/handler/PLVChatroomLoginMessageHandler.d.ets +1 -1
- package/src/main/ets/modules/chatroom/handler/PLVChatroomLogoutMessageHandler.d.ets +1 -1
- package/src/main/ets/modules/chatroom/handler/PLVChatroomOnSliceIdMessageHandler.d.ets +1 -1
- package/src/main/ets/modules/chatroom/handler/PLVChatroomToTopHandler.d.ets +1 -1
- package/src/main/ets/modules/chatroom/handler/PLVChatroomUnShieldMessageHandler.d.ets +1 -1
- package/src/main/ets/modules/chatroom/model/PLVImageBean.d.ets +3 -3
- package/src/main/ets/modules/chatroom/model/PLVToTopEvent.d.ets +1 -1
- package/src/main/ets/modules/chatroom/playback/PLVChatPlaybackManager.d.ets +4 -4
- package/src/main/ets/modules/chatroom/playback/model/PLVChatPlaybackDataVO.d.ets +2 -2
- package/src/main/ets/modules/chatroom/playback/model/PLVChatPlaybackOpenHelper.d.ets +7 -7
- package/src/main/ets/modules/chatroom/playback/model/PLVChatPlaybackToTopVO.d.ets +3 -3
- package/src/main/ets/modules/i18n/PLVI18NDataMapper.d.ets +5 -5
- package/src/main/ets/modules/interact/PLVInteractManager.d.ets +6 -6
- package/src/main/ets/modules/interact/PLVInteractWeb.d.ets +13 -13
- package/src/main/ets/modules/interact/invitePoster/PLVInteractInvitePoster.d.ets +1 -1
- package/src/main/ets/modules/interact/model/PLVFunctionSwitchBean.d.ets +1 -1
- package/src/main/ets/modules/interact/pushcard/PLVPushCardManager.d.ets +2 -2
- package/src/main/ets/modules/interact/pushcard/model/PLVShowPushCardEvent.d.ets +1 -1
- package/src/main/ets/modules/interact/pushcard/repo/PLVCardLookTimeLocalRepository.d.ets +3 -3
- package/src/main/ets/modules/linkmic/PLVLinkMicManager.d.ets +15 -15
- package/src/main/ets/modules/linkmic/mediator/PLVLinkMicMediator.d.ets +4 -4
- package/src/main/ets/modules/linkmic/mediator/PLVLinkMicRTCEventCallback.d.ets +8 -8
- package/src/main/ets/modules/linkmic/model/PLVLinkMicRepo.d.ets +10 -10
- package/src/main/ets/modules/linkmic/model/datasource/PLVLinkMicNetworkDataSource.d.ets +4 -4
- package/src/main/ets/modules/linkmic/model/vo/PLVLinkMicBitRate.d.ets +1 -1
- package/src/main/ets/modules/linkmic/model/vo/PLVLinkMicBitRateEncodeParam.d.ets +1 -1
- package/src/main/ets/modules/linkmic/model/vo/PLVLinkMicErrorEvent.d.ets +1 -1
- package/src/main/ets/modules/linkmic/model/vo/PLVLinkMicInteractEvent.d.ets +1 -1
- package/src/main/ets/modules/linkmic/model/vo/PLVLinkMicPushResolutionRatio.d.ets +1 -1
- package/src/main/ets/modules/linkmic/model/vo/PLVLinkMicVideoRenderParam.d.ets +1 -1
- package/src/main/ets/modules/linkmic/model/vo/PLVLinkMicViewer.d.ets +1 -1
- package/src/main/ets/modules/linkmic/viewmodel/PLVLinkMicViewModel.d.ets +16 -16
- package/src/main/ets/modules/linkmic/viewmodel/usecase/LinkMicEncodeParamUseCase.d.ets +6 -6
- package/src/main/ets/modules/linkmic/viewmodel/usecase/LinkMicHandleQueueOrderUseCase.d.ets +4 -4
- package/src/main/ets/modules/linkmic/viewmodel/usecase/LinkMicHandleRTCUseCase.d.ets +7 -7
- package/src/main/ets/modules/linkmic/viewmodel/usecase/LinkMicHandleStateUseCase.d.ets +10 -10
- package/src/main/ets/modules/linkmic/viewmodel/usecase/LinkMicUpdateChannelViewerUseCase.d.ets +6 -6
- package/src/main/ets/modules/linkmic/viewmodel/usecase/LinkMicViewLogUseCase.d.ets +1 -1
- package/src/main/ets/modules/linkmic/viewmodel/usecase/PLVLinkMicUseCases.d.ets +1 -1
- package/src/main/ets/modules/linkmic/viewmodel/usecase/roles/guest/LinkMicGuestEncodeParamUseCase.d.ets +6 -6
- package/src/main/ets/modules/linkmic/viewmodel/usecase/roles/guest/LinkMicGuestHandleRTCUseCase.d.ets +7 -7
- package/src/main/ets/modules/linkmic/viewmodel/usecase/roles/guest/LinkMicGuestHandleStateUseCase.d.ets +10 -10
- package/src/main/ets/modules/linkmic/viewmodel/usecase/roles/teacher/LinkMicTeacherEncodeParamUseCase.d.ets +6 -6
- package/src/main/ets/modules/linkmic/viewmodel/usecase/roles/teacher/LinkMicTeacherHandleRTCUseCase.d.ets +7 -7
- package/src/main/ets/modules/linkmic/viewmodel/usecase/roles/teacher/LinkMicTeacherHandleStateUseCase.d.ets +10 -10
- package/src/main/ets/modules/linkmic/viewmodel/usecase/roles/viewer/LinkMicViewerEncodeParamUseCase.d.ets +6 -6
- package/src/main/ets/modules/linkmic/viewmodel/usecase/roles/viewer/LinkMicViewerHandleRTCUseCase.d.ets +7 -7
- package/src/main/ets/modules/linkmic/viewmodel/usecase/roles/viewer/LinkMicViewerHandleStateUseCase.d.ets +10 -10
- package/src/main/ets/modules/log/elog/PLVELogSender.d.ets +4 -4
- package/src/main/ets/modules/log/elog/model/PLVELogDataBean.d.ets +1 -1
- package/src/main/ets/modules/login/PLVSceneLoginManager.d.ets +3 -3
- package/src/main/ets/modules/login/model/PLVChatDomainVO.d.ets +2 -2
- package/src/main/ets/modules/login/model/PLVLiveChannelType.d.ets +1 -1
- package/src/main/ets/modules/login/model/PLVLiveDetailVO.d.ets +5 -1
- package/src/main/ets/modules/login/model/PLVLiveStatus.d.ets +1 -1
- package/src/main/ets/modules/login/model/PLVLiveStatusVO.d.ets +2 -2
- package/src/main/ets/modules/login/model/PLVLoginLiveResult.d.ets +1 -1
- package/src/main/ets/modules/login/model/PLVLoginPlaybackResult.d.ets +1 -1
- package/src/main/ets/modules/login/model/PLVLoginType.d.ets +2 -2
- package/src/main/ets/modules/member/PLVMemberManager.d.ets +3 -3
- package/src/main/ets/modules/member/mediator/PLVMemberMediator.d.ets +3 -3
- package/src/main/ets/modules/member/model/PLVMemberRepo.d.ets +2 -2
- package/src/main/ets/modules/member/model/datasource/PLVMemberNetworkDataSource.d.ets +2 -2
- package/src/main/ets/modules/member/model/vo/PLVMemberChannelViewer.d.ets +1 -1
- package/src/main/ets/modules/member/model/vo/PLVMemberErrorEvent.d.ets +1 -1
- package/src/main/ets/modules/member/viewmodel/PLVMemberViewModel.d.ets +3 -3
- package/src/main/ets/modules/member/viewmodel/usecase/MemberHandleStateUseCase.d.ets +6 -6
- package/src/main/ets/modules/member/viewmodel/usecase/MemberUpdateViewerUseCase.d.ets +9 -9
- package/src/main/ets/modules/member/viewmodel/usecase/PLVMemberUseCases.d.ets +1 -1
- package/src/main/ets/modules/member/viewmodel/usecase/roles/guest/MemberGuestHandleStateUseCase.d.ets +6 -6
- package/src/main/ets/modules/member/viewmodel/usecase/roles/guest/MemberGuestUpdateViewerUseCase.d.ets +9 -9
- package/src/main/ets/modules/member/viewmodel/usecase/roles/teacher/MemberTeacherHandleStateUseCase.d.ets +6 -6
- package/src/main/ets/modules/member/viewmodel/usecase/roles/teacher/MemberTeacherUpdateViewerUseCase.d.ets +9 -9
- package/src/main/ets/modules/net/PLVApiChatPlvNetApi.d.ets +10 -10
- package/src/main/ets/modules/net/PLVApiPlvNetApi.d.ets +30 -30
- package/src/main/ets/modules/net/PLVELogPlvNetApi.d.ets +2 -2
- package/src/main/ets/modules/net/PLVLiveImagesVideoNetApi.d.ets +3 -3
- package/src/main/ets/modules/net/PLVNGBPushApi.d.ets +2 -2
- package/src/main/ets/modules/net/PLVRtasVideoNetApi.d.ets +2 -2
- package/src/main/ets/modules/player/PLVPlayerManager.d.ets +3 -3
- package/src/main/ets/modules/player/PLVPlayerMediator.d.ets +1 -1
- package/src/main/ets/modules/player/playback/PLVPreviousManager.d.ets +5 -5
- package/src/main/ets/modules/ppt/PLVPPTWebController.d.ets +6 -6
- package/src/main/ets/modules/product/PLVProductManager.d.ets +5 -5
- package/src/main/ets/modules/product/components/PLVProductControlWeb.d.ets +1 -1
- package/src/main/ets/modules/product/components/PLVProductWeb.d.ets +1 -1
- package/src/main/ets/modules/product/model/PLVProductContentBean.d.ets +1 -1
- package/src/main/ets/modules/product/model/PLVProductDataBean.d.ets +1 -1
- package/src/main/ets/modules/redpack/PLVRedpackManager.d.ets +9 -9
- package/src/main/ets/modules/redpack/database/PLVRedpackCacheVO.d.ets +1 -1
- package/src/main/ets/modules/redpack/database/PLVRedpackLocalDataSource.d.ets +4 -4
- package/src/main/ets/modules/redpack/database/PLVRedpackOpenHelper.d.ets +4 -4
- package/src/main/ets/modules/reward/PLVRewardManager.d.ets +2 -2
- package/src/main/ets/modules/reward/model/PLVRewardPointVO.d.ets +1 -1
- package/src/main/ets/modules/socket/PLVSocketManager.d.ets +8 -8
- package/src/main/ets/modules/socket/PLVSocketMediator.d.ets +7 -7
- package/src/main/ets/modules/socket/model/PLVSocketUserBean.d.ets +5 -5
- package/src/main/ets/modules/socket/model/redpack/RedPaperReceiveType.d.ets +4 -4
- package/src/main/ets/modules/streamer/PLVStreamerManager.d.ets +14 -8
- package/src/main/ets/modules/streamer/mediator/PLVStreamerMediator.d.ets +2 -2
- package/src/main/ets/modules/streamer/model/PLVStreamerRepo.d.ets +10 -8
- package/src/main/ets/modules/streamer/model/datasource/PLVStreamerLocalDataSource.d.ets +2 -2
- package/src/main/ets/modules/streamer/model/datasource/PLVStreamerNetworkDataSource.d.ets +12 -7
- package/src/main/ets/modules/streamer/model/vo/PLVStreamerErrorEvent.d.ets +1 -1
- package/src/main/ets/modules/streamer/viewmodel/PLVStreamerViewModel.d.ets +9 -8
- package/src/main/ets/modules/streamer/viewmodel/usecase/PLVStreamerUseCases.d.ets +3 -1
- package/src/main/ets/modules/streamer/viewmodel/usecase/StreamerHandleStateUseCase.d.ets +2 -2
- package/src/main/ets/modules/streamer/viewmodel/usecase/StreamerMixStreamUseCase.d.ets +2 -2
- package/src/main/ets/modules/streamer/viewmodel/usecase/StreamerUpdateSplashImageUseCase.d.ets +9 -0
- package/src/main/ets/modules/streamer/viewmodel/usecase/roles/guest/StreamerGuestHandleStateUseCase.d.ets +2 -2
- package/src/main/ets/modules/streamer/viewmodel/usecase/roles/guest/StreamerGuestMixStreamUseCase.d.ets +2 -2
- package/src/main/ets/modules/streamer/viewmodel/usecase/roles/teacher/StreamerTeacherHandleStateUseCase.d.ets +2 -2
- package/src/main/ets/modules/streamer/viewmodel/usecase/roles/teacher/StreamerTeacherMixStreamUseCase.d.ets +2 -2
- package/src/main/ets/modules/web/PLVSocketWebController.d.ets +2 -2
- package/src/main/ets/modules/web/PLVWebControllerManager.d.ets +2 -2
- package/src/main/ets/modules/web/PLVWebParams.d.ets +1 -1
- package/src/main/ets/modules/web/qa/PLVQAWeb.d.ets +1 -1
- package/src/main/ets/modules/web/tuwen/PLVTuwenWeb.d.ets +1 -1
- package/src/main/module.json +1 -1
|
@@ -30,22 +30,22 @@ export declare struct PLVInteractWeb {
|
|
|
30
30
|
aboutToDisappear(): void;
|
|
31
31
|
build(): void;
|
|
32
32
|
config(): Promise<void>;
|
|
33
|
-
initUrl(
|
|
34
|
-
handlerJsCall(
|
|
35
|
-
processGetNativeAppParamsInfo(
|
|
36
|
-
processWebViewUpdateAppStatus(
|
|
37
|
-
processGetInteractInfo(
|
|
33
|
+
initUrl(w17?: PLVLanguage): void;
|
|
34
|
+
handlerJsCall(t17: string, u17: string, v17: PLVCallback<string, void>): void;
|
|
35
|
+
processGetNativeAppParamsInfo(q17: string, r17: PLVCallback<string, void>): Promise<void>;
|
|
36
|
+
processWebViewUpdateAppStatus(o17: string): void;
|
|
37
|
+
processGetInteractInfo(h17: string, i17: PLVCallback<string, void>): void;
|
|
38
38
|
showQuestionnaire(): void;
|
|
39
|
-
showCardPush(
|
|
39
|
+
showCardPush(c17: PLVShowPushCardEvent | undefined): void;
|
|
40
40
|
showLottery(): void;
|
|
41
41
|
showBulletin(): void;
|
|
42
|
-
showDynamicAction(
|
|
43
|
-
onShowJobDetail(
|
|
44
|
-
receiveRedPaper(
|
|
45
|
-
updateChannelSwitch(
|
|
46
|
-
processCallAppEvent(
|
|
47
|
-
processChangeRedpackStatusEvent(
|
|
48
|
-
processClickProductEvent(
|
|
42
|
+
showDynamicAction(v16: string): void;
|
|
43
|
+
onShowJobDetail(s16: PLVShowJobDetailEvent): void;
|
|
44
|
+
receiveRedPaper(m16: PLVRedPaperEvent): void;
|
|
45
|
+
updateChannelSwitch(h16?: ArrayList<PLVChatFunctionSwitchVO>): void;
|
|
46
|
+
processCallAppEvent(d16: string, e16: PLVCallback<string, void>): void;
|
|
47
|
+
processChangeRedpackStatusEvent(b16: string): void;
|
|
48
|
+
processClickProductEvent(w15: string, x15: PLVCallback<string, void>): void;
|
|
49
49
|
observer(): void;
|
|
50
50
|
}
|
|
51
51
|
export declare class PLVInteractCallback {
|
|
@@ -4,7 +4,7 @@ import { PLVChannelData } from "../../../common/PLVChannelData";
|
|
|
4
4
|
export declare class PLVInteractInvitePoster {
|
|
5
5
|
private readonly channelData;
|
|
6
6
|
private invitePosterSetting;
|
|
7
|
-
constructor(
|
|
7
|
+
constructor(f15: PLVChannelData);
|
|
8
8
|
getInvitePosterUrl(): Promise<string>;
|
|
9
9
|
getLiveWatchUrl(): Promise<string>;
|
|
10
10
|
private getInvitePosterSetting;
|
|
@@ -7,5 +7,5 @@ export declare class PLVFunctionSwitchBean {
|
|
|
7
7
|
isShow?: boolean;
|
|
8
8
|
isSelected?: boolean;
|
|
9
9
|
icon?: string;
|
|
10
|
-
constructor(
|
|
10
|
+
constructor(g15?: string, h15?: Resource, i15?: string | Resource, j15?: boolean, k15?: string);
|
|
11
11
|
}
|
|
@@ -16,7 +16,7 @@ export declare class PLVPushCardManager extends PLVBaseModule {
|
|
|
16
16
|
private socketMediator;
|
|
17
17
|
private getCardPushInfoDisposable;
|
|
18
18
|
eventNotify: IPLVEventNotify<EventType>;
|
|
19
|
-
constructor(
|
|
19
|
+
constructor(f19: PLVChannelData, g19: PLVSocketMediator);
|
|
20
20
|
private init;
|
|
21
21
|
private notifyPushStart;
|
|
22
22
|
private notifyPushCancel;
|
|
@@ -25,6 +25,6 @@ export declare class PLVPushCardManager extends PLVBaseModule {
|
|
|
25
25
|
* @param cardId
|
|
26
26
|
* @returns
|
|
27
27
|
*/
|
|
28
|
-
getCardPushInfo(
|
|
28
|
+
getCardPushInfo(v18?: string): Promise<PLVCardPushVO>;
|
|
29
29
|
disposable(): void;
|
|
30
30
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// @keepTs
|
|
2
2
|
// @ts-nocheck
|
|
3
3
|
export declare class PLVCardLookTimeLocalRepository {
|
|
4
|
-
static saveCache(
|
|
5
|
-
static getCache(
|
|
6
|
-
static hasSaveCache(
|
|
4
|
+
static saveCache(l19: string, m19: string, n19: number): void;
|
|
5
|
+
static getCache(j19: string, k19: string): Promise<number>;
|
|
6
|
+
static hasSaveCache(h19: string, i19: string): void;
|
|
7
7
|
}
|
|
@@ -104,7 +104,7 @@ export declare class PLVLinkMicManager extends PLVBaseModule {
|
|
|
104
104
|
* 连麦模块错误事件
|
|
105
105
|
*/
|
|
106
106
|
readonly errorEvent: MutableEvent<PLVLinkMicErrorEvent>;
|
|
107
|
-
constructor(
|
|
107
|
+
constructor(r25: DependScope, s25: PLVChannelData, t25: PLVSocketMediator, u25: PLVPlayerMediator, v25: PLVMemberMediator);
|
|
108
108
|
private init;
|
|
109
109
|
/**
|
|
110
110
|
* [观众、嘉宾]
|
|
@@ -131,7 +131,7 @@ export declare class PLVLinkMicManager extends PLVBaseModule {
|
|
|
131
131
|
*
|
|
132
132
|
* 在频道已经开启连麦的情况下,更改连麦模式将自动下麦全体成员
|
|
133
133
|
*/
|
|
134
|
-
setLinkMicMode(
|
|
134
|
+
setLinkMicMode(m25: PLVLinkMicMode): Promise<boolean>;
|
|
135
135
|
/**
|
|
136
136
|
* [讲师] 打开连麦
|
|
137
137
|
*/
|
|
@@ -143,15 +143,15 @@ export declare class PLVLinkMicManager extends PLVBaseModule {
|
|
|
143
143
|
/**
|
|
144
144
|
* [讲师] 接受观众连麦申请
|
|
145
145
|
*/
|
|
146
|
-
acceptViewerLinkMicRequest(
|
|
146
|
+
acceptViewerLinkMicRequest(l25: string): void;
|
|
147
147
|
/**
|
|
148
148
|
* [讲师] 邀请观众连麦
|
|
149
149
|
*/
|
|
150
|
-
inviteViewerLinkMic(
|
|
150
|
+
inviteViewerLinkMic(j25: string, k25?: boolean): void;
|
|
151
151
|
/**
|
|
152
152
|
* [讲师] 挂断观众的连麦
|
|
153
153
|
*/
|
|
154
|
-
hangupViewerLinkMic(
|
|
154
|
+
hangupViewerLinkMic(i25: string): void;
|
|
155
155
|
/**
|
|
156
156
|
* [讲师] 全体下麦
|
|
157
157
|
*/
|
|
@@ -159,31 +159,31 @@ export declare class PLVLinkMicManager extends PLVBaseModule {
|
|
|
159
159
|
/**
|
|
160
160
|
* [讲师] 设置观众开关摄像头
|
|
161
161
|
*/
|
|
162
|
-
setViewerEnableCamera(
|
|
162
|
+
setViewerEnableCamera(g25: string, h25: boolean): void;
|
|
163
163
|
/**
|
|
164
164
|
* [讲师] 设置观众开关麦克风
|
|
165
165
|
*/
|
|
166
|
-
setViewerEnableMicrophone(
|
|
166
|
+
setViewerEnableMicrophone(e25: string, f25: boolean): void;
|
|
167
167
|
/**
|
|
168
168
|
* [讲师] 授予主讲权限
|
|
169
169
|
*
|
|
170
170
|
* [嘉宾] 移交主讲权限
|
|
171
171
|
*/
|
|
172
|
-
grantSpeaker(
|
|
172
|
+
grantSpeaker(d25: string): void;
|
|
173
173
|
/**
|
|
174
174
|
* [讲师] 撤销主讲权限
|
|
175
175
|
*
|
|
176
176
|
* [嘉宾] 主动移除自己的主讲权限
|
|
177
177
|
*/
|
|
178
|
-
revokeSpeaker(
|
|
178
|
+
revokeSpeaker(c25: string): void;
|
|
179
179
|
/**
|
|
180
180
|
* 切换摄像头开关
|
|
181
181
|
*/
|
|
182
|
-
enableCamera(
|
|
182
|
+
enableCamera(b25: boolean): void;
|
|
183
183
|
/**
|
|
184
184
|
* 切换麦克风开关
|
|
185
185
|
*/
|
|
186
|
-
enableMicrophone(
|
|
186
|
+
enableMicrophone(a25: boolean): void;
|
|
187
187
|
/**
|
|
188
188
|
* [观众]
|
|
189
189
|
* 切换摄像头和麦克风开关至上一次连麦时保存的状态
|
|
@@ -197,23 +197,23 @@ export declare class PLVLinkMicManager extends PLVBaseModule {
|
|
|
197
197
|
* 设置自己的画面镜像
|
|
198
198
|
* @param isMirror 是否镜像
|
|
199
199
|
*/
|
|
200
|
-
setLocalMirror(
|
|
200
|
+
setLocalMirror(z24: boolean): void;
|
|
201
201
|
/**
|
|
202
202
|
* 设置推流画面方向
|
|
203
203
|
* @param pushOrientation 推流画面方向
|
|
204
204
|
*/
|
|
205
|
-
setPushOrientation(
|
|
205
|
+
setPushOrientation(y24: PLVPushOrientation): void;
|
|
206
206
|
/**
|
|
207
207
|
* 设置视频渲染
|
|
208
208
|
* @param renderParam 渲染参数
|
|
209
209
|
*/
|
|
210
|
-
setupVideoRender(
|
|
210
|
+
setupVideoRender(x24: PLVLinkMicVideoRenderParam): void;
|
|
211
211
|
/**
|
|
212
212
|
* 移除视频渲染
|
|
213
213
|
* @param renderParam 其中 xcomponentId 为 null 时移除视频渲染,
|
|
214
214
|
* 不为 null 时只有当前 linkmicId 绑定的 xcomponentId 与传入参数一致才移除视频渲染
|
|
215
215
|
*/
|
|
216
|
-
removeVideoRender(
|
|
216
|
+
removeVideoRender(w24: PLVLinkMicVideoRenderParam): void;
|
|
217
217
|
/**
|
|
218
218
|
* 销毁
|
|
219
219
|
*/
|
|
@@ -67,9 +67,9 @@ export declare class PLVLinkMicMediator implements LifecycleAwareDependComponent
|
|
|
67
67
|
setPushResolutionRatio: ((pushResolutionRatio: PLVLinkMicPushResolutionRatio) => void) | undefined;
|
|
68
68
|
setPushOrientation: ((pushOrientation: PLVPushOrientation) => void) | undefined;
|
|
69
69
|
setPushDowngradePreference: ((preference: PLVPushDowngradePreference) => void) | undefined;
|
|
70
|
-
reportError(
|
|
71
|
-
isMySocketLinkMicId(
|
|
72
|
-
findViewerByLinkMicId(
|
|
73
|
-
findViewerByViewerId(
|
|
70
|
+
reportError(g20: number, h20: string): void;
|
|
71
|
+
isMySocketLinkMicId(d20: string | undefined | null): boolean;
|
|
72
|
+
findViewerByLinkMicId(b20?: string | null): PLVLinkMicViewer | undefined;
|
|
73
|
+
findViewerByViewerId(z19?: string | null): PLVLinkMicViewer | undefined;
|
|
74
74
|
onDestroy(): void;
|
|
75
75
|
}
|
|
@@ -4,13 +4,13 @@ import { PLVRTCConfig, PLVRTCEngineEventCallback, PLVRTCMediaState, PLVRTCNetwor
|
|
|
4
4
|
import { PLVLinkMicMediator } from './PLVLinkMicMediator';
|
|
5
5
|
export declare class PLVLinkMicRTCEventCallback extends PLVRTCEngineEventCallback {
|
|
6
6
|
private readonly mediator;
|
|
7
|
-
constructor(
|
|
8
|
-
onJoinChannelSuccess(
|
|
9
|
-
onUserMediaStateChanged(
|
|
10
|
-
onTokenExpired(
|
|
11
|
-
onNetworkQuality(
|
|
12
|
-
onNetworkStatistics(
|
|
13
|
-
onKickOut(
|
|
14
|
-
onError(
|
|
7
|
+
constructor(c21: PLVLinkMicMediator);
|
|
8
|
+
onJoinChannelSuccess(z20: PLVRTCConfig, a21: string): void;
|
|
9
|
+
onUserMediaStateChanged(w20: string, x20: PLVRTCMediaState): void;
|
|
10
|
+
onTokenExpired(t20: string | undefined, u20: PLVRTCConfig): void;
|
|
11
|
+
onNetworkQuality(p20: string, q20: PLVRTCNetworkQuality, r20: PLVRTCNetworkQuality): void;
|
|
12
|
+
onNetworkStatistics(n20: PLVRTCNetworkStatistics): void;
|
|
13
|
+
onKickOut(l20: number): void;
|
|
14
|
+
onError(j20: number, k20: string): void;
|
|
15
15
|
private convertNetworkQuality;
|
|
16
16
|
}
|
|
@@ -11,7 +11,7 @@ export declare class PLVLinkMicRepo implements LifecycleAwareDependComponent {
|
|
|
11
11
|
private readonly networkDataSource;
|
|
12
12
|
private readonly rtcConfig;
|
|
13
13
|
private rtcEngine;
|
|
14
|
-
constructor(
|
|
14
|
+
constructor(v23: PLVLinkMicMediator, w23: PLVLinkMicNetworkDataSource);
|
|
15
15
|
init(): Promise<void>;
|
|
16
16
|
private initLinkMicId;
|
|
17
17
|
private initRtcEngine;
|
|
@@ -19,17 +19,17 @@ export declare class PLVLinkMicRepo implements LifecycleAwareDependComponent {
|
|
|
19
19
|
private initLinkMicStrategy;
|
|
20
20
|
getChannelLinkMicStatus(): Promise<PLVLinkMicChannelStatus>;
|
|
21
21
|
sendLinkMicIdRelation(): Promise<void>;
|
|
22
|
-
sendLiveViewLog(
|
|
22
|
+
sendLiveViewLog(z22: PLVLiveViewLogVO): Promise<void>;
|
|
23
23
|
joinRTCChannel(): void;
|
|
24
|
-
switchRTCRole(
|
|
25
|
-
enableLocalVideo(
|
|
26
|
-
enableLocalAudio(
|
|
24
|
+
switchRTCRole(w22: PLVRTCClientRole): void;
|
|
25
|
+
enableLocalVideo(v22: boolean): void;
|
|
26
|
+
enableLocalAudio(u22: boolean): void;
|
|
27
27
|
switchCamera(): void;
|
|
28
|
-
setLocalVideoEncodeParam(
|
|
29
|
-
setVideoRender(
|
|
30
|
-
getVideoRenderParam(
|
|
31
|
-
createRenderViewParam(
|
|
32
|
-
getRemoteViewerMediaState(
|
|
28
|
+
setLocalVideoEncodeParam(t22: PLVRTCVideoEncodeParam): void;
|
|
29
|
+
setVideoRender(s22: PLVRTCVideoRenderParam): void;
|
|
30
|
+
getVideoRenderParam(r22: string): PLVRTCVideoRenderParam | null;
|
|
31
|
+
createRenderViewParam(q22: string): PLVRTCRenderViewParam | undefined;
|
|
32
|
+
getRemoteViewerMediaState(p22: string): PLVRTCMediaState | undefined;
|
|
33
33
|
renewToken(): Promise<void>;
|
|
34
34
|
leaveRTCChannel(): void;
|
|
35
35
|
onDestroy(): Promise<void>;
|
|
@@ -6,11 +6,11 @@ import { PLVLinkMicChannelStatus } from '../vo/PLVLinkMicChannelStatus';
|
|
|
6
6
|
import { PLVLiveViewLogVO } from '../../../business/model/PLVLiveViewLogVO';
|
|
7
7
|
export declare class PLVLinkMicNetworkDataSource {
|
|
8
8
|
private readonly mediator;
|
|
9
|
-
constructor(
|
|
10
|
-
getChannelLinkMicStatus(
|
|
9
|
+
constructor(n22: PLVLinkMicMediator);
|
|
10
|
+
getChannelLinkMicStatus(h22: string, i22: string): Promise<PLVLinkMicChannelStatus>;
|
|
11
11
|
getLinkMicToken(): Promise<PLVRTCAppToken>;
|
|
12
|
-
sendLinkMicIdRelation(
|
|
13
|
-
sendLiveViewLog(
|
|
12
|
+
sendLinkMicIdRelation(a22: string, b22: string, c22: string): Promise<void>;
|
|
13
|
+
sendLiveViewLog(z21: PLVLiveViewLogVO): Promise<void>;
|
|
14
14
|
private getARTCLinkMicToken;
|
|
15
15
|
private getTRTCLinkMicToken;
|
|
16
16
|
private createLinkMicStatisticsData;
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
export declare class PLVLinkMicBitRate {
|
|
4
4
|
readonly index: number;
|
|
5
5
|
readonly name: string | Resource;
|
|
6
|
-
constructor(
|
|
6
|
+
constructor(x23: number, y23: string | Resource);
|
|
7
7
|
get nameString(): string;
|
|
8
8
|
static STANDARD: PLVLinkMicBitRate;
|
|
9
9
|
static HIGH: PLVLinkMicBitRate;
|
|
@@ -13,6 +13,6 @@ export declare class PLVLinkMicBitRateEncodeParam {
|
|
|
13
13
|
readonly screenWidth: number;
|
|
14
14
|
readonly screenHeight: number;
|
|
15
15
|
readonly screenBitrate: number;
|
|
16
|
-
constructor(
|
|
16
|
+
constructor(z23: PLVLinkMicBitRate, a24: number, b24: number, c24: number, d24: number, e24: number, f24: number, g24: number, h24: number, i24: number, j24: number);
|
|
17
17
|
}
|
|
18
18
|
export declare const DEFAULT_BITRATE_ENCODE_PARAM_TABLE: PLVLinkMicBitRateEncodeParam[];
|
|
@@ -4,5 +4,5 @@ import { PLVMemberChannelViewer } from "../../../member/model/vo/PLVMemberChanne
|
|
|
4
4
|
export declare class PLVLinkMicAnswerInvitationEvent {
|
|
5
5
|
readonly viewer: PLVMemberChannelViewer;
|
|
6
6
|
readonly accept: boolean;
|
|
7
|
-
constructor(
|
|
7
|
+
constructor(m24: PLVMemberChannelViewer, n24: boolean);
|
|
8
8
|
}
|
|
@@ -4,7 +4,7 @@ export declare class PLVLinkMicPushResolutionRatio {
|
|
|
4
4
|
readonly width: number;
|
|
5
5
|
readonly height: number;
|
|
6
6
|
readonly ratio: number;
|
|
7
|
-
constructor(
|
|
7
|
+
constructor(o24: number, p24: number);
|
|
8
8
|
static RATIO_16_9: PLVLinkMicPushResolutionRatio;
|
|
9
9
|
static RATIO_4_3: PLVLinkMicPushResolutionRatio;
|
|
10
10
|
}
|
|
@@ -8,30 +8,30 @@ import { PLVLinkMicUseCases } from './usecase/PLVLinkMicUseCases';
|
|
|
8
8
|
export declare class PLVLinkMicViewModel {
|
|
9
9
|
private readonly repo;
|
|
10
10
|
private readonly useCases;
|
|
11
|
-
constructor(
|
|
11
|
+
constructor(o26: PLVLinkMicRepo, p26: PLVLinkMicUseCases);
|
|
12
12
|
init(): Promise<void>;
|
|
13
13
|
requestLinkMic(): void;
|
|
14
14
|
acceptLinkMicInvitation(): void;
|
|
15
15
|
refuseLinkMicInvitation(): void;
|
|
16
16
|
leaveLinkMic(): void;
|
|
17
|
-
setLinkMicMode(
|
|
17
|
+
setLinkMicMode(n26: PLVLinkMicMode): Promise<boolean>;
|
|
18
18
|
openLinkMic(): Promise<boolean>;
|
|
19
19
|
closeLinkMic(): Promise<boolean>;
|
|
20
|
-
acceptViewerLinkMicRequest(
|
|
21
|
-
inviteViewerLinkMic(
|
|
22
|
-
hangupViewerLinkMic(
|
|
20
|
+
acceptViewerLinkMicRequest(m26: string): void;
|
|
21
|
+
inviteViewerLinkMic(k26: string, l26: boolean): void;
|
|
22
|
+
hangupViewerLinkMic(j26: string): void;
|
|
23
23
|
hangupAllViewersLinkMic(): void;
|
|
24
|
-
setViewerEnableCamera(
|
|
25
|
-
setViewerEnableMicrophone(
|
|
26
|
-
grantSpeaker(
|
|
27
|
-
revokeSpeaker(
|
|
28
|
-
setMainView(
|
|
29
|
-
enableCamera(
|
|
30
|
-
enableMicrophone(
|
|
24
|
+
setViewerEnableCamera(h26: string, i26: boolean): void;
|
|
25
|
+
setViewerEnableMicrophone(f26: string, g26: boolean): void;
|
|
26
|
+
grantSpeaker(e26: string): void;
|
|
27
|
+
revokeSpeaker(d26: string): void;
|
|
28
|
+
setMainView(c26: string): void;
|
|
29
|
+
enableCamera(b26: boolean): void;
|
|
30
|
+
enableMicrophone(a26: boolean): void;
|
|
31
31
|
enableCameraMicrophoneToLastState(): void;
|
|
32
32
|
switchCamera(): void;
|
|
33
|
-
setLocalMirror(
|
|
34
|
-
setPushOrientation(
|
|
35
|
-
setupVideoRender(
|
|
36
|
-
removeVideoRender(
|
|
33
|
+
setLocalMirror(z25: boolean): void;
|
|
34
|
+
setPushOrientation(y25: PLVPushOrientation): void;
|
|
35
|
+
setupVideoRender(x25: PLVLinkMicVideoRenderParam): void;
|
|
36
|
+
removeVideoRender(w25: PLVLinkMicVideoRenderParam): void;
|
|
37
37
|
}
|
|
@@ -8,11 +8,11 @@ import { PLVPushDowngradePreference, PLVPushOrientation } from '@polyvharmony/rt
|
|
|
8
8
|
export declare class LinkMicEncodeParamUseCase implements ILinkMicEncodeParamUseCase {
|
|
9
9
|
private readonly repo;
|
|
10
10
|
private impl;
|
|
11
|
-
constructor(
|
|
11
|
+
constructor(a27: PLVLinkMicRepo);
|
|
12
12
|
init(): void;
|
|
13
|
-
setBitRate(
|
|
14
|
-
setPushResolutionRatio(
|
|
15
|
-
setPushOrientation(
|
|
16
|
-
setPushMirror(
|
|
17
|
-
setPushDowngradePreference(
|
|
13
|
+
setBitRate(y26: PLVLinkMicBitRate): void;
|
|
14
|
+
setPushResolutionRatio(x26: PLVLinkMicPushResolutionRatio): void;
|
|
15
|
+
setPushOrientation(w26: PLVPushOrientation): void;
|
|
16
|
+
setPushMirror(v26: boolean): void;
|
|
17
|
+
setPushDowngradePreference(u26: PLVPushDowngradePreference): void;
|
|
18
18
|
}
|
|
@@ -4,8 +4,8 @@ import { PLVLinkMicRepo } from '../../model/PLVLinkMicRepo';
|
|
|
4
4
|
import { PLVLinkMicSocketJoinLeaveRecv, PLVLinkMicSocketJoinRequestRecv, PLVLinkMicSocketJoinSuccessRecv } from '../../model/vo/PLVLinkMicSocketEvent';
|
|
5
5
|
export declare class LinkMicHandleQueueOrderUseCase {
|
|
6
6
|
private readonly repo;
|
|
7
|
-
constructor(
|
|
8
|
-
onEventJoinRequest(
|
|
9
|
-
onEventJoinSuccess(
|
|
10
|
-
onEventJoinLeave(
|
|
7
|
+
constructor(n27: PLVLinkMicRepo);
|
|
8
|
+
onEventJoinRequest(k27: PLVLinkMicSocketJoinRequestRecv): void;
|
|
9
|
+
onEventJoinSuccess(g27: PLVLinkMicSocketJoinSuccessRecv): void;
|
|
10
|
+
onEventJoinLeave(b27: PLVLinkMicSocketJoinLeaveRecv): void;
|
|
11
11
|
}
|
|
@@ -9,18 +9,18 @@ export declare class LinkMicHandleRTCUseCase implements ILinkMicHandleRTCUseCase
|
|
|
9
9
|
private readonly repo;
|
|
10
10
|
private observers;
|
|
11
11
|
private impl;
|
|
12
|
-
constructor(
|
|
12
|
+
constructor(w27: PLVLinkMicRepo);
|
|
13
13
|
init(): void;
|
|
14
14
|
joinChannel(): void;
|
|
15
15
|
leaveChannel(): void;
|
|
16
|
-
switchRole(
|
|
17
|
-
enableCamera(
|
|
18
|
-
enableMicrophone(
|
|
16
|
+
switchRole(t27: PLVRTCClientRole): void;
|
|
17
|
+
enableCamera(s27: boolean): void;
|
|
18
|
+
enableMicrophone(r27: boolean): void;
|
|
19
19
|
enableCameraMicrophoneToLastState(): void;
|
|
20
20
|
switchCamera(): void;
|
|
21
|
-
setLocalRenderMirror(
|
|
22
|
-
setupVideoRender(
|
|
23
|
-
removeVideoRender(
|
|
21
|
+
setLocalRenderMirror(q27: boolean): void;
|
|
22
|
+
setupVideoRender(p27: PLVLinkMicVideoRenderParam): void;
|
|
23
|
+
removeVideoRender(o27: PLVLinkMicVideoRenderParam): void;
|
|
24
24
|
onDestroy(): void;
|
|
25
25
|
private renewToken;
|
|
26
26
|
}
|
|
@@ -13,7 +13,7 @@ export declare class LinkMicHandleStateUseCase implements ILinkMicHandleStateUse
|
|
|
13
13
|
private readonly handleRTCUseCase;
|
|
14
14
|
private readonly updateChannelViewerUseCase;
|
|
15
15
|
private impl;
|
|
16
|
-
constructor(
|
|
16
|
+
constructor(k28: PLVLinkMicRepo, l28: LinkMicHandleQueueOrderUseCase, m28: LinkMicHandleRTCUseCase, n28: LinkMicUpdateChannelViewerUseCase);
|
|
17
17
|
init(): void;
|
|
18
18
|
requestJoinLinkMic(): Promise<void>;
|
|
19
19
|
acceptInvitation(): Promise<void>;
|
|
@@ -21,18 +21,18 @@ export declare class LinkMicHandleStateUseCase implements ILinkMicHandleStateUse
|
|
|
21
21
|
leaveLinkMic(): void;
|
|
22
22
|
onStreamerStart(): void;
|
|
23
23
|
onLiveStreamStart(): void;
|
|
24
|
-
setLinkMicMode(
|
|
24
|
+
setLinkMicMode(i28: PLVLinkMicMode): Promise<boolean>;
|
|
25
25
|
openLinkMic(): Promise<boolean>;
|
|
26
26
|
closeLinkMic(): Promise<boolean>;
|
|
27
|
-
acceptViewerLinkMicRequest(
|
|
28
|
-
inviteViewerLinkMic(
|
|
29
|
-
hangupViewerLinkMic(
|
|
27
|
+
acceptViewerLinkMicRequest(h28: string): void;
|
|
28
|
+
inviteViewerLinkMic(f28: string, g28: boolean): void;
|
|
29
|
+
hangupViewerLinkMic(e28: string): void;
|
|
30
30
|
hangupAllViewersLinkMic(): void;
|
|
31
|
-
setViewerEnableCamera(
|
|
32
|
-
setViewerEnableMicrophone(
|
|
33
|
-
grantSpeaker(
|
|
34
|
-
revokeSpeaker(
|
|
35
|
-
setMainView(
|
|
31
|
+
setViewerEnableCamera(c28: string, d28: boolean): void;
|
|
32
|
+
setViewerEnableMicrophone(a28: string, b28: boolean): void;
|
|
33
|
+
grantSpeaker(z27: string): void;
|
|
34
|
+
revokeSpeaker(y27: string): void;
|
|
35
|
+
setMainView(x27: string): void;
|
|
36
36
|
onLiveStreamStop(): void;
|
|
37
37
|
onStreamerStop(): void;
|
|
38
38
|
updateInvitationExpireTime(): void;
|
package/src/main/ets/modules/linkmic/viewmodel/usecase/LinkMicUpdateChannelViewerUseCase.d.ets
CHANGED
|
@@ -8,14 +8,14 @@ export declare class LinkMicUpdateChannelViewerUseCase implements LifecycleAware
|
|
|
8
8
|
private readonly repo;
|
|
9
9
|
private taskUpdateChannelLinkMicViewers;
|
|
10
10
|
private observers;
|
|
11
|
-
constructor(
|
|
11
|
+
constructor(w30: PLVLinkMicRepo);
|
|
12
12
|
init(): void;
|
|
13
|
-
handleChannelLinkMicViewersUpdate(
|
|
13
|
+
handleChannelLinkMicViewersUpdate(f30: UpdateChannelLinkMicViewerPayload): void;
|
|
14
14
|
sortChannelLinkMicViewers(): void;
|
|
15
|
-
onEventJoinSuccess(
|
|
16
|
-
onEventJoinLeave(
|
|
17
|
-
onEventTeacherSetPermission(
|
|
18
|
-
onEventSwitchView(
|
|
15
|
+
onEventJoinSuccess(x29: PLVLinkMicSocketJoinSuccessRecv): void;
|
|
16
|
+
onEventJoinLeave(u29: PLVLinkMicSocketJoinLeaveRecv): void;
|
|
17
|
+
onEventTeacherSetPermission(p29: PLVLinkMicSocketTeacherSetPermissionRecv): void;
|
|
18
|
+
onEventSwitchView(o29: PLVLinkMicSocketSwitchViewRecv): void;
|
|
19
19
|
startUpdateChannelLinkMicViewersInterval(): void;
|
|
20
20
|
stopUpdateChannelLinkMicViewersInterval(): void;
|
|
21
21
|
private updateByChannelLinkMicStatus;
|
|
@@ -9,7 +9,7 @@ export declare class LinkMicViewLogUseCase implements LifecycleAwareDependCompon
|
|
|
9
9
|
private stayDuration;
|
|
10
10
|
private playDuration;
|
|
11
11
|
private observers;
|
|
12
|
-
constructor(
|
|
12
|
+
constructor(b31: PLVLinkMicRepo);
|
|
13
13
|
init(): void;
|
|
14
14
|
private startViewLogTask;
|
|
15
15
|
private stopViewLogTask;
|
|
@@ -13,6 +13,6 @@ export declare class PLVLinkMicUseCases {
|
|
|
13
13
|
readonly updateChannelViewerUseCase: LinkMicUpdateChannelViewerUseCase;
|
|
14
14
|
readonly viewLogUseCase: LinkMicViewLogUseCase;
|
|
15
15
|
readonly encodeParamUseCase: LinkMicEncodeParamUseCase;
|
|
16
|
-
constructor(
|
|
16
|
+
constructor(c31: LinkMicHandleQueueOrderUseCase, d31: LinkMicHandleRTCUseCase, e31: LinkMicHandleStateUseCase, f31: LinkMicUpdateChannelViewerUseCase, g31: LinkMicViewLogUseCase, h31: LinkMicEncodeParamUseCase);
|
|
17
17
|
init(): void;
|
|
18
18
|
}
|
|
@@ -7,13 +7,13 @@ import { PLVLinkMicPushResolutionRatio } from '../../../../model/vo/PLVLinkMicPu
|
|
|
7
7
|
import { ILinkMicEncodeParamUseCase } from '../base/ILinkMicEncodeParamUseCase';
|
|
8
8
|
export declare class LinkMicGuestEncodeParamUseCase implements ILinkMicEncodeParamUseCase {
|
|
9
9
|
private readonly repo;
|
|
10
|
-
constructor(
|
|
10
|
+
constructor(j33: PLVLinkMicRepo);
|
|
11
11
|
init(): void;
|
|
12
|
-
setBitRate(
|
|
13
|
-
setPushResolutionRatio(
|
|
14
|
-
setPushOrientation(
|
|
15
|
-
setPushMirror(
|
|
16
|
-
setPushDowngradePreference(
|
|
12
|
+
setBitRate(i33: PLVLinkMicBitRate): void;
|
|
13
|
+
setPushResolutionRatio(h33: PLVLinkMicPushResolutionRatio): void;
|
|
14
|
+
setPushOrientation(g33: PLVPushOrientation): void;
|
|
15
|
+
setPushMirror(f33: boolean): void;
|
|
16
|
+
setPushDowngradePreference(e33: PLVPushDowngradePreference): void;
|
|
17
17
|
private updateEncodeParam;
|
|
18
18
|
private parseChannelBitRateSetting;
|
|
19
19
|
private parsePushStreamTemplate;
|
|
@@ -7,18 +7,18 @@ import { ILinkMicHandleRTCUseCase } from '../base/ILinkMicHandleRTCUseCase';
|
|
|
7
7
|
export declare class LinkMicGuestHandleRTCUseCase implements ILinkMicHandleRTCUseCase {
|
|
8
8
|
private readonly repo;
|
|
9
9
|
private observers;
|
|
10
|
-
constructor(
|
|
10
|
+
constructor(y33: PLVLinkMicRepo);
|
|
11
11
|
init(): void;
|
|
12
12
|
joinChannel(): void;
|
|
13
13
|
leaveChannel(): void;
|
|
14
|
-
switchRole(
|
|
15
|
-
enableCamera(
|
|
16
|
-
enableMicrophone(
|
|
14
|
+
switchRole(w33: PLVRTCClientRole): void;
|
|
15
|
+
enableCamera(v33: boolean): void;
|
|
16
|
+
enableMicrophone(u33: boolean): void;
|
|
17
17
|
enableCameraMicrophoneToLastState(): void;
|
|
18
18
|
switchCamera(): void;
|
|
19
|
-
setLocalRenderMirror(
|
|
20
|
-
setupVideoRender(
|
|
21
|
-
removeVideoRender(
|
|
19
|
+
setLocalRenderMirror(r33: boolean): void;
|
|
20
|
+
setupVideoRender(p33: PLVLinkMicVideoRenderParam): void;
|
|
21
|
+
removeVideoRender(n33: PLVLinkMicVideoRenderParam): void;
|
|
22
22
|
onDestroy(): void;
|
|
23
23
|
private getVideoRenderParam;
|
|
24
24
|
}
|
|
@@ -13,7 +13,7 @@ export declare class LinkMicGuestHandleStateUseCase implements ILinkMicHandleSta
|
|
|
13
13
|
private readonly updateChannelViewerUseCase;
|
|
14
14
|
private disposables;
|
|
15
15
|
private observers;
|
|
16
|
-
constructor(
|
|
16
|
+
constructor(f37: PLVLinkMicRepo, g37: LinkMicHandleQueueOrderUseCase, h37: LinkMicHandleRTCUseCase, i37: LinkMicUpdateChannelViewerUseCase);
|
|
17
17
|
init(): void;
|
|
18
18
|
requestJoinLinkMic(): Promise<void>;
|
|
19
19
|
acceptInvitation(): Promise<void>;
|
|
@@ -21,18 +21,18 @@ export declare class LinkMicGuestHandleStateUseCase implements ILinkMicHandleSta
|
|
|
21
21
|
leaveLinkMic(): void;
|
|
22
22
|
onStreamerStart(): void;
|
|
23
23
|
onLiveStreamStart(): void;
|
|
24
|
-
setLinkMicMode(
|
|
24
|
+
setLinkMicMode(q36: PLVLinkMicMode): Promise<boolean>;
|
|
25
25
|
openLinkMic(): Promise<boolean>;
|
|
26
26
|
closeLinkMic(): Promise<boolean>;
|
|
27
|
-
acceptViewerLinkMicRequest(
|
|
28
|
-
inviteViewerLinkMic(
|
|
29
|
-
hangupViewerLinkMic(
|
|
27
|
+
acceptViewerLinkMicRequest(p36: string): void;
|
|
28
|
+
inviteViewerLinkMic(n36: string, o36: boolean): void;
|
|
29
|
+
hangupViewerLinkMic(m36: string): void;
|
|
30
30
|
hangupAllViewersLinkMic(): void;
|
|
31
|
-
setViewerEnableCamera(
|
|
32
|
-
setViewerEnableMicrophone(
|
|
33
|
-
grantSpeaker(
|
|
34
|
-
revokeSpeaker(
|
|
35
|
-
setMainView(
|
|
31
|
+
setViewerEnableCamera(k36: string, l36: boolean): void;
|
|
32
|
+
setViewerEnableMicrophone(i36: string, j36: boolean): void;
|
|
33
|
+
grantSpeaker(h36: string): void;
|
|
34
|
+
revokeSpeaker(f36: string): void;
|
|
35
|
+
setMainView(c36: string): void;
|
|
36
36
|
private isMyselfSpeaker;
|
|
37
37
|
private moveSpeaker;
|
|
38
38
|
onLiveStreamStop(): void;
|