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