@polyvharmony/live-scenes-sdk 1.2.0 → 1.3.0-rc.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/BuildProfile.d.ets +2 -2
- package/BuildProfile.js +1 -1
- package/CHANGELOG.md +4 -0
- package/Index.d.ets +15 -4
- package/Index.js +13 -3
- package/ResourceTable.txt +72 -51
- package/oh-package.json5 +1 -1
- package/package.json +1 -1
- package/src/main/ets/common/PLVBaseModule.d.ets +1 -1
- package/src/main/ets/common/PLVBaseModule.js +2 -2
- package/src/main/ets/common/PLVChannelData.d.ets +48 -7
- package/src/main/ets/common/PLVChannelData.js +62 -28
- package/src/main/ets/common/PLVLiveSceneSDK.d.ets +9 -4
- package/src/main/ets/common/PLVLiveSceneSDK.js +14 -8
- package/src/main/ets/modules/business/PLVBusinessApiManager.js +8 -8
- package/src/main/ets/modules/chatroom/PLVChatroomManager.d.ets +20 -13
- package/src/main/ets/modules/chatroom/PLVChatroomManager.js +204 -232
- package/src/main/ets/modules/chatroom/handler/PLVChatroomBanIpMessageHandler.js +4 -4
- package/src/main/ets/modules/chatroom/handler/PLVChatroomBaseHandler.d.ets +1 -1
- package/src/main/ets/modules/chatroom/handler/PLVChatroomBaseHandler.js +2 -2
- package/src/main/ets/modules/chatroom/handler/PLVChatroomCancelTopHandler.js +2 -2
- package/src/main/ets/modules/chatroom/handler/PLVChatroomCloseRoomMessageHandler.js +3 -3
- package/src/main/ets/modules/chatroom/handler/PLVChatroomDataHandlerFactory.d.ets +1 -1
- package/src/main/ets/modules/chatroom/handler/PLVChatroomDataHandlerFactory.js +11 -11
- package/src/main/ets/modules/chatroom/handler/PLVChatroomFocusModeHandler.js +3 -3
- package/src/main/ets/modules/chatroom/handler/PLVChatroomLikesMessageHandler.js +4 -4
- package/src/main/ets/modules/chatroom/handler/PLVChatroomLoginMessageHandler.js +13 -13
- package/src/main/ets/modules/chatroom/handler/PLVChatroomLogoutMessageHandler.js +4 -4
- package/src/main/ets/modules/chatroom/handler/PLVChatroomOnSliceIdMessageHandler.js +6 -6
- package/src/main/ets/modules/chatroom/handler/PLVChatroomToTopHandler.js +3 -3
- package/src/main/ets/modules/chatroom/handler/PLVChatroomUnShieldMessageHandler.js +4 -4
- package/src/main/ets/modules/chatroom/model/IPLVIdEvent.js +4 -4
- package/src/main/ets/modules/chatroom/model/IPLVTimestampEvent.d.ets +6 -0
- package/src/main/ets/modules/chatroom/model/IPLVTimestampEvent.js +1 -0
- package/src/main/ets/modules/chatroom/model/PLVBulletinEvent.d.ets +1 -0
- package/src/main/ets/modules/chatroom/model/PLVChatImgContentBean.js +4 -4
- package/src/main/ets/modules/chatroom/model/PLVChatImgEvent.d.ets +3 -1
- package/src/main/ets/modules/chatroom/model/PLVChatImgEvent.js +15 -12
- package/src/main/ets/modules/chatroom/model/PLVChatQuoteDataBean.js +4 -4
- package/src/main/ets/modules/chatroom/model/PLVEmotionEvent.d.ets +3 -1
- package/src/main/ets/modules/chatroom/model/PLVEmotionEvent.js +16 -13
- package/src/main/ets/modules/chatroom/model/PLVEmotionImagesVO.js +4 -4
- package/src/main/ets/modules/chatroom/model/PLVHistoryChatImgEvent.d.ets +3 -1
- package/src/main/ets/modules/chatroom/model/PLVHistoryChatImgEvent.js +15 -12
- package/src/main/ets/modules/chatroom/model/PLVHistoryFileShareEvent.d.ets +3 -1
- package/src/main/ets/modules/chatroom/model/PLVHistoryFileShareEvent.js +15 -12
- package/src/main/ets/modules/chatroom/model/PLVHistorySpeakEvent.d.ets +3 -1
- package/src/main/ets/modules/chatroom/model/PLVHistorySpeakEvent.js +16 -13
- package/src/main/ets/modules/chatroom/model/PLVHistroyQuizListVO.js +3 -3
- package/src/main/ets/modules/chatroom/model/PLVImageBean.d.ets +3 -3
- package/src/main/ets/modules/chatroom/model/PLVImageBean.js +31 -31
- package/src/main/ets/modules/chatroom/model/PLVLikesEvent.js +4 -4
- package/src/main/ets/modules/chatroom/model/PLVLocalQuizEvent.d.ets +3 -1
- package/src/main/ets/modules/chatroom/model/PLVLocalQuizEvent.js +7 -4
- package/src/main/ets/modules/chatroom/model/PLVLocalSpeakEvent.d.ets +3 -1
- package/src/main/ets/modules/chatroom/model/PLVLocalSpeakEvent.js +14 -11
- package/src/main/ets/modules/chatroom/model/PLVNotSupportEvent.d.ets +6 -0
- package/src/main/ets/modules/chatroom/model/PLVNotSupportEvent.js +3 -0
- package/src/main/ets/modules/chatroom/model/PLVPPTShareFileDataBean.js +4 -4
- package/src/main/ets/modules/chatroom/model/PLVRewardEvent.d.ets +4 -1
- package/src/main/ets/modules/chatroom/model/PLVRewardEvent.js +7 -4
- package/src/main/ets/modules/chatroom/model/PLVSpeakEvent.d.ets +3 -1
- package/src/main/ets/modules/chatroom/model/PLVSpeakEvent.js +18 -15
- package/src/main/ets/modules/chatroom/model/PLVTAnswerEvent.d.ets +3 -1
- package/src/main/ets/modules/chatroom/model/PLVTAnswerEvent.js +10 -7
- package/src/main/ets/modules/chatroom/playback/PLVChatPlaybackManager.d.ets +2 -2
- package/src/main/ets/modules/chatroom/playback/PLVChatPlaybackManager.js +108 -108
- package/src/main/ets/modules/chatroom/playback/model/PLVChatPlaybackDataVO.d.ets +1 -1
- package/src/main/ets/modules/chatroom/playback/model/PLVChatPlaybackDataVO.js +11 -11
- package/src/main/ets/modules/chatroom/playback/model/PLVChatPlaybackOpenHelper.d.ets +4 -4
- package/src/main/ets/modules/chatroom/playback/model/PLVChatPlaybackOpenHelper.js +18 -18
- package/src/main/ets/modules/chatroom/playback/model/PLVChatPlaybackToTopVO.js +29 -29
- package/src/main/ets/modules/i18n/PLVI18NDataMapper.d.ets +4 -2
- package/src/main/ets/modules/i18n/PLVI18NDataMapper.js +35 -8
- package/src/main/ets/modules/i18n/PLVLanguageManager.js +5 -5
- package/src/main/ets/modules/interact/PLVInteractManager.d.ets +12 -4
- package/src/main/ets/modules/interact/PLVInteractManager.js +14 -8
- package/src/main/ets/modules/interact/PLVInteractWeb.d.ets +15 -8
- package/src/main/ets/modules/interact/PLVInteractWeb.js +129 -74
- package/src/main/ets/modules/interact/invitePoster/PLVInteractInvitePoster.d.ets +1 -1
- package/src/main/ets/modules/interact/invitePoster/PLVInteractInvitePoster.js +16 -16
- package/src/main/ets/modules/interact/model/PLVFunctionSwitchBean.d.ets +1 -1
- package/src/main/ets/modules/interact/model/PLVFunctionSwitchBean.js +2 -2
- package/src/main/ets/modules/interact/model/PLVInteractBean.d.ets +2 -0
- package/src/main/ets/modules/interact/pushcard/PLVPushCardManager.d.ets +2 -2
- package/src/main/ets/modules/interact/pushcard/PLVPushCardManager.js +16 -16
- package/src/main/ets/modules/interact/pushcard/repo/PLVCardLookTimeLocalRepository.d.ets +5 -0
- package/src/main/ets/modules/interact/pushcard/repo/PLVCardLookTimeLocalRepository.js +13 -0
- package/src/main/ets/modules/interact/redpack/model/PLVHistoryRedPaperEvent.d.ets +3 -1
- package/src/main/ets/modules/interact/redpack/model/PLVHistoryRedPaperEvent.js +7 -4
- package/src/main/ets/modules/interact/redpack/model/PLVRedPaperEvent.d.ets +3 -1
- package/src/main/ets/modules/interact/redpack/model/PLVRedPaperEvent.js +7 -4
- package/src/main/ets/modules/interact/redpack/model/PLVRedPaperResultEvent.d.ets +3 -1
- package/src/main/ets/modules/interact/redpack/model/PLVRedPaperResultEvent.js +11 -1
- package/src/main/ets/modules/linkmic/PLVLinkMicManager.d.ets +12 -12
- package/src/main/ets/modules/linkmic/PLVLinkMicManager.js +33 -33
- package/src/main/ets/modules/linkmic/mediator/PLVLinkMicMediator.d.ets +2 -2
- package/src/main/ets/modules/linkmic/mediator/PLVLinkMicMediator.js +10 -10
- package/src/main/ets/modules/linkmic/mediator/PLVLinkMicRTCEventCallback.d.ets +6 -6
- package/src/main/ets/modules/linkmic/mediator/PLVLinkMicRTCEventCallback.js +29 -29
- package/src/main/ets/modules/linkmic/model/PLVLinkMicRepo.d.ets +5 -5
- package/src/main/ets/modules/linkmic/model/PLVLinkMicRepo.js +52 -52
- package/src/main/ets/modules/linkmic/model/datasource/PLVLinkMicNetworkDataSource.d.ets +4 -4
- package/src/main/ets/modules/linkmic/model/datasource/PLVLinkMicNetworkDataSource.js +32 -32
- package/src/main/ets/modules/linkmic/model/vo/PLVLinkMicBitRate.js +7 -22
- package/src/main/ets/modules/linkmic/model/vo/PLVLinkMicBitRateEncodeParam.d.ets +1 -1
- package/src/main/ets/modules/linkmic/model/vo/PLVLinkMicBitRateEncodeParam.js +6 -6
- package/src/main/ets/modules/linkmic/model/vo/PLVLinkMicInteractEvent.d.ets +1 -1
- package/src/main/ets/modules/linkmic/model/vo/PLVLinkMicInteractEvent.js +2 -2
- package/src/main/ets/modules/linkmic/model/vo/PLVLinkMicMode.js +3 -3
- package/src/main/ets/modules/linkmic/model/vo/PLVLinkMicPushResolutionRatio.js +4 -20
- package/src/main/ets/modules/linkmic/model/vo/PLVLinkMicRTCType.js +2 -2
- package/src/main/ets/modules/linkmic/model/vo/PLVLinkMicState.js +6 -6
- package/src/main/ets/modules/linkmic/model/vo/PLVLinkMicVideoRenderParam.d.ets +1 -1
- package/src/main/ets/modules/linkmic/model/vo/PLVLinkMicVideoRenderParam.js +3 -3
- package/src/main/ets/modules/linkmic/model/vo/PLVLinkMicViewer.d.ets +1 -1
- package/src/main/ets/modules/linkmic/model/vo/PLVLinkMicViewer.js +5 -5
- package/src/main/ets/modules/linkmic/viewmodel/PLVLinkMicViewModel.d.ets +13 -13
- package/src/main/ets/modules/linkmic/viewmodel/PLVLinkMicViewModel.js +34 -34
- package/src/main/ets/modules/linkmic/viewmodel/usecase/LinkMicEncodeParamUseCase.d.ets +5 -5
- package/src/main/ets/modules/linkmic/viewmodel/usecase/LinkMicEncodeParamUseCase.js +13 -13
- package/src/main/ets/modules/linkmic/viewmodel/usecase/LinkMicHandleQueueOrderUseCase.d.ets +4 -4
- package/src/main/ets/modules/linkmic/viewmodel/usecase/LinkMicHandleQueueOrderUseCase.js +25 -25
- package/src/main/ets/modules/linkmic/viewmodel/usecase/LinkMicHandleRTCUseCase.d.ets +4 -4
- package/src/main/ets/modules/linkmic/viewmodel/usecase/LinkMicHandleRTCUseCase.js +13 -13
- package/src/main/ets/modules/linkmic/viewmodel/usecase/LinkMicHandleStateUseCase.d.ets +10 -10
- package/src/main/ets/modules/linkmic/viewmodel/usecase/LinkMicHandleStateUseCase.js +26 -26
- package/src/main/ets/modules/linkmic/viewmodel/usecase/LinkMicUpdateChannelViewerUseCase.d.ets +5 -5
- package/src/main/ets/modules/linkmic/viewmodel/usecase/LinkMicUpdateChannelViewerUseCase.js +128 -128
- package/src/main/ets/modules/linkmic/viewmodel/usecase/LinkMicViewLogUseCase.d.ets +1 -1
- package/src/main/ets/modules/linkmic/viewmodel/usecase/LinkMicViewLogUseCase.js +27 -27
- package/src/main/ets/modules/linkmic/viewmodel/usecase/PLVLinkMicUseCases.d.ets +1 -1
- package/src/main/ets/modules/linkmic/viewmodel/usecase/PLVLinkMicUseCases.js +7 -7
- package/src/main/ets/modules/linkmic/viewmodel/usecase/roles/guest/LinkMicGuestEncodeParamUseCase.d.ets +5 -5
- package/src/main/ets/modules/linkmic/viewmodel/usecase/roles/guest/LinkMicGuestEncodeParamUseCase.js +79 -79
- package/src/main/ets/modules/linkmic/viewmodel/usecase/roles/guest/LinkMicGuestHandleRTCUseCase.d.ets +4 -4
- package/src/main/ets/modules/linkmic/viewmodel/usecase/roles/guest/LinkMicGuestHandleRTCUseCase.js +26 -26
- package/src/main/ets/modules/linkmic/viewmodel/usecase/roles/guest/LinkMicGuestHandleStateUseCase.d.ets +10 -10
- package/src/main/ets/modules/linkmic/viewmodel/usecase/roles/guest/LinkMicGuestHandleStateUseCase.js +141 -141
- package/src/main/ets/modules/linkmic/viewmodel/usecase/roles/teacher/LinkMicTeacherEncodeParamUseCase.d.ets +5 -5
- package/src/main/ets/modules/linkmic/viewmodel/usecase/roles/teacher/LinkMicTeacherEncodeParamUseCase.js +79 -79
- package/src/main/ets/modules/linkmic/viewmodel/usecase/roles/teacher/LinkMicTeacherHandleRTCUseCase.d.ets +4 -4
- package/src/main/ets/modules/linkmic/viewmodel/usecase/roles/teacher/LinkMicTeacherHandleRTCUseCase.js +22 -22
- package/src/main/ets/modules/linkmic/viewmodel/usecase/roles/teacher/LinkMicTeacherHandleStateUseCase.d.ets +10 -10
- package/src/main/ets/modules/linkmic/viewmodel/usecase/roles/teacher/LinkMicTeacherHandleStateUseCase.js +111 -111
- package/src/main/ets/modules/linkmic/viewmodel/usecase/roles/viewer/LinkMicViewerEncodeParamUseCase.d.ets +5 -5
- package/src/main/ets/modules/linkmic/viewmodel/usecase/roles/viewer/LinkMicViewerEncodeParamUseCase.js +12 -12
- package/src/main/ets/modules/linkmic/viewmodel/usecase/roles/viewer/LinkMicViewerHandleRTCUseCase.d.ets +4 -4
- package/src/main/ets/modules/linkmic/viewmodel/usecase/roles/viewer/LinkMicViewerHandleRTCUseCase.js +31 -31
- package/src/main/ets/modules/linkmic/viewmodel/usecase/roles/viewer/LinkMicViewerHandleStateUseCase.d.ets +10 -10
- package/src/main/ets/modules/linkmic/viewmodel/usecase/roles/viewer/LinkMicViewerHandleStateUseCase.js +108 -108
- package/src/main/ets/modules/log/elog/PLVELogSender.d.ets +4 -4
- package/src/main/ets/modules/log/elog/PLVELogSender.js +11 -11
- package/src/main/ets/modules/log/elog/model/PLVELogDataBean.d.ets +1 -1
- package/src/main/ets/modules/log/elog/model/PLVELogDataBean.js +9 -9
- package/src/main/ets/modules/log/elog/model/PLVELogModuleConstants.js +8 -8
- package/src/main/ets/modules/login/PLVSceneLoginManager.d.ets +2 -2
- package/src/main/ets/modules/login/PLVSceneLoginManager.js +71 -71
- package/src/main/ets/modules/login/model/PLVChatDomainVO.d.ets +3 -2
- package/src/main/ets/modules/login/model/PLVChatDomainVO.js +7 -4
- package/src/main/ets/modules/login/model/PLVLiveChannelType.js +9 -9
- package/src/main/ets/modules/login/model/PLVLiveDetailVO.d.ets +7 -1
- package/src/main/ets/modules/login/model/PLVLiveDetailVO.js +26 -10
- package/src/main/ets/modules/login/model/PLVLiveStatus.js +9 -9
- package/src/main/ets/modules/login/model/PLVLiveStatusVO.js +6 -6
- package/src/main/ets/modules/login/model/PLVLoginLiveResult.d.ets +1 -1
- package/src/main/ets/modules/login/model/PLVLoginLiveResult.js +4 -4
- package/src/main/ets/modules/login/model/PLVLoginPlaybackResult.d.ets +1 -1
- package/src/main/ets/modules/login/model/PLVLoginPlaybackResult.js +5 -5
- package/src/main/ets/modules/login/model/PLVLoginType.d.ets +6 -1
- package/src/main/ets/modules/login/model/PLVLoginType.js +27 -6
- package/src/main/ets/modules/member/PLVMemberManager.d.ets +3 -3
- package/src/main/ets/modules/member/PLVMemberManager.js +10 -10
- package/src/main/ets/modules/member/mediator/PLVMemberMediator.d.ets +2 -2
- package/src/main/ets/modules/member/mediator/PLVMemberMediator.js +6 -6
- package/src/main/ets/modules/member/model/PLVMemberRepo.d.ets +2 -2
- package/src/main/ets/modules/member/model/PLVMemberRepo.js +7 -7
- package/src/main/ets/modules/member/model/datasource/PLVMemberNetworkDataSource.d.ets +2 -2
- package/src/main/ets/modules/member/model/datasource/PLVMemberNetworkDataSource.js +7 -7
- package/src/main/ets/modules/member/model/vo/PLVMemberChannelViewer.d.ets +1 -1
- package/src/main/ets/modules/member/model/vo/PLVMemberChannelViewer.js +3 -3
- package/src/main/ets/modules/member/viewmodel/PLVMemberViewModel.d.ets +3 -3
- package/src/main/ets/modules/member/viewmodel/PLVMemberViewModel.js +15 -15
- package/src/main/ets/modules/member/viewmodel/usecase/MemberHandleStateUseCase.d.ets +6 -6
- package/src/main/ets/modules/member/viewmodel/usecase/MemberHandleStateUseCase.js +16 -16
- package/src/main/ets/modules/member/viewmodel/usecase/MemberUpdateViewerUseCase.d.ets +8 -8
- package/src/main/ets/modules/member/viewmodel/usecase/MemberUpdateViewerUseCase.js +19 -19
- package/src/main/ets/modules/member/viewmodel/usecase/PLVMemberUseCases.d.ets +1 -1
- package/src/main/ets/modules/member/viewmodel/usecase/PLVMemberUseCases.js +3 -3
- 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/MemberGuestHandleStateUseCase.js +60 -60
- package/src/main/ets/modules/member/viewmodel/usecase/roles/guest/MemberGuestUpdateViewerUseCase.d.ets +8 -8
- package/src/main/ets/modules/member/viewmodel/usecase/roles/guest/MemberGuestUpdateViewerUseCase.js +207 -207
- 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/MemberTeacherHandleStateUseCase.js +131 -131
- package/src/main/ets/modules/member/viewmodel/usecase/roles/teacher/MemberTeacherUpdateViewerUseCase.d.ets +8 -8
- package/src/main/ets/modules/member/viewmodel/usecase/roles/teacher/MemberTeacherUpdateViewerUseCase.js +207 -207
- package/src/main/ets/modules/net/PLVApiChatPlvNetApi.d.ets +11 -8
- package/src/main/ets/modules/net/PLVApiChatPlvNetApi.js +47 -27
- package/src/main/ets/modules/net/PLVApiPlvNetApi.d.ets +30 -28
- package/src/main/ets/modules/net/PLVApiPlvNetApi.js +117 -100
- package/src/main/ets/modules/net/PLVELogPlvNetApi.d.ets +2 -2
- package/src/main/ets/modules/net/PLVELogPlvNetApi.js +4 -4
- package/src/main/ets/modules/net/PLVLiveImagesVideoNetApi.d.ets +3 -3
- package/src/main/ets/modules/net/PLVLiveImagesVideoNetApi.js +7 -7
- package/src/main/ets/modules/net/PLVNGBPushApi.d.ets +2 -2
- package/src/main/ets/modules/net/PLVNGBPushApi.js +4 -4
- package/src/main/ets/modules/net/PLVRtasVideoNetApi.d.ets +2 -2
- package/src/main/ets/modules/net/PLVRtasVideoNetApi.js +4 -4
- package/src/main/ets/modules/net/vo/PLVNetworkQuality.js +8 -8
- package/src/main/ets/modules/player/PLVPlayerManager.d.ets +3 -1
- package/src/main/ets/modules/player/PLVPlayerManager.js +26 -20
- package/src/main/ets/modules/player/PLVPlayerMediator.d.ets +8 -1
- package/src/main/ets/modules/player/PLVPlayerMediator.js +32 -2
- package/src/main/ets/modules/player/playback/PLVChapterDataVO.d.ets +10 -0
- package/src/main/ets/modules/player/playback/PLVChapterDataVO.js +2 -0
- package/src/main/ets/modules/player/playback/PLVPlaybackListType.js +4 -4
- package/src/main/ets/modules/player/playback/PLVPreviousListVO.d.ets +48 -0
- package/src/main/ets/modules/player/playback/PLVPreviousListVO.js +21 -0
- package/src/main/ets/modules/player/playback/PLVPreviousManager.d.ets +73 -0
- package/src/main/ets/modules/player/playback/PLVPreviousManager.js +164 -0
- package/src/main/ets/modules/ppt/PLVPPTWeb.d.ets +15 -0
- package/src/main/ets/modules/ppt/PLVPPTWeb.js +97 -0
- package/src/main/ets/modules/ppt/PLVPPTWebController.d.ets +29 -0
- package/src/main/ets/modules/ppt/PLVPPTWebController.js +220 -0
- package/src/main/ets/modules/ppt/model/PLVPPTSocketEvent.d.ets +5 -0
- package/src/main/ets/modules/ppt/model/PLVPPTSocketEvent.js +7 -0
- package/src/main/ets/modules/ppt/model/PLVPPTStatus.d.ets +17 -0
- package/src/main/ets/modules/ppt/model/PLVPPTStatus.js +2 -0
- package/src/main/ets/modules/product/PLVProductManager.d.ets +5 -5
- package/src/main/ets/modules/product/PLVProductManager.js +54 -45
- package/src/main/ets/modules/product/components/PLVProductControlWeb.d.ets +5 -2
- package/src/main/ets/modules/product/components/PLVProductControlWeb.js +61 -29
- package/src/main/ets/modules/product/components/PLVProductWeb.d.ets +5 -2
- package/src/main/ets/modules/product/components/PLVProductWeb.js +64 -34
- package/src/main/ets/modules/product/model/PLVProductContentBean.d.ets +4 -0
- package/src/main/ets/modules/product/model/PLVProductContentBean.js +11 -7
- package/src/main/ets/modules/product/model/PLVProductControlEvent.js +8 -8
- package/src/main/ets/modules/product/model/PLVProductDataBean.d.ets +1 -1
- package/src/main/ets/modules/product/model/PLVProductDataBean.js +13 -13
- package/src/main/ets/modules/product/model/PLVProductEvent.d.ets +1 -0
- package/src/main/ets/modules/product/model/PLVProductEvent.js +12 -9
- package/src/main/ets/modules/redpack/PLVRedpackManager.d.ets +9 -9
- package/src/main/ets/modules/redpack/PLVRedpackManager.js +61 -61
- package/src/main/ets/modules/redpack/database/PLVRedpackCacheVO.d.ets +1 -1
- package/src/main/ets/modules/redpack/database/PLVRedpackCacheVO.js +10 -10
- package/src/main/ets/modules/redpack/database/PLVRedpackLocalDataSource.d.ets +3 -3
- package/src/main/ets/modules/redpack/database/PLVRedpackLocalDataSource.js +18 -18
- package/src/main/ets/modules/redpack/database/PLVRedpackOpenHelper.d.ets +3 -3
- package/src/main/ets/modules/redpack/database/PLVRedpackOpenHelper.js +4 -4
- package/src/main/ets/modules/reward/PLVRewardManager.d.ets +2 -2
- package/src/main/ets/modules/reward/PLVRewardManager.js +18 -18
- package/src/main/ets/modules/reward/model/PLVRewardSettingVO.js +8 -8
- package/src/main/ets/modules/socket/PLVSocketManager.d.ets +13 -7
- package/src/main/ets/modules/socket/PLVSocketManager.js +73 -68
- package/src/main/ets/modules/socket/PLVSocketMediator.d.ets +7 -5
- package/src/main/ets/modules/socket/PLVSocketMediator.js +16 -10
- package/src/main/ets/modules/socket/model/PLVOnSliceIDEvent.d.ets +4 -2
- package/src/main/ets/modules/socket/model/PLVSocketEventConstants.d.ets +8 -0
- package/src/main/ets/modules/socket/model/PLVSocketEventConstants.js +10 -1
- package/src/main/ets/modules/socket/model/PLVSocketUserBean.d.ets +3 -3
- package/src/main/ets/modules/socket/model/PLVSocketUserBean.js +12 -12
- package/src/main/ets/modules/socket/model/PLVUserType.js +15 -15
- package/src/main/ets/modules/socket/model/interact/PLVCallAppEvent.js +5 -5
- package/src/main/ets/modules/socket/model/redpack/RedPaperReceiveType.d.ets +3 -3
- package/src/main/ets/modules/socket/model/redpack/RedPaperReceiveType.js +13 -13
- package/src/main/ets/modules/streamer/PLVStreamerManager.d.ets +5 -5
- package/src/main/ets/modules/streamer/PLVStreamerManager.js +18 -18
- package/src/main/ets/modules/streamer/mediator/PLVStreamerMediator.d.ets +1 -1
- package/src/main/ets/modules/streamer/mediator/PLVStreamerMediator.js +2 -2
- package/src/main/ets/modules/streamer/model/PLVStreamerRepo.d.ets +3 -3
- package/src/main/ets/modules/streamer/model/PLVStreamerRepo.js +30 -30
- package/src/main/ets/modules/streamer/model/datasource/PLVStreamerLocalDataSource.d.ets +2 -2
- package/src/main/ets/modules/streamer/model/datasource/PLVStreamerLocalDataSource.js +8 -8
- package/src/main/ets/modules/streamer/model/datasource/PLVStreamerNetworkDataSource.d.ets +7 -7
- package/src/main/ets/modules/streamer/model/datasource/PLVStreamerNetworkDataSource.js +32 -32
- package/src/main/ets/modules/streamer/model/vo/PLVStreamerMixActionVO.js +15 -15
- package/src/main/ets/modules/streamer/model/vo/PLVStreamerMixLayoutType.js +4 -4
- package/src/main/ets/modules/streamer/model/vo/PLVStreamerState.js +4 -4
- package/src/main/ets/modules/streamer/viewmodel/PLVStreamerViewModel.d.ets +5 -5
- package/src/main/ets/modules/streamer/viewmodel/PLVStreamerViewModel.js +14 -14
- package/src/main/ets/modules/streamer/viewmodel/usecase/PLVStreamerUseCases.d.ets +1 -1
- package/src/main/ets/modules/streamer/viewmodel/usecase/PLVStreamerUseCases.js +3 -3
- package/src/main/ets/modules/streamer/viewmodel/usecase/StreamerHandleStateUseCase.d.ets +1 -1
- package/src/main/ets/modules/streamer/viewmodel/usecase/StreamerHandleStateUseCase.js +6 -6
- package/src/main/ets/modules/streamer/viewmodel/usecase/StreamerMixStreamUseCase.d.ets +2 -2
- package/src/main/ets/modules/streamer/viewmodel/usecase/StreamerMixStreamUseCase.js +7 -7
- package/src/main/ets/modules/streamer/viewmodel/usecase/roles/guest/StreamerGuestHandleStateUseCase.d.ets +1 -1
- package/src/main/ets/modules/streamer/viewmodel/usecase/roles/guest/StreamerGuestHandleStateUseCase.js +27 -27
- package/src/main/ets/modules/streamer/viewmodel/usecase/roles/guest/StreamerGuestMixStreamUseCase.d.ets +2 -2
- package/src/main/ets/modules/streamer/viewmodel/usecase/roles/guest/StreamerGuestMixStreamUseCase.js +3 -3
- package/src/main/ets/modules/streamer/viewmodel/usecase/roles/teacher/StreamerTeacherHandleStateUseCase.d.ets +1 -1
- package/src/main/ets/modules/streamer/viewmodel/usecase/roles/teacher/StreamerTeacherHandleStateUseCase.js +14 -14
- package/src/main/ets/modules/streamer/viewmodel/usecase/roles/teacher/StreamerTeacherMixStreamUseCase.d.ets +2 -2
- package/src/main/ets/modules/streamer/viewmodel/usecase/roles/teacher/StreamerTeacherMixStreamUseCase.js +41 -41
- package/src/main/ets/modules/web/PLVSocketWebController.d.ets +3 -2
- package/src/main/ets/modules/web/PLVSocketWebController.js +28 -16
- package/src/main/ets/modules/web/PLVWebControllerManager.d.ets +10 -2
- package/src/main/ets/modules/web/PLVWebControllerManager.js +10 -5
- package/src/main/ets/modules/web/PLVWebParams.d.ets +2 -1
- package/src/main/ets/modules/web/PLVWebParams.js +21 -20
- package/src/main/ets/modules/web/qa/PLVQAWeb.d.ets +16 -0
- package/src/main/ets/modules/web/qa/PLVQAWeb.js +120 -0
- package/src/main/ets/modules/web/tuwen/PLVTuwenWeb.d.ets +17 -0
- package/src/main/ets/modules/web/tuwen/PLVTuwenWeb.js +129 -0
- package/src/main/module.json +1 -28
- package/src/main/resources/base/element/string.json +80 -0
- package/src/main/resources/en_US/element/string.json +80 -0
- package/src/main/resources/zh_CN/element/string.json +80 -0
package/BuildProfile.d.ets
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Use these variables when you tailor your ArkTS code. They must be of the const type.
|
|
3
3
|
*/
|
|
4
|
-
export declare const HAR_VERSION = "1.
|
|
4
|
+
export declare const HAR_VERSION = "1.3.0-rc.1";
|
|
5
5
|
export declare const BUILD_MODE_NAME = "release";
|
|
6
6
|
export declare const DEBUG = false;
|
|
7
7
|
export declare const TARGET_NAME = "default";
|
|
@@ -9,7 +9,7 @@ export declare const TARGET_NAME = "default";
|
|
|
9
9
|
* BuildProfile Class is used only for compatibility purposes.
|
|
10
10
|
*/
|
|
11
11
|
export default class BuildProfile {
|
|
12
|
-
static readonly HAR_VERSION = "1.
|
|
12
|
+
static readonly HAR_VERSION = "1.3.0-rc.1";
|
|
13
13
|
static readonly BUILD_MODE_NAME = "release";
|
|
14
14
|
static readonly DEBUG = false;
|
|
15
15
|
static readonly TARGET_NAME = "default";
|
package/BuildProfile.js
CHANGED
package/CHANGELOG.md
CHANGED
package/Index.d.ets
CHANGED
|
@@ -3,6 +3,7 @@ export { PLVChannelData } from './src/main/ets/common/PLVChannelData';
|
|
|
3
3
|
export { PLVLiveSceneSDK } from './src/main/ets/common/PLVLiveSceneSDK';
|
|
4
4
|
export { PLVBusinessApiManager } from './src/main/ets/modules/business/PLVBusinessApiManager';
|
|
5
5
|
export { IPLVIdEvent, IPLVCanReplyEvent, IPLVCanOverFoldingEvent, IPLVCanOverLenEvent, PLVBaseIdEvent, PLVBaseIdUserEvent } from './src/main/ets/modules/chatroom/model/IPLVIdEvent';
|
|
6
|
+
export { IPLVTimestampEvent } from './src/main/ets/modules/chatroom/model/IPLVTimestampEvent';
|
|
6
7
|
export { PLVBulletinEvent } from './src/main/ets/modules/chatroom/model/PLVBulletinEvent';
|
|
7
8
|
export { PLVCancelTopEvent } from './src/main/ets/modules/chatroom/model/PLVCancelTopEvent';
|
|
8
9
|
export { PLVChatImgContentBean, PLVSizeBean } from './src/main/ets/modules/chatroom/model/PLVChatImgContentBean';
|
|
@@ -19,6 +20,7 @@ export { PLVImageBean } from './src/main/ets/modules/chatroom/model/PLVImageBean
|
|
|
19
20
|
export { PLVLocalQuizEvent, PLVLocalQuizPromptEvent } from './src/main/ets/modules/chatroom/model/PLVLocalQuizEvent';
|
|
20
21
|
export { PLVLoginEvent } from './src/main/ets/modules/chatroom/model/PLVLoginEvent';
|
|
21
22
|
export { PLVLogoutEvent } from './src/main/ets/modules/chatroom/model/PLVLogoutEvent';
|
|
23
|
+
export { PLVNotSupportEvent } from './src/main/ets/modules/chatroom/model/PLVNotSupportEvent';
|
|
22
24
|
export { PLVPPTShareFileDataBean } from './src/main/ets/modules/chatroom/model/PLVPPTShareFileDataBean';
|
|
23
25
|
export { PLVRemoveBulletinEvent } from './src/main/ets/modules/chatroom/model/PLVRemoveBulletinEvent';
|
|
24
26
|
export { PLVRemoveContentEvent } from './src/main/ets/modules/chatroom/model/PLVRemoveContentEvent';
|
|
@@ -29,9 +31,9 @@ export { PLVTAnswerEvent } from './src/main/ets/modules/chatroom/model/PLVTAnswe
|
|
|
29
31
|
export { PLVToTopEvent } from './src/main/ets/modules/chatroom/model/PLVToTopEvent';
|
|
30
32
|
export { PLVChatPlaybackDataVO } from './src/main/ets/modules/chatroom/playback/model/PLVChatPlaybackDataVO';
|
|
31
33
|
export { PLVChatPlaybackOpenHelper, PLVChatPlaybackDataSource } from './src/main/ets/modules/chatroom/playback/model/PLVChatPlaybackOpenHelper';
|
|
32
|
-
export { PLVChatPlaybackManager
|
|
34
|
+
export { PLVChatPlaybackManager } from './src/main/ets/modules/chatroom/playback/PLVChatPlaybackManager';
|
|
33
35
|
export { PLVChatroomManager, PLVChatroomErrorCode, PLVChatroomError } from './src/main/ets/modules/chatroom/PLVChatroomManager';
|
|
34
|
-
export { PLVLanguageManager } from './src/main/ets/modules/i18n/PLVLanguageManager';
|
|
36
|
+
export { PLVLanguageManager, PLVLanguage } from './src/main/ets/modules/i18n/PLVLanguageManager';
|
|
35
37
|
export { PLVI18NDataMapper } from './src/main/ets/modules/i18n/PLVI18NDataMapper';
|
|
36
38
|
export { PLVInteractManager } from './src/main/ets/modules/interact/PLVInteractManager';
|
|
37
39
|
export { PLVFunctionSwitchBean } from './src/main/ets/modules/interact/model/PLVFunctionSwitchBean';
|
|
@@ -41,6 +43,7 @@ export { PLVRedPaperForDelayEvent } from './src/main/ets/modules/interact/redpac
|
|
|
41
43
|
export { PLVRedPaperResultEvent } from './src/main/ets/modules/interact/redpack/model/PLVRedPaperResultEvent';
|
|
42
44
|
export { PLVSocketPushCardEvent } from './src/main/ets/modules/socket/model/PLVSocketEventConstants';
|
|
43
45
|
export { PLVNewsPushEvent } from './src/main/ets/modules/interact/pushcard/model/PLVNewsPushEvent';
|
|
46
|
+
export * from './src/main/ets/modules/interact/pushcard/repo/PLVCardLookTimeLocalRepository';
|
|
44
47
|
export { PLVInteractInfo, PLVLotteryDataBean } from './src/main/ets/modules/interact/model/info/PLVInteractInfo';
|
|
45
48
|
export { IPLVInteractView, PLVInteractDataBean } from './src/main/ets/modules/interact/model/PLVInteractBean';
|
|
46
49
|
export { PLVChatFunctionSwitchVO } from './src/main/ets/modules/login/model/PLVChatFunctionSwitchVO';
|
|
@@ -51,10 +54,10 @@ export { PLVELogDataBean, PLVLogFileBean, PLVELogPartData } from './src/main/ets
|
|
|
51
54
|
export { PLVELogModuleName } from './src/main/ets/modules/log/elog/model/PLVELogModuleConstants';
|
|
52
55
|
export { PLVELogSender } from './src/main/ets/modules/log/elog/PLVELogSender';
|
|
53
56
|
export { PLVLiveChannelType } from './src/main/ets/modules/login/model/PLVLiveChannelType';
|
|
54
|
-
export { PLVLiveDetailVO, ChannelMenusBean } from './src/main/ets/modules/login/model/PLVLiveDetailVO';
|
|
57
|
+
export { PLVLiveDetailVO, ChannelMenusBean, MenuType } from './src/main/ets/modules/login/model/PLVLiveDetailVO';
|
|
55
58
|
export { PLVLoginLiveResult } from './src/main/ets/modules/login/model/PLVLoginLiveResult';
|
|
56
59
|
export { PLVLoginPlaybackResult } from './src/main/ets/modules/login/model/PLVLoginPlaybackResult';
|
|
57
|
-
export { PLVLoginType, PLVLiveScene } from './src/main/ets/modules/login/model/PLVLoginType';
|
|
60
|
+
export { PLVLoginType, PLVLiveScene, getBusinessValue, isSupportChannelType } from './src/main/ets/modules/login/model/PLVLoginType';
|
|
58
61
|
export { PLVSceneLoginManager } from './src/main/ets/modules/login/PLVSceneLoginManager';
|
|
59
62
|
export * from './src/main/ets/modules/login/model/PLVLoginStreamerVO';
|
|
60
63
|
export * from './src/main/ets/modules/net/vo/PLVNetworkQuality';
|
|
@@ -63,6 +66,12 @@ export { PLVApiPlvNetApi, apiPlvNetApi } from './src/main/ets/modules/net/PLVApi
|
|
|
63
66
|
export { PLVApiChatPlvNetApi, apiChatPlvNetApi } from './src/main/ets/modules/net/PLVApiChatPlvNetApi';
|
|
64
67
|
export { PLVELogPlvNetApi, eLogPlvNetApi } from './src/main/ets/modules/net/PLVELogPlvNetApi';
|
|
65
68
|
export { PLVLiveImagesVideoNetApi, apiPlvLiveImagesApi } from './src/main/ets/modules/net/PLVLiveImagesVideoNetApi';
|
|
69
|
+
export { PLVChapterDataVO } from './src/main/ets/modules/player/playback/PLVChapterDataVO';
|
|
70
|
+
export { PLVPreviousListVO, PLVPreviousContent } from './src/main/ets/modules/player/playback/PLVPreviousListVO';
|
|
71
|
+
export { PLVPreviousManager, PLVSelPreviousData, PLVSelChapterData } from './src/main/ets/modules/player/playback/PLVPreviousManager';
|
|
72
|
+
export { PLVPPTStatus, MaxTeacherOp } from './src/main/ets/modules/ppt/model/PLVPPTStatus';
|
|
73
|
+
export { PLVPPTWeb } from './src/main/ets/modules/ppt/PLVPPTWeb';
|
|
74
|
+
export { PLVPPTWebController, ChangePPTType } from './src/main/ets/modules/ppt/PLVPPTWebController';
|
|
66
75
|
export { PLVProductWeb, EVENT_TYPE_CLICK_PRODUCT_BUTTON } from './src/main/ets/modules/product/components/PLVProductWeb';
|
|
67
76
|
export { PLVProductControlWeb } from './src/main/ets/modules/product/components/PLVProductControlWeb';
|
|
68
77
|
export { PLVProductContentBean } from './src/main/ets/modules/product/model/PLVProductContentBean';
|
|
@@ -91,6 +100,8 @@ export { PLVUserConstants } from './src/main/ets/modules/socket/model/PLVUserCon
|
|
|
91
100
|
export { PLVUserType } from './src/main/ets/modules/socket/model/PLVUserType';
|
|
92
101
|
export { PLVSocketManager, PLVSocketStatus, PLVSocketStatusSup } from './src/main/ets/modules/socket/PLVSocketManager';
|
|
93
102
|
export { PLVSocketEvent } from './src/main/ets/modules/socket/model/PLVSocketEvent';
|
|
103
|
+
export { PLVQAWeb } from './src/main/ets/modules/web/qa/PLVQAWeb';
|
|
104
|
+
export { PLVTuwenWeb } from './src/main/ets/modules/web/tuwen/PLVTuwenWeb';
|
|
94
105
|
export { PLVSocketWebController } from './src/main/ets/modules/web/PLVSocketWebController';
|
|
95
106
|
export { PLVWebControllerManager } from './src/main/ets/modules/web/PLVWebControllerManager';
|
|
96
107
|
export { PLVWebParams, toWebParams } from './src/main/ets/modules/web/PLVWebParams';
|
package/Index.js
CHANGED
|
@@ -19,6 +19,7 @@ export { PLVImageBean } from './src/main/ets/modules/chatroom/model/PLVImageBean
|
|
|
19
19
|
export { PLVLocalQuizEvent, PLVLocalQuizPromptEvent } from './src/main/ets/modules/chatroom/model/PLVLocalQuizEvent';
|
|
20
20
|
export { PLVLoginEvent } from './src/main/ets/modules/chatroom/model/PLVLoginEvent';
|
|
21
21
|
export { PLVLogoutEvent } from './src/main/ets/modules/chatroom/model/PLVLogoutEvent';
|
|
22
|
+
export { PLVNotSupportEvent } from './src/main/ets/modules/chatroom/model/PLVNotSupportEvent';
|
|
22
23
|
export { PLVPPTShareFileDataBean } from './src/main/ets/modules/chatroom/model/PLVPPTShareFileDataBean';
|
|
23
24
|
export { PLVRemoveBulletinEvent } from './src/main/ets/modules/chatroom/model/PLVRemoveBulletinEvent';
|
|
24
25
|
export { PLVRemoveContentEvent } from './src/main/ets/modules/chatroom/model/PLVRemoveContentEvent';
|
|
@@ -31,7 +32,7 @@ export { PLVChatPlaybackDataVO } from './src/main/ets/modules/chatroom/playback/
|
|
|
31
32
|
export { PLVChatPlaybackOpenHelper, PLVChatPlaybackDataSource } from './src/main/ets/modules/chatroom/playback/model/PLVChatPlaybackOpenHelper';
|
|
32
33
|
export { PLVChatPlaybackManager } from './src/main/ets/modules/chatroom/playback/PLVChatPlaybackManager';
|
|
33
34
|
export { PLVChatroomManager, PLVChatroomErrorCode, PLVChatroomError } from './src/main/ets/modules/chatroom/PLVChatroomManager';
|
|
34
|
-
export { PLVLanguageManager } from './src/main/ets/modules/i18n/PLVLanguageManager';
|
|
35
|
+
export { PLVLanguageManager, PLVLanguage } from './src/main/ets/modules/i18n/PLVLanguageManager';
|
|
35
36
|
export { PLVI18NDataMapper } from './src/main/ets/modules/i18n/PLVI18NDataMapper';
|
|
36
37
|
export { PLVInteractManager } from './src/main/ets/modules/interact/PLVInteractManager';
|
|
37
38
|
export { PLVFunctionSwitchBean } from './src/main/ets/modules/interact/model/PLVFunctionSwitchBean';
|
|
@@ -41,6 +42,7 @@ export { PLVRedPaperForDelayEvent } from './src/main/ets/modules/interact/redpac
|
|
|
41
42
|
export { PLVRedPaperResultEvent } from './src/main/ets/modules/interact/redpack/model/PLVRedPaperResultEvent';
|
|
42
43
|
export { PLVSocketPushCardEvent } from './src/main/ets/modules/socket/model/PLVSocketEventConstants';
|
|
43
44
|
export { PLVNewsPushEvent } from './src/main/ets/modules/interact/pushcard/model/PLVNewsPushEvent';
|
|
45
|
+
export * from './src/main/ets/modules/interact/pushcard/repo/PLVCardLookTimeLocalRepository';
|
|
44
46
|
export { PLVInteractInfo, PLVLotteryDataBean } from './src/main/ets/modules/interact/model/info/PLVInteractInfo';
|
|
45
47
|
export { IPLVInteractView, PLVInteractDataBean } from './src/main/ets/modules/interact/model/PLVInteractBean';
|
|
46
48
|
export { PLVChatFunctionSwitchVO } from './src/main/ets/modules/login/model/PLVChatFunctionSwitchVO';
|
|
@@ -51,10 +53,10 @@ export { PLVELogDataBean, PLVLogFileBean, PLVELogPartData } from './src/main/ets
|
|
|
51
53
|
export { PLVELogModuleName } from './src/main/ets/modules/log/elog/model/PLVELogModuleConstants';
|
|
52
54
|
export { PLVELogSender } from './src/main/ets/modules/log/elog/PLVELogSender';
|
|
53
55
|
export { PLVLiveChannelType } from './src/main/ets/modules/login/model/PLVLiveChannelType';
|
|
54
|
-
export { PLVLiveDetailVO } from './src/main/ets/modules/login/model/PLVLiveDetailVO';
|
|
56
|
+
export { PLVLiveDetailVO, MenuType } from './src/main/ets/modules/login/model/PLVLiveDetailVO';
|
|
55
57
|
export { PLVLoginLiveResult } from './src/main/ets/modules/login/model/PLVLoginLiveResult';
|
|
56
58
|
export { PLVLoginPlaybackResult } from './src/main/ets/modules/login/model/PLVLoginPlaybackResult';
|
|
57
|
-
export { PLVLoginType, PLVLiveScene } from './src/main/ets/modules/login/model/PLVLoginType';
|
|
59
|
+
export { PLVLoginType, PLVLiveScene, getBusinessValue, isSupportChannelType } from './src/main/ets/modules/login/model/PLVLoginType';
|
|
58
60
|
export { PLVSceneLoginManager } from './src/main/ets/modules/login/PLVSceneLoginManager';
|
|
59
61
|
export * from './src/main/ets/modules/login/model/PLVLoginStreamerVO';
|
|
60
62
|
export * from './src/main/ets/modules/net/vo/PLVNetworkQuality';
|
|
@@ -63,6 +65,12 @@ export { PLVApiPlvNetApi, apiPlvNetApi } from './src/main/ets/modules/net/PLVApi
|
|
|
63
65
|
export { PLVApiChatPlvNetApi, apiChatPlvNetApi } from './src/main/ets/modules/net/PLVApiChatPlvNetApi';
|
|
64
66
|
export { PLVELogPlvNetApi, eLogPlvNetApi } from './src/main/ets/modules/net/PLVELogPlvNetApi';
|
|
65
67
|
export { PLVLiveImagesVideoNetApi, apiPlvLiveImagesApi } from './src/main/ets/modules/net/PLVLiveImagesVideoNetApi';
|
|
68
|
+
export { PLVChapterDataVO } from './src/main/ets/modules/player/playback/PLVChapterDataVO';
|
|
69
|
+
export { PLVPreviousListVO, PLVPreviousContent } from './src/main/ets/modules/player/playback/PLVPreviousListVO';
|
|
70
|
+
export { PLVPreviousManager, PLVSelPreviousData, PLVSelChapterData } from './src/main/ets/modules/player/playback/PLVPreviousManager';
|
|
71
|
+
export { PLVPPTStatus } from './src/main/ets/modules/ppt/model/PLVPPTStatus';
|
|
72
|
+
export { PLVPPTWeb } from './src/main/ets/modules/ppt/PLVPPTWeb';
|
|
73
|
+
export { PLVPPTWebController } from './src/main/ets/modules/ppt/PLVPPTWebController';
|
|
66
74
|
export { PLVProductWeb, EVENT_TYPE_CLICK_PRODUCT_BUTTON } from './src/main/ets/modules/product/components/PLVProductWeb';
|
|
67
75
|
export { PLVProductControlWeb } from './src/main/ets/modules/product/components/PLVProductControlWeb';
|
|
68
76
|
export { PLVProductContentBean } from './src/main/ets/modules/product/model/PLVProductContentBean';
|
|
@@ -90,6 +98,8 @@ export { PLVUserConstants } from './src/main/ets/modules/socket/model/PLVUserCon
|
|
|
90
98
|
export { PLVUserType } from './src/main/ets/modules/socket/model/PLVUserType';
|
|
91
99
|
export { PLVSocketManager, PLVSocketStatus, PLVSocketStatusSup } from './src/main/ets/modules/socket/PLVSocketManager';
|
|
92
100
|
export { PLVSocketEvent } from './src/main/ets/modules/socket/model/PLVSocketEvent';
|
|
101
|
+
export { PLVQAWeb } from './src/main/ets/modules/web/qa/PLVQAWeb';
|
|
102
|
+
export { PLVTuwenWeb } from './src/main/ets/modules/web/tuwen/PLVTuwenWeb';
|
|
93
103
|
export { PLVSocketWebController } from './src/main/ets/modules/web/PLVSocketWebController';
|
|
94
104
|
export { PLVWebControllerManager } from './src/main/ets/modules/web/PLVWebControllerManager';
|
|
95
105
|
export { PLVWebParams, toWebParams } from './src/main/ets/modules/web/PLVWebParams';
|
package/ResourceTable.txt
CHANGED
|
@@ -1,51 +1,72 @@
|
|
|
1
|
-
string lib_name
|
|
2
|
-
string page_show
|
|
3
|
-
string plv_live_scenes_sdk_red_paper_alipay
|
|
4
|
-
string plv_live_scenes_sdk_red_paper_blessing_message
|
|
5
|
-
string plv_live_scenes_sdk_red_paper_blessing_message_alipay
|
|
6
|
-
string plv_live_scenes_sdk_red_paper_name
|
|
7
|
-
string plv_live_scenes_sdk_reward_exception_point_abnormality
|
|
8
|
-
string plv_live_scenes_sdk_reward_exception_point_insufficiency
|
|
9
|
-
string plv_live_scenes_sdk_reward_name_applause
|
|
10
|
-
string plv_live_scenes_sdk_reward_name_bear
|
|
11
|
-
string plv_live_scenes_sdk_reward_name_cars
|
|
12
|
-
string plv_live_scenes_sdk_reward_name_coffee
|
|
13
|
-
string plv_live_scenes_sdk_reward_name_crown
|
|
14
|
-
string plv_live_scenes_sdk_reward_name_diamonds
|
|
15
|
-
string plv_live_scenes_sdk_reward_name_fireworks
|
|
16
|
-
string plv_live_scenes_sdk_reward_name_flower
|
|
17
|
-
string plv_live_scenes_sdk_reward_name_golden_eggs
|
|
18
|
-
string plv_live_scenes_sdk_reward_name_like
|
|
19
|
-
string plv_live_scenes_sdk_reward_name_microphone
|
|
20
|
-
string plv_live_scenes_sdk_reward_name_plane
|
|
21
|
-
string plv_live_scenes_sdk_reward_name_rocket
|
|
22
|
-
string plv_live_scenes_sdk_reward_name_six
|
|
23
|
-
string plv_live_scenes_sdk_reward_name_star
|
|
24
|
-
string plv_live_scenes_sdk_reward_name_trophy
|
|
25
|
-
string plv_live_scenes_sdk_reward_name_villa
|
|
26
|
-
string plv_live_scenes_sdk_reward_name_yacht
|
|
27
|
-
string plv_live_scenes_sdk_reward_unit_point
|
|
28
|
-
string plv_live_scenes_sdk_role_anchor
|
|
29
|
-
string plv_login_throttle_invoke_too_many_times
|
|
30
|
-
string
|
|
31
|
-
string
|
|
32
|
-
string
|
|
33
|
-
string
|
|
34
|
-
string
|
|
35
|
-
string
|
|
36
|
-
string
|
|
37
|
-
string
|
|
38
|
-
string
|
|
39
|
-
string
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
1
|
+
string lib_name 0x06000047
|
|
2
|
+
string page_show 0x06000000
|
|
3
|
+
string plv_live_scenes_sdk_red_paper_alipay 0x06000001
|
|
4
|
+
string plv_live_scenes_sdk_red_paper_blessing_message 0x06000002
|
|
5
|
+
string plv_live_scenes_sdk_red_paper_blessing_message_alipay 0x06000003
|
|
6
|
+
string plv_live_scenes_sdk_red_paper_name 0x06000004
|
|
7
|
+
string plv_live_scenes_sdk_reward_exception_point_abnormality 0x06000005
|
|
8
|
+
string plv_live_scenes_sdk_reward_exception_point_insufficiency 0x06000006
|
|
9
|
+
string plv_live_scenes_sdk_reward_name_applause 0x06000007
|
|
10
|
+
string plv_live_scenes_sdk_reward_name_bear 0x06000008
|
|
11
|
+
string plv_live_scenes_sdk_reward_name_cars 0x06000009
|
|
12
|
+
string plv_live_scenes_sdk_reward_name_coffee 0x0600000a
|
|
13
|
+
string plv_live_scenes_sdk_reward_name_crown 0x0600000b
|
|
14
|
+
string plv_live_scenes_sdk_reward_name_diamonds 0x0600000c
|
|
15
|
+
string plv_live_scenes_sdk_reward_name_fireworks 0x0600000d
|
|
16
|
+
string plv_live_scenes_sdk_reward_name_flower 0x0600000e
|
|
17
|
+
string plv_live_scenes_sdk_reward_name_golden_eggs 0x0600000f
|
|
18
|
+
string plv_live_scenes_sdk_reward_name_like 0x06000010
|
|
19
|
+
string plv_live_scenes_sdk_reward_name_microphone 0x06000011
|
|
20
|
+
string plv_live_scenes_sdk_reward_name_plane 0x06000012
|
|
21
|
+
string plv_live_scenes_sdk_reward_name_rocket 0x06000013
|
|
22
|
+
string plv_live_scenes_sdk_reward_name_six 0x06000014
|
|
23
|
+
string plv_live_scenes_sdk_reward_name_star 0x06000015
|
|
24
|
+
string plv_live_scenes_sdk_reward_name_trophy 0x06000016
|
|
25
|
+
string plv_live_scenes_sdk_reward_name_villa 0x06000017
|
|
26
|
+
string plv_live_scenes_sdk_reward_name_yacht 0x06000018
|
|
27
|
+
string plv_live_scenes_sdk_reward_unit_point 0x06000019
|
|
28
|
+
string plv_live_scenes_sdk_role_anchor 0x0600001a
|
|
29
|
+
string plv_login_throttle_invoke_too_many_times 0x0600001b
|
|
30
|
+
string plv_sdk_live_menu_name_buy 0x0600001c
|
|
31
|
+
string plv_sdk_live_menu_name_chat 0x0600001d
|
|
32
|
+
string plv_sdk_live_menu_name_chat_2 0x0600001e
|
|
33
|
+
string plv_sdk_live_menu_name_desc 0x0600001f
|
|
34
|
+
string plv_sdk_live_menu_name_iframe 0x06000020
|
|
35
|
+
string plv_sdk_live_menu_name_iframe_2 0x06000021
|
|
36
|
+
string plv_sdk_live_menu_name_invite 0x06000022
|
|
37
|
+
string plv_sdk_live_menu_name_members 0x06000023
|
|
38
|
+
string plv_sdk_live_menu_name_micro_activity 0x06000024
|
|
39
|
+
string plv_sdk_live_menu_name_micro_chapter 0x06000025
|
|
40
|
+
string plv_sdk_live_menu_name_micro_multi_meeting 0x06000026
|
|
41
|
+
string plv_sdk_live_menu_name_micro_multi_subtitle 0x06000027
|
|
42
|
+
string plv_sdk_live_menu_name_previous 0x06000028
|
|
43
|
+
string plv_sdk_live_menu_name_qa 0x06000029
|
|
44
|
+
string plv_sdk_live_menu_name_quiz 0x0600002a
|
|
45
|
+
string plv_sdk_live_menu_name_quiz_2 0x0600002b
|
|
46
|
+
string plv_sdk_live_menu_name_seat 0x0600002c
|
|
47
|
+
string plv_sdk_live_menu_name_text 0x0600002d
|
|
48
|
+
string plv_sdk_live_menu_name_tuwen 0x0600002e
|
|
49
|
+
string plv_sdk_live_menu_name_vote 0x0600002f
|
|
50
|
+
string plv_socket_red_paper_expired 0x06000030
|
|
51
|
+
string plv_socket_red_paper_no_receive 0x06000031
|
|
52
|
+
string plv_socket_red_paper_received 0x06000032
|
|
53
|
+
string plv_socket_red_paper_run_out 0x06000033
|
|
54
|
+
string plv_streamer_bit_rate_high 0x06000034
|
|
55
|
+
string plv_streamer_bit_rate_standard 0x06000035
|
|
56
|
+
string plv_streamer_bit_rate_super 0x06000036
|
|
57
|
+
string plv_streamer_bit_rate_super_high 0x06000037
|
|
58
|
+
string plv_web_load_failed 0x06000038
|
|
59
|
+
string plv_web_reload 0x06000039
|
|
60
|
+
color plv_web_main_red_color 0x0600003a
|
|
61
|
+
color plv_web_reload_title_color 0x0600003b
|
|
62
|
+
float page_text_font_size 0x06000046
|
|
63
|
+
float plv_web_failure_img_size 0x0600003c
|
|
64
|
+
float plv_web_large_border_radius 0x0600003d
|
|
65
|
+
float plv_web_loading_img_margin 0x0600003e
|
|
66
|
+
float plv_web_loading_img_size 0x0600003f
|
|
67
|
+
float plv_web_normal_text_size1 0x06000040
|
|
68
|
+
float plv_web_reload_btn_height 0x06000041
|
|
69
|
+
float plv_web_reload_btn_width 0x06000042
|
|
70
|
+
float plv_web_sm_padding_margin 0x06000043
|
|
71
|
+
float plv_web_small_text_size 0x06000044
|
|
72
|
+
media plv_web_ic_failure 0x06000045
|
package/oh-package.json5
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"@polyvharmony/live-scenes-sdk","version":"1.
|
|
1
|
+
{"name":"@polyvharmony/live-scenes-sdk","version":"1.3.0-rc.1","description":"polyv live-scenes-sdk","main":"Index.js","author":"POLYV","license":"MIT","dependencies":{"@polyvharmony/live-scenes-foundation":"1.3.0-rc.1","@ohos/dataorm":"2.2.2","@polyvharmony/media-player-sdk":"2.6.2-dev.250825","@polyvharmony/rtc-sdk":"1.1.0"},"types":"Index.d.ets","artifactType":"obfuscation","metadata":{"sourceRoots":["./src/main"],"debug":false,"useNormalizedOHMUrl":true},"compatibleSdkVersion":12,"compatibleSdkType":"HarmonyOS","obfuscated":true}
|
package/package.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"@polyvharmony/live-scenes-sdk","version":"1.
|
|
1
|
+
{"name":"@polyvharmony/live-scenes-sdk","version":"1.3.0-rc.1","description":"polyv live-scenes-sdk","main":"Index.js","author":"POLYV","license":"MIT","dependencies":{"@polyvharmony/live-scenes-foundation":"1.3.0-rc.1","@ohos/dataorm":"2.2.2","@polyvharmony/media-player-sdk":"2.6.2-dev.250825","@polyvharmony/rtc-sdk":"1.1.0"},"types":"Index.d.ets","artifactType":"obfuscation","metadata":{"sourceRoots":["./src/main"],"debug":false,"useNormalizedOHMUrl":true},"compatibleSdkVersion":12,"compatibleSdkType":"HarmonyOS","obfuscated":true}
|
|
@@ -122,7 +122,7 @@ export declare class PLVChannelData {
|
|
|
122
122
|
*/
|
|
123
123
|
playId?: string;
|
|
124
124
|
/**
|
|
125
|
-
*
|
|
125
|
+
* 页面语言,初始值有一定延迟,建议使用{@link PLVChannelData#languagePromise}获取
|
|
126
126
|
*/
|
|
127
127
|
language?: PLVLanguage;
|
|
128
128
|
/**
|
|
@@ -133,6 +133,14 @@ export declare class PLVChannelData {
|
|
|
133
133
|
* 实际登录socket的房间Id,只有当socket登录并且获取到正确的loginRoomId后这里才能拿到值
|
|
134
134
|
*/
|
|
135
135
|
loginRoomIdPromise: PLVPromiseValue<string>;
|
|
136
|
+
/**
|
|
137
|
+
* 聊天token
|
|
138
|
+
*/
|
|
139
|
+
chatTokenPromise: PLVPromiseValue<string>;
|
|
140
|
+
/**
|
|
141
|
+
* 页面语言Promise
|
|
142
|
+
*/
|
|
143
|
+
languagePromise: PLVPromiseValue<PLVLanguage>;
|
|
136
144
|
/**
|
|
137
145
|
* 待初始化Promise
|
|
138
146
|
*/
|
|
@@ -147,12 +155,17 @@ export declare class PLVChannelData {
|
|
|
147
155
|
* SDK中开启“点播列表”/通过vid观看时——优先响应“点播列表”/vid观看开关配置
|
|
148
156
|
* @param isOnVodList
|
|
149
157
|
*/
|
|
150
|
-
setupPlaybackListType(
|
|
158
|
+
setupPlaybackListType(m98: boolean): void;
|
|
159
|
+
/**
|
|
160
|
+
* 是否点播列表类型
|
|
161
|
+
* @returns
|
|
162
|
+
*/
|
|
163
|
+
isVodListType(): boolean;
|
|
151
164
|
/**
|
|
152
165
|
* 设置观看热度
|
|
153
166
|
* @param pageViewer
|
|
154
167
|
*/
|
|
155
|
-
setupPageViewer(
|
|
168
|
+
setupPageViewer(l98: number): void;
|
|
156
169
|
/**
|
|
157
170
|
* 设置场次Id
|
|
158
171
|
* @param sessionId
|
|
@@ -162,7 +175,7 @@ export declare class PLVChannelData {
|
|
|
162
175
|
* 设置播放Id
|
|
163
176
|
* @param playId
|
|
164
177
|
*/
|
|
165
|
-
setupPlayId(
|
|
178
|
+
setupPlayId(k98: string): void;
|
|
166
179
|
/**
|
|
167
180
|
* 设置语言值,并不会改变当前页面语言
|
|
168
181
|
* @param language
|
|
@@ -172,8 +185,13 @@ export declare class PLVChannelData {
|
|
|
172
185
|
* 设置实际登录socket的房间Id
|
|
173
186
|
* @param loginRoomId
|
|
174
187
|
*/
|
|
175
|
-
setupLoginRoomId(
|
|
176
|
-
|
|
188
|
+
setupLoginRoomId(j98: string): void;
|
|
189
|
+
/**
|
|
190
|
+
* 设置聊天token
|
|
191
|
+
* @param chatToken
|
|
192
|
+
*/
|
|
193
|
+
setupChatToken(i98: string): void;
|
|
194
|
+
setupChannelFunctionSwitch(h98?: ArrayList<PLVChatFunctionSwitchVO>): void;
|
|
177
195
|
/**
|
|
178
196
|
* 获取ua
|
|
179
197
|
* @returns
|
|
@@ -183,6 +201,14 @@ export declare class PLVChannelData {
|
|
|
183
201
|
* 获取直播后台菜单的直播详情内容
|
|
184
202
|
*/
|
|
185
203
|
getMenuDescContent(): string | undefined;
|
|
204
|
+
/**
|
|
205
|
+
* 获取直播后台菜单的自定义图文内容
|
|
206
|
+
*/
|
|
207
|
+
getMenuTextContent(): string | undefined;
|
|
208
|
+
/**
|
|
209
|
+
* 获取直播后台菜单的iframe内容
|
|
210
|
+
*/
|
|
211
|
+
getMenuIFrameContent(): string | undefined;
|
|
186
212
|
/**
|
|
187
213
|
* 获取直播后台菜单的咨询提问内容
|
|
188
214
|
*/
|
|
@@ -196,7 +222,22 @@ export declare class PLVChannelData {
|
|
|
196
222
|
* @param menuType
|
|
197
223
|
* @returns
|
|
198
224
|
*/
|
|
199
|
-
getMenuBean(
|
|
225
|
+
getMenuBean(menuType: string): ChannelMenusBean | undefined;
|
|
226
|
+
/**
|
|
227
|
+
* 是否有往期菜单
|
|
228
|
+
* @returns
|
|
229
|
+
*/
|
|
230
|
+
hasPreviousMenu(): boolean;
|
|
231
|
+
/**
|
|
232
|
+
* 获取往期菜单名称
|
|
233
|
+
* @returns
|
|
234
|
+
*/
|
|
235
|
+
getPreviousMenuName(defaultValue?: ResourceStr): ResourceStr | undefined;
|
|
236
|
+
/**
|
|
237
|
+
* 是否有章节菜单
|
|
238
|
+
* @returns
|
|
239
|
+
*/
|
|
240
|
+
hasChapterMenu(): boolean;
|
|
200
241
|
string(): string;
|
|
201
242
|
/**
|
|
202
243
|
* 销毁
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import { PLVEventNotify, PLVLogger, PLVPromiseValue, PLVUACreator, PLVUtils } from '@polyvharmony/live-scenes-foundation';
|
|
2
|
+
import { PLVLiveChannelType } from '../modules/login/model/PLVLiveChannelType';
|
|
2
3
|
import { MenuType } from '../modules/login/model/PLVLiveDetailVO';
|
|
3
|
-
import { PLVLiveScene } from '../modules/login/model/PLVLoginType';
|
|
4
|
+
import { PLVLiveScene, PLVLoginType } from '../modules/login/model/PLVLoginType';
|
|
4
5
|
import { PLVPlaybackListType } from '../modules/player/playback/PLVPlaybackListType';
|
|
5
6
|
import { SDK_NAME_VERSION } from './PLVLiveSceneSDK';
|
|
7
|
+
import { PLVI18NDataMapper } from '../modules/i18n/PLVI18NDataMapper';
|
|
6
8
|
const TAG = '[PLVChannelData]';
|
|
7
9
|
export class PLVChannelData {
|
|
8
10
|
constructor() {
|
|
@@ -11,28 +13,33 @@ export class PLVChannelData {
|
|
|
11
13
|
this.restrictChatMaxViewer = -1;
|
|
12
14
|
this.playId = PLVUtils.getPid();
|
|
13
15
|
this.loginRoomIdPromise = new PLVPromiseValue();
|
|
16
|
+
this.chatTokenPromise = new PLVPromiseValue();
|
|
17
|
+
this.languagePromise = new PLVPromiseValue();
|
|
14
18
|
this.initializedPromise = new PLVPromiseValue();
|
|
15
19
|
this.eventNotify = new PLVEventNotify(this);
|
|
16
20
|
}
|
|
17
21
|
afterLoginSetup() {
|
|
18
22
|
this.pageViewer = this.liveDetail?.pageView || 0;
|
|
19
|
-
const
|
|
20
|
-
const
|
|
21
|
-
const
|
|
22
|
-
this.restrictChatMaxViewer =
|
|
23
|
+
const n98 = this.liveDetail?.isRestrictChatEnabled();
|
|
24
|
+
const o98 = this.liveDetail?.isChatRobotEnabled();
|
|
25
|
+
const p98 = this.liveDetail?.maxViewer;
|
|
26
|
+
this.restrictChatMaxViewer = n98 && !o98 ? p98 || -1 : -1;
|
|
23
27
|
this.sessionId = this.liveDetail?.sessionId;
|
|
24
28
|
this.initializedPromise?.set(this);
|
|
25
29
|
PLVLogger.info(TAG, `afterLoginSetup viewerId: ${this.viewerId}, viewerName: ${this.viewerName}, viewerAvatar: ${this.viewerAvatar}, viewerType: ${this.viewerType}, viewerActor: ${this.viewerActor}`);
|
|
26
30
|
}
|
|
27
|
-
setupPlaybackListType(
|
|
28
|
-
this.playbackListType =
|
|
31
|
+
setupPlaybackListType(m98) {
|
|
32
|
+
this.playbackListType = m98 ? PLVPlaybackListType.VOD : PLVPlaybackListType.PLAYBACK;
|
|
29
33
|
if (!this.playbackVid && this.playbackListType == PLVPlaybackListType.PLAYBACK && this.isVodAndListType()) {
|
|
30
34
|
this.playbackListType = PLVPlaybackListType.VOD;
|
|
31
35
|
}
|
|
32
36
|
}
|
|
33
|
-
|
|
34
|
-
this.
|
|
35
|
-
|
|
37
|
+
isVodListType() {
|
|
38
|
+
return this.playbackListType == PLVPlaybackListType.VOD;
|
|
39
|
+
}
|
|
40
|
+
setupPageViewer(l98) {
|
|
41
|
+
this.eventNotify.emit('page_viewer', l98);
|
|
42
|
+
this.pageViewer = l98;
|
|
36
43
|
}
|
|
37
44
|
setupSessionId(sessionId) {
|
|
38
45
|
if (this.sessionId === sessionId) {
|
|
@@ -41,23 +48,27 @@ export class PLVChannelData {
|
|
|
41
48
|
this.eventNotify.emit('sessionId', sessionId);
|
|
42
49
|
this.sessionId = sessionId;
|
|
43
50
|
}
|
|
44
|
-
setupPlayId(
|
|
45
|
-
if (this.playId ===
|
|
51
|
+
setupPlayId(k98) {
|
|
52
|
+
if (this.playId === k98) {
|
|
46
53
|
return;
|
|
47
54
|
}
|
|
48
|
-
this.eventNotify.emit('playId',
|
|
49
|
-
this.playId =
|
|
55
|
+
this.eventNotify.emit('playId', k98);
|
|
56
|
+
this.playId = k98;
|
|
50
57
|
}
|
|
51
58
|
setupLanguage(language) {
|
|
52
59
|
this.eventNotify.emit('language', language);
|
|
53
60
|
this.language = language;
|
|
61
|
+
this.languagePromise.set(language);
|
|
62
|
+
}
|
|
63
|
+
setupLoginRoomId(j98) {
|
|
64
|
+
this.loginRoomIdPromise.set(j98);
|
|
54
65
|
}
|
|
55
|
-
|
|
56
|
-
this.
|
|
66
|
+
setupChatToken(i98) {
|
|
67
|
+
this.chatTokenPromise.set(i98);
|
|
57
68
|
}
|
|
58
|
-
setupChannelFunctionSwitch(
|
|
59
|
-
if (
|
|
60
|
-
this.eventNotify.emit('switch_function',
|
|
69
|
+
setupChannelFunctionSwitch(h98) {
|
|
70
|
+
if (h98) {
|
|
71
|
+
this.eventNotify.emit('switch_function', h98);
|
|
61
72
|
}
|
|
62
73
|
}
|
|
63
74
|
ua() {
|
|
@@ -66,24 +77,47 @@ export class PLVChannelData {
|
|
|
66
77
|
getMenuDescContent() {
|
|
67
78
|
return this.getMenuBean(MenuType.DESC)?.content;
|
|
68
79
|
}
|
|
80
|
+
getMenuTextContent() {
|
|
81
|
+
return this.getMenuBean(MenuType.TEXT)?.content;
|
|
82
|
+
}
|
|
83
|
+
getMenuIFrameContent() {
|
|
84
|
+
return this.getMenuBean(MenuType.IFRAME)?.content;
|
|
85
|
+
}
|
|
69
86
|
getMenuQuizBean() {
|
|
70
87
|
return this.getMenuBean(MenuType.QUIZ);
|
|
71
88
|
}
|
|
72
89
|
getMenuBuyBean() {
|
|
73
90
|
return this.getMenuBean(MenuType.BUY);
|
|
74
91
|
}
|
|
75
|
-
getMenuBean(
|
|
76
|
-
const
|
|
77
|
-
if (!
|
|
92
|
+
getMenuBean(menuType) {
|
|
93
|
+
const f98 = this.liveDetail?.channelMenus;
|
|
94
|
+
if (!f98) {
|
|
78
95
|
return undefined;
|
|
79
96
|
}
|
|
80
|
-
for (const
|
|
81
|
-
if (
|
|
82
|
-
return
|
|
97
|
+
for (const g98 of f98) {
|
|
98
|
+
if (menuType == g98.menuType) {
|
|
99
|
+
return g98;
|
|
83
100
|
}
|
|
84
101
|
}
|
|
85
102
|
return undefined;
|
|
86
103
|
}
|
|
104
|
+
hasPreviousMenu() {
|
|
105
|
+
let d98 = this.isVodListType() && this.loginType !== PLVLoginType.LIVE && !this.playbackVid;
|
|
106
|
+
const e98 = this.getMenuBean(MenuType.PREVIOUS);
|
|
107
|
+
if (e98) {
|
|
108
|
+
d98 = d98 || (this.loginType !== PLVLoginType.LIVE && !this.playbackVid);
|
|
109
|
+
}
|
|
110
|
+
return d98;
|
|
111
|
+
}
|
|
112
|
+
getPreviousMenuName(defaultValue) {
|
|
113
|
+
return PLVI18NDataMapper.getMenuName(this.getMenuBean(MenuType.PREVIOUS)?.name) ?? defaultValue;
|
|
114
|
+
}
|
|
115
|
+
hasChapterMenu() {
|
|
116
|
+
return this.loginType !== PLVLoginType.LIVE
|
|
117
|
+
&& this.channelType === PLVLiveChannelType.PPT
|
|
118
|
+
&& "Y" === this.liveDetail?.sectionEnabled
|
|
119
|
+
&& (this.liveDetail?.hasPlayback || this.liveDetail?.recordFileSimpleModel != undefined);
|
|
120
|
+
}
|
|
87
121
|
string() {
|
|
88
122
|
return `${this.loginChannelId}, ${this.userId}, ${this.appId}, ${this.viewerId}, ${this.viewerName}, ${this.viewerAvatar}, ${this.viewerType}, ${this.viewerActor}, ${this.loginRoomIdPromise.value}`;
|
|
89
123
|
}
|
|
@@ -91,8 +125,8 @@ export class PLVChannelData {
|
|
|
91
125
|
this.eventNotify.clear();
|
|
92
126
|
}
|
|
93
127
|
isVodAndListType() {
|
|
94
|
-
const
|
|
95
|
-
const
|
|
96
|
-
return "vod" ===
|
|
128
|
+
const b98 = this.liveDetail?.playbackOrigin;
|
|
129
|
+
const c98 = this.liveDetail?.playbackType;
|
|
130
|
+
return "vod" === b98 && "list" === c98;
|
|
97
131
|
}
|
|
98
132
|
}
|
|
@@ -19,6 +19,7 @@ import { PLVLinkMicManager } from '../modules/linkmic/PLVLinkMicManager';
|
|
|
19
19
|
import { PLVPlayerMediator } from '../modules/player/PLVPlayerMediator';
|
|
20
20
|
import { PLVStreamerManager } from '../modules/streamer/PLVStreamerManager';
|
|
21
21
|
import { PLVMemberManager } from '../modules/member/PLVMemberManager';
|
|
22
|
+
import { PLVPreviousManager } from '../modules/player/playback/PLVPreviousManager';
|
|
22
23
|
export declare const SDK_NAME_VERSION: string;
|
|
23
24
|
/**
|
|
24
25
|
* 直播SDK入口
|
|
@@ -97,15 +98,19 @@ export declare class PLVLiveSceneSDK {
|
|
|
97
98
|
* 商品管理器
|
|
98
99
|
*/
|
|
99
100
|
productManager: PLVProductManager;
|
|
101
|
+
/**
|
|
102
|
+
* 播放器管理器
|
|
103
|
+
*/
|
|
104
|
+
playerManager: PLVPlayerManager;
|
|
105
|
+
playerMediator: PLVPlayerMediator;
|
|
100
106
|
/**
|
|
101
107
|
* web控制器管理器
|
|
102
108
|
*/
|
|
103
109
|
webControllerManager: PLVWebControllerManager;
|
|
104
110
|
/**
|
|
105
|
-
*
|
|
111
|
+
* 往期管理器
|
|
106
112
|
*/
|
|
107
|
-
|
|
108
|
-
playerMediator: PLVPlayerMediator;
|
|
113
|
+
previousManager: PLVPreviousManager;
|
|
109
114
|
/**
|
|
110
115
|
* 互动应用管理器
|
|
111
116
|
*/
|
|
@@ -132,7 +137,7 @@ export declare class PLVLiveSceneSDK {
|
|
|
132
137
|
* @param importSDKModuleContext
|
|
133
138
|
* @param initPageLanguage
|
|
134
139
|
*/
|
|
135
|
-
initData(
|
|
140
|
+
initData(q98: common.UIAbilityContext, r98?: boolean): void;
|
|
136
141
|
/**
|
|
137
142
|
* 销毁,释放资源
|
|
138
143
|
*/
|