@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
|
@@ -13,6 +13,7 @@ import { PLVLoginStreamerVO } from '../login/model/PLVLoginStreamerVO';
|
|
|
13
13
|
import { PLVStreamerSessionIdQueryResponse } from '../streamer/model/vo/PLVStreamerSessionIdQueryResponse';
|
|
14
14
|
import { PLVStreamerMixActionResponse } from '../streamer/model/vo/PLVStreamerMixActionResponse';
|
|
15
15
|
import { PLVMemberListResponseData } from '../member/model/vo/PLVMemberListResponseData';
|
|
16
|
+
import { PLVPreviousListVO } from '../player/playback/PLVPreviousListVO';
|
|
16
17
|
const URL_CHECK_LOGIN_TOKEN = '/live/inner/v3/sdk/verify';
|
|
17
18
|
const URL_GET_LIVE_STATUS = '/live/v3/channel/live-status2';
|
|
18
19
|
const URL_GET_LIVE_DETAIL = '/live/v3/applet/sdk/get-channel-detail';
|
|
@@ -40,161 +41,162 @@ const URL_CHAT_LIST_USER = '/live/v4/chat/list-users';
|
|
|
40
41
|
const URL_LIVE_STATUS_QUERY = '/live/v3/live-status-sessionid/query';
|
|
41
42
|
const URL_GET_IMAGE_UPLOAD_TOKEN = '/live/v3/common/image/get-token';
|
|
42
43
|
const URL_GET_INVITE_POSTER_SETTING = '/live/v4/channel/invite/setting/get';
|
|
43
|
-
|
|
44
|
-
|
|
44
|
+
const URL_GET_PREVIOUS_LIST = '/live/v3/channel/playback/list/sdk';
|
|
45
|
+
export function apiPlvNetApi(o146) {
|
|
46
|
+
return new PLVApiPlvNetApi().ua(o146 instanceof PLVChannelData ? o146.ua() : o146);
|
|
45
47
|
}
|
|
46
48
|
export class PLVApiPlvNetApi extends PLVHttpRequest {
|
|
47
49
|
constructor() {
|
|
48
50
|
super(PLVApiConstants.API_PLV_NET);
|
|
49
51
|
}
|
|
50
|
-
checkLoginToken(userId,
|
|
52
|
+
checkLoginToken(userId, l146, appId, m146, n146) {
|
|
51
53
|
return this.get({
|
|
52
54
|
url: URL_CHECK_LOGIN_TOKEN,
|
|
53
55
|
params: {
|
|
54
56
|
'appId': appId,
|
|
55
|
-
'channelId':
|
|
57
|
+
'channelId': m146,
|
|
56
58
|
'timestamp': Date.now(),
|
|
57
|
-
'vid':
|
|
59
|
+
'vid': n146,
|
|
58
60
|
'userId': userId
|
|
59
61
|
},
|
|
60
62
|
signKey: PLVRequestSetting.KEY_1,
|
|
61
63
|
fillData: new PLVChatDomainVO()
|
|
62
64
|
});
|
|
63
65
|
}
|
|
64
|
-
getLiveStatus(
|
|
66
|
+
getLiveStatus(j146, appId, k146) {
|
|
65
67
|
return this.get({
|
|
66
68
|
url: URL_GET_LIVE_STATUS,
|
|
67
69
|
params: {
|
|
68
70
|
'appId': appId,
|
|
69
|
-
'channelId':
|
|
71
|
+
'channelId': j146,
|
|
70
72
|
'timestamp': Date.now()
|
|
71
73
|
},
|
|
72
|
-
signKey:
|
|
74
|
+
signKey: k146,
|
|
73
75
|
fillData: new PLVLiveStatusVO()
|
|
74
76
|
});
|
|
75
77
|
}
|
|
76
|
-
getLiveDetail(
|
|
78
|
+
getLiveDetail(h146, appId, i146) {
|
|
77
79
|
return this.get({
|
|
78
80
|
url: URL_GET_LIVE_DETAIL,
|
|
79
81
|
params: {
|
|
80
82
|
'appId': appId,
|
|
81
|
-
'channelId':
|
|
83
|
+
'channelId': h146,
|
|
82
84
|
'timestamp': Date.now()
|
|
83
85
|
},
|
|
84
|
-
signKey:
|
|
86
|
+
signKey: i146,
|
|
85
87
|
fillData: new PLVLiveDetailVO()
|
|
86
88
|
});
|
|
87
89
|
}
|
|
88
|
-
getChatFunctionSwitch(
|
|
90
|
+
getChatFunctionSwitch(g146) {
|
|
89
91
|
return this.get({
|
|
90
92
|
url: URL_GET_FUNCTION_SWITCH,
|
|
91
93
|
params: {
|
|
92
|
-
'channelId':
|
|
94
|
+
'channelId': g146,
|
|
93
95
|
'timestamp': Date.now()
|
|
94
96
|
},
|
|
95
97
|
signKey: PLVRequestSetting.PLV_SWITCH_API_INNOR
|
|
96
98
|
});
|
|
97
99
|
}
|
|
98
|
-
getChatToken(
|
|
100
|
+
getChatToken(d146, appId, e146, userId, f146) {
|
|
99
101
|
return this.get({
|
|
100
102
|
url: URL_GET_CHAT_TOKEN,
|
|
101
103
|
params: {
|
|
102
104
|
'appId': appId,
|
|
103
|
-
'channelId':
|
|
105
|
+
'channelId': d146,
|
|
104
106
|
'timestamp': Date.now(),
|
|
105
|
-
'role':
|
|
107
|
+
'role': f146,
|
|
106
108
|
'origin': 'harmony-SDK',
|
|
107
109
|
'userId': userId
|
|
108
110
|
},
|
|
109
|
-
signKey:
|
|
111
|
+
signKey: e146,
|
|
110
112
|
useCache: true,
|
|
111
113
|
fillData: new PLVChatTokenVO()
|
|
112
114
|
});
|
|
113
115
|
}
|
|
114
|
-
reportPageViewer(
|
|
116
|
+
reportPageViewer(b146, appId, c146) {
|
|
115
117
|
return this.post({
|
|
116
118
|
url: URL_REPORT_PAGE_VIEWER,
|
|
117
119
|
data: {
|
|
118
120
|
'appId': appId,
|
|
119
|
-
'channelId':
|
|
121
|
+
'channelId': b146,
|
|
120
122
|
'timestamp': Date.now() + '',
|
|
121
123
|
'times': '1'
|
|
122
124
|
},
|
|
123
|
-
signKey:
|
|
125
|
+
signKey: c146,
|
|
124
126
|
formUrlEncoded: true,
|
|
125
127
|
fillData: new PLVReportPageViewerVO()
|
|
126
128
|
});
|
|
127
129
|
}
|
|
128
|
-
getPageViewer(
|
|
130
|
+
getPageViewer(a146) {
|
|
129
131
|
return this.get({
|
|
130
132
|
url: URL_GET_PAGE_VIEWER,
|
|
131
133
|
params: {
|
|
132
|
-
'channelId':
|
|
134
|
+
'channelId': a146
|
|
133
135
|
},
|
|
134
136
|
aesDecrypted: true,
|
|
135
137
|
fillData: new PLVGetPageViewerVO()
|
|
136
138
|
});
|
|
137
139
|
}
|
|
138
|
-
sendLikes(
|
|
140
|
+
sendLikes(w145, appId, x145, y145, z145) {
|
|
139
141
|
return this.post({
|
|
140
142
|
url: URL_SEND_LIKES,
|
|
141
143
|
data: {
|
|
142
144
|
'appId': appId,
|
|
143
|
-
'channelId':
|
|
145
|
+
'channelId': w145,
|
|
144
146
|
'timestamp': Date.now() + '',
|
|
145
|
-
'viewerId':
|
|
146
|
-
'times':
|
|
147
|
+
'viewerId': y145,
|
|
148
|
+
'times': z145 + ''
|
|
147
149
|
},
|
|
148
|
-
signKey:
|
|
150
|
+
signKey: x145,
|
|
149
151
|
formUrlEncoded: true
|
|
150
152
|
});
|
|
151
153
|
}
|
|
152
|
-
getRewardSetting(
|
|
154
|
+
getRewardSetting(u145, appId, v145) {
|
|
153
155
|
return this.get({
|
|
154
156
|
url: URL_GET_REWARD_SETTING,
|
|
155
157
|
params: {
|
|
156
158
|
'appId': appId,
|
|
157
|
-
'channelId':
|
|
159
|
+
'channelId': u145,
|
|
158
160
|
'timestamp': Date.now() + ''
|
|
159
161
|
},
|
|
160
|
-
signKey:
|
|
162
|
+
signKey: v145,
|
|
161
163
|
fillData: new PLVRewardSettingVO()
|
|
162
164
|
});
|
|
163
165
|
}
|
|
164
|
-
getRewardPoint(
|
|
166
|
+
getRewardPoint(r145, appId, s145, t145, nickName) {
|
|
165
167
|
return this.post({
|
|
166
168
|
url: URL_GET_REWARD_POINT,
|
|
167
169
|
data: {
|
|
168
170
|
'appId': appId,
|
|
169
|
-
'channelId':
|
|
171
|
+
'channelId': r145,
|
|
170
172
|
'timestamp': Date.now() + '',
|
|
171
|
-
'viewerId':
|
|
173
|
+
'viewerId': t145,
|
|
172
174
|
'nickname': nickName
|
|
173
175
|
},
|
|
174
|
-
signKey:
|
|
176
|
+
signKey: s145,
|
|
175
177
|
formUrlEncoded: true,
|
|
176
178
|
fillData: new PLVRewardPointVO()
|
|
177
179
|
});
|
|
178
180
|
}
|
|
179
|
-
makePointReward(
|
|
181
|
+
makePointReward(m145, appId, n145, o145, nickName, avatar, p145, q145) {
|
|
180
182
|
return this.post({
|
|
181
183
|
url: URL_MAKE_POINT_REWARD,
|
|
182
184
|
data: {
|
|
183
185
|
'appId': appId,
|
|
184
|
-
'channelId':
|
|
186
|
+
'channelId': m145,
|
|
185
187
|
'timestamp': Date.now() + '',
|
|
186
|
-
'viewerId':
|
|
188
|
+
'viewerId': o145,
|
|
187
189
|
'nickname': nickName,
|
|
188
190
|
'avatar': avatar,
|
|
189
|
-
'goodId': PLVTextUtils.toString(
|
|
190
|
-
'goodNum': PLVTextUtils.toString(
|
|
191
|
+
'goodId': PLVTextUtils.toString(p145),
|
|
192
|
+
'goodNum': PLVTextUtils.toString(q145)
|
|
191
193
|
},
|
|
192
|
-
signKey:
|
|
194
|
+
signKey: n145,
|
|
193
195
|
formUrlEncoded: true,
|
|
194
196
|
fillData: new PLVRewardPointVO()
|
|
195
197
|
});
|
|
196
198
|
}
|
|
197
|
-
makeGiftCashReward(
|
|
199
|
+
makeGiftCashReward(h145, appId, i145, j145, nickName, avatar, k145, l145, sessionId) {
|
|
198
200
|
return this.post({
|
|
199
201
|
url: URL_MAKE_GIFT_CASH_REWARD,
|
|
200
202
|
params: {
|
|
@@ -202,23 +204,23 @@ export class PLVApiPlvNetApi extends PLVHttpRequest {
|
|
|
202
204
|
'timestamp': Date.now() + ''
|
|
203
205
|
},
|
|
204
206
|
data: {
|
|
205
|
-
'channelId':
|
|
206
|
-
'viewerId':
|
|
207
|
+
'channelId': h145,
|
|
208
|
+
'viewerId': j145,
|
|
207
209
|
'nickname': nickName,
|
|
208
210
|
'avatar': avatar,
|
|
209
|
-
'goodId': PLVTextUtils.toString(
|
|
210
|
-
'goodNum': PLVTextUtils.toString(
|
|
211
|
+
'goodId': PLVTextUtils.toString(k145),
|
|
212
|
+
'goodNum': PLVTextUtils.toString(l145),
|
|
211
213
|
'sessionId': sessionId,
|
|
212
214
|
'authType': 'none',
|
|
213
215
|
'donateType': 'GIFT'
|
|
214
216
|
},
|
|
215
|
-
signKey:
|
|
217
|
+
signKey: i145,
|
|
216
218
|
formUrlEncoded: true
|
|
217
219
|
});
|
|
218
220
|
}
|
|
219
|
-
getRedpackReceiveStatus(
|
|
221
|
+
getRedpackReceiveStatus(c145, appId, d145, e145, f145, g145) {
|
|
220
222
|
const map = new Map();
|
|
221
|
-
map.set('channelId',
|
|
223
|
+
map.set('channelId', c145);
|
|
222
224
|
const url = PLVNetUtils.replaceUrl(URL_GET_REDPACKRECEIVESTATUS, map);
|
|
223
225
|
return this.post({
|
|
224
226
|
url: url,
|
|
@@ -229,73 +231,73 @@ export class PLVApiPlvNetApi extends PLVHttpRequest {
|
|
|
229
231
|
data: {
|
|
230
232
|
'appId': appId,
|
|
231
233
|
'timestamp': Date.now() + '',
|
|
232
|
-
'viewerId':
|
|
233
|
-
'redpackId':
|
|
234
|
-
'redCacheId':
|
|
234
|
+
'viewerId': d145,
|
|
235
|
+
'redpackId': e145,
|
|
236
|
+
'redCacheId': f145
|
|
235
237
|
},
|
|
236
|
-
signKey:
|
|
238
|
+
signKey: g145,
|
|
237
239
|
formUrlEncoded: true
|
|
238
240
|
});
|
|
239
241
|
}
|
|
240
|
-
getDelayRedpackStatus(
|
|
242
|
+
getDelayRedpackStatus(b145, appId) {
|
|
241
243
|
return this.get({
|
|
242
244
|
url: URL_GET_DELAYREDPACKSTATUS,
|
|
243
245
|
params: {
|
|
244
|
-
'channelId':
|
|
246
|
+
'channelId': b145,
|
|
245
247
|
'appId': appId,
|
|
246
248
|
'timestamp': Date.now()
|
|
247
249
|
}
|
|
248
250
|
});
|
|
249
251
|
}
|
|
250
|
-
getChannelLinkMicStatus(appId,
|
|
252
|
+
getChannelLinkMicStatus(appId, y144, z144, sessionId, getStatus, a145) {
|
|
251
253
|
return this.get({
|
|
252
254
|
url: URL_GET_INTERACT_STATUS,
|
|
253
255
|
params: {
|
|
254
|
-
channelId:
|
|
256
|
+
channelId: z144,
|
|
255
257
|
sessionId: sessionId,
|
|
256
258
|
getStatus: getStatus,
|
|
257
|
-
toGetSubRooms:
|
|
259
|
+
toGetSubRooms: a145,
|
|
258
260
|
appId: appId,
|
|
259
261
|
timestamp: Date.now()
|
|
260
262
|
},
|
|
261
|
-
signKey:
|
|
263
|
+
signKey: y144
|
|
262
264
|
});
|
|
263
265
|
}
|
|
264
|
-
getARTCMicAuth(appId,
|
|
266
|
+
getARTCMicAuth(appId, v144, w144, x144) {
|
|
265
267
|
const map = new Map();
|
|
266
|
-
map.set('roomId',
|
|
268
|
+
map.set('roomId', w144);
|
|
267
269
|
const url = PLVNetUtils.replaceUrl(URL_GET_ARTC_MIC_AUTH, map);
|
|
268
270
|
return this.post({
|
|
269
271
|
url: url,
|
|
270
272
|
data: copyPartial({
|
|
271
|
-
channelId:
|
|
273
|
+
channelId: w144,
|
|
272
274
|
appId: appId,
|
|
273
275
|
timestamp: Date.now().toString()
|
|
274
|
-
},
|
|
275
|
-
signKey:
|
|
276
|
+
}, x144),
|
|
277
|
+
signKey: v144,
|
|
276
278
|
formUrlEncoded: true
|
|
277
279
|
});
|
|
278
280
|
}
|
|
279
|
-
reportARTCLinkMicRelation(appId,
|
|
281
|
+
reportARTCLinkMicRelation(appId, r144, s144, t144, u144) {
|
|
280
282
|
return this.post({
|
|
281
283
|
url: URL_REPORT_ARTC_LINK_MIC_RELATION,
|
|
282
284
|
data: literalObject({
|
|
283
|
-
channelId:
|
|
284
|
-
viewerId:
|
|
285
|
-
uid:
|
|
285
|
+
channelId: s144,
|
|
286
|
+
viewerId: t144,
|
|
287
|
+
uid: u144,
|
|
286
288
|
appId: appId,
|
|
287
289
|
timestamp: Date.now().toString()
|
|
288
290
|
}),
|
|
289
|
-
signKey:
|
|
291
|
+
signKey: r144,
|
|
290
292
|
formUrlEncoded: true
|
|
291
293
|
});
|
|
292
294
|
}
|
|
293
|
-
async loginStreamer(
|
|
295
|
+
async loginStreamer(p144, q144, version) {
|
|
294
296
|
return this.post({
|
|
295
297
|
url: URL_STREAMER_LOGIN,
|
|
296
298
|
data: literalObject({
|
|
297
|
-
channelId:
|
|
298
|
-
passwd:
|
|
299
|
+
channelId: p144,
|
|
300
|
+
passwd: q144,
|
|
299
301
|
timestamp: Date.now().toString(),
|
|
300
302
|
version: version
|
|
301
303
|
}),
|
|
@@ -304,14 +306,14 @@ export class PLVApiPlvNetApi extends PLVHttpRequest {
|
|
|
304
306
|
fillData: new PLVLoginStreamerVO()
|
|
305
307
|
});
|
|
306
308
|
}
|
|
307
|
-
async notifyStreamStart(
|
|
309
|
+
async notifyStreamStart(m144, appId, n144, stream, o144, videoWidth, videoHeight) {
|
|
308
310
|
return this.post({
|
|
309
311
|
url: URL_NOTIFY_STREAM_START,
|
|
310
312
|
data: literalObject({
|
|
311
|
-
channelId:
|
|
313
|
+
channelId: m144,
|
|
312
314
|
appId: appId,
|
|
313
315
|
stream: stream,
|
|
314
|
-
goOn:
|
|
316
|
+
goOn: o144,
|
|
315
317
|
videoWidth: videoWidth.toString(),
|
|
316
318
|
videoHeight: videoHeight.toString(),
|
|
317
319
|
timestamp: Date.now().toString(),
|
|
@@ -319,106 +321,121 @@ export class PLVApiPlvNetApi extends PLVHttpRequest {
|
|
|
319
321
|
pushClient: "HarmonySDK"
|
|
320
322
|
}),
|
|
321
323
|
formUrlEncoded: true,
|
|
322
|
-
signKey:
|
|
324
|
+
signKey: n144
|
|
323
325
|
});
|
|
324
326
|
}
|
|
325
|
-
async notifyStreamEnd(
|
|
327
|
+
async notifyStreamEnd(k144, appId, l144, stream, version) {
|
|
326
328
|
return this.get({
|
|
327
329
|
url: URL_NOTIFY_STREAM_END,
|
|
328
330
|
params: {
|
|
329
|
-
channelId:
|
|
331
|
+
channelId: k144,
|
|
330
332
|
appId: appId,
|
|
331
333
|
stream: stream,
|
|
332
334
|
timestamp: Date.now(),
|
|
333
335
|
version: version
|
|
334
336
|
},
|
|
335
|
-
signKey:
|
|
337
|
+
signKey: l144
|
|
336
338
|
});
|
|
337
339
|
}
|
|
338
|
-
async mixAction(appId,
|
|
340
|
+
async mixAction(appId, i144, j144) {
|
|
339
341
|
return this.post({
|
|
340
342
|
url: URL_STREAMER_MIX_ACTION,
|
|
341
343
|
data: literalObject({
|
|
342
344
|
appId: appId,
|
|
343
345
|
timestamp: Date.now().toString(),
|
|
344
|
-
data: encodeToJson(
|
|
346
|
+
data: encodeToJson(j144)
|
|
345
347
|
}),
|
|
346
348
|
formUrlEncoded: true,
|
|
347
|
-
signKey:
|
|
349
|
+
signKey: i144,
|
|
348
350
|
fillData: new PLVStreamerMixActionResponse()
|
|
349
351
|
});
|
|
350
352
|
}
|
|
351
|
-
async getStreamerSessionId(
|
|
353
|
+
async getStreamerSessionId(g144, appId, h144, stream) {
|
|
352
354
|
return this.get({
|
|
353
355
|
url: URL_STREAMER_GET_SESSION_ID,
|
|
354
356
|
params: {
|
|
355
|
-
channelId:
|
|
357
|
+
channelId: g144,
|
|
356
358
|
appId: appId,
|
|
357
359
|
stream: stream,
|
|
358
360
|
timestamp: Date.now()
|
|
359
361
|
},
|
|
360
|
-
signKey:
|
|
362
|
+
signKey: h144,
|
|
361
363
|
fillData: new PLVStreamerSessionIdQueryResponse()
|
|
362
364
|
});
|
|
363
365
|
}
|
|
364
|
-
async updateChannelBasic(
|
|
366
|
+
async updateChannelBasic(e144, appId, f144, body) {
|
|
365
367
|
return this.post({
|
|
366
368
|
url: URL_UPDATE_CHANNEL_BASIC,
|
|
367
369
|
params: {
|
|
368
|
-
channelId:
|
|
370
|
+
channelId: e144,
|
|
369
371
|
appId: appId,
|
|
370
372
|
timestamp: Date.now()
|
|
371
373
|
},
|
|
372
374
|
data: body,
|
|
373
|
-
signKey:
|
|
375
|
+
signKey: f144
|
|
374
376
|
});
|
|
375
377
|
}
|
|
376
|
-
async getListUsers(
|
|
378
|
+
async getListUsers(b144, appId, c144, sessionId, page, length, getStatus, d144) {
|
|
377
379
|
return this.get({
|
|
378
380
|
url: URL_CHAT_LIST_USER,
|
|
379
381
|
params: {
|
|
380
|
-
channelId:
|
|
382
|
+
channelId: b144,
|
|
381
383
|
appId: appId,
|
|
382
384
|
sessionId: sessionId,
|
|
383
|
-
page:
|
|
385
|
+
page: page,
|
|
384
386
|
len: length,
|
|
385
387
|
getStatus: getStatus,
|
|
386
|
-
toGetSubRooms:
|
|
388
|
+
toGetSubRooms: d144,
|
|
387
389
|
timestamp: Date.now()
|
|
388
390
|
},
|
|
389
|
-
signKey:
|
|
391
|
+
signKey: c144,
|
|
390
392
|
fillData: new PLVMemberListResponseData()
|
|
391
393
|
});
|
|
392
394
|
}
|
|
393
|
-
async getLiveStatusSessionId(
|
|
395
|
+
async getLiveStatusSessionId(a144, stream) {
|
|
394
396
|
return this.get({
|
|
395
397
|
url: URL_LIVE_STATUS_QUERY,
|
|
396
398
|
params: {
|
|
397
399
|
stream: stream,
|
|
398
|
-
channelId:
|
|
400
|
+
channelId: a144
|
|
399
401
|
}
|
|
400
402
|
});
|
|
401
403
|
}
|
|
402
|
-
async getImageUploadToken(
|
|
404
|
+
async getImageUploadToken(y143, appId, z143) {
|
|
403
405
|
return this.get({
|
|
404
406
|
url: URL_GET_IMAGE_UPLOAD_TOKEN,
|
|
405
407
|
params: {
|
|
406
408
|
appId: appId,
|
|
407
|
-
channelId:
|
|
409
|
+
channelId: y143,
|
|
408
410
|
timestamp: Date.now()
|
|
409
411
|
},
|
|
410
|
-
signKey:
|
|
412
|
+
signKey: z143
|
|
411
413
|
});
|
|
412
414
|
}
|
|
413
|
-
async getInvitePosterSetting(
|
|
415
|
+
async getInvitePosterSetting(w143, appId, x143) {
|
|
414
416
|
return this.get({
|
|
415
417
|
url: URL_GET_INVITE_POSTER_SETTING,
|
|
416
418
|
params: {
|
|
417
419
|
appId: appId,
|
|
418
|
-
channelId:
|
|
420
|
+
channelId: w143,
|
|
419
421
|
timestamp: Date.now()
|
|
420
422
|
},
|
|
421
|
-
signKey:
|
|
423
|
+
signKey: x143
|
|
424
|
+
});
|
|
425
|
+
}
|
|
426
|
+
getPreviousList(t143, appId, u143, page, pageSize, v143) {
|
|
427
|
+
return this.get({
|
|
428
|
+
url: URL_GET_PREVIOUS_LIST,
|
|
429
|
+
params: {
|
|
430
|
+
channelId: t143,
|
|
431
|
+
appId: appId,
|
|
432
|
+
page: page,
|
|
433
|
+
pageSize: pageSize,
|
|
434
|
+
listType: v143,
|
|
435
|
+
timestamp: Date.now().toString()
|
|
436
|
+
},
|
|
437
|
+
signKey: u143,
|
|
438
|
+
fillData: new PLVPreviousListVO()
|
|
422
439
|
});
|
|
423
440
|
}
|
|
424
441
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { PLVHttpRequest, PLVResponseObject } from '@polyvharmony/live-scenes-foundation';
|
|
2
2
|
import { PLVChannelData } from '../../common/PLVChannelData';
|
|
3
|
-
export declare function eLogPlvNetApi(
|
|
3
|
+
export declare function eLogPlvNetApi(q146: PLVChannelData): PLVELogPlvNetApi;
|
|
4
4
|
export declare class PLVELogPlvNetApi extends PLVHttpRequest {
|
|
5
5
|
constructor();
|
|
6
|
-
reportLiveELog(
|
|
6
|
+
reportLiveELog(p146?: string, log?: string): Promise<PLVResponseObject>;
|
|
7
7
|
}
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { PLVApiConstants, PLVHttpRequest, PLVRequestSetting } from '@polyvharmony/live-scenes-foundation';
|
|
2
2
|
const URL_REPORT_LIVE_ELOG = '/v4/live/save-elog';
|
|
3
|
-
export function eLogPlvNetApi(
|
|
4
|
-
return new PLVELogPlvNetApi().ua(
|
|
3
|
+
export function eLogPlvNetApi(q146) {
|
|
4
|
+
return new PLVELogPlvNetApi().ua(q146.ua());
|
|
5
5
|
}
|
|
6
6
|
export class PLVELogPlvNetApi extends PLVHttpRequest {
|
|
7
7
|
constructor() {
|
|
8
8
|
super(PLVApiConstants.ELOG_PLV_NET);
|
|
9
9
|
}
|
|
10
|
-
reportLiveELog(
|
|
10
|
+
reportLiveELog(p146, log) {
|
|
11
11
|
return this.post({
|
|
12
12
|
url: URL_REPORT_LIVE_ELOG,
|
|
13
13
|
data: {
|
|
14
|
-
'channelId':
|
|
14
|
+
'channelId': p146,
|
|
15
15
|
'log': log,
|
|
16
16
|
'timestamp': Date.now() + '',
|
|
17
17
|
'ltype': 82 + ''
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { PLVHttpRequest, PLVResponseData } from '@polyvharmony/live-scenes-foundation';
|
|
2
2
|
import { PLVChannelData } from '../../common/PLVChannelData';
|
|
3
3
|
import { PLVCardPushVO } from '../interact/pushcard/model/PLVCardPushVO';
|
|
4
|
-
export declare function apiPlvLiveImagesApi(
|
|
4
|
+
export declare function apiPlvLiveImagesApi(u146: PLVChannelData | string): PLVLiveImagesVideoNetApi;
|
|
5
5
|
export declare class PLVLiveImagesVideoNetApi extends PLVHttpRequest {
|
|
6
6
|
constructor();
|
|
7
|
-
getCardPushInfo(
|
|
8
|
-
uploadLiveImages(fileName: string, key: string, policy: string,
|
|
7
|
+
getCardPushInfo(s146?: string, t146?: string): Promise<PLVResponseData<PLVCardPushVO>>;
|
|
8
|
+
uploadLiveImages(fileName: string, key: string, policy: string, r146: string, signature: string, callback: string, file: ArrayBuffer): Promise<string>;
|
|
9
9
|
}
|
|
@@ -3,17 +3,17 @@ import { PLVChannelData } from '../../common/PLVChannelData';
|
|
|
3
3
|
import { PLVCardPushVO } from '../interact/pushcard/model/PLVCardPushVO';
|
|
4
4
|
const URL_GET_CARD_PUSH_INFO = '/cardPush/{channelId}/{cardId}.json';
|
|
5
5
|
const URL_UPLOAD_LIVE_IMAGES = '/';
|
|
6
|
-
export function apiPlvLiveImagesApi(
|
|
7
|
-
return new PLVLiveImagesVideoNetApi().ua(
|
|
6
|
+
export function apiPlvLiveImagesApi(u146) {
|
|
7
|
+
return new PLVLiveImagesVideoNetApi().ua(u146 instanceof PLVChannelData ? u146.ua() : u146);
|
|
8
8
|
}
|
|
9
9
|
export class PLVLiveImagesVideoNetApi extends PLVHttpRequest {
|
|
10
10
|
constructor() {
|
|
11
11
|
super(PLVApiConstants.HTTPS_LIVEIMAGES_VIDEOCC_NET);
|
|
12
12
|
}
|
|
13
|
-
async getCardPushInfo(
|
|
13
|
+
async getCardPushInfo(s146, t146) {
|
|
14
14
|
const map = new Map();
|
|
15
|
-
map.set('channelId',
|
|
16
|
-
map.set('cardId',
|
|
15
|
+
map.set('channelId', s146);
|
|
16
|
+
map.set('cardId', t146);
|
|
17
17
|
const url = PLVNetUtils.replaceUrl(URL_GET_CARD_PUSH_INFO, map);
|
|
18
18
|
return this.get({
|
|
19
19
|
url: url,
|
|
@@ -23,11 +23,11 @@ export class PLVLiveImagesVideoNetApi extends PLVHttpRequest {
|
|
|
23
23
|
fillData: new PLVCardPushVO()
|
|
24
24
|
});
|
|
25
25
|
}
|
|
26
|
-
async uploadLiveImages(fileName, key, policy,
|
|
26
|
+
async uploadLiveImages(fileName, key, policy, r146, signature, callback, file) {
|
|
27
27
|
const formData = new FormData();
|
|
28
28
|
formData.append('key', key);
|
|
29
29
|
formData.append('policy', policy);
|
|
30
|
-
formData.append('OSSAccessKeyId',
|
|
30
|
+
formData.append('OSSAccessKeyId', r146);
|
|
31
31
|
formData.append('signature', signature);
|
|
32
32
|
formData.append('success_action_status', '200');
|
|
33
33
|
formData.append('callback', callback);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { PLVHttpRequest, PLVResponseData } from "@polyvharmony/live-scenes-foundation";
|
|
2
2
|
import { PLVChannelData } from "../../common/PLVChannelData";
|
|
3
|
-
export declare function createNGBPushApi(
|
|
3
|
+
export declare function createNGBPushApi(w146: PLVChannelData | string): PLVNGBPushApi;
|
|
4
4
|
export declare class PLVNGBPushApi extends PLVHttpRequest {
|
|
5
5
|
constructor();
|
|
6
|
-
getNGBPushStreamUrl(
|
|
6
|
+
getNGBPushStreamUrl(v146: string): Promise<PLVResponseData<string>>;
|
|
7
7
|
}
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import { PLVApiConstants, PLVHttpRequest } from "@polyvharmony/live-scenes-foundation";
|
|
2
2
|
import { PLVChannelData } from "../../common/PLVChannelData";
|
|
3
|
-
export function createNGBPushApi(
|
|
4
|
-
return new PLVNGBPushApi().ua(
|
|
3
|
+
export function createNGBPushApi(w146) {
|
|
4
|
+
return new PLVNGBPushApi().ua(w146 instanceof PLVChannelData ? w146.ua() : w146);
|
|
5
5
|
}
|
|
6
6
|
export class PLVNGBPushApi extends PLVHttpRequest {
|
|
7
7
|
constructor() {
|
|
8
8
|
super(PLVApiConstants.NGB_PUSH_URL);
|
|
9
9
|
}
|
|
10
|
-
async getNGBPushStreamUrl(
|
|
10
|
+
async getNGBPushStreamUrl(v146) {
|
|
11
11
|
return this.get({
|
|
12
12
|
url: "",
|
|
13
13
|
headers: {
|
|
14
14
|
"WS_RETIP_NUM": "1",
|
|
15
15
|
"WS_URL_TYPE": "3",
|
|
16
|
-
"WS_URL":
|
|
16
|
+
"WS_URL": v146
|
|
17
17
|
}
|
|
18
18
|
});
|
|
19
19
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { PLVHttpRequest } from "@polyvharmony/live-scenes-foundation";
|
|
2
2
|
import { PLVChannelData } from "../../common/PLVChannelData";
|
|
3
3
|
import { PLVLiveViewLogVO } from "../business/model/PLVLiveViewLogVO";
|
|
4
|
-
export declare function rtasVideoNetApi(
|
|
4
|
+
export declare function rtasVideoNetApi(y146: PLVChannelData | string): PLVRtasVideoNetApi;
|
|
5
5
|
export declare class PLVRtasVideoNetApi extends PLVHttpRequest {
|
|
6
6
|
constructor();
|
|
7
|
-
sendLiveViewLog(
|
|
7
|
+
sendLiveViewLog(x146: PLVLiveViewLogVO): Promise<void>;
|
|
8
8
|
}
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { PLVApiConstants, PLVHttpRequest } from "@polyvharmony/live-scenes-foundation";
|
|
2
2
|
import { PLVChannelData } from "../../common/PLVChannelData";
|
|
3
3
|
const URL_LIVE_VIEW_LOG = '/v2/view';
|
|
4
|
-
export function rtasVideoNetApi(
|
|
5
|
-
return new PLVRtasVideoNetApi().ua(
|
|
4
|
+
export function rtasVideoNetApi(y146) {
|
|
5
|
+
return new PLVRtasVideoNetApi().ua(y146 instanceof PLVChannelData ? y146.ua() : y146);
|
|
6
6
|
}
|
|
7
7
|
export class PLVRtasVideoNetApi extends PLVHttpRequest {
|
|
8
8
|
constructor() {
|
|
9
9
|
super(PLVApiConstants.RTAS_VIDEOCC_NET);
|
|
10
10
|
}
|
|
11
|
-
sendLiveViewLog(
|
|
11
|
+
sendLiveViewLog(x146) {
|
|
12
12
|
return this.get({
|
|
13
13
|
url: URL_LIVE_VIEW_LOG,
|
|
14
|
-
params:
|
|
14
|
+
params: x146
|
|
15
15
|
});
|
|
16
16
|
}
|
|
17
17
|
}
|