@polyvharmony/live-scenes-sdk 1.3.5 → 1.5.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 +30 -0
- package/Index.d.ets +3 -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 +16 -10
- package/src/main/ets/common/PLVDataBaseModule.d.ets +1 -1
- package/src/main/ets/common/PLVLiveSceneSDK.d.ets +9 -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 +31 -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/IPLVReliableMessageEvent.d.ets +5 -0
- package/src/main/ets/modules/chatroom/model/PLVImageBean.d.ets +3 -3
- package/src/main/ets/modules/chatroom/model/PLVSpeakEvent.d.ets +3 -1
- 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/chatroom/reliable/PLVReliableMessageCache.d.ets +11 -0
- 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/PLVStreamerInteractManager.d.ets +18 -0
- package/src/main/ets/modules/interact/PLVStreamerInteractWeb.d.ets +17 -0
- package/src/main/ets/modules/interact/PLVStreamerInteractWebController.d.ets +14 -0
- 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 +5 -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/PLVLinkMicRTCType.d.ets +2 -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 +3 -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 +31 -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/PLVSocketEventConstants.d.ets +4 -0
- 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 +4 -4
- package/src/main/ets/modules/web/PLVWebControllerManager.d.ets +8 -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
|
@@ -14,7 +14,7 @@ export declare class PLVChatPlaybackToTopVO {
|
|
|
14
14
|
isToTop(): boolean;
|
|
15
15
|
toTopEvent(): PLVToTopEvent;
|
|
16
16
|
toCancelTopEvent(): PLVCancelTopEvent;
|
|
17
|
-
equals(
|
|
17
|
+
equals(y5: PLVChatPlaybackToTopVO): boolean;
|
|
18
18
|
}
|
|
19
19
|
export type EventType = 'to_top';
|
|
20
20
|
export declare class PLVChatPlaybackToTopModel {
|
|
@@ -22,8 +22,8 @@ export declare class PLVChatPlaybackToTopModel {
|
|
|
22
22
|
private dataList;
|
|
23
23
|
private lastCallToTopData?;
|
|
24
24
|
eventNotify: IPLVEventNotify<EventType>;
|
|
25
|
-
put(
|
|
26
|
-
checkEmitByTime(
|
|
25
|
+
put(u5: string, v5: PLVChatPlaybackToTopVO): void;
|
|
26
|
+
checkEmitByTime(q5: string, r5: number): void;
|
|
27
27
|
clearToTop(): void;
|
|
28
28
|
clear(): void;
|
|
29
29
|
private getToTopList;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
// @keepTs
|
|
2
|
+
// @ts-nocheck
|
|
3
|
+
import { IPLVReliableMessageEvent } from '../model/IPLVReliableMessageEvent';
|
|
4
|
+
export declare class PLVReliableMessageCache {
|
|
5
|
+
private readonly reliableMessages;
|
|
6
|
+
/**
|
|
7
|
+
* @return true: message not exist and cache success, false: message already existed
|
|
8
|
+
*/
|
|
9
|
+
cache(r14: IPLVReliableMessageEvent): boolean;
|
|
10
|
+
private dropOutdatedMessages;
|
|
11
|
+
}
|
|
@@ -7,9 +7,9 @@ export declare class PLVI18NDataMapper {
|
|
|
7
7
|
static readonly UNIT_MAPPER: PLVHashMap<string, Resource>;
|
|
8
8
|
static readonly EXCEPTION_MAPPER: PLVHashMap<string, Resource>;
|
|
9
9
|
static readonly MENU_MAPPER: PLVHashMap<string, Resource>;
|
|
10
|
-
static getRole(
|
|
11
|
-
static getRewardName(
|
|
12
|
-
static getUnit(
|
|
13
|
-
static getException(
|
|
14
|
-
static getMenuName(
|
|
10
|
+
static getRole(x14?: string): string | Resource;
|
|
11
|
+
static getRewardName(w14?: string): string | Resource;
|
|
12
|
+
static getUnit(v14?: string): string | Resource;
|
|
13
|
+
static getException(u14?: string): string | Resource;
|
|
14
|
+
static getMenuName(t14?: string): string | Resource;
|
|
15
15
|
}
|
|
@@ -25,12 +25,12 @@ export declare class PLVInteractManager extends PLVBaseModule {
|
|
|
25
25
|
* 发送数据互动数据
|
|
26
26
|
* @param dataBean
|
|
27
27
|
*/
|
|
28
|
-
notifyPostValue(
|
|
28
|
+
notifyPostValue(x15: PLVInteractDataBean): void;
|
|
29
29
|
/**
|
|
30
30
|
* 注册互动页面
|
|
31
31
|
* @param view
|
|
32
32
|
*/
|
|
33
|
-
registerInteractView(
|
|
33
|
+
registerInteractView(w15: IPLVInteractView): void;
|
|
34
34
|
/**
|
|
35
35
|
* 展示问答页面
|
|
36
36
|
*/
|
|
@@ -39,7 +39,7 @@ export declare class PLVInteractManager extends PLVBaseModule {
|
|
|
39
39
|
* 展示推送卡片页面
|
|
40
40
|
* @param showPushCardEvent
|
|
41
41
|
*/
|
|
42
|
-
showCardPush(
|
|
42
|
+
showCardPush(v15: PLVShowPushCardEvent | undefined): void;
|
|
43
43
|
/**
|
|
44
44
|
* 展示抽奖页面
|
|
45
45
|
*/
|
|
@@ -51,7 +51,7 @@ export declare class PLVInteractManager extends PLVBaseModule {
|
|
|
51
51
|
/**
|
|
52
52
|
* 展示动态互动功能
|
|
53
53
|
*/
|
|
54
|
-
showDynamicAction(
|
|
54
|
+
showDynamicAction(u15: string): void;
|
|
55
55
|
/**
|
|
56
56
|
* 销毁
|
|
57
57
|
*/
|
|
@@ -60,10 +60,10 @@ export declare class PLVInteractManager extends PLVBaseModule {
|
|
|
60
60
|
* 接收红包事件
|
|
61
61
|
* @param redPaperEvent
|
|
62
62
|
*/
|
|
63
|
-
receiveRedPaper(
|
|
63
|
+
receiveRedPaper(t15: PLVRedPaperEvent): void;
|
|
64
64
|
/**
|
|
65
65
|
* 展示投递职业页面
|
|
66
66
|
* @param event
|
|
67
67
|
*/
|
|
68
|
-
onShowJobDetail(
|
|
68
|
+
onShowJobDetail(s15?: PLVShowJobDetailEvent): void;
|
|
69
69
|
}
|
|
@@ -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(d18?: PLVLanguage): void;
|
|
34
|
+
handlerJsCall(a18: string, b18: string, c18: PLVCallback<string, void>): void;
|
|
35
|
+
processGetNativeAppParamsInfo(x17: string, y17: PLVCallback<string, void>): Promise<void>;
|
|
36
|
+
processWebViewUpdateAppStatus(v17: string): void;
|
|
37
|
+
processGetInteractInfo(o17: string, p17: PLVCallback<string, void>): void;
|
|
38
38
|
showQuestionnaire(): void;
|
|
39
|
-
showCardPush(
|
|
39
|
+
showCardPush(j17: 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(c17: string): void;
|
|
43
|
+
onShowJobDetail(z16: PLVShowJobDetailEvent): void;
|
|
44
|
+
receiveRedPaper(t16: PLVRedPaperEvent): void;
|
|
45
|
+
updateChannelSwitch(o16?: ArrayList<PLVChatFunctionSwitchVO>): void;
|
|
46
|
+
processCallAppEvent(k16: string, l16: PLVCallback<string, void>): void;
|
|
47
|
+
processChangeRedpackStatusEvent(i16: string): void;
|
|
48
|
+
processClickProductEvent(d16: string, e16: PLVCallback<string, void>): void;
|
|
49
49
|
observer(): void;
|
|
50
50
|
}
|
|
51
51
|
export declare class PLVInteractCallback {
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
// @keepTs
|
|
2
|
+
// @ts-nocheck
|
|
3
|
+
import { PLVStreamerInteractWebController } from "./PLVStreamerInteractWebController";
|
|
4
|
+
/**
|
|
5
|
+
* 开播互动管理器
|
|
6
|
+
*/
|
|
7
|
+
export declare class PLVStreamerInteractManager {
|
|
8
|
+
private controller;
|
|
9
|
+
/**
|
|
10
|
+
* 配置互动web控制器
|
|
11
|
+
* @param controller
|
|
12
|
+
*/
|
|
13
|
+
setupController(b19: PLVStreamerInteractWebController): void;
|
|
14
|
+
/**
|
|
15
|
+
* 显示签到
|
|
16
|
+
*/
|
|
17
|
+
showSignIn(): void;
|
|
18
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
// @keepTs
|
|
2
|
+
// @ts-nocheck
|
|
3
|
+
import { PLVLanguage } from "../i18n/PLVLanguageManager";
|
|
4
|
+
import { PLVStreamerInteractWebController } from "./PLVStreamerInteractWebController";
|
|
5
|
+
@Component
|
|
6
|
+
export declare struct PLVStreamerInteractWeb {
|
|
7
|
+
controller: PLVStreamerInteractWebController;
|
|
8
|
+
customUrl: string;
|
|
9
|
+
private url;
|
|
10
|
+
@State
|
|
11
|
+
prepared: boolean;
|
|
12
|
+
aboutToAppear(): Promise<void>;
|
|
13
|
+
build(): void;
|
|
14
|
+
config(): Promise<void>;
|
|
15
|
+
initUrl(c19?: PLVLanguage): void;
|
|
16
|
+
aboutToDisappear(): void;
|
|
17
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
// @keepTs
|
|
2
|
+
// @ts-nocheck
|
|
3
|
+
import { PLVCallback } from "@polyvharmony/live-scenes-foundation";
|
|
4
|
+
import { PLVSocketWebController } from "../web/PLVSocketWebController";
|
|
5
|
+
export declare class PLVStreamerInteractWebController extends PLVSocketWebController {
|
|
6
|
+
interactCallback: PLVStreamerInteractCallback | undefined;
|
|
7
|
+
showSignIn(): void;
|
|
8
|
+
protected init(): void;
|
|
9
|
+
private handlerJsCall;
|
|
10
|
+
private processGetNativeAppParamsInfo;
|
|
11
|
+
}
|
|
12
|
+
export declare class PLVStreamerInteractCallback {
|
|
13
|
+
processWebViewVisibility?: PLVCallback<boolean, void>;
|
|
14
|
+
}
|
|
@@ -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(m15: 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(n15?: string, o15?: Resource, p15?: string | Resource, q15?: boolean, r15?: 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(p20: PLVChannelData, q20: 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(f20?: 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(v20: string, w20: string, x20: number): void;
|
|
5
|
+
static getCache(t20: string, u20: string): Promise<number>;
|
|
6
|
+
static hasSaveCache(r20: string, s20: 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(l27: DependScope, m27: PLVChannelData, n27: PLVSocketMediator, o27: PLVPlayerMediator, p27: 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(g27: 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(f27: string): void;
|
|
147
147
|
/**
|
|
148
148
|
* [讲师] 邀请观众连麦
|
|
149
149
|
*/
|
|
150
|
-
inviteViewerLinkMic(
|
|
150
|
+
inviteViewerLinkMic(d27: string, e27?: boolean): void;
|
|
151
151
|
/**
|
|
152
152
|
* [讲师] 挂断观众的连麦
|
|
153
153
|
*/
|
|
154
|
-
hangupViewerLinkMic(
|
|
154
|
+
hangupViewerLinkMic(c27: 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(a27: string, b27: boolean): void;
|
|
163
163
|
/**
|
|
164
164
|
* [讲师] 设置观众开关麦克风
|
|
165
165
|
*/
|
|
166
|
-
setViewerEnableMicrophone(
|
|
166
|
+
setViewerEnableMicrophone(y26: string, z26: boolean): void;
|
|
167
167
|
/**
|
|
168
168
|
* [讲师] 授予主讲权限
|
|
169
169
|
*
|
|
170
170
|
* [嘉宾] 移交主讲权限
|
|
171
171
|
*/
|
|
172
|
-
grantSpeaker(
|
|
172
|
+
grantSpeaker(x26: string): void;
|
|
173
173
|
/**
|
|
174
174
|
* [讲师] 撤销主讲权限
|
|
175
175
|
*
|
|
176
176
|
* [嘉宾] 主动移除自己的主讲权限
|
|
177
177
|
*/
|
|
178
|
-
revokeSpeaker(
|
|
178
|
+
revokeSpeaker(w26: string): void;
|
|
179
179
|
/**
|
|
180
180
|
* 切换摄像头开关
|
|
181
181
|
*/
|
|
182
|
-
enableCamera(
|
|
182
|
+
enableCamera(v26: boolean): void;
|
|
183
183
|
/**
|
|
184
184
|
* 切换麦克风开关
|
|
185
185
|
*/
|
|
186
|
-
enableMicrophone(
|
|
186
|
+
enableMicrophone(u26: 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(t26: boolean): void;
|
|
201
201
|
/**
|
|
202
202
|
* 设置推流画面方向
|
|
203
203
|
* @param pushOrientation 推流画面方向
|
|
204
204
|
*/
|
|
205
|
-
setPushOrientation(
|
|
205
|
+
setPushOrientation(s26: PLVPushOrientation): void;
|
|
206
206
|
/**
|
|
207
207
|
* 设置视频渲染
|
|
208
208
|
* @param renderParam 渲染参数
|
|
209
209
|
*/
|
|
210
|
-
setupVideoRender(
|
|
210
|
+
setupVideoRender(r26: PLVLinkMicVideoRenderParam): void;
|
|
211
211
|
/**
|
|
212
212
|
* 移除视频渲染
|
|
213
213
|
* @param renderParam 其中 xcomponentId 为 null 时移除视频渲染,
|
|
214
214
|
* 不为 null 时只有当前 linkmicId 绑定的 xcomponentId 与传入参数一致才移除视频渲染
|
|
215
215
|
*/
|
|
216
|
-
removeVideoRender(
|
|
216
|
+
removeVideoRender(q26: 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(q21: number, r21: string): void;
|
|
71
|
+
isMySocketLinkMicId(n21: string | undefined | null): boolean;
|
|
72
|
+
findViewerByLinkMicId(l21?: string | null): PLVLinkMicViewer | undefined;
|
|
73
|
+
findViewerByViewerId(j21?: 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(m22: PLVLinkMicMediator);
|
|
8
|
+
onJoinChannelSuccess(j22: PLVRTCConfig, k22: string): void;
|
|
9
|
+
onUserMediaStateChanged(g22: string, h22: PLVRTCMediaState): void;
|
|
10
|
+
onTokenExpired(d22: string | undefined, e22: PLVRTCConfig): void;
|
|
11
|
+
onNetworkQuality(z21: string, a22: PLVRTCNetworkQuality, b22: PLVRTCNetworkQuality): void;
|
|
12
|
+
onNetworkStatistics(x21: PLVRTCNetworkStatistics): void;
|
|
13
|
+
onKickOut(v21: number): void;
|
|
14
|
+
onError(t21: number, u21: 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(p25: PLVLinkMicMediator, q25: 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(t24: PLVLiveViewLogVO): Promise<void>;
|
|
23
23
|
joinRTCChannel(): void;
|
|
24
|
-
switchRTCRole(
|
|
25
|
-
enableLocalVideo(
|
|
26
|
-
enableLocalAudio(
|
|
24
|
+
switchRTCRole(q24: PLVRTCClientRole): void;
|
|
25
|
+
enableLocalVideo(p24: boolean): void;
|
|
26
|
+
enableLocalAudio(o24: boolean): void;
|
|
27
27
|
switchCamera(): void;
|
|
28
|
-
setLocalVideoEncodeParam(
|
|
29
|
-
setVideoRender(
|
|
30
|
-
getVideoRenderParam(
|
|
31
|
-
createRenderViewParam(
|
|
32
|
-
getRemoteViewerMediaState(
|
|
28
|
+
setLocalVideoEncodeParam(n24: PLVRTCVideoEncodeParam): void;
|
|
29
|
+
setVideoRender(m24: PLVRTCVideoRenderParam): void;
|
|
30
|
+
getVideoRenderParam(l24: string): PLVRTCVideoRenderParam | null;
|
|
31
|
+
createRenderViewParam(k24: string): PLVRTCRenderViewParam | undefined;
|
|
32
|
+
getRemoteViewerMediaState(j24: string): PLVRTCMediaState | undefined;
|
|
33
33
|
renewToken(): Promise<void>;
|
|
34
34
|
leaveRTCChannel(): void;
|
|
35
35
|
onDestroy(): Promise<void>;
|
|
@@ -6,13 +6,14 @@ 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(h24: PLVLinkMicMediator);
|
|
10
|
+
getChannelLinkMicStatus(b24: string, c24: string): Promise<PLVLinkMicChannelStatus>;
|
|
11
11
|
getLinkMicToken(): Promise<PLVRTCAppToken>;
|
|
12
|
-
sendLinkMicIdRelation(
|
|
13
|
-
sendLiveViewLog(
|
|
12
|
+
sendLinkMicIdRelation(u23: string, v23: string, w23: string): Promise<void>;
|
|
13
|
+
sendLiveViewLog(t23: PLVLiveViewLogVO): Promise<void>;
|
|
14
14
|
private getARTCLinkMicToken;
|
|
15
15
|
private getTRTCLinkMicToken;
|
|
16
|
+
private getVRTCLinkMicToken;
|
|
16
17
|
private createLinkMicStatisticsData;
|
|
17
18
|
private get api_polyv_net();
|
|
18
19
|
private get rtas_videocc_net();
|
|
@@ -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(r25: number, s25: 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(t25: PLVLinkMicBitRate, u25: number, v25: number, w25: number, x25: number, y25: number, z25: number, a26: number, b26: number, c26: number, d26: 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(g26: PLVMemberChannelViewer, h26: 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(i26: number, j26: 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(i28: PLVLinkMicRepo, j28: 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(h28: PLVLinkMicMode): Promise<boolean>;
|
|
18
18
|
openLinkMic(): Promise<boolean>;
|
|
19
19
|
closeLinkMic(): Promise<boolean>;
|
|
20
|
-
acceptViewerLinkMicRequest(
|
|
21
|
-
inviteViewerLinkMic(
|
|
22
|
-
hangupViewerLinkMic(
|
|
20
|
+
acceptViewerLinkMicRequest(g28: string): void;
|
|
21
|
+
inviteViewerLinkMic(e28: string, f28: boolean): void;
|
|
22
|
+
hangupViewerLinkMic(d28: string): void;
|
|
23
23
|
hangupAllViewersLinkMic(): void;
|
|
24
|
-
setViewerEnableCamera(
|
|
25
|
-
setViewerEnableMicrophone(
|
|
26
|
-
grantSpeaker(
|
|
27
|
-
revokeSpeaker(
|
|
28
|
-
setMainView(
|
|
29
|
-
enableCamera(
|
|
30
|
-
enableMicrophone(
|
|
24
|
+
setViewerEnableCamera(b28: string, c28: boolean): void;
|
|
25
|
+
setViewerEnableMicrophone(z27: string, a28: boolean): void;
|
|
26
|
+
grantSpeaker(y27: string): void;
|
|
27
|
+
revokeSpeaker(x27: string): void;
|
|
28
|
+
setMainView(w27: string): void;
|
|
29
|
+
enableCamera(v27: boolean): void;
|
|
30
|
+
enableMicrophone(u27: boolean): void;
|
|
31
31
|
enableCameraMicrophoneToLastState(): void;
|
|
32
32
|
switchCamera(): void;
|
|
33
|
-
setLocalMirror(
|
|
34
|
-
setPushOrientation(
|
|
35
|
-
setupVideoRender(
|
|
36
|
-
removeVideoRender(
|
|
33
|
+
setLocalMirror(t27: boolean): void;
|
|
34
|
+
setPushOrientation(s27: PLVPushOrientation): void;
|
|
35
|
+
setupVideoRender(r27: PLVLinkMicVideoRenderParam): void;
|
|
36
|
+
removeVideoRender(q27: 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(u28: PLVLinkMicRepo);
|
|
12
12
|
init(): void;
|
|
13
|
-
setBitRate(
|
|
14
|
-
setPushResolutionRatio(
|
|
15
|
-
setPushOrientation(
|
|
16
|
-
setPushMirror(
|
|
17
|
-
setPushDowngradePreference(
|
|
13
|
+
setBitRate(s28: PLVLinkMicBitRate): void;
|
|
14
|
+
setPushResolutionRatio(r28: PLVLinkMicPushResolutionRatio): void;
|
|
15
|
+
setPushOrientation(q28: PLVPushOrientation): void;
|
|
16
|
+
setPushMirror(p28: boolean): void;
|
|
17
|
+
setPushDowngradePreference(o28: 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(h29: PLVLinkMicRepo);
|
|
8
|
+
onEventJoinRequest(e29: PLVLinkMicSocketJoinRequestRecv): void;
|
|
9
|
+
onEventJoinSuccess(a29: PLVLinkMicSocketJoinSuccessRecv): void;
|
|
10
|
+
onEventJoinLeave(v28: 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(q29: PLVLinkMicRepo);
|
|
13
13
|
init(): void;
|
|
14
14
|
joinChannel(): void;
|
|
15
15
|
leaveChannel(): void;
|
|
16
|
-
switchRole(
|
|
17
|
-
enableCamera(
|
|
18
|
-
enableMicrophone(
|
|
16
|
+
switchRole(n29: PLVRTCClientRole): void;
|
|
17
|
+
enableCamera(m29: boolean): void;
|
|
18
|
+
enableMicrophone(l29: boolean): void;
|
|
19
19
|
enableCameraMicrophoneToLastState(): void;
|
|
20
20
|
switchCamera(): void;
|
|
21
|
-
setLocalRenderMirror(
|
|
22
|
-
setupVideoRender(
|
|
23
|
-
removeVideoRender(
|
|
21
|
+
setLocalRenderMirror(k29: boolean): void;
|
|
22
|
+
setupVideoRender(j29: PLVLinkMicVideoRenderParam): void;
|
|
23
|
+
removeVideoRender(i29: PLVLinkMicVideoRenderParam): void;
|
|
24
24
|
onDestroy(): void;
|
|
25
25
|
private renewToken;
|
|
26
26
|
}
|