@hysc/meeting 5.0.117 → 5.0.118

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 (325) hide show
  1. package/dist/esm/index.js +6 -0
  2. package/dist/esm/index.js.map +1 -0
  3. package/dist/index.d.mts +4099 -0
  4. package/dist/index.d.ts +4099 -0
  5. package/dist/index.js +6 -0
  6. package/dist/index.js.map +1 -0
  7. package/package.json +11 -16
  8. package/esm/index.js +0 -40422
  9. package/esm/index.js.map +0 -7
  10. package/esm/src/BMChat/BMChatVM.d.ts +0 -26
  11. package/esm/src/BMChat/BMMessageInfo.d.ts +0 -31
  12. package/esm/src/BMRoom/BMLiveVM.d.ts +0 -35
  13. package/esm/src/BMRoom/BMRoom.d.ts +0 -705
  14. package/esm/src/BMRoom/BMRoomInfo.d.ts +0 -215
  15. package/esm/src/BMRoom/BMRoomVM.d.ts +0 -317
  16. package/esm/src/BMRoom/RoomEvent.d.ts +0 -1
  17. package/esm/src/BMStream/BMSpeaker.d.ts +0 -26
  18. package/esm/src/BMStream/BMStreamModel.d.ts +0 -306
  19. package/esm/src/BMStream/BMStreamModelVM.d.ts +0 -260
  20. package/esm/src/BMStream/getHTMLMediaStreamOptions.d.ts +0 -35
  21. package/esm/src/BMStream/sortStream.d.ts +0 -30
  22. package/esm/src/BMUser/BMUser.d.ts +0 -156
  23. package/esm/src/BMUser/BMUserVM.d.ts +0 -177
  24. package/esm/src/SingletonQueue/SingletonQueue.d.ts +0 -26
  25. package/esm/src/audioPlay/AudioPlay.d.ts +0 -31
  26. package/esm/src/bjy-common/function/debounce.d.ts +0 -9
  27. package/esm/src/bjy-common/function/execute.d.ts +0 -9
  28. package/esm/src/bjy-common/function/getErrorMessage.d.ts +0 -1
  29. package/esm/src/bjy-common/function/isDef.d.ts +0 -1
  30. package/esm/src/bjy-common/function/isNative.d.ts +0 -1
  31. package/esm/src/bjy-common/function/isUndef.d.ts +0 -1
  32. package/esm/src/bjy-common/function/nextTick.d.ts +0 -2
  33. package/esm/src/bjy-common/function/throttling.d.ts +0 -9
  34. package/esm/src/bjy-common/function/toNumber.d.ts +0 -1
  35. package/esm/src/bjy-common/function/toString.d.ts +0 -1
  36. package/esm/src/bjy-common/type/api.d.ts +0 -66
  37. package/esm/src/bjy-common/type/options.d.ts +0 -7
  38. package/esm/src/bjy-common/type/type.d.ts +0 -90
  39. package/esm/src/bjy-common/util/CustomEvent.d.ts +0 -30
  40. package/esm/src/bjy-common/util/Emitter.d.ts +0 -57
  41. package/esm/src/bjy-common/util/NextTask.d.ts +0 -28
  42. package/esm/src/bjy-common/util/Sleep.d.ts +0 -14
  43. package/esm/src/bjy-common/util/Timer.d.ts +0 -13
  44. package/esm/src/bjy-common/util/array.d.ts +0 -96
  45. package/esm/src/bjy-common/util/browser.d.ts +0 -6
  46. package/esm/src/bjy-common/util/constant.d.ts +0 -50
  47. package/esm/src/bjy-common/util/holder.d.ts +0 -6
  48. package/esm/src/bjy-common/util/is.d.ts +0 -49
  49. package/esm/src/bjy-common/util/keypath.d.ts +0 -41
  50. package/esm/src/bjy-common/util/logger.d.ts +0 -42
  51. package/esm/src/bjy-common/util/network.d.ts +0 -4
  52. package/esm/src/bjy-common/util/object.d.ts +0 -83
  53. package/esm/src/bjy-common/util/os.d.ts +0 -14
  54. package/esm/src/bjy-common/util/string.d.ts +0 -102
  55. package/esm/src/constants.d.ts +0 -129
  56. package/esm/src/error/RTCError.d.ts +0 -20
  57. package/esm/src/error/errorMap.d.ts +0 -70
  58. package/esm/src/error/errorType.d.ts +0 -96
  59. package/esm/src/handleEvent/attachEvents.d.ts +0 -47
  60. package/esm/src/handleEvent/brtcNetEvent.d.ts +0 -9
  61. package/esm/src/handleEvent/customMessageEvent.d.ts +0 -2
  62. package/esm/src/handleEvent/handleParticipantEvent.d.ts +0 -24
  63. package/esm/src/handleEvent/handleRoomEvent.d.ts +0 -20
  64. package/esm/src/handleEvent/messageEvent.d.ts +0 -5
  65. package/esm/src/handleEvent/pullUser.d.ts +0 -7
  66. package/esm/src/handleEvent/roomErrEvent.d.ts +0 -9
  67. package/esm/src/handleEvent/streamEvent.d.ts +0 -22
  68. package/esm/src/index.d.ts +0 -4
  69. package/esm/src/logger/logger.d.ts +0 -86
  70. package/esm/src/type/customStats.d.ts +0 -123
  71. package/esm/src/type/index.d.ts +0 -9
  72. package/esm/src/type/stream.d.ts +0 -12
  73. package/esm/src/type/user.d.ts +0 -9
  74. package/esm/src/util/PackLoss.d.ts +0 -7
  75. package/esm/src/util/Pqueue.d.ts +0 -62
  76. package/esm/src/util/Privileges.d.ts +0 -20
  77. package/esm/src/util/ReportCollector.d.ts +0 -22
  78. package/esm/src/util/Stutter.d.ts +0 -19
  79. package/esm/src/util/Thread.d.ts +0 -12
  80. package/esm/src/util/base64.d.ts +0 -4
  81. package/esm/src/util/checkPermissions.d.ts +0 -1
  82. package/esm/src/util/checkSystemRequirements.d.ts +0 -1
  83. package/esm/src/util/constant.d.ts +0 -67
  84. package/esm/src/util/devices.d.ts +0 -2
  85. package/esm/src/util/emitter.d.ts +0 -43
  86. package/esm/src/util/formatUserId.d.ts +0 -2
  87. package/esm/src/util/is.d.ts +0 -70
  88. package/esm/src/util/peerToPeerProbe.d.ts +0 -9
  89. package/esm/src/util/request.d.ts +0 -45
  90. package/esm/src/util/roomUtils.d.ts +0 -9
  91. package/esm/src/util/sortUtils.d.ts +0 -10
  92. package/esm/src/util/util.d.ts +0 -78
  93. package/umd/BMChat/BMChatVM.d.ts +0 -24
  94. package/umd/BMChat/BMMessageInfo.d.ts +0 -31
  95. package/umd/BMRoom/BMLiveVM.d.ts +0 -35
  96. package/umd/BMRoom/BMRoom.d.ts +0 -638
  97. package/umd/BMRoom/BMRoomInfo.d.ts +0 -189
  98. package/umd/BMRoom/BMRoomVM.d.ts +0 -284
  99. package/umd/BMRoom/RoomEvent.d.ts +0 -1
  100. package/umd/BMRoom/attachEvents.d.ts +0 -27
  101. package/umd/BMStream/BMSpeaker.d.ts +0 -44
  102. package/umd/BMStream/BMStreamModel.d.ts +0 -262
  103. package/umd/BMStream/BMStreamModelVM.d.ts +0 -235
  104. package/umd/BMStream/getHTMLMediaStreamOptions.d.ts +0 -35
  105. package/umd/BMUser/BMUser.d.ts +0 -153
  106. package/umd/BMUser/BMUserVM.d.ts +0 -131
  107. package/umd/bjy-common/function/debounce.d.ts +0 -9
  108. package/umd/bjy-common/function/execute.d.ts +0 -9
  109. package/umd/bjy-common/function/getErrorMessage.d.ts +0 -1
  110. package/umd/bjy-common/function/isDef.d.ts +0 -1
  111. package/umd/bjy-common/function/isNative.d.ts +0 -1
  112. package/umd/bjy-common/function/isUndef.d.ts +0 -1
  113. package/umd/bjy-common/function/nextTick.d.ts +0 -2
  114. package/umd/bjy-common/function/throttling.d.ts +0 -9
  115. package/umd/bjy-common/function/toNumber.d.ts +0 -1
  116. package/umd/bjy-common/function/toString.d.ts +0 -1
  117. package/umd/bjy-common/type/api.d.ts +0 -66
  118. package/umd/bjy-common/type/options.d.ts +0 -7
  119. package/umd/bjy-common/type/type.d.ts +0 -90
  120. package/umd/bjy-common/util/CustomEvent.d.ts +0 -30
  121. package/umd/bjy-common/util/Emitter.d.ts +0 -57
  122. package/umd/bjy-common/util/NextTask.d.ts +0 -28
  123. package/umd/bjy-common/util/Sleep.d.ts +0 -14
  124. package/umd/bjy-common/util/Timer.d.ts +0 -13
  125. package/umd/bjy-common/util/array.d.ts +0 -96
  126. package/umd/bjy-common/util/browser.d.ts +0 -6
  127. package/umd/bjy-common/util/constant.d.ts +0 -50
  128. package/umd/bjy-common/util/holder.d.ts +0 -6
  129. package/umd/bjy-common/util/is.d.ts +0 -49
  130. package/umd/bjy-common/util/keypath.d.ts +0 -41
  131. package/umd/bjy-common/util/logger.d.ts +0 -42
  132. package/umd/bjy-common/util/network.d.ts +0 -4
  133. package/umd/bjy-common/util/object.d.ts +0 -83
  134. package/umd/bjy-common/util/os.d.ts +0 -14
  135. package/umd/bjy-common/util/string.d.ts +0 -102
  136. package/umd/boom-core/src/BoomCore/BCClient/clientEventType.d.ts +0 -428
  137. package/umd/boom-meeting/src/BMChat/BMChatVM.d.ts +0 -26
  138. package/umd/boom-meeting/src/BMChat/BMMessageInfo.d.ts +0 -31
  139. package/umd/boom-meeting/src/BMRoom/BMLiveVM.d.ts +0 -35
  140. package/umd/boom-meeting/src/BMRoom/BMRoom.d.ts +0 -699
  141. package/umd/boom-meeting/src/BMRoom/BMRoomInfo.d.ts +0 -215
  142. package/umd/boom-meeting/src/BMRoom/BMRoomVM.d.ts +0 -317
  143. package/umd/boom-meeting/src/BMRoom/RoomEvent.d.ts +0 -1
  144. package/umd/boom-meeting/src/BMRoom/attachEvents.d.ts +0 -34
  145. package/umd/boom-meeting/src/BMStream/BMSpeaker.d.ts +0 -26
  146. package/umd/boom-meeting/src/BMStream/BMStreamModel.d.ts +0 -305
  147. package/umd/boom-meeting/src/BMStream/BMStreamModelVM.d.ts +0 -259
  148. package/umd/boom-meeting/src/BMStream/getHTMLMediaStreamOptions.d.ts +0 -35
  149. package/umd/boom-meeting/src/BMStream/sortStream.d.ts +0 -30
  150. package/umd/boom-meeting/src/BMUser/BMUser.d.ts +0 -156
  151. package/umd/boom-meeting/src/BMUser/BMUserVM.d.ts +0 -177
  152. package/umd/boom-meeting/src/EventHandler.d.ts +0 -20
  153. package/umd/boom-meeting/src/SingletonQueue/SingletonQueue.d.ts +0 -26
  154. package/umd/boom-meeting/src/audioPlay/AudioPlay.d.ts +0 -31
  155. package/umd/boom-meeting/src/bjy-common/function/debounce.d.ts +0 -9
  156. package/umd/boom-meeting/src/bjy-common/function/execute.d.ts +0 -9
  157. package/umd/boom-meeting/src/bjy-common/function/getErrorMessage.d.ts +0 -1
  158. package/umd/boom-meeting/src/bjy-common/function/isDef.d.ts +0 -1
  159. package/umd/boom-meeting/src/bjy-common/function/isNative.d.ts +0 -1
  160. package/umd/boom-meeting/src/bjy-common/function/isUndef.d.ts +0 -1
  161. package/umd/boom-meeting/src/bjy-common/function/nextTick.d.ts +0 -2
  162. package/umd/boom-meeting/src/bjy-common/function/throttling.d.ts +0 -9
  163. package/umd/boom-meeting/src/bjy-common/function/toNumber.d.ts +0 -1
  164. package/umd/boom-meeting/src/bjy-common/function/toString.d.ts +0 -1
  165. package/umd/boom-meeting/src/bjy-common/type/api.d.ts +0 -66
  166. package/umd/boom-meeting/src/bjy-common/type/options.d.ts +0 -7
  167. package/umd/boom-meeting/src/bjy-common/type/type.d.ts +0 -90
  168. package/umd/boom-meeting/src/bjy-common/util/CustomEvent.d.ts +0 -30
  169. package/umd/boom-meeting/src/bjy-common/util/Emitter.d.ts +0 -57
  170. package/umd/boom-meeting/src/bjy-common/util/NextTask.d.ts +0 -28
  171. package/umd/boom-meeting/src/bjy-common/util/Sleep.d.ts +0 -14
  172. package/umd/boom-meeting/src/bjy-common/util/Timer.d.ts +0 -13
  173. package/umd/boom-meeting/src/bjy-common/util/array.d.ts +0 -96
  174. package/umd/boom-meeting/src/bjy-common/util/browser.d.ts +0 -6
  175. package/umd/boom-meeting/src/bjy-common/util/constant.d.ts +0 -50
  176. package/umd/boom-meeting/src/bjy-common/util/holder.d.ts +0 -6
  177. package/umd/boom-meeting/src/bjy-common/util/is.d.ts +0 -49
  178. package/umd/boom-meeting/src/bjy-common/util/keypath.d.ts +0 -41
  179. package/umd/boom-meeting/src/bjy-common/util/logger.d.ts +0 -42
  180. package/umd/boom-meeting/src/bjy-common/util/network.d.ts +0 -4
  181. package/umd/boom-meeting/src/bjy-common/util/object.d.ts +0 -83
  182. package/umd/boom-meeting/src/bjy-common/util/os.d.ts +0 -14
  183. package/umd/boom-meeting/src/bjy-common/util/string.d.ts +0 -102
  184. package/umd/boom-meeting/src/constants.d.ts +0 -129
  185. package/umd/boom-meeting/src/error/RTCError.d.ts +0 -20
  186. package/umd/boom-meeting/src/error/errorMap.d.ts +0 -70
  187. package/umd/boom-meeting/src/error/errorType.d.ts +0 -96
  188. package/umd/boom-meeting/src/handleEvent/attachEvents.d.ts +0 -48
  189. package/umd/boom-meeting/src/handleEvent/brtcNetEvent.d.ts +0 -9
  190. package/umd/boom-meeting/src/handleEvent/customMessageEvent.d.ts +0 -2
  191. package/umd/boom-meeting/src/handleEvent/handleParticipantEvent.d.ts +0 -24
  192. package/umd/boom-meeting/src/handleEvent/handleRoomEvent.d.ts +0 -20
  193. package/umd/boom-meeting/src/handleEvent/messageEvent.d.ts +0 -5
  194. package/umd/boom-meeting/src/handleEvent/pullUser.d.ts +0 -7
  195. package/umd/boom-meeting/src/handleEvent/roomErrEvent.d.ts +0 -9
  196. package/umd/boom-meeting/src/handleEvent/streamEvent.d.ts +0 -22
  197. package/umd/boom-meeting/src/logger/logger.d.ts +0 -86
  198. package/umd/boom-meeting/src/type/customStats.d.ts +0 -123
  199. package/umd/boom-meeting/src/type/index.d.ts +0 -9
  200. package/umd/boom-meeting/src/type/stream.d.ts +0 -15
  201. package/umd/boom-meeting/src/type/user.d.ts +0 -9
  202. package/umd/boom-meeting/src/util/PackLoss.d.ts +0 -7
  203. package/umd/boom-meeting/src/util/Pqueue.d.ts +0 -62
  204. package/umd/boom-meeting/src/util/Privileges.d.ts +0 -20
  205. package/umd/boom-meeting/src/util/ReportCollector.d.ts +0 -22
  206. package/umd/boom-meeting/src/util/Stutter.d.ts +0 -19
  207. package/umd/boom-meeting/src/util/Thread.d.ts +0 -12
  208. package/umd/boom-meeting/src/util/base64.d.ts +0 -4
  209. package/umd/boom-meeting/src/util/checkPermissions.d.ts +0 -1
  210. package/umd/boom-meeting/src/util/checkSystemRequirements.d.ts +0 -1
  211. package/umd/boom-meeting/src/util/constant.d.ts +0 -67
  212. package/umd/boom-meeting/src/util/devices.d.ts +0 -2
  213. package/umd/boom-meeting/src/util/emitter.d.ts +0 -43
  214. package/umd/boom-meeting/src/util/formatUserId.d.ts +0 -2
  215. package/umd/boom-meeting/src/util/is.d.ts +0 -70
  216. package/umd/boom-meeting/src/util/peerToPeerProbe.d.ts +0 -9
  217. package/umd/boom-meeting/src/util/request.d.ts +0 -45
  218. package/umd/boom-meeting/src/util/roomUtils.d.ts +0 -9
  219. package/umd/boom-meeting/src/util/sortUtils.d.ts +0 -10
  220. package/umd/boom-meeting/src/util/util.d.ts +0 -78
  221. package/umd/constants.d.ts +0 -107
  222. package/umd/error/RTCError.d.ts +0 -20
  223. package/umd/error/errorMap.d.ts +0 -70
  224. package/umd/error/errorType.d.ts +0 -96
  225. package/umd/index.d.ts +0 -2
  226. package/umd/index.js +0 -29
  227. package/umd/index.js.map +0 -1
  228. package/umd/logger/logger.d.ts +0 -86
  229. package/umd/src/BMChat/BMChatVM.d.ts +0 -25
  230. package/umd/src/BMChat/BMMessageInfo.d.ts +0 -31
  231. package/umd/src/BMRoom/BMLiveVM.d.ts +0 -35
  232. package/umd/src/BMRoom/BMRoom.d.ts +0 -696
  233. package/umd/src/BMRoom/BMRoomInfo.d.ts +0 -213
  234. package/umd/src/BMRoom/BMRoomVM.d.ts +0 -302
  235. package/umd/src/BMRoom/RoomEvent.d.ts +0 -1
  236. package/umd/src/BMRoom/attachEvents.d.ts +0 -34
  237. package/umd/src/BMStream/BMSpeaker.d.ts +0 -44
  238. package/umd/src/BMStream/BMStreamModel.d.ts +0 -260
  239. package/umd/src/BMStream/BMStreamModelVM.d.ts +0 -252
  240. package/umd/src/BMStream/getHTMLMediaStreamOptions.d.ts +0 -35
  241. package/umd/src/BMUser/BMUser.d.ts +0 -156
  242. package/umd/src/BMUser/BMUserVM.d.ts +0 -140
  243. package/umd/src/EventHandler.d.ts +0 -20
  244. package/umd/src/bjy-common/function/debounce.d.ts +0 -9
  245. package/umd/src/bjy-common/function/execute.d.ts +0 -9
  246. package/umd/src/bjy-common/function/getErrorMessage.d.ts +0 -1
  247. package/umd/src/bjy-common/function/isDef.d.ts +0 -1
  248. package/umd/src/bjy-common/function/isNative.d.ts +0 -1
  249. package/umd/src/bjy-common/function/isUndef.d.ts +0 -1
  250. package/umd/src/bjy-common/function/nextTick.d.ts +0 -2
  251. package/umd/src/bjy-common/function/throttling.d.ts +0 -9
  252. package/umd/src/bjy-common/function/toNumber.d.ts +0 -1
  253. package/umd/src/bjy-common/function/toString.d.ts +0 -1
  254. package/umd/src/bjy-common/type/api.d.ts +0 -66
  255. package/umd/src/bjy-common/type/options.d.ts +0 -7
  256. package/umd/src/bjy-common/type/type.d.ts +0 -90
  257. package/umd/src/bjy-common/util/CustomEvent.d.ts +0 -30
  258. package/umd/src/bjy-common/util/Emitter.d.ts +0 -57
  259. package/umd/src/bjy-common/util/NextTask.d.ts +0 -28
  260. package/umd/src/bjy-common/util/Sleep.d.ts +0 -14
  261. package/umd/src/bjy-common/util/Timer.d.ts +0 -13
  262. package/umd/src/bjy-common/util/array.d.ts +0 -96
  263. package/umd/src/bjy-common/util/browser.d.ts +0 -6
  264. package/umd/src/bjy-common/util/constant.d.ts +0 -50
  265. package/umd/src/bjy-common/util/holder.d.ts +0 -6
  266. package/umd/src/bjy-common/util/is.d.ts +0 -49
  267. package/umd/src/bjy-common/util/keypath.d.ts +0 -41
  268. package/umd/src/bjy-common/util/logger.d.ts +0 -42
  269. package/umd/src/bjy-common/util/network.d.ts +0 -4
  270. package/umd/src/bjy-common/util/object.d.ts +0 -83
  271. package/umd/src/bjy-common/util/os.d.ts +0 -14
  272. package/umd/src/bjy-common/util/string.d.ts +0 -102
  273. package/umd/src/constants.d.ts +0 -112
  274. package/umd/src/error/RTCError.d.ts +0 -20
  275. package/umd/src/error/errorMap.d.ts +0 -70
  276. package/umd/src/error/errorType.d.ts +0 -96
  277. package/umd/src/index.d.ts +0 -2
  278. package/umd/src/logger/logger.d.ts +0 -86
  279. package/umd/src/type/customStats.d.ts +0 -118
  280. package/umd/src/type/index.d.ts +0 -9
  281. package/umd/src/type/stream.d.ts +0 -17
  282. package/umd/src/type/user.d.ts +0 -9
  283. package/umd/src/util/PackLoss.d.ts +0 -7
  284. package/umd/src/util/Pqueue.d.ts +0 -61
  285. package/umd/src/util/Privileges.d.ts +0 -20
  286. package/umd/src/util/ReportCollector.d.ts +0 -22
  287. package/umd/src/util/Stutter.d.ts +0 -19
  288. package/umd/src/util/base64.d.ts +0 -4
  289. package/umd/src/util/checkPermissions.d.ts +0 -1
  290. package/umd/src/util/checkSystemRequirements.d.ts +0 -1
  291. package/umd/src/util/constant.d.ts +0 -67
  292. package/umd/src/util/devices.d.ts +0 -2
  293. package/umd/src/util/emitter.d.ts +0 -19
  294. package/umd/src/util/formatUserId.d.ts +0 -2
  295. package/umd/src/util/is.d.ts +0 -70
  296. package/umd/src/util/peerToPeerProbe.d.ts +0 -9
  297. package/umd/src/util/request.d.ts +0 -45
  298. package/umd/src/util/roomUtils.d.ts +0 -9
  299. package/umd/src/util/sortUtils.d.ts +0 -10
  300. package/umd/src/util/util.d.ts +0 -77
  301. package/umd/type/customStats.d.ts +0 -117
  302. package/umd/type/index.d.ts +0 -9
  303. package/umd/type/stream.d.ts +0 -17
  304. package/umd/type/user.d.ts +0 -9
  305. package/umd/util/PackLoss.d.ts +0 -7
  306. package/umd/util/Pqueue.d.ts +0 -61
  307. package/umd/util/Privileges.d.ts +0 -20
  308. package/umd/util/ReportCollector.d.ts +0 -22
  309. package/umd/util/Stutter.d.ts +0 -19
  310. package/umd/util/base64.d.ts +0 -4
  311. package/umd/util/checkPermissions.d.ts +0 -1
  312. package/umd/util/checkSystemRequirements.d.ts +0 -1
  313. package/umd/util/constant.d.ts +0 -67
  314. package/umd/util/devices.d.ts +0 -2
  315. package/umd/util/emitter.d.ts +0 -18
  316. package/umd/util/formatUserId.d.ts +0 -2
  317. package/umd/util/is.d.ts +0 -70
  318. package/umd/util/peerToPeerProbe.d.ts +0 -9
  319. package/umd/util/request.d.ts +0 -45
  320. package/umd/util/roomUtils.d.ts +0 -9
  321. package/umd/util/sortUtils.d.ts +0 -10
  322. package/umd/util/util.d.ts +0 -76
  323. package/umd/utils/BoomError.d.ts +0 -19
  324. package/umd/utils/ErrorTypes.d.ts +0 -139
  325. package/umd/utils/index.d.ts +0 -9
@@ -1,86 +0,0 @@
1
- /**
2
- * debug 级别
3
- */
4
- export declare const DEBUG = 1;
5
- /**
6
- * info 级别
7
- */
8
- export declare const INFO = 2;
9
- /**
10
- * info 级别
11
- */
12
- /**
13
- * warn 级别
14
- */
15
- export declare const WARN = 3;
16
- /**
17
- * error 级别
18
- */
19
- export declare const ERROR = 4;
20
- /**
21
- * 关闭所有日志
22
- */
23
- export declare const CLOSE = 5;
24
- /**
25
- * fatal 级别
26
- * @internal
27
- */
28
- export declare const FATAL = 6;
29
- /**
30
- * 设置日志输出级别
31
- *
32
- * @param level 日志输出级别
33
- */
34
- export declare function setLevel(level: number): void;
35
- /**
36
- * 打印 debug 日志
37
- *
38
- * @param msg 日志内容
39
- */
40
- export declare function debug(msg: string, tag?: string, userId?: any, args?: any): void;
41
- /**
42
- * 打印 info 日志
43
- *
44
- * @param msg 日志内容
45
- */
46
- export declare function info(msg: string, tag?: string, userId?: any, args?: any): void;
47
- /**
48
- * 打印 call 日志
49
- *
50
- * @param msg
51
- * @param args
52
- */
53
- /**
54
- * 打印 warn 日志
55
- *
56
- * @param msg 日志内容
57
- */
58
- export declare function warn(msg: string, tag?: string, userId?: any, args?: any): void;
59
- /**
60
- * 打印 error 日志
61
- *
62
- * @param msg 日志内容
63
- */
64
- export declare function error(msg: string, tag?: string, userId?: any, args?: any): void;
65
- /**
66
- * 致命错误,中断程序
67
- *
68
- * @param msg 日志内容
69
- */
70
- export declare function fatal(code: number, name?: string, message?: string): void;
71
- /**
72
- * 打开日志上传
73
- *
74
- */
75
- export declare function enableUploadLog(): void;
76
- /**
77
- * 关闭日志上传
78
- *
79
- */
80
- export declare function disableUploadLog(): void;
81
- export declare const LogMap: {
82
- 1: typeof debug;
83
- 2: typeof info;
84
- 3: typeof warn;
85
- 4: typeof error;
86
- };
@@ -1,118 +0,0 @@
1
- /**
2
- * @name: customStats
3
- * @author: yangliye
4
- * @date: 2022-07-14 17:35
5
- * @description:customStats 类型声明定义
6
- * @update: 2022-07-14 17:35
7
- */
8
- export interface From {
9
- fromTag: string;
10
- }
11
- export interface Tile {
12
- index: number;
13
- user: string;
14
- nickname: string;
15
- stream: string;
16
- }
17
- export interface NextTile {
18
- index: number;
19
- nickname: string;
20
- user: string;
21
- stream: string;
22
- }
23
- export interface MainLayout {
24
- user: string;
25
- layout: number;
26
- activeSubtiles: boolean;
27
- tiles: Tile[];
28
- nextTiles: NextTile[];
29
- }
30
- export interface Tile2 {
31
- index: number;
32
- nickname: string;
33
- user: string;
34
- stream: string;
35
- }
36
- export interface ForceOn {
37
- user?: string;
38
- isShare?: boolean;
39
- active?: boolean;
40
- laterScreen?: boolean;
41
- tiles?: Tile2[];
42
- }
43
- export interface Tile3 {
44
- index: number;
45
- nickname: string;
46
- user: string;
47
- stream: string;
48
- }
49
- export interface Tiles4 {
50
- index: number;
51
- nickname: string;
52
- user: string;
53
- stream: string;
54
- isSubStream?: boolean;
55
- }
56
- export interface HostLayout {
57
- user: string;
58
- layout: number;
59
- activeSubtiles: boolean;
60
- tiles: Tiles4[];
61
- }
62
- export interface DefaultLayout {
63
- mode: number;
64
- allowSwitchingLayout: boolean;
65
- tiles: Tile3[];
66
- }
67
- export interface Roll {
68
- active: boolean;
69
- start: number;
70
- interval: number;
71
- }
72
- export interface ShareList {
73
- user: string;
74
- stream: string;
75
- }
76
- export interface CustomStats {
77
- /**
78
- * 默认为0,自由模式,可随时切换;
79
- *
80
- * 1时使用 defaultLayout,布局内可控;
81
- *
82
- * 2时使用 mainLayout,主会场同内容
83
- */
84
- layoutMode: number;
85
- from: From;
86
- mainLayout: MainLayout;
87
- forceOn: ForceOn;
88
- defaultLayout: DefaultLayout;
89
- roll: Roll;
90
- shareList: ShareList[];
91
- chatNotice: string;
92
- chatNoticeRich: object;
93
- giveLikeEnable: number;
94
- chatEnable: number;
95
- fileUpdateModel: number;
96
- fileUpdateLook: number;
97
- fileUpdateDown: number;
98
- fileUpdateEdit: number;
99
- screenShareModel: number;
100
- activeSubtiles: boolean;
101
- hostLayout: HostLayout;
102
- updateKeys: any[];
103
- joinAudioEnable: number;
104
- joinVideoEnable: number;
105
- userListEnable: number;
106
- audioEnable: number;
107
- videoEnable: number;
108
- modifyNameEnable: number;
109
- backgroundAIEnable: number;
110
- recordEnable: number;
111
- joinMicrophoneDisable: number;
112
- joinCameraDisable: number;
113
- forceOpenUserMic: boolean;
114
- forceOpenUserCamera: boolean;
115
- onlyOnePersonShare: number;
116
- raiseHandEnable: number;
117
- }
118
- export declare type PartialCustomStats = Partial<CustomStats>;
@@ -1,9 +0,0 @@
1
- /**
2
- * @name: index.ts
3
- * @author: yangliye
4
- * @date: 2022-04-25 13:42
5
- * @description:index.ts
6
- * @update: 2022-04-25 13:42
7
- */
8
- export * from './stream';
9
- export * from './user';
@@ -1,17 +0,0 @@
1
- /**
2
- * @name: stream
3
- * @author: yangliye
4
- * @date: 2022-04-25 13:42
5
- * @description:stream
6
- * @update: 2022-04-25 13:42
7
- */
8
- import LocalStream from '@hysc/core/esm/BoomAdapter/singleMode/stream/LocalStream';
9
- import RemoteStream from '@hysc/core/esm/BoomAdapter/singleMode/stream/RemoteStream';
10
- import { StreamDeviceOption } from '@hysc/core/esm/BoomAdapter/type/BRTCStream';
11
- import { RemoteStreamOptions } from '@hysc/core/esm/BoomCore/BCClient/BCClient';
12
- export { SubscribeOptions } from '@hysc/core/esm/BoomAdapter/type/BRTCClient';
13
- export declare type SingleLocalStream = LocalStream;
14
- export declare type SingleRemoteStream = RemoteStream;
15
- export declare type SingleStream = SingleLocalStream | SingleRemoteStream;
16
- export declare type SingleStreamDeviceOption = StreamDeviceOption;
17
- export declare type SingleRemoteStreamOption = Pick<RemoteStreamOptions, 'uid' | 'stream' | 'subStream' | 'sid'>;
@@ -1,9 +0,0 @@
1
- import BMUser from '../BMUser/BMUser';
2
- export declare type UpdateMasterType = {
3
- master?: BMUser;
4
- oldMaster?: BMUser;
5
- };
6
- export declare type audioOffWatcherValue = {
7
- audioOff: boolean;
8
- selfopenaudio: boolean;
9
- };
@@ -1,7 +0,0 @@
1
- export default class PacketLoss {
2
- private queue;
3
- private win;
4
- constructor(win?: number);
5
- addData(packetsTotal: number, packetsLost: number): void;
6
- getPacketLossRate(): number;
7
- }
@@ -1,61 +0,0 @@
1
- /**
2
- * @ Author: zhaozhidan
3
- * @ Create Time: 2020-04-26 11:47:55
4
- * @ Modified by: zhaozhidan
5
- * @ Modified time: 2020-09-19 22:19:21
6
- * @ Description: Boom
7
- */
8
- declare class Pqueue {
9
- private queueArray;
10
- private isTaskPending;
11
- private queue;
12
- constructor(maxTask: number, isStart?: boolean);
13
- /**
14
- * 添加队列
15
- * @param {*} fn 生成Promise函数
16
- * @param {String} taskId 任务标识别
17
- * @param {Number} priority 任务优先级
18
- * @param {String} nickName 要打印的值
19
- */
20
- addQueue(fn: any, taskId: string, priority?: number, nickName?: string): void;
21
- /**
22
- * 清空队列
23
- */
24
- clearQueue(): void;
25
- /**
26
- * 队列开始执行
27
- */
28
- startQueue(): void;
29
- /**
30
- * 暂停队列
31
- */
32
- pauseQueue(): any[];
33
- /**
34
- * 返回队列里还未pending和执行完的任务数
35
- * @returns {number}
36
- */
37
- size(): number;
38
- /**
39
- * 返回队列里还未pending和执行完的任务数
40
- * @returns {number}
41
- */
42
- pending(): number;
43
- /**
44
- * 查询任务是否结束
45
- */
46
- checkTaskStatus(): boolean;
47
- /**
48
- * 修改任务的状态
49
- */
50
- setTaskStatus(res: boolean): void;
51
- /**
52
- * 队列是否执行完了.
53
- */
54
- onIdle(): Promise<void>;
55
- /**
56
- * 队列是否执行完了.
57
- */
58
- onEmpty(): Promise<void>;
59
- }
60
- export declare const streamPullQueue: Pqueue;
61
- export {};
@@ -1,20 +0,0 @@
1
- export default class Privileges {
2
- private code;
3
- constructor(code?: number);
4
- /**
5
- * 是否开启了权限控制
6
- */
7
- enableAuth(): boolean;
8
- /**
9
- * 是否可以发送音频
10
- */
11
- canPushAudio(): boolean;
12
- /**
13
- * 是否可以发送视频
14
- */
15
- canPushVideo(): boolean;
16
- /**
17
- * 是否可以使用互动白板
18
- */
19
- canUseWhiteboard(): boolean;
20
- }
@@ -1,22 +0,0 @@
1
- export default class ReportCollector {
2
- /**
3
- * 数据采集间隔 秒
4
- */
5
- private sample;
6
- private audioPackLost;
7
- private videoPackLost;
8
- private audioBytesBefore;
9
- private videoBytesBefore;
10
- private audioBytesNow;
11
- private videoBytesNow;
12
- private frameBefore;
13
- private frameNow;
14
- constructor(sample?: number);
15
- addData(audioBytes: number, videoBytes: number, audioPacketsTotal: number, audioPacketsLost: number, videoPacketsTotal: number, videoPacketsLost: number, frame: number): void;
16
- getAudioPacketLoss(): number;
17
- getVideoPacketLoss(): number;
18
- getAudioBitrate(): number;
19
- getVideoBitrate(): number;
20
- getFrameRate(): number;
21
- destroy(): void;
22
- }
@@ -1,19 +0,0 @@
1
- import { ReportThreshold } from '../type/type';
2
- export default class Stutter {
3
- private audioPacketLossStutter;
4
- private videoPacketLossStutter;
5
- private frameRateStutter;
6
- private audioframeDelayStutter;
7
- private videoframeDelayStutter;
8
- private options;
9
- private isPush;
10
- constructor(options: ReportThreshold, isPush: boolean);
11
- addFrameRate(frame: number): void;
12
- addAudioLoss(packetTotal: number, packetLost: number): void;
13
- addVideoLoss(packetTotal: number, packetLost: number): void;
14
- addAudioFrameDelay(delay: number): void;
15
- addVideoFrameDelay(delay: number): void;
16
- judgeAudioStutter(): boolean;
17
- judegVideoStutter(): boolean;
18
- destroy(): void;
19
- }
@@ -1,4 +0,0 @@
1
- /**
2
- * base64 解密
3
- */
4
- export declare function base64Decode(text: string): string;
@@ -1 +0,0 @@
1
- export default function (): Promise<any>;
@@ -1 +0,0 @@
1
- export default function (): Promise<boolean>;
@@ -1,67 +0,0 @@
1
- /**
2
- * @file 为了压缩,定义的常量
3
- * @author zhaogaoxing
4
- */
5
- export declare const TRUE = true;
6
- export declare const FALSE = false;
7
- export declare const NULL: null;
8
- export declare const UNDEFINED: undefined;
9
- export declare const MINUS_ONE = -1;
10
- export declare const RAW_TRUE = "true";
11
- export declare const RAW_FALSE = "false";
12
- export declare const RAW_NULL = "null";
13
- export declare const RAW_UNDEFINED = "undefined";
14
- export declare const RAW_THIS = "this";
15
- export declare const RAW_VALUE = "value";
16
- export declare const RAW_LENGTH = "length";
17
- export declare const RAW_FUNCTION = "function";
18
- export declare const RAW_WILDCARD = "*";
19
- export declare const RAW_DOT = ".";
20
- export declare const RAW_SLASH = "/";
21
- export declare const RAW_TAG = "tag";
22
- export declare const KEYPATH_PARENT = "..";
23
- export declare const KEYPATH_CURRENT = "this";
24
- /**
25
- * Single instance for window in browser
26
- */
27
- export declare const WINDOW: (Window & typeof globalThis) | undefined;
28
- /**
29
- * Single instance for document in browser
30
- */
31
- export declare const DOCUMENT: Document | undefined;
32
- /**
33
- * Single instance for global in nodejs or browser
34
- */
35
- export declare const GLOBAL: typeof globalThis | undefined;
36
- /**
37
- * Single instance for noop function
38
- */
39
- export declare const EMPTY_FUNCTION: () => void;
40
- /**
41
- * 空对象,很多地方会用到,比如 `a || EMPTY_OBJECT` 确保是个对象
42
- */
43
- export declare const EMPTY_OBJECT: Readonly<{}>;
44
- /**
45
- * 空数组
46
- */
47
- export declare const EMPTY_ARRAY: readonly never[];
48
- /**
49
- * 空字符串
50
- */
51
- export declare const EMPTY_STRING = "";
52
- export declare const WEBRTC_TYPE_VLOUD = 0;
53
- export declare const WEBRTC_TYPE_TENCENT = 1;
54
- export declare const PRODUCTION = "production";
55
- export declare const BETA = "beta";
56
- export declare const DEVELOPMENT = "development";
57
- export declare const LOGGER_TAG_CLIENT = "c";
58
- export declare const LOGGER_TAG_STREAM = "s";
59
- export declare const LOGGER_TAG_SIGNAL = "g";
60
- export declare const LOGGER_TAG_PLAYER = "p";
61
- export declare const MEDIA_TYPE_CAMERA = "videoinput";
62
- export declare const MEDIA_TYPE_MIC = "audioinput";
63
- export declare const MEDIA_TYPE_SPEAKER = "audiooutput";
64
- export declare const ROOM_CHANNEL_TYPE_WS = 0;
65
- export declare const ROOM_CHANNEL_TYPE_DC = 1;
66
- export declare const SING_MODE = 1;
67
- export declare const MIX_MODE = 2;
@@ -1,2 +0,0 @@
1
- import { RawDevice } from '../type/type';
2
- export declare function getDevices(type: string): Promise<RawDevice[]>;
@@ -1,19 +0,0 @@
1
- import { ConnectErrorMessage, NoPlayerContainer, SubscribeMessage } from "../BMStream/BMStreamModel";
2
- import { BIND_BIG_ELEMENT, BIND_ELEMENT, CHANG_IS_GUEST, HANDLE_STREAM_CONNECT_ERROR, MANUAL_SUBSCRIPTION, NO_CONTAINER, RAISE_HAND, RECEIVE_SUBSCRIBE_MESSAGE, UNSUBSCRIBE_STREAM, USER_SORT_NUM_CHANGE } from "../constants";
3
- import { RaiseHandInfo } from "../BMUser/BMUser";
4
- import { ChangeIsGuest } from "../BMUser/BMUserVM";
5
- declare type Events = {
6
- [RECEIVE_SUBSCRIBE_MESSAGE]: SubscribeMessage;
7
- [USER_SORT_NUM_CHANGE]: null;
8
- [HANDLE_STREAM_CONNECT_ERROR]: ConnectErrorMessage;
9
- [RAISE_HAND]: RaiseHandInfo;
10
- [UNSUBSCRIBE_STREAM]: SubscribeMessage;
11
- [MANUAL_SUBSCRIPTION]: SubscribeMessage;
12
- [CHANG_IS_GUEST]: ChangeIsGuest;
13
- [BIND_ELEMENT]: SubscribeMessage;
14
- [BIND_BIG_ELEMENT]: SubscribeMessage;
15
- [NO_CONTAINER]: NoPlayerContainer;
16
- };
17
- export declare const emitter: import("mitt").Emitter<Events>;
18
- export declare const removeEmitter: () => void;
19
- export {};
@@ -1,2 +0,0 @@
1
- import { UserId } from '../type/value';
2
- export default function formatUserId(userId: string | number): UserId;
@@ -1,70 +0,0 @@
1
- export declare function func(value: any): value is Function;
2
- /**
3
- * Check if value is an array.
4
- *
5
- * @param value
6
- * @return
7
- */
8
- export declare function array<T>(value: any): value is Array<T>;
9
- /**
10
- * Check if value is an object.
11
- *
12
- * @param value
13
- * @return
14
- */
15
- export declare function object(value: any): value is Object;
16
- /**
17
- * Check if value is a string.
18
- *
19
- * @param value
20
- * @return
21
- */
22
- export declare function string(value: any): value is string;
23
- /**
24
- * Check if value is a number.
25
- *
26
- * @param value
27
- * @return
28
- */
29
- export declare function number(value: any): value is number;
30
- /**
31
- * Check if value is boolean.
32
- *
33
- * @param value
34
- * @return
35
- */
36
- export declare function boolean(value: any): value is boolean;
37
- /**
38
- * Check if value is numeric.
39
- *
40
- * @param value
41
- * @return
42
- */
43
- export declare function numeric(value: any): boolean;
44
- /**
45
- * 判断是不是普通字面量对象
46
- *
47
- * @param {*} target
48
- * @return {boolean}
49
- */
50
- export declare function isPlainObject(target: any): target is Object;
51
- /**
52
- * 判断 value 是否在指定范围中
53
- *
54
- * @param value 待判断值
55
- * @param min 范围左区间
56
- * @param max 范围右区间
57
- */
58
- export declare function range(value: number, min: number, max: number): boolean;
59
- /**
60
- * Check if value is ArrayBuffer.
61
- *
62
- * @param value
63
- * @returns
64
- */
65
- export declare function arrayBuffer(value: any): value is ArrayBuffer;
66
- export declare function isVloudWebRTC(type: number): boolean;
67
- export declare function isTencentWebRTC(type: number): boolean;
68
- export declare function videoTrack(track: MediaStreamTrack): boolean;
69
- export declare function audioTrack(track: MediaStreamTrack): boolean;
70
- export declare function isSingleMode(type: number): boolean;
@@ -1,9 +0,0 @@
1
- /**
2
- * @file 服务器节点探测
3
- * @author zhaogaoxing
4
- */
5
- /**
6
- * 启动探测
7
- */
8
- export declare function start(): void;
9
- export declare function stop(): void;
@@ -1,45 +0,0 @@
1
- import { MsaterRes, ProbeServerRes, SigRes } from '../type/type';
2
- /**
3
- * 设置请求环境
4
- *
5
- * @internal
6
- * @param e 环境
7
- */
8
- export declare function setRequestEnv(e: string): void;
9
- export declare function getURL(path: string): string;
10
- export declare function getTokenAuthUrl(): string;
11
- /**
12
- * 发送 post 请求
13
- *
14
- * @internal
15
- * @param path fetch 路径
16
- * @param data post 发送 data
17
- * @returns 返回数据
18
- */
19
- export declare function post(path: string, data: Object): Promise<any>;
20
- /**
21
- * 发送 get 请求
22
- *
23
- * @internal
24
- * @param path fetch 路径
25
- * @param data get 发送 data
26
- * @returns 返回数据
27
- */
28
- export declare function get(path: string, data: Object): Promise<any>;
29
- /**
30
- * 获取 token
31
- *
32
- * @internal
33
- * @param sign
34
- * @returns 返回数据
35
- */
36
- export declare function checkSign(sign: string, roomId: string, userId: number): Promise<SigRes>;
37
- /**
38
- * 获取 Proxies
39
- *
40
- * @internal
41
- * @param MasterRes
42
- * @returns 返回数据
43
- */
44
- export declare function fetchMaster(master: string): Promise<MsaterRes>;
45
- export declare function fetchProbeServers(): Promise<ProbeServerRes>;
@@ -1,9 +0,0 @@
1
- import { SingleRemoteStream } from "../type";
2
- /**
3
- * @name: roomUtils
4
- * @author: yangliye
5
- * @date: 2022-12-06 09:31
6
- * @description:roomUtils
7
- * @update: 2022-12-06 09:31
8
- */
9
- export declare function isShareStream(remoteStream: SingleRemoteStream): boolean;
@@ -1,10 +0,0 @@
1
- /**
2
- * @name: sortUtils
3
- * @author: yangliye
4
- * @date: 2023-02-22 18:17
5
- * @description:sortUtils
6
- * @update: 2023-02-22 18:17
7
- */
8
- import BMUser from "../BMUser/BMUser";
9
- import { MODEL_SORT_ENUM_STAND, MODEL_SORT_ENUM_ZY } from "../constants";
10
- export declare function getSortNum(user: BMUser): MODEL_SORT_ENUM_ZY | MODEL_SORT_ENUM_STAND;