@polyvharmony/live-scenes-sdk 1.3.0-rc.1 → 1.3.0-rc.2

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.
Files changed (210) hide show
  1. package/BuildProfile.d.ets +2 -2
  2. package/BuildProfile.js +1 -1
  3. package/CHANGELOG.md +1 -1
  4. package/oh-package.json5 +1 -1
  5. package/package.json +1 -1
  6. package/src/main/ets/modules/chatroom/PLVChatroomManager.d.ets +9 -9
  7. package/src/main/ets/modules/chatroom/PLVChatroomManager.js +57 -58
  8. package/src/main/ets/modules/i18n/PLVI18NDataMapper.d.ets +3 -3
  9. package/src/main/ets/modules/i18n/PLVI18NDataMapper.js +12 -12
  10. package/src/main/ets/modules/i18n/PLVLanguageManager.js +8 -5
  11. package/src/main/ets/modules/interact/PLVInteractManager.d.ets +4 -4
  12. package/src/main/ets/modules/interact/PLVInteractManager.js +8 -8
  13. package/src/main/ets/modules/interact/PLVInteractWeb.d.ets +2 -2
  14. package/src/main/ets/modules/interact/PLVInteractWeb.js +39 -39
  15. package/src/main/ets/modules/interact/invitePoster/PLVInteractInvitePoster.d.ets +1 -1
  16. package/src/main/ets/modules/interact/invitePoster/PLVInteractInvitePoster.js +16 -16
  17. package/src/main/ets/modules/interact/model/PLVFunctionSwitchBean.d.ets +1 -1
  18. package/src/main/ets/modules/interact/model/PLVFunctionSwitchBean.js +2 -2
  19. package/src/main/ets/modules/interact/pushcard/PLVPushCardManager.d.ets +2 -2
  20. package/src/main/ets/modules/interact/pushcard/PLVPushCardManager.js +16 -16
  21. package/src/main/ets/modules/interact/pushcard/repo/PLVCardLookTimeLocalRepository.d.ets +3 -3
  22. package/src/main/ets/modules/interact/pushcard/repo/PLVCardLookTimeLocalRepository.js +6 -6
  23. package/src/main/ets/modules/interact/redpack/model/PLVHistoryRedPaperEvent.js +4 -4
  24. package/src/main/ets/modules/interact/redpack/model/PLVRedPaperEvent.js +4 -4
  25. package/src/main/ets/modules/linkmic/PLVLinkMicManager.d.ets +12 -12
  26. package/src/main/ets/modules/linkmic/PLVLinkMicManager.js +33 -33
  27. package/src/main/ets/modules/linkmic/mediator/PLVLinkMicMediator.d.ets +2 -2
  28. package/src/main/ets/modules/linkmic/mediator/PLVLinkMicMediator.js +10 -10
  29. package/src/main/ets/modules/linkmic/mediator/PLVLinkMicRTCEventCallback.d.ets +6 -6
  30. package/src/main/ets/modules/linkmic/mediator/PLVLinkMicRTCEventCallback.js +29 -29
  31. package/src/main/ets/modules/linkmic/model/PLVLinkMicRepo.d.ets +5 -5
  32. package/src/main/ets/modules/linkmic/model/PLVLinkMicRepo.js +52 -52
  33. package/src/main/ets/modules/linkmic/model/datasource/PLVLinkMicNetworkDataSource.d.ets +4 -4
  34. package/src/main/ets/modules/linkmic/model/datasource/PLVLinkMicNetworkDataSource.js +32 -32
  35. package/src/main/ets/modules/linkmic/model/vo/PLVLinkMicBitRateEncodeParam.d.ets +1 -1
  36. package/src/main/ets/modules/linkmic/model/vo/PLVLinkMicBitRateEncodeParam.js +6 -6
  37. package/src/main/ets/modules/linkmic/model/vo/PLVLinkMicInteractEvent.d.ets +1 -1
  38. package/src/main/ets/modules/linkmic/model/vo/PLVLinkMicInteractEvent.js +2 -2
  39. package/src/main/ets/modules/linkmic/model/vo/PLVLinkMicMode.js +3 -3
  40. package/src/main/ets/modules/linkmic/model/vo/PLVLinkMicRTCType.js +2 -2
  41. package/src/main/ets/modules/linkmic/model/vo/PLVLinkMicState.js +6 -6
  42. package/src/main/ets/modules/linkmic/model/vo/PLVLinkMicVideoRenderParam.d.ets +1 -1
  43. package/src/main/ets/modules/linkmic/model/vo/PLVLinkMicVideoRenderParam.js +3 -3
  44. package/src/main/ets/modules/linkmic/model/vo/PLVLinkMicViewer.d.ets +1 -1
  45. package/src/main/ets/modules/linkmic/model/vo/PLVLinkMicViewer.js +5 -5
  46. package/src/main/ets/modules/linkmic/viewmodel/PLVLinkMicViewModel.d.ets +13 -13
  47. package/src/main/ets/modules/linkmic/viewmodel/PLVLinkMicViewModel.js +34 -34
  48. package/src/main/ets/modules/linkmic/viewmodel/usecase/LinkMicEncodeParamUseCase.d.ets +5 -5
  49. package/src/main/ets/modules/linkmic/viewmodel/usecase/LinkMicEncodeParamUseCase.js +13 -13
  50. package/src/main/ets/modules/linkmic/viewmodel/usecase/LinkMicHandleQueueOrderUseCase.d.ets +4 -4
  51. package/src/main/ets/modules/linkmic/viewmodel/usecase/LinkMicHandleQueueOrderUseCase.js +25 -25
  52. package/src/main/ets/modules/linkmic/viewmodel/usecase/LinkMicHandleRTCUseCase.d.ets +4 -4
  53. package/src/main/ets/modules/linkmic/viewmodel/usecase/LinkMicHandleRTCUseCase.js +13 -13
  54. package/src/main/ets/modules/linkmic/viewmodel/usecase/LinkMicHandleStateUseCase.d.ets +10 -10
  55. package/src/main/ets/modules/linkmic/viewmodel/usecase/LinkMicHandleStateUseCase.js +26 -26
  56. package/src/main/ets/modules/linkmic/viewmodel/usecase/LinkMicUpdateChannelViewerUseCase.d.ets +5 -5
  57. package/src/main/ets/modules/linkmic/viewmodel/usecase/LinkMicUpdateChannelViewerUseCase.js +127 -127
  58. package/src/main/ets/modules/linkmic/viewmodel/usecase/LinkMicViewLogUseCase.d.ets +1 -1
  59. package/src/main/ets/modules/linkmic/viewmodel/usecase/LinkMicViewLogUseCase.js +27 -27
  60. package/src/main/ets/modules/linkmic/viewmodel/usecase/PLVLinkMicUseCases.d.ets +1 -1
  61. package/src/main/ets/modules/linkmic/viewmodel/usecase/PLVLinkMicUseCases.js +7 -7
  62. package/src/main/ets/modules/linkmic/viewmodel/usecase/roles/guest/LinkMicGuestEncodeParamUseCase.d.ets +5 -5
  63. package/src/main/ets/modules/linkmic/viewmodel/usecase/roles/guest/LinkMicGuestEncodeParamUseCase.js +79 -79
  64. package/src/main/ets/modules/linkmic/viewmodel/usecase/roles/guest/LinkMicGuestHandleRTCUseCase.d.ets +4 -4
  65. package/src/main/ets/modules/linkmic/viewmodel/usecase/roles/guest/LinkMicGuestHandleRTCUseCase.js +26 -26
  66. package/src/main/ets/modules/linkmic/viewmodel/usecase/roles/guest/LinkMicGuestHandleStateUseCase.d.ets +10 -10
  67. package/src/main/ets/modules/linkmic/viewmodel/usecase/roles/guest/LinkMicGuestHandleStateUseCase.js +135 -135
  68. package/src/main/ets/modules/linkmic/viewmodel/usecase/roles/teacher/LinkMicTeacherEncodeParamUseCase.d.ets +5 -5
  69. package/src/main/ets/modules/linkmic/viewmodel/usecase/roles/teacher/LinkMicTeacherEncodeParamUseCase.js +79 -79
  70. package/src/main/ets/modules/linkmic/viewmodel/usecase/roles/teacher/LinkMicTeacherHandleRTCUseCase.d.ets +4 -4
  71. package/src/main/ets/modules/linkmic/viewmodel/usecase/roles/teacher/LinkMicTeacherHandleRTCUseCase.js +22 -22
  72. package/src/main/ets/modules/linkmic/viewmodel/usecase/roles/teacher/LinkMicTeacherHandleStateUseCase.d.ets +10 -10
  73. package/src/main/ets/modules/linkmic/viewmodel/usecase/roles/teacher/LinkMicTeacherHandleStateUseCase.js +106 -106
  74. package/src/main/ets/modules/linkmic/viewmodel/usecase/roles/viewer/LinkMicViewerEncodeParamUseCase.d.ets +5 -5
  75. package/src/main/ets/modules/linkmic/viewmodel/usecase/roles/viewer/LinkMicViewerEncodeParamUseCase.js +12 -12
  76. package/src/main/ets/modules/linkmic/viewmodel/usecase/roles/viewer/LinkMicViewerHandleRTCUseCase.d.ets +4 -4
  77. package/src/main/ets/modules/linkmic/viewmodel/usecase/roles/viewer/LinkMicViewerHandleRTCUseCase.js +31 -31
  78. package/src/main/ets/modules/linkmic/viewmodel/usecase/roles/viewer/LinkMicViewerHandleStateUseCase.d.ets +10 -10
  79. package/src/main/ets/modules/linkmic/viewmodel/usecase/roles/viewer/LinkMicViewerHandleStateUseCase.js +102 -102
  80. package/src/main/ets/modules/log/elog/PLVELogSender.d.ets +4 -4
  81. package/src/main/ets/modules/log/elog/PLVELogSender.js +11 -11
  82. package/src/main/ets/modules/log/elog/model/PLVELogDataBean.d.ets +1 -1
  83. package/src/main/ets/modules/log/elog/model/PLVELogDataBean.js +9 -9
  84. package/src/main/ets/modules/log/elog/model/PLVELogModuleConstants.js +8 -8
  85. package/src/main/ets/modules/login/PLVSceneLoginManager.d.ets +2 -2
  86. package/src/main/ets/modules/login/PLVSceneLoginManager.js +71 -71
  87. package/src/main/ets/modules/login/model/PLVChatDomainVO.d.ets +2 -2
  88. package/src/main/ets/modules/login/model/PLVChatDomainVO.js +4 -4
  89. package/src/main/ets/modules/login/model/PLVLiveChannelType.js +9 -9
  90. package/src/main/ets/modules/login/model/PLVLiveDetailVO.d.ets +1 -1
  91. package/src/main/ets/modules/login/model/PLVLiveDetailVO.js +2 -2
  92. package/src/main/ets/modules/login/model/PLVLiveStatus.js +9 -9
  93. package/src/main/ets/modules/login/model/PLVLiveStatusVO.js +6 -6
  94. package/src/main/ets/modules/login/model/PLVLoginLiveResult.d.ets +1 -1
  95. package/src/main/ets/modules/login/model/PLVLoginLiveResult.js +4 -4
  96. package/src/main/ets/modules/login/model/PLVLoginPlaybackResult.d.ets +1 -1
  97. package/src/main/ets/modules/login/model/PLVLoginPlaybackResult.js +5 -5
  98. package/src/main/ets/modules/login/model/PLVLoginType.d.ets +2 -2
  99. package/src/main/ets/modules/login/model/PLVLoginType.js +16 -16
  100. package/src/main/ets/modules/member/PLVMemberManager.d.ets +3 -3
  101. package/src/main/ets/modules/member/PLVMemberManager.js +10 -10
  102. package/src/main/ets/modules/member/mediator/PLVMemberMediator.d.ets +2 -2
  103. package/src/main/ets/modules/member/mediator/PLVMemberMediator.js +6 -6
  104. package/src/main/ets/modules/member/model/PLVMemberRepo.d.ets +1 -1
  105. package/src/main/ets/modules/member/model/PLVMemberRepo.js +6 -6
  106. package/src/main/ets/modules/member/model/datasource/PLVMemberNetworkDataSource.d.ets +2 -2
  107. package/src/main/ets/modules/member/model/datasource/PLVMemberNetworkDataSource.js +7 -7
  108. package/src/main/ets/modules/member/model/vo/PLVMemberChannelViewer.d.ets +1 -1
  109. package/src/main/ets/modules/member/model/vo/PLVMemberChannelViewer.js +3 -3
  110. package/src/main/ets/modules/member/viewmodel/PLVMemberViewModel.d.ets +3 -3
  111. package/src/main/ets/modules/member/viewmodel/PLVMemberViewModel.js +15 -15
  112. package/src/main/ets/modules/member/viewmodel/usecase/MemberHandleStateUseCase.d.ets +6 -6
  113. package/src/main/ets/modules/member/viewmodel/usecase/MemberHandleStateUseCase.js +16 -16
  114. package/src/main/ets/modules/member/viewmodel/usecase/MemberUpdateViewerUseCase.d.ets +8 -8
  115. package/src/main/ets/modules/member/viewmodel/usecase/MemberUpdateViewerUseCase.js +19 -19
  116. package/src/main/ets/modules/member/viewmodel/usecase/PLVMemberUseCases.d.ets +1 -1
  117. package/src/main/ets/modules/member/viewmodel/usecase/PLVMemberUseCases.js +3 -3
  118. package/src/main/ets/modules/member/viewmodel/usecase/roles/guest/MemberGuestHandleStateUseCase.d.ets +6 -6
  119. package/src/main/ets/modules/member/viewmodel/usecase/roles/guest/MemberGuestHandleStateUseCase.js +60 -60
  120. package/src/main/ets/modules/member/viewmodel/usecase/roles/guest/MemberGuestUpdateViewerUseCase.d.ets +8 -8
  121. package/src/main/ets/modules/member/viewmodel/usecase/roles/guest/MemberGuestUpdateViewerUseCase.js +202 -202
  122. package/src/main/ets/modules/member/viewmodel/usecase/roles/teacher/MemberTeacherHandleStateUseCase.d.ets +6 -6
  123. package/src/main/ets/modules/member/viewmodel/usecase/roles/teacher/MemberTeacherHandleStateUseCase.js +128 -128
  124. package/src/main/ets/modules/member/viewmodel/usecase/roles/teacher/MemberTeacherUpdateViewerUseCase.d.ets +8 -8
  125. package/src/main/ets/modules/member/viewmodel/usecase/roles/teacher/MemberTeacherUpdateViewerUseCase.js +202 -202
  126. package/src/main/ets/modules/net/PLVApiChatPlvNetApi.d.ets +9 -9
  127. package/src/main/ets/modules/net/PLVApiChatPlvNetApi.js +30 -30
  128. package/src/main/ets/modules/net/PLVApiPlvNetApi.d.ets +29 -29
  129. package/src/main/ets/modules/net/PLVApiPlvNetApi.js +103 -103
  130. package/src/main/ets/modules/net/PLVELogPlvNetApi.d.ets +2 -2
  131. package/src/main/ets/modules/net/PLVELogPlvNetApi.js +4 -4
  132. package/src/main/ets/modules/net/PLVLiveImagesVideoNetApi.d.ets +3 -3
  133. package/src/main/ets/modules/net/PLVLiveImagesVideoNetApi.js +7 -7
  134. package/src/main/ets/modules/net/PLVNGBPushApi.d.ets +2 -2
  135. package/src/main/ets/modules/net/PLVNGBPushApi.js +4 -4
  136. package/src/main/ets/modules/net/PLVRtasVideoNetApi.d.ets +2 -2
  137. package/src/main/ets/modules/net/PLVRtasVideoNetApi.js +4 -4
  138. package/src/main/ets/modules/net/vo/PLVNetworkQuality.js +8 -8
  139. package/src/main/ets/modules/player/PLVPlayerManager.d.ets +2 -2
  140. package/src/main/ets/modules/player/PLVPlayerManager.js +6 -6
  141. package/src/main/ets/modules/player/PLVPlayerMediator.d.ets +1 -1
  142. package/src/main/ets/modules/player/PLVPlayerMediator.js +8 -8
  143. package/src/main/ets/modules/player/playback/PLVPlaybackListType.js +4 -4
  144. package/src/main/ets/modules/player/playback/PLVPreviousManager.d.ets +4 -4
  145. package/src/main/ets/modules/player/playback/PLVPreviousManager.js +48 -48
  146. package/src/main/ets/modules/ppt/PLVPPTWebController.d.ets +5 -5
  147. package/src/main/ets/modules/ppt/PLVPPTWebController.js +42 -42
  148. package/src/main/ets/modules/product/PLVProductManager.d.ets +4 -4
  149. package/src/main/ets/modules/product/PLVProductManager.js +48 -48
  150. package/src/main/ets/modules/product/components/PLVProductWeb.js +5 -5
  151. package/src/main/ets/modules/product/model/PLVProductContentBean.js +7 -7
  152. package/src/main/ets/modules/product/model/PLVProductControlEvent.js +4 -4
  153. package/src/main/ets/modules/product/model/PLVProductDataBean.d.ets +1 -1
  154. package/src/main/ets/modules/product/model/PLVProductDataBean.js +13 -13
  155. package/src/main/ets/modules/redpack/PLVRedpackManager.d.ets +9 -9
  156. package/src/main/ets/modules/redpack/PLVRedpackManager.js +61 -61
  157. package/src/main/ets/modules/redpack/database/PLVRedpackCacheVO.d.ets +1 -1
  158. package/src/main/ets/modules/redpack/database/PLVRedpackCacheVO.js +10 -10
  159. package/src/main/ets/modules/redpack/database/PLVRedpackLocalDataSource.d.ets +3 -3
  160. package/src/main/ets/modules/redpack/database/PLVRedpackLocalDataSource.js +18 -18
  161. package/src/main/ets/modules/redpack/database/PLVRedpackOpenHelper.d.ets +3 -3
  162. package/src/main/ets/modules/redpack/database/PLVRedpackOpenHelper.js +4 -4
  163. package/src/main/ets/modules/reward/PLVRewardManager.d.ets +2 -2
  164. package/src/main/ets/modules/reward/PLVRewardManager.js +18 -18
  165. package/src/main/ets/modules/reward/model/PLVRewardSettingVO.js +8 -8
  166. package/src/main/ets/modules/socket/PLVSocketManager.d.ets +8 -8
  167. package/src/main/ets/modules/socket/PLVSocketManager.js +70 -70
  168. package/src/main/ets/modules/socket/PLVSocketMediator.d.ets +7 -7
  169. package/src/main/ets/modules/socket/PLVSocketMediator.js +14 -14
  170. package/src/main/ets/modules/socket/model/PLVSocketUserBean.d.ets +3 -3
  171. package/src/main/ets/modules/socket/model/PLVSocketUserBean.js +12 -12
  172. package/src/main/ets/modules/socket/model/PLVUserType.js +15 -15
  173. package/src/main/ets/modules/socket/model/interact/PLVCallAppEvent.js +5 -5
  174. package/src/main/ets/modules/socket/model/redpack/RedPaperReceiveType.d.ets +3 -3
  175. package/src/main/ets/modules/socket/model/redpack/RedPaperReceiveType.js +13 -13
  176. package/src/main/ets/modules/streamer/PLVStreamerManager.d.ets +5 -5
  177. package/src/main/ets/modules/streamer/PLVStreamerManager.js +18 -18
  178. package/src/main/ets/modules/streamer/mediator/PLVStreamerMediator.d.ets +1 -1
  179. package/src/main/ets/modules/streamer/mediator/PLVStreamerMediator.js +2 -2
  180. package/src/main/ets/modules/streamer/model/PLVStreamerRepo.d.ets +3 -3
  181. package/src/main/ets/modules/streamer/model/PLVStreamerRepo.js +30 -30
  182. package/src/main/ets/modules/streamer/model/datasource/PLVStreamerLocalDataSource.d.ets +2 -2
  183. package/src/main/ets/modules/streamer/model/datasource/PLVStreamerLocalDataSource.js +8 -8
  184. package/src/main/ets/modules/streamer/model/datasource/PLVStreamerNetworkDataSource.d.ets +7 -7
  185. package/src/main/ets/modules/streamer/model/datasource/PLVStreamerNetworkDataSource.js +32 -32
  186. package/src/main/ets/modules/streamer/model/vo/PLVStreamerMixActionVO.js +15 -15
  187. package/src/main/ets/modules/streamer/model/vo/PLVStreamerMixLayoutType.js +4 -4
  188. package/src/main/ets/modules/streamer/model/vo/PLVStreamerState.js +4 -4
  189. package/src/main/ets/modules/streamer/viewmodel/PLVStreamerViewModel.d.ets +5 -5
  190. package/src/main/ets/modules/streamer/viewmodel/PLVStreamerViewModel.js +14 -14
  191. package/src/main/ets/modules/streamer/viewmodel/usecase/PLVStreamerUseCases.d.ets +1 -1
  192. package/src/main/ets/modules/streamer/viewmodel/usecase/PLVStreamerUseCases.js +3 -3
  193. package/src/main/ets/modules/streamer/viewmodel/usecase/StreamerHandleStateUseCase.d.ets +1 -1
  194. package/src/main/ets/modules/streamer/viewmodel/usecase/StreamerHandleStateUseCase.js +6 -6
  195. package/src/main/ets/modules/streamer/viewmodel/usecase/StreamerMixStreamUseCase.d.ets +2 -2
  196. package/src/main/ets/modules/streamer/viewmodel/usecase/StreamerMixStreamUseCase.js +7 -7
  197. package/src/main/ets/modules/streamer/viewmodel/usecase/roles/guest/StreamerGuestHandleStateUseCase.d.ets +1 -1
  198. package/src/main/ets/modules/streamer/viewmodel/usecase/roles/guest/StreamerGuestHandleStateUseCase.js +27 -27
  199. package/src/main/ets/modules/streamer/viewmodel/usecase/roles/guest/StreamerGuestMixStreamUseCase.d.ets +2 -2
  200. package/src/main/ets/modules/streamer/viewmodel/usecase/roles/guest/StreamerGuestMixStreamUseCase.js +3 -3
  201. package/src/main/ets/modules/streamer/viewmodel/usecase/roles/teacher/StreamerTeacherHandleStateUseCase.d.ets +1 -1
  202. package/src/main/ets/modules/streamer/viewmodel/usecase/roles/teacher/StreamerTeacherHandleStateUseCase.js +14 -14
  203. package/src/main/ets/modules/streamer/viewmodel/usecase/roles/teacher/StreamerTeacherMixStreamUseCase.d.ets +2 -2
  204. package/src/main/ets/modules/streamer/viewmodel/usecase/roles/teacher/StreamerTeacherMixStreamUseCase.js +41 -41
  205. package/src/main/ets/modules/web/PLVSocketWebController.d.ets +2 -2
  206. package/src/main/ets/modules/web/PLVSocketWebController.js +19 -19
  207. package/src/main/ets/modules/web/PLVWebControllerManager.d.ets +2 -2
  208. package/src/main/ets/modules/web/PLVWebControllerManager.js +6 -6
  209. package/src/main/ets/modules/web/PLVWebParams.d.ets +1 -1
  210. package/src/main/ets/modules/web/PLVWebParams.js +20 -20
@@ -10,20 +10,20 @@ import { PLVSocketUserSend } from '../../../../../socket/model/PLVSocketUserBean
10
10
  import { PLVMemberSocketSetNickRecv } from '../../../../../member/model/vo/PLVMemberSocketEvent';
11
11
  const TAG = "PLVLinkMicManager";
12
12
  export class LinkMicGuestHandleStateUseCase {
13
- constructor(d121, e121, f121, g121) {
13
+ constructor(c121, d121, e121, f121) {
14
14
  this.disposables = [];
15
15
  this.observers = [];
16
- this.repo = d121;
17
- this.handleQueueOrderUseCase = e121;
18
- this.handleRTCUseCase = f121;
19
- this.updateChannelViewerUseCase = g121;
16
+ this.repo = c121;
17
+ this.handleQueueOrderUseCase = d121;
18
+ this.handleRTCUseCase = e121;
19
+ this.updateChannelViewerUseCase = f121;
20
20
  }
21
21
  init() {
22
22
  this.disposables.push(this.observeSocketEvent(PLVSocketOnEvent.MESSAGE, (data, event) => this.onSocketMessage(data, event)), this.observeSocketEvent(PLVSocketOnEvent.JOIN_REQUEST, (data) => this.onSocketJoinRequest(data)), this.observeSocketEvent(PLVSocketOnEvent.JOIN_RESPONSE, (data) => this.onSocketJoinResponse(data)), this.observeSocketEvent(PLVSocketOnEvent.JOIN_SUCCESS, (data) => this.onSocketJoinSuccess(data)), this.observeSocketEvent(PLVSocketOnEvent.JOIN_LEAVE, (data) => this.onSocketJoinLeave(data)), this.observeSocketEvent(PLVSocketOnEvent.SWITCH_VIEW, (data) => this.onSocketSwitchView(data)));
23
23
  }
24
24
  async requestJoinLinkMic() {
25
- const c121 = this.repo.mediator.linkmicState.value;
26
- if (c121 === PLVLinkMicState.Inviting) {
25
+ const b121 = this.repo.mediator.linkmicState.value;
26
+ if (b121 === PLVLinkMicState.Inviting) {
27
27
  this.acceptInvitation();
28
28
  return;
29
29
  }
@@ -50,8 +50,8 @@ export class LinkMicGuestHandleStateUseCase {
50
50
  event.roomId = this.repo.mediator.channelData?.loginChannelId;
51
51
  event.status = 1;
52
52
  this.repo.mediator.socketMediator?.emit(PLVSocketOnEvent.JOIN_ANSWER, encodeToJson(event), () => {
53
- const b121 = this.repo.mediator.linkmicState.value;
54
- if (b121 === PLVLinkMicState.Inviting) {
53
+ const a121 = this.repo.mediator.linkmicState.value;
54
+ if (a121 === PLVLinkMicState.Inviting) {
55
55
  this.repo.mediator.linkmicState.setValue(PLVLinkMicState.WaitingResponse);
56
56
  }
57
57
  });
@@ -65,8 +65,8 @@ export class LinkMicGuestHandleStateUseCase {
65
65
  this.repo.mediator.linkmicState.setValue(PLVLinkMicState.NoLinkMic);
66
66
  }
67
67
  leaveLinkMic() {
68
- const a121 = this.repo.mediator.linkmicState.value;
69
- if (a121 === undefined || ![PLVLinkMicState.Requesting, PLVLinkMicState.Joined].includes(a121)) {
68
+ const z120 = this.repo.mediator.linkmicState.value;
69
+ if (z120 === undefined || ![PLVLinkMicState.Requesting, PLVLinkMicState.Joined].includes(z120)) {
70
70
  return;
71
71
  }
72
72
  const event = new PLVLinkMicSocketJoinLeaveSend();
@@ -83,7 +83,7 @@ export class LinkMicGuestHandleStateUseCase {
83
83
  this.tryAutoJoinLinkMic();
84
84
  this.updateChannelViewerUseCase.startUpdateChannelLinkMicViewersInterval();
85
85
  }
86
- async setLinkMicMode(z120) {
86
+ async setLinkMicMode(y120) {
87
87
  return false;
88
88
  }
89
89
  async openLinkMic() {
@@ -92,64 +92,64 @@ export class LinkMicGuestHandleStateUseCase {
92
92
  async closeLinkMic() {
93
93
  return false;
94
94
  }
95
- acceptViewerLinkMicRequest(y120) {
95
+ acceptViewerLinkMicRequest(x120) {
96
96
  }
97
- inviteViewerLinkMic(w120, x120) {
97
+ inviteViewerLinkMic(v120, w120) {
98
98
  }
99
- hangupViewerLinkMic(v120) {
99
+ hangupViewerLinkMic(u120) {
100
100
  }
101
101
  hangupAllViewersLinkMic() {
102
102
  }
103
- setViewerEnableCamera(u120, enable) {
103
+ setViewerEnableCamera(t120, enable) {
104
104
  }
105
- setViewerEnableMicrophone(t120, enable) {
105
+ setViewerEnableMicrophone(s120, enable) {
106
106
  }
107
- grantSpeaker(s120) {
107
+ grantSpeaker(r120) {
108
108
  if (!this.isMyselfSpeaker()) {
109
109
  return;
110
110
  }
111
- this.moveSpeaker(s120);
112
- this.setMainView(s120);
111
+ this.moveSpeaker(r120);
112
+ this.setMainView(r120);
113
113
  }
114
- revokeSpeaker(q120) {
114
+ revokeSpeaker(p120) {
115
115
  if (!this.isMyselfSpeaker()) {
116
116
  return;
117
117
  }
118
- const r120 = requireNotNull(this.repo.mediator.channelData?.loginChannelId);
119
- this.moveSpeaker(r120);
120
- this.setMainView(r120);
118
+ const q120 = requireNotNull(this.repo.mediator.channelData?.loginChannelId);
119
+ this.moveSpeaker(q120);
120
+ this.setMainView(q120);
121
121
  }
122
- setMainView(n120) {
122
+ setMainView(m120) {
123
123
  if (!this.isMyselfSpeaker()) {
124
124
  return;
125
125
  }
126
- const o120 = this.repo.mediator.memberMediator?.findViewerByViewerId(n120);
127
- if (o120 === undefined) {
128
- PLVLogger.error(TAG, `setMainView fail, viewerId ${n120} not found.`);
126
+ const n120 = this.repo.mediator.memberMediator?.findViewerByViewerId(m120);
127
+ if (n120 === undefined) {
128
+ PLVLogger.error(TAG, `setMainView fail, viewerId ${m120} not found.`);
129
129
  return;
130
130
  }
131
- const p120 = new PLVLinkMicSocketSwitchViewSend();
132
- p120.emitMode = 0;
133
- p120.roomId = this.repo.mediator.channelData?.loginChannelId;
134
- p120.userId = o120.linkmicId;
135
- p120.socketId = o120.socketId;
136
- this.repo.mediator.socketMediator?.emit(PLVSocketOnEvent.SWITCH_VIEW, encodeToJson(p120));
131
+ const o120 = new PLVLinkMicSocketSwitchViewSend();
132
+ o120.emitMode = 0;
133
+ o120.roomId = this.repo.mediator.channelData?.loginChannelId;
134
+ o120.userId = n120.linkmicId;
135
+ o120.socketId = n120.socketId;
136
+ this.repo.mediator.socketMediator?.emit(PLVSocketOnEvent.SWITCH_VIEW, encodeToJson(o120));
137
137
  }
138
138
  isMyselfSpeaker() {
139
- const m120 = this.repo.mediator.channelMainViewLinkMicId.value;
140
- return !isNullOrUndefined(m120) && this.repo.mediator.isMySocketLinkMicId(m120);
141
- }
142
- moveSpeaker(k120) {
143
- const l120 = new PLVLinkMicSocketTeacherSetPermissionSend();
144
- l120.emitMode = 0;
145
- l120.roomId = this.repo.mediator.channelData?.loginChannelId;
146
- l120.sessionId = this.repo.mediator.channelData?.sessionId;
147
- l120.type = "speaker";
148
- l120.status = "1";
149
- l120.userId = k120;
150
- l120.sign = PLVRequestSetting.createSign(new Map(Object.entries(l120)), "polyvChatSign")
139
+ const l120 = this.repo.mediator.channelMainViewLinkMicId.value;
140
+ return !isNullOrUndefined(l120) && this.repo.mediator.isMySocketLinkMicId(l120);
141
+ }
142
+ moveSpeaker(j120) {
143
+ const k120 = new PLVLinkMicSocketTeacherSetPermissionSend();
144
+ k120.emitMode = 0;
145
+ k120.roomId = this.repo.mediator.channelData?.loginChannelId;
146
+ k120.sessionId = this.repo.mediator.channelData?.sessionId;
147
+ k120.type = "speaker";
148
+ k120.status = "1";
149
+ k120.userId = j120;
150
+ k120.sign = PLVRequestSetting.createSign(new Map(Object.entries(k120)), "polyvChatSign")
151
151
  .toUpperCase();
152
- this.repo.mediator.socketMediator?.emit(PLVSocketOnEvent.MESSAGE, encodeToJson(l120));
152
+ this.repo.mediator.socketMediator?.emit(PLVSocketOnEvent.MESSAGE, encodeToJson(k120));
153
153
  }
154
154
  onLiveStreamStop() {
155
155
  this.leaveLinkMic();
@@ -164,19 +164,19 @@ export class LinkMicGuestHandleStateUseCase {
164
164
  event.userId = this.repo.mediator.channelData?.viewerId;
165
165
  event.roomId = this.repo.mediator.channelData?.loginChannelId;
166
166
  event.sessionId = this.repo.mediator.channelData?.sessionId;
167
- const h120 = Date.now();
167
+ const g120 = Date.now();
168
168
  this.repo.mediator.socketMediator?.emit(PLVSocketOnEvent.JOIN_ANSWER_TTL, encodeToJson(event), (data) => {
169
169
  const ttl = decodeFromJson(data, PLVLinkMicSocketJoinAnswerTTLAck).message?.[0] ?? 0;
170
- const expire = h120 + seconds(ttl).toMillis();
170
+ const expire = g120 + seconds(ttl).toMillis();
171
171
  this.repo.mediator.invitationExpireTimestamp.setValue(expire);
172
- const i120 = expire - Date.now();
172
+ const h120 = expire - Date.now();
173
173
  setTimeout(() => {
174
174
  const expire = this.repo.mediator.invitationExpireTimestamp.value ?? 0;
175
- const j120 = this.repo.mediator.linkmicState.value;
176
- if (j120 === PLVLinkMicState.Inviting && Date.now() >= expire) {
175
+ const i120 = this.repo.mediator.linkmicState.value;
176
+ if (i120 === PLVLinkMicState.Inviting && Date.now() >= expire) {
177
177
  this.refuseInvitation();
178
178
  }
179
- }, i120);
179
+ }, h120);
180
180
  });
181
181
  }
182
182
  onSocketMessage(data, event) {
@@ -189,17 +189,17 @@ export class LinkMicGuestHandleStateUseCase {
189
189
  }
190
190
  }
191
191
  onSocketOpenMicrophone(data) {
192
- const f120 = decodeFromJson(data, PLVLinkMicSocketOpenMicrophoneRecv);
193
- const g120 = f120.userId !== undefined;
194
- if (f120.status === 'open') {
195
- if (!g120) {
192
+ const e120 = decodeFromJson(data, PLVLinkMicSocketOpenMicrophoneRecv);
193
+ const f120 = e120.userId !== undefined;
194
+ if (e120.status === 'open') {
195
+ if (!f120) {
196
196
  this.repo.mediator.channelAllowLinkMic.setValue(true);
197
197
  this.repo.mediator.channelAllowRequestHandsUpLinkMic.setValue(true);
198
- this.updateLinkMicMode(f120.type);
198
+ this.updateLinkMicMode(e120.type);
199
199
  }
200
200
  }
201
- else if (f120.status === 'close') {
202
- if (!g120) {
201
+ else if (e120.status === 'close') {
202
+ if (!f120) {
203
203
  if (this.repo.mediator.isLinkMicStrategyV2.value === true) {
204
204
  this.repo.mediator.channelAllowRequestHandsUpLinkMic.setValue(false);
205
205
  }
@@ -208,66 +208,66 @@ export class LinkMicGuestHandleStateUseCase {
208
208
  this.repo.mediator.channelAllowRequestHandsUpLinkMic.setValue(false);
209
209
  }
210
210
  }
211
- if (g120 && this.repo.mediator.isMySocketLinkMicId(f120.userId)) {
211
+ if (f120 && this.repo.mediator.isMySocketLinkMicId(e120.userId)) {
212
212
  this.repo.mediator.teacherHangUpLinkMicEvent.setValue(Date.now());
213
213
  this.leaveLinkMic();
214
214
  }
215
215
  }
216
216
  }
217
217
  onSocketMuteUserMicro(data) {
218
- const e120 = decodeFromJson(data, PLVLinkMicSocketMuteUserMicroRecv);
219
- if (e120.type === 'audio') {
220
- if (e120.mute === true) {
218
+ const d120 = decodeFromJson(data, PLVLinkMicSocketMuteUserMicroRecv);
219
+ if (d120.type === 'audio') {
220
+ if (d120.mute === true) {
221
221
  this.handleRTCUseCase.enableMicrophone(false);
222
222
  }
223
- if (e120.mute === false) {
223
+ if (d120.mute === false) {
224
224
  this.handleRTCUseCase.enableMicrophone(true);
225
225
  }
226
226
  }
227
- if (e120.type === 'video') {
228
- if (e120.mute === true) {
227
+ if (d120.type === 'video') {
228
+ if (d120.mute === true) {
229
229
  this.handleRTCUseCase.enableCamera(false);
230
230
  }
231
- if (e120.mute === false) {
231
+ if (d120.mute === false) {
232
232
  this.handleRTCUseCase.enableCamera(true);
233
233
  }
234
234
  }
235
235
  }
236
236
  onSocketTeacherSetPermission(data) {
237
- const b120 = decodeFromJson(data, PLVLinkMicSocketTeacherSetPermissionRecv);
238
- this.updateChannelViewerUseCase.onEventTeacherSetPermission(b120);
239
- if (b120.type === "voice") {
240
- const c120 = b120.status === "1";
241
- const d120 = !isNullOrUndefined(b120.userId) && b120.userId === this.repo.mediator.channelData?.viewerId;
242
- if (d120) {
243
- this.repo.mediator.linkmicState.setValue(c120 ? PLVLinkMicState.Joined : PLVLinkMicState.NoLinkMic);
237
+ const a120 = decodeFromJson(data, PLVLinkMicSocketTeacherSetPermissionRecv);
238
+ this.updateChannelViewerUseCase.onEventTeacherSetPermission(a120);
239
+ if (a120.type === "voice") {
240
+ const b120 = a120.status === "1";
241
+ const c120 = !isNullOrUndefined(a120.userId) && a120.userId === this.repo.mediator.channelData?.viewerId;
242
+ if (c120) {
243
+ this.repo.mediator.linkmicState.setValue(b120 ? PLVLinkMicState.Joined : PLVLinkMicState.NoLinkMic);
244
244
  }
245
245
  }
246
246
  }
247
247
  onSocketUserSetNick(data) {
248
- const y119 = decodeFromJson(data, PLVMemberSocketSetNickRecv);
249
- const z119 = y119.userId;
250
- const a120 = this.repo.mediator.findViewerByViewerId(z119);
251
- if (a120 !== undefined) {
252
- a120.viewerName.setValue(y119.nick);
248
+ const x119 = decodeFromJson(data, PLVMemberSocketSetNickRecv);
249
+ const y119 = x119.userId;
250
+ const z119 = this.repo.mediator.findViewerByViewerId(y119);
251
+ if (z119 !== undefined) {
252
+ z119.viewerName.setValue(x119.nick);
253
253
  }
254
254
  }
255
255
  onSocketJoinRequest(data) {
256
- const x119 = decodeFromJson(data, PLVLinkMicSocketJoinRequestRecv);
257
- this.handleQueueOrderUseCase.onEventJoinRequest(x119);
256
+ const w119 = decodeFromJson(data, PLVLinkMicSocketJoinRequestRecv);
257
+ this.handleQueueOrderUseCase.onEventJoinRequest(w119);
258
258
  }
259
259
  onSocketJoinResponse(data) {
260
- const v119 = decodeFromJson(data, PLVLinkMicSocketJoinResponseRecv);
261
- if (!this.repo.mediator.isMySocketLinkMicId(v119.user?.userId)) {
260
+ const u119 = decodeFromJson(data, PLVLinkMicSocketJoinResponseRecv);
261
+ if (!this.repo.mediator.isMySocketLinkMicId(u119.user?.userId)) {
262
262
  return;
263
263
  }
264
- this.updateLinkMicMode(v119.type);
265
- const w119 = this.repo.mediator.linkmicState.value;
266
- if (v119.isNeedAnswer()) {
267
- if (w119 === PLVLinkMicState.Requesting) {
264
+ this.updateLinkMicMode(u119.type);
265
+ const v119 = this.repo.mediator.linkmicState.value;
266
+ if (u119.isNeedAnswer()) {
267
+ if (v119 === PLVLinkMicState.Requesting) {
268
268
  this.acceptInvitation();
269
269
  }
270
- else if (w119 === PLVLinkMicState.NoLinkMic) {
270
+ else if (v119 === PLVLinkMicState.NoLinkMic) {
271
271
  this.repo.mediator.invitationExpireTimestamp.setValue(Date.now() + seconds(30).toMillis());
272
272
  this.repo.mediator.linkmicState.setValue(PLVLinkMicState.Inviting);
273
273
  this.updateInvitationExpireTime();
@@ -278,64 +278,64 @@ export class LinkMicGuestHandleStateUseCase {
278
278
  }
279
279
  }
280
280
  onSocketJoinSuccess(data) {
281
- const u119 = decodeFromJson(data, PLVLinkMicSocketJoinSuccessRecv);
282
- this.handleQueueOrderUseCase.onEventJoinSuccess(u119);
283
- this.updateChannelViewerUseCase.onEventJoinSuccess(u119);
281
+ const t119 = decodeFromJson(data, PLVLinkMicSocketJoinSuccessRecv);
282
+ this.handleQueueOrderUseCase.onEventJoinSuccess(t119);
283
+ this.updateChannelViewerUseCase.onEventJoinSuccess(t119);
284
284
  }
285
285
  onSocketJoinLeave(data) {
286
- const t119 = decodeFromJson(data, PLVLinkMicSocketJoinLeaveRecv);
287
- this.handleQueueOrderUseCase.onEventJoinLeave(t119);
288
- this.updateChannelViewerUseCase.onEventJoinLeave(t119);
286
+ const s119 = decodeFromJson(data, PLVLinkMicSocketJoinLeaveRecv);
287
+ this.handleQueueOrderUseCase.onEventJoinLeave(s119);
288
+ this.updateChannelViewerUseCase.onEventJoinLeave(s119);
289
289
  }
290
290
  onSocketSwitchView(data) {
291
- const s119 = decodeFromJson(data, PLVLinkMicSocketSwitchViewRecv);
292
- if (isNullOrUndefined(s119.userId)) {
291
+ const r119 = decodeFromJson(data, PLVLinkMicSocketSwitchViewRecv);
292
+ if (isNullOrUndefined(r119.userId)) {
293
293
  return;
294
294
  }
295
- this.repo.mediator.channelMainViewLinkMicId.setValue(s119.userId);
296
- this.updateChannelViewerUseCase.onEventSwitchView(s119);
295
+ this.repo.mediator.channelMainViewLinkMicId.setValue(r119.userId);
296
+ this.updateChannelViewerUseCase.onEventSwitchView(r119);
297
297
  }
298
298
  async tryAutoJoinLinkMic() {
299
- const m119 = this.repo.mediator.channelData?.streamerData?.colinMicType === "auto";
300
- if (!m119) {
299
+ const l119 = this.repo.mediator.channelData?.streamerData?.colinMicType === "auto";
300
+ if (!l119) {
301
301
  return;
302
302
  }
303
- const n119 = Promises.withResolvers();
304
- const o119 = this.repo.mediator.linkmicState.observe((r119) => {
305
- if (r119 === PLVLinkMicState.Joined) {
306
- n119.resolve();
307
- o119.dispose();
303
+ const m119 = Promises.withResolvers();
304
+ const n119 = this.repo.mediator.linkmicState.observe((q119) => {
305
+ if (q119 === PLVLinkMicState.Joined) {
306
+ m119.resolve();
307
+ n119.dispose();
308
308
  }
309
309
  });
310
- this.observers.push(o119);
311
- const p119 = async () => {
312
- const q119 = new PLVLinkMicSocketJoinResponseSend();
313
- q119.roomId = await this.repo.mediator.channelData?.loginRoomIdPromise.get();
314
- q119.value = "1";
315
- q119.toEmitAll = 1;
316
- q119.user = this.createSocketUser();
317
- this.repo.mediator.socketMediator?.emit(PLVSocketOnEvent.JOIN_RESPONSE, encodeToJson(q119));
310
+ this.observers.push(n119);
311
+ const o119 = async () => {
312
+ const p119 = new PLVLinkMicSocketJoinResponseSend();
313
+ p119.roomId = await this.repo.mediator.channelData?.loginRoomIdPromise.get();
314
+ p119.value = "1";
315
+ p119.toEmitAll = 1;
316
+ p119.user = this.createSocketUser();
317
+ this.repo.mediator.socketMediator?.emit(PLVSocketOnEvent.JOIN_RESPONSE, encodeToJson(p119));
318
318
  };
319
319
  await runCatching(retry(async () => {
320
320
  await withTimeout(seconds(8), async () => {
321
- await p119();
322
- await n119.promise;
321
+ await o119();
322
+ await m119.promise;
323
323
  });
324
324
  }, RetryConditions.delay(3, seconds(1))));
325
- o119.dispose();
325
+ n119.dispose();
326
326
  }
327
327
  onDestroy() {
328
- this.disposables.forEach((l119) => {
329
- l119.dispose();
328
+ this.disposables.forEach((k119) => {
329
+ k119.dispose();
330
330
  });
331
331
  this.disposables = [];
332
332
  MutableObserver.disposeAll(this.observers);
333
333
  this.observers = [];
334
334
  }
335
335
  observeSocketEvent(event, callback) {
336
- const k119 = requireNotNull(this.repo.mediator.socketMediator);
337
- k119.onData(event, callback);
338
- return disposable(() => k119.offData(event, callback));
336
+ const j119 = requireNotNull(this.repo.mediator.socketMediator);
337
+ j119.onData(event, callback);
338
+ return disposable(() => j119.offData(event, callback));
339
339
  }
340
340
  createSocketUser() {
341
341
  const user = new PLVSocketUserSend();
@@ -351,21 +351,21 @@ export class LinkMicGuestHandleStateUseCase {
351
351
  }
352
352
  }
353
353
  async isChannelReachLinkMicLimit() {
354
- const g119 = this.repo.mediator.channelData?.liveDetail?.linkMicLimit;
355
- if (g119 === undefined) {
354
+ const f119 = this.repo.mediator.channelData?.liveDetail?.linkMicLimit;
355
+ if (f119 === undefined) {
356
356
  PLVLogger.warn(TAG, "channel linkmic limit is undefined, treat as reach limit.");
357
357
  return true;
358
358
  }
359
- const h119 = await runCatching(this.repo.getChannelLinkMicStatus());
360
- if (h119.success === false) {
361
- PLVLogger.warn(TAG, `channel linkmic status response fail: ${h119.error.message}`);
359
+ const g119 = await runCatching(this.repo.getChannelLinkMicStatus());
360
+ if (g119.success === false) {
361
+ PLVLogger.warn(TAG, `channel linkmic status response fail: ${g119.error.message}`);
362
362
  return true;
363
363
  }
364
- const i119 = h119.data.joinList?.filter(j119 => {
365
- j119.userType === PLVUserType.USERTYPE_TEACHER || j119.classStatus?.voice === 1;
364
+ const h119 = g119.data.joinList?.filter(i119 => {
365
+ i119.userType === PLVUserType.USERTYPE_TEACHER || i119.classStatus?.voice === 1;
366
366
  })?.length ?? 0;
367
- if (i119 >= g119 + 1) {
368
- PLVLogger.warn(TAG, `channel reach linkmic limit, current join ${i119}, limit ${g119}`);
367
+ if (h119 >= f119 + 1) {
368
+ PLVLogger.warn(TAG, `channel reach linkmic limit, current join ${h119}, limit ${f119}`);
369
369
  return true;
370
370
  }
371
371
  else {
@@ -374,15 +374,15 @@ export class LinkMicGuestHandleStateUseCase {
374
374
  }
375
375
  }
376
376
  class SocketDisposable extends PLVDisposable {
377
- constructor(f119) {
377
+ constructor(e119) {
378
378
  super();
379
- this.onDispose = f119;
379
+ this.onDispose = e119;
380
380
  }
381
381
  dispose() {
382
382
  super.dispose();
383
383
  this.onDispose?.();
384
384
  }
385
385
  }
386
- function disposable(e119) {
387
- return new SocketDisposable(e119);
386
+ function disposable(d119) {
387
+ return new SocketDisposable(d119);
388
388
  }
@@ -5,13 +5,13 @@ import { PLVLinkMicPushResolutionRatio } from '../../../../model/vo/PLVLinkMicPu
5
5
  import { ILinkMicEncodeParamUseCase } from '../base/ILinkMicEncodeParamUseCase';
6
6
  export declare class LinkMicTeacherEncodeParamUseCase implements ILinkMicEncodeParamUseCase {
7
7
  private readonly repo;
8
- constructor(b123: PLVLinkMicRepo);
8
+ constructor(a123: PLVLinkMicRepo);
9
9
  init(): void;
10
10
  setBitRate(bitRate: PLVLinkMicBitRate): void;
11
- setPushResolutionRatio(a123: PLVLinkMicPushResolutionRatio): void;
12
- setPushOrientation(z122: PLVPushOrientation): void;
13
- setPushMirror(y122: boolean): void;
14
- setPushDowngradePreference(x122: PLVPushDowngradePreference): void;
11
+ setPushResolutionRatio(z122: PLVLinkMicPushResolutionRatio): void;
12
+ setPushOrientation(y122: PLVPushOrientation): void;
13
+ setPushMirror(x122: boolean): void;
14
+ setPushDowngradePreference(w122: PLVPushDowngradePreference): void;
15
15
  private updateEncodeParam;
16
16
  private parseChannelBitRateSetting;
17
17
  private parsePushStreamTemplate;