@huaweicloud/huaweicloud-sdk-cloudrtc 3.1.43

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 (249) hide show
  1. package/LICENSE +13 -0
  2. package/README.md +1 -0
  3. package/huaweicloud-sdk-cloudrtc.d.ts +3 -0
  4. package/huaweicloud-sdk-cloudrtc.js +32 -0
  5. package/package.json +19 -0
  6. package/v1/CloudRTCClient.d.ts +469 -0
  7. package/v1/CloudRTCClient.js +1444 -0
  8. package/v1/CloudRTCRegion.d.ts +5 -0
  9. package/v1/CloudRTCRegion.js +23 -0
  10. package/v1/model/AbnormalEvent.d.ts +35 -0
  11. package/v1/model/AbnormalEvent.js +119 -0
  12. package/v1/model/AbnormalEventDimensionValue.d.ts +23 -0
  13. package/v1/model/AbnormalEventDimensionValue.js +84 -0
  14. package/v1/model/ListRtcAbnormalEventDimensionRequest.d.ts +27 -0
  15. package/v1/model/ListRtcAbnormalEventDimensionRequest.js +69 -0
  16. package/v1/model/ListRtcAbnormalEventDimensionResponse.d.ts +11 -0
  17. package/v1/model/ListRtcAbnormalEventDimensionResponse.js +45 -0
  18. package/v1/model/ListRtcAbnormalEventsRequest.d.ts +23 -0
  19. package/v1/model/ListRtcAbnormalEventsRequest.js +68 -0
  20. package/v1/model/ListRtcAbnormalEventsResponse.d.ts +13 -0
  21. package/v1/model/ListRtcAbnormalEventsResponse.js +49 -0
  22. package/v1/model/ListRtcClientQosDetailsRequest.d.ts +86 -0
  23. package/v1/model/ListRtcClientQosDetailsRequest.js +218 -0
  24. package/v1/model/ListRtcClientQosDetailsResponse.d.ts +15 -0
  25. package/v1/model/ListRtcClientQosDetailsResponse.js +59 -0
  26. package/v1/model/ListRtcHistoryQualityRequest.d.ts +27 -0
  27. package/v1/model/ListRtcHistoryQualityRequest.js +89 -0
  28. package/v1/model/ListRtcHistoryQualityResponse.d.ts +11 -0
  29. package/v1/model/ListRtcHistoryQualityResponse.js +45 -0
  30. package/v1/model/ListRtcHistoryScaleRequest.d.ts +27 -0
  31. package/v1/model/ListRtcHistoryScaleRequest.js +89 -0
  32. package/v1/model/ListRtcHistoryScaleResponse.d.ts +11 -0
  33. package/v1/model/ListRtcHistoryScaleResponse.js +45 -0
  34. package/v1/model/ListRtcHistoryUsageRequest.d.ts +27 -0
  35. package/v1/model/ListRtcHistoryUsageRequest.js +91 -0
  36. package/v1/model/ListRtcHistoryUsageResponse.d.ts +11 -0
  37. package/v1/model/ListRtcHistoryUsageResponse.js +45 -0
  38. package/v1/model/ListRtcRealtimeNetworkRequest.d.ts +35 -0
  39. package/v1/model/ListRtcRealtimeNetworkRequest.js +118 -0
  40. package/v1/model/ListRtcRealtimeNetworkResponse.d.ts +11 -0
  41. package/v1/model/ListRtcRealtimeNetworkResponse.js +45 -0
  42. package/v1/model/ListRtcRealtimeQualityRequest.d.ts +35 -0
  43. package/v1/model/ListRtcRealtimeQualityRequest.js +118 -0
  44. package/v1/model/ListRtcRealtimeQualityResponse.d.ts +11 -0
  45. package/v1/model/ListRtcRealtimeQualityResponse.js +45 -0
  46. package/v1/model/ListRtcRealtimeScaleDimensionRequest.d.ts +27 -0
  47. package/v1/model/ListRtcRealtimeScaleDimensionRequest.js +85 -0
  48. package/v1/model/ListRtcRealtimeScaleDimensionResponse.d.ts +11 -0
  49. package/v1/model/ListRtcRealtimeScaleDimensionResponse.js +45 -0
  50. package/v1/model/ListRtcRealtimeScaleRequest.d.ts +31 -0
  51. package/v1/model/ListRtcRealtimeScaleRequest.js +103 -0
  52. package/v1/model/ListRtcRealtimeScaleResponse.d.ts +11 -0
  53. package/v1/model/ListRtcRealtimeScaleResponse.js +45 -0
  54. package/v1/model/ListRtcRoomListRequest.d.ts +43 -0
  55. package/v1/model/ListRtcRoomListRequest.js +119 -0
  56. package/v1/model/ListRtcRoomListResponse.d.ts +19 -0
  57. package/v1/model/ListRtcRoomListResponse.js +67 -0
  58. package/v1/model/ListRtcUserListRequest.d.ts +53 -0
  59. package/v1/model/ListRtcUserListRequest.js +139 -0
  60. package/v1/model/ListRtcUserListResponse.d.ts +17 -0
  61. package/v1/model/ListRtcUserListResponse.js +57 -0
  62. package/v1/model/QosQualityData.d.ts +12 -0
  63. package/v1/model/QosQualityData.js +25 -0
  64. package/v1/model/RealtimeScaleDimensionValue.d.ts +9 -0
  65. package/v1/model/RealtimeScaleDimensionValue.js +27 -0
  66. package/v1/model/RtcHistoryQualityTimeValue.d.ts +61 -0
  67. package/v1/model/RtcHistoryQualityTimeValue.js +209 -0
  68. package/v1/model/RtcHistoryScaleTimeValue.d.ts +37 -0
  69. package/v1/model/RtcHistoryScaleTimeValue.js +125 -0
  70. package/v1/model/RtcHistoryUsage.d.ts +23 -0
  71. package/v1/model/RtcHistoryUsage.js +73 -0
  72. package/v1/model/RtcServerRoomInfo.d.ts +31 -0
  73. package/v1/model/RtcServerRoomInfo.js +76 -0
  74. package/v1/model/RtcUser.d.ts +52 -0
  75. package/v1/model/RtcUser.js +129 -0
  76. package/v1/model/TimeDoubleValueData.d.ts +7 -0
  77. package/v1/model/TimeDoubleValueData.js +17 -0
  78. package/v1/model/TimeFloatValueData.d.ts +7 -0
  79. package/v1/model/TimeFloatValueData.js +17 -0
  80. package/v1/model/TimeValueData.d.ts +7 -0
  81. package/v1/model/TimeValueData.js +17 -0
  82. package/v1/public-api.d.ts +38 -0
  83. package/v1/public-api.js +54 -0
  84. package/v2/CloudRTCClient.d.ts +906 -0
  85. package/v2/CloudRTCClient.js +2196 -0
  86. package/v2/CloudRTCRegion.d.ts +5 -0
  87. package/v2/CloudRTCRegion.js +23 -0
  88. package/v2/model/App.d.ts +46 -0
  89. package/v2/model/App.js +109 -0
  90. package/v2/model/AppAuth.d.ts +15 -0
  91. package/v2/model/AppAuth.js +45 -0
  92. package/v2/model/AppAuthReq.d.ts +7 -0
  93. package/v2/model/AppAuthReq.js +18 -0
  94. package/v2/model/AppAutoRecordMode.d.ts +21 -0
  95. package/v2/model/AppAutoRecordMode.js +51 -0
  96. package/v2/model/AppCallbackUrl.d.ts +25 -0
  97. package/v2/model/AppCallbackUrl.js +64 -0
  98. package/v2/model/AppCallbackUrlReq.d.ts +9 -0
  99. package/v2/model/AppCallbackUrlReq.js +28 -0
  100. package/v2/model/AppCallbacks.d.ts +12 -0
  101. package/v2/model/AppCallbacks.js +37 -0
  102. package/v2/model/AppReq.d.ts +7 -0
  103. package/v2/model/AppReq.js +24 -0
  104. package/v2/model/AppState.d.ts +19 -0
  105. package/v2/model/AppState.js +38 -0
  106. package/v2/model/AutoRecordModeReq.d.ts +17 -0
  107. package/v2/model/AutoRecordModeReq.js +37 -0
  108. package/v2/model/CreateAppRequest.d.ts +18 -0
  109. package/v2/model/CreateAppRequest.js +55 -0
  110. package/v2/model/CreateAppResponse.d.ts +12 -0
  111. package/v2/model/CreateAppResponse.js +55 -0
  112. package/v2/model/CreateIndividualStreamJobRequest.d.ts +22 -0
  113. package/v2/model/CreateIndividualStreamJobRequest.js +70 -0
  114. package/v2/model/CreateIndividualStreamJobResponse.d.ts +110 -0
  115. package/v2/model/CreateIndividualStreamJobResponse.js +300 -0
  116. package/v2/model/CreateMixJobRequest.d.ts +22 -0
  117. package/v2/model/CreateMixJobRequest.js +70 -0
  118. package/v2/model/CreateMixJobResponse.d.ts +76 -0
  119. package/v2/model/CreateMixJobResponse.js +223 -0
  120. package/v2/model/CreateRecordRuleRequest.d.ts +22 -0
  121. package/v2/model/CreateRecordRuleRequest.js +70 -0
  122. package/v2/model/CreateRecordRuleResponse.d.ts +51 -0
  123. package/v2/model/CreateRecordRuleResponse.js +162 -0
  124. package/v2/model/DeleteAppRequest.d.ts +19 -0
  125. package/v2/model/DeleteAppRequest.js +66 -0
  126. package/v2/model/DeleteAppResponse.d.ts +8 -0
  127. package/v2/model/DeleteAppResponse.js +41 -0
  128. package/v2/model/DeleteRecordRuleRequest.d.ts +23 -0
  129. package/v2/model/DeleteRecordRuleRequest.js +81 -0
  130. package/v2/model/DeleteRecordRuleResponse.d.ts +8 -0
  131. package/v2/model/DeleteRecordRuleResponse.js +41 -0
  132. package/v2/model/HLSRecordConfig.d.ts +19 -0
  133. package/v2/model/HLSRecordConfig.js +66 -0
  134. package/v2/model/IndividualStreamJobReq.d.ts +55 -0
  135. package/v2/model/IndividualStreamJobReq.js +143 -0
  136. package/v2/model/ListAppsRequest.d.ts +30 -0
  137. package/v2/model/ListAppsRequest.js +73 -0
  138. package/v2/model/ListAppsResponse.d.ts +13 -0
  139. package/v2/model/ListAppsResponse.js +49 -0
  140. package/v2/model/ListRecordRulesRequest.d.ts +23 -0
  141. package/v2/model/ListRecordRulesRequest.js +74 -0
  142. package/v2/model/ListRecordRulesResponse.d.ts +11 -0
  143. package/v2/model/ListRecordRulesResponse.js +45 -0
  144. package/v2/model/MP4RecordConfig.d.ts +15 -0
  145. package/v2/model/MP4RecordConfig.js +52 -0
  146. package/v2/model/MixJobReq.d.ts +18 -0
  147. package/v2/model/MixJobReq.js +52 -0
  148. package/v2/model/MixLayoutPane.d.ts +55 -0
  149. package/v2/model/MixLayoutPane.js +116 -0
  150. package/v2/model/MixParam.d.ts +60 -0
  151. package/v2/model/MixParam.js +157 -0
  152. package/v2/model/MixUserBackgroundImage.d.ts +11 -0
  153. package/v2/model/MixUserBackgroundImage.js +39 -0
  154. package/v2/model/PublishParam.d.ts +7 -0
  155. package/v2/model/PublishParam.js +24 -0
  156. package/v2/model/RecordObsFileAddr.d.ts +22 -0
  157. package/v2/model/RecordObsFileAddr.js +56 -0
  158. package/v2/model/RecordParam.d.ts +7 -0
  159. package/v2/model/RecordParam.js +24 -0
  160. package/v2/model/RecordRule.d.ts +46 -0
  161. package/v2/model/RecordRule.js +130 -0
  162. package/v2/model/RecordRuleReq.d.ts +30 -0
  163. package/v2/model/RecordRuleReq.js +76 -0
  164. package/v2/model/RemoveRoomRequest.d.ts +23 -0
  165. package/v2/model/RemoveRoomRequest.js +81 -0
  166. package/v2/model/RemoveRoomResponse.d.ts +8 -0
  167. package/v2/model/RemoveRoomResponse.js +41 -0
  168. package/v2/model/RemoveUsersReq.d.ts +7 -0
  169. package/v2/model/RemoveUsersReq.js +24 -0
  170. package/v2/model/RemoveUsersRequest.d.ts +26 -0
  171. package/v2/model/RemoveUsersRequest.js +85 -0
  172. package/v2/model/RemoveUsersResponse.d.ts +8 -0
  173. package/v2/model/RemoveUsersResponse.js +41 -0
  174. package/v2/model/ShowAppRequest.d.ts +19 -0
  175. package/v2/model/ShowAppRequest.js +66 -0
  176. package/v2/model/ShowAppResponse.d.ts +51 -0
  177. package/v2/model/ShowAppResponse.js +141 -0
  178. package/v2/model/ShowAutoRecordRequest.d.ts +19 -0
  179. package/v2/model/ShowAutoRecordRequest.js +66 -0
  180. package/v2/model/ShowAutoRecordResponse.d.ts +17 -0
  181. package/v2/model/ShowAutoRecordResponse.js +69 -0
  182. package/v2/model/ShowIndividualStreamJobRequest.d.ts +23 -0
  183. package/v2/model/ShowIndividualStreamJobRequest.js +81 -0
  184. package/v2/model/ShowIndividualStreamJobResponse.d.ts +110 -0
  185. package/v2/model/ShowIndividualStreamJobResponse.js +300 -0
  186. package/v2/model/ShowMixJobRequest.d.ts +23 -0
  187. package/v2/model/ShowMixJobRequest.js +81 -0
  188. package/v2/model/ShowMixJobResponse.d.ts +76 -0
  189. package/v2/model/ShowMixJobResponse.js +223 -0
  190. package/v2/model/ShowRecordCallbackRequest.d.ts +19 -0
  191. package/v2/model/ShowRecordCallbackRequest.js +66 -0
  192. package/v2/model/ShowRecordCallbackResponse.d.ts +17 -0
  193. package/v2/model/ShowRecordCallbackResponse.js +69 -0
  194. package/v2/model/ShowRecordRuleRequest.d.ts +23 -0
  195. package/v2/model/ShowRecordRuleRequest.js +81 -0
  196. package/v2/model/ShowRecordRuleResponse.d.ts +51 -0
  197. package/v2/model/ShowRecordRuleResponse.js +162 -0
  198. package/v2/model/ShowUrlAuthRequest.d.ts +19 -0
  199. package/v2/model/ShowUrlAuthRequest.js +66 -0
  200. package/v2/model/ShowUrlAuthResponse.d.ts +15 -0
  201. package/v2/model/ShowUrlAuthResponse.js +59 -0
  202. package/v2/model/StartAppRequest.d.ts +19 -0
  203. package/v2/model/StartAppRequest.js +66 -0
  204. package/v2/model/StartAppResponse.d.ts +15 -0
  205. package/v2/model/StartAppResponse.js +59 -0
  206. package/v2/model/StopAppRequest.d.ts +19 -0
  207. package/v2/model/StopAppRequest.js +66 -0
  208. package/v2/model/StopAppResponse.d.ts +15 -0
  209. package/v2/model/StopAppResponse.js +59 -0
  210. package/v2/model/StopIndividualStreamJobRequest.d.ts +23 -0
  211. package/v2/model/StopIndividualStreamJobRequest.js +81 -0
  212. package/v2/model/StopIndividualStreamJobResponse.d.ts +8 -0
  213. package/v2/model/StopIndividualStreamJobResponse.js +41 -0
  214. package/v2/model/StopMixJobRequest.d.ts +23 -0
  215. package/v2/model/StopMixJobRequest.js +81 -0
  216. package/v2/model/StopMixJobResponse.d.ts +8 -0
  217. package/v2/model/StopMixJobResponse.js +41 -0
  218. package/v2/model/UpdateAutoRecordRequest.d.ts +22 -0
  219. package/v2/model/UpdateAutoRecordRequest.js +70 -0
  220. package/v2/model/UpdateAutoRecordResponse.d.ts +17 -0
  221. package/v2/model/UpdateAutoRecordResponse.js +69 -0
  222. package/v2/model/UpdateIndividualJobReq.d.ts +13 -0
  223. package/v2/model/UpdateIndividualJobReq.js +37 -0
  224. package/v2/model/UpdateIndividualStreamJobRequest.d.ts +26 -0
  225. package/v2/model/UpdateIndividualStreamJobRequest.js +85 -0
  226. package/v2/model/UpdateIndividualStreamJobResponse.d.ts +110 -0
  227. package/v2/model/UpdateIndividualStreamJobResponse.js +300 -0
  228. package/v2/model/UpdateMixJobReq.d.ts +8 -0
  229. package/v2/model/UpdateMixJobReq.js +24 -0
  230. package/v2/model/UpdateMixJobRequest.d.ts +26 -0
  231. package/v2/model/UpdateMixJobRequest.js +85 -0
  232. package/v2/model/UpdateMixJobResponse.d.ts +76 -0
  233. package/v2/model/UpdateMixJobResponse.js +223 -0
  234. package/v2/model/UpdateMixParam.d.ts +33 -0
  235. package/v2/model/UpdateMixParam.js +107 -0
  236. package/v2/model/UpdateRecordCallbackRequest.d.ts +22 -0
  237. package/v2/model/UpdateRecordCallbackRequest.js +70 -0
  238. package/v2/model/UpdateRecordCallbackResponse.d.ts +17 -0
  239. package/v2/model/UpdateRecordCallbackResponse.js +69 -0
  240. package/v2/model/UpdateRecordRuleRequest.d.ts +26 -0
  241. package/v2/model/UpdateRecordRuleRequest.js +85 -0
  242. package/v2/model/UpdateRecordRuleResponse.d.ts +51 -0
  243. package/v2/model/UpdateRecordRuleResponse.js +162 -0
  244. package/v2/model/UpdateUrlAuthRequest.d.ts +22 -0
  245. package/v2/model/UpdateUrlAuthRequest.js +70 -0
  246. package/v2/model/UpdateUrlAuthResponse.d.ts +15 -0
  247. package/v2/model/UpdateUrlAuthResponse.js +59 -0
  248. package/v2/public-api.d.ts +82 -0
  249. package/v2/public-api.js +98 -0
@@ -0,0 +1,116 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.MixLayoutPaneFillingPolicyEnum = exports.MixLayoutPaneCropModeEnum = exports.MixLayoutPaneVideoTypeEnum = exports.MixLayoutPane = void 0;
4
+ var MixLayoutPane = /** @class */ (function () {
5
+ function MixLayoutPane() {
6
+ }
7
+ MixLayoutPane.prototype.withId = function (id) {
8
+ this['id'] = id;
9
+ return this;
10
+ };
11
+ MixLayoutPane.prototype.withUserId = function (userId) {
12
+ this['user_id'] = userId;
13
+ return this;
14
+ };
15
+ Object.defineProperty(MixLayoutPane.prototype, "userId", {
16
+ get: function () {
17
+ return this['user_id'];
18
+ },
19
+ set: function (userId) {
20
+ this['user_id'] = userId;
21
+ },
22
+ enumerable: false,
23
+ configurable: true
24
+ });
25
+ MixLayoutPane.prototype.withVideoType = function (videoType) {
26
+ this['video_type'] = videoType;
27
+ return this;
28
+ };
29
+ Object.defineProperty(MixLayoutPane.prototype, "videoType", {
30
+ get: function () {
31
+ return this['video_type'];
32
+ },
33
+ set: function (videoType) {
34
+ this['video_type'] = videoType;
35
+ },
36
+ enumerable: false,
37
+ configurable: true
38
+ });
39
+ MixLayoutPane.prototype.withX = function (x) {
40
+ this['x'] = x;
41
+ return this;
42
+ };
43
+ MixLayoutPane.prototype.withY = function (y) {
44
+ this['y'] = y;
45
+ return this;
46
+ };
47
+ MixLayoutPane.prototype.withWidth = function (width) {
48
+ this['width'] = width;
49
+ return this;
50
+ };
51
+ MixLayoutPane.prototype.withHeight = function (height) {
52
+ this['height'] = height;
53
+ return this;
54
+ };
55
+ MixLayoutPane.prototype.withZorder = function (zorder) {
56
+ this['zorder'] = zorder;
57
+ return this;
58
+ };
59
+ MixLayoutPane.prototype.withCropMode = function (cropMode) {
60
+ this['crop_mode'] = cropMode;
61
+ return this;
62
+ };
63
+ Object.defineProperty(MixLayoutPane.prototype, "cropMode", {
64
+ get: function () {
65
+ return this['crop_mode'];
66
+ },
67
+ set: function (cropMode) {
68
+ this['crop_mode'] = cropMode;
69
+ },
70
+ enumerable: false,
71
+ configurable: true
72
+ });
73
+ MixLayoutPane.prototype.withFillingPolicy = function (fillingPolicy) {
74
+ this['filling_policy'] = fillingPolicy;
75
+ return this;
76
+ };
77
+ Object.defineProperty(MixLayoutPane.prototype, "fillingPolicy", {
78
+ get: function () {
79
+ return this['filling_policy'];
80
+ },
81
+ set: function (fillingPolicy) {
82
+ this['filling_policy'] = fillingPolicy;
83
+ },
84
+ enumerable: false,
85
+ configurable: true
86
+ });
87
+ return MixLayoutPane;
88
+ }());
89
+ exports.MixLayoutPane = MixLayoutPane;
90
+ /**
91
+ * @export
92
+ * @enum {string}
93
+ */
94
+ var MixLayoutPaneVideoTypeEnum;
95
+ (function (MixLayoutPaneVideoTypeEnum) {
96
+ MixLayoutPaneVideoTypeEnum["CAMERASTREAM"] = "CAMERASTREAM";
97
+ MixLayoutPaneVideoTypeEnum["SCREENSTREAM"] = "SCREENSTREAM";
98
+ })(MixLayoutPaneVideoTypeEnum || (exports.MixLayoutPaneVideoTypeEnum = MixLayoutPaneVideoTypeEnum = {}));
99
+ /**
100
+ * @export
101
+ * @enum {string}
102
+ */
103
+ var MixLayoutPaneCropModeEnum;
104
+ (function (MixLayoutPaneCropModeEnum) {
105
+ MixLayoutPaneCropModeEnum["KEEP_RATIO_PADDING"] = "KEEP_RATIO_PADDING";
106
+ MixLayoutPaneCropModeEnum["KEEP_RATIO_CROP"] = "KEEP_RATIO_CROP";
107
+ })(MixLayoutPaneCropModeEnum || (exports.MixLayoutPaneCropModeEnum = MixLayoutPaneCropModeEnum = {}));
108
+ /**
109
+ * @export
110
+ * @enum {string}
111
+ */
112
+ var MixLayoutPaneFillingPolicyEnum;
113
+ (function (MixLayoutPaneFillingPolicyEnum) {
114
+ MixLayoutPaneFillingPolicyEnum["FIXED_USER"] = "FIXED_USER";
115
+ MixLayoutPaneFillingPolicyEnum["SHARED_SCREEN"] = "SHARED_SCREEN";
116
+ })(MixLayoutPaneFillingPolicyEnum || (exports.MixLayoutPaneFillingPolicyEnum = MixLayoutPaneFillingPolicyEnum = {}));
@@ -0,0 +1,60 @@
1
+ import { MixLayoutPane } from './MixLayoutPane';
2
+ import { MixUserBackgroundImage } from './MixUserBackgroundImage';
3
+ export declare class MixParam {
4
+ private 'room_id';
5
+ private 'encode_template';
6
+ private 'max_idle_time'?;
7
+ private 'layout_template'?;
8
+ private 'default_user_background_image'?;
9
+ private 'screen_background_image'?;
10
+ private 'background_image'?;
11
+ private 'layout_panes'?;
12
+ private 'user_background_images'?;
13
+ constructor(roomId?: any, encodeTemplate?: any);
14
+ withRoomId(roomId: string): MixParam;
15
+ set roomId(roomId: string | undefined);
16
+ get roomId(): string | undefined;
17
+ withEncodeTemplate(encodeTemplate: MixParamEncodeTemplateEnum): MixParam;
18
+ set encodeTemplate(encodeTemplate: MixParamEncodeTemplateEnum | undefined);
19
+ get encodeTemplate(): MixParamEncodeTemplateEnum | undefined;
20
+ withMaxIdleTime(maxIdleTime: number): MixParam;
21
+ set maxIdleTime(maxIdleTime: number | undefined);
22
+ get maxIdleTime(): number | undefined;
23
+ withLayoutTemplate(layoutTemplate: string): MixParam;
24
+ set layoutTemplate(layoutTemplate: string | undefined);
25
+ get layoutTemplate(): string | undefined;
26
+ withDefaultUserBackgroundImage(defaultUserBackgroundImage: string): MixParam;
27
+ set defaultUserBackgroundImage(defaultUserBackgroundImage: string | undefined);
28
+ get defaultUserBackgroundImage(): string | undefined;
29
+ withScreenBackgroundImage(screenBackgroundImage: string): MixParam;
30
+ set screenBackgroundImage(screenBackgroundImage: string | undefined);
31
+ get screenBackgroundImage(): string | undefined;
32
+ withBackgroundImage(backgroundImage: string): MixParam;
33
+ set backgroundImage(backgroundImage: string | undefined);
34
+ get backgroundImage(): string | undefined;
35
+ withLayoutPanes(layoutPanes: Array<MixLayoutPane>): MixParam;
36
+ set layoutPanes(layoutPanes: Array<MixLayoutPane> | undefined);
37
+ get layoutPanes(): Array<MixLayoutPane> | undefined;
38
+ withUserBackgroundImages(userBackgroundImages: Array<MixUserBackgroundImage>): MixParam;
39
+ set userBackgroundImages(userBackgroundImages: Array<MixUserBackgroundImage> | undefined);
40
+ get userBackgroundImages(): Array<MixUserBackgroundImage> | undefined;
41
+ }
42
+ /**
43
+ * @export
44
+ * @enum {string}
45
+ */
46
+ export declare enum MixParamEncodeTemplateEnum {
47
+ E_19201080_30_4620 = "1920*1080_30_4620",
48
+ E_19201080_30_3150 = "1920*1080_30_3150",
49
+ E_19201080_15_3460 = "1920*1080_15_3460",
50
+ E_19201080_15_2080 = "1920*1080_15_2080",
51
+ E_1280720_30_3420 = "1280*720_30_3420",
52
+ E_1280720_30_1710 = "1280*720_30_1710",
53
+ E_1280720_15_2260 = "1280*720_15_2260",
54
+ E_1280720_15_1130 = "1280*720_15_1130",
55
+ E_640480_30_1000 = "640*480_30_1000",
56
+ E_640480_30_1500 = "640*480_30_1500",
57
+ E_640480_15_500 = "640*480_15_500",
58
+ E_480360_30_490 = "480*360_30_490",
59
+ E_480360_15_320 = "480*360_15_320"
60
+ }
@@ -0,0 +1,157 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.MixParamEncodeTemplateEnum = exports.MixParam = void 0;
4
+ var MixParam = /** @class */ (function () {
5
+ function MixParam(roomId, encodeTemplate) {
6
+ this['room_id'] = roomId;
7
+ this['encode_template'] = encodeTemplate;
8
+ }
9
+ MixParam.prototype.withRoomId = function (roomId) {
10
+ this['room_id'] = roomId;
11
+ return this;
12
+ };
13
+ Object.defineProperty(MixParam.prototype, "roomId", {
14
+ get: function () {
15
+ return this['room_id'];
16
+ },
17
+ set: function (roomId) {
18
+ this['room_id'] = roomId;
19
+ },
20
+ enumerable: false,
21
+ configurable: true
22
+ });
23
+ MixParam.prototype.withEncodeTemplate = function (encodeTemplate) {
24
+ this['encode_template'] = encodeTemplate;
25
+ return this;
26
+ };
27
+ Object.defineProperty(MixParam.prototype, "encodeTemplate", {
28
+ get: function () {
29
+ return this['encode_template'];
30
+ },
31
+ set: function (encodeTemplate) {
32
+ this['encode_template'] = encodeTemplate;
33
+ },
34
+ enumerable: false,
35
+ configurable: true
36
+ });
37
+ MixParam.prototype.withMaxIdleTime = function (maxIdleTime) {
38
+ this['max_idle_time'] = maxIdleTime;
39
+ return this;
40
+ };
41
+ Object.defineProperty(MixParam.prototype, "maxIdleTime", {
42
+ get: function () {
43
+ return this['max_idle_time'];
44
+ },
45
+ set: function (maxIdleTime) {
46
+ this['max_idle_time'] = maxIdleTime;
47
+ },
48
+ enumerable: false,
49
+ configurable: true
50
+ });
51
+ MixParam.prototype.withLayoutTemplate = function (layoutTemplate) {
52
+ this['layout_template'] = layoutTemplate;
53
+ return this;
54
+ };
55
+ Object.defineProperty(MixParam.prototype, "layoutTemplate", {
56
+ get: function () {
57
+ return this['layout_template'];
58
+ },
59
+ set: function (layoutTemplate) {
60
+ this['layout_template'] = layoutTemplate;
61
+ },
62
+ enumerable: false,
63
+ configurable: true
64
+ });
65
+ MixParam.prototype.withDefaultUserBackgroundImage = function (defaultUserBackgroundImage) {
66
+ this['default_user_background_image'] = defaultUserBackgroundImage;
67
+ return this;
68
+ };
69
+ Object.defineProperty(MixParam.prototype, "defaultUserBackgroundImage", {
70
+ get: function () {
71
+ return this['default_user_background_image'];
72
+ },
73
+ set: function (defaultUserBackgroundImage) {
74
+ this['default_user_background_image'] = defaultUserBackgroundImage;
75
+ },
76
+ enumerable: false,
77
+ configurable: true
78
+ });
79
+ MixParam.prototype.withScreenBackgroundImage = function (screenBackgroundImage) {
80
+ this['screen_background_image'] = screenBackgroundImage;
81
+ return this;
82
+ };
83
+ Object.defineProperty(MixParam.prototype, "screenBackgroundImage", {
84
+ get: function () {
85
+ return this['screen_background_image'];
86
+ },
87
+ set: function (screenBackgroundImage) {
88
+ this['screen_background_image'] = screenBackgroundImage;
89
+ },
90
+ enumerable: false,
91
+ configurable: true
92
+ });
93
+ MixParam.prototype.withBackgroundImage = function (backgroundImage) {
94
+ this['background_image'] = backgroundImage;
95
+ return this;
96
+ };
97
+ Object.defineProperty(MixParam.prototype, "backgroundImage", {
98
+ get: function () {
99
+ return this['background_image'];
100
+ },
101
+ set: function (backgroundImage) {
102
+ this['background_image'] = backgroundImage;
103
+ },
104
+ enumerable: false,
105
+ configurable: true
106
+ });
107
+ MixParam.prototype.withLayoutPanes = function (layoutPanes) {
108
+ this['layout_panes'] = layoutPanes;
109
+ return this;
110
+ };
111
+ Object.defineProperty(MixParam.prototype, "layoutPanes", {
112
+ get: function () {
113
+ return this['layout_panes'];
114
+ },
115
+ set: function (layoutPanes) {
116
+ this['layout_panes'] = layoutPanes;
117
+ },
118
+ enumerable: false,
119
+ configurable: true
120
+ });
121
+ MixParam.prototype.withUserBackgroundImages = function (userBackgroundImages) {
122
+ this['user_background_images'] = userBackgroundImages;
123
+ return this;
124
+ };
125
+ Object.defineProperty(MixParam.prototype, "userBackgroundImages", {
126
+ get: function () {
127
+ return this['user_background_images'];
128
+ },
129
+ set: function (userBackgroundImages) {
130
+ this['user_background_images'] = userBackgroundImages;
131
+ },
132
+ enumerable: false,
133
+ configurable: true
134
+ });
135
+ return MixParam;
136
+ }());
137
+ exports.MixParam = MixParam;
138
+ /**
139
+ * @export
140
+ * @enum {string}
141
+ */
142
+ var MixParamEncodeTemplateEnum;
143
+ (function (MixParamEncodeTemplateEnum) {
144
+ MixParamEncodeTemplateEnum["E_19201080_30_4620"] = "1920*1080_30_4620";
145
+ MixParamEncodeTemplateEnum["E_19201080_30_3150"] = "1920*1080_30_3150";
146
+ MixParamEncodeTemplateEnum["E_19201080_15_3460"] = "1920*1080_15_3460";
147
+ MixParamEncodeTemplateEnum["E_19201080_15_2080"] = "1920*1080_15_2080";
148
+ MixParamEncodeTemplateEnum["E_1280720_30_3420"] = "1280*720_30_3420";
149
+ MixParamEncodeTemplateEnum["E_1280720_30_1710"] = "1280*720_30_1710";
150
+ MixParamEncodeTemplateEnum["E_1280720_15_2260"] = "1280*720_15_2260";
151
+ MixParamEncodeTemplateEnum["E_1280720_15_1130"] = "1280*720_15_1130";
152
+ MixParamEncodeTemplateEnum["E_640480_30_1000"] = "640*480_30_1000";
153
+ MixParamEncodeTemplateEnum["E_640480_30_1500"] = "640*480_30_1500";
154
+ MixParamEncodeTemplateEnum["E_640480_15_500"] = "640*480_15_500";
155
+ MixParamEncodeTemplateEnum["E_480360_30_490"] = "480*360_30_490";
156
+ MixParamEncodeTemplateEnum["E_480360_15_320"] = "480*360_15_320";
157
+ })(MixParamEncodeTemplateEnum || (exports.MixParamEncodeTemplateEnum = MixParamEncodeTemplateEnum = {}));
@@ -0,0 +1,11 @@
1
+ export declare class MixUserBackgroundImage {
2
+ private 'user_id';
3
+ private 'image_uri';
4
+ constructor(userId?: any, imageUri?: any);
5
+ withUserId(userId: string): MixUserBackgroundImage;
6
+ set userId(userId: string | undefined);
7
+ get userId(): string | undefined;
8
+ withImageUri(imageUri: string): MixUserBackgroundImage;
9
+ set imageUri(imageUri: string | undefined);
10
+ get imageUri(): string | undefined;
11
+ }
@@ -0,0 +1,39 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.MixUserBackgroundImage = void 0;
4
+ var MixUserBackgroundImage = /** @class */ (function () {
5
+ function MixUserBackgroundImage(userId, imageUri) {
6
+ this['user_id'] = userId;
7
+ this['image_uri'] = imageUri;
8
+ }
9
+ MixUserBackgroundImage.prototype.withUserId = function (userId) {
10
+ this['user_id'] = userId;
11
+ return this;
12
+ };
13
+ Object.defineProperty(MixUserBackgroundImage.prototype, "userId", {
14
+ get: function () {
15
+ return this['user_id'];
16
+ },
17
+ set: function (userId) {
18
+ this['user_id'] = userId;
19
+ },
20
+ enumerable: false,
21
+ configurable: true
22
+ });
23
+ MixUserBackgroundImage.prototype.withImageUri = function (imageUri) {
24
+ this['image_uri'] = imageUri;
25
+ return this;
26
+ };
27
+ Object.defineProperty(MixUserBackgroundImage.prototype, "imageUri", {
28
+ get: function () {
29
+ return this['image_uri'];
30
+ },
31
+ set: function (imageUri) {
32
+ this['image_uri'] = imageUri;
33
+ },
34
+ enumerable: false,
35
+ configurable: true
36
+ });
37
+ return MixUserBackgroundImage;
38
+ }());
39
+ exports.MixUserBackgroundImage = MixUserBackgroundImage;
@@ -0,0 +1,7 @@
1
+ export declare class PublishParam {
2
+ private 'rtmp_urls';
3
+ constructor(rtmpUrls?: any);
4
+ withRtmpUrls(rtmpUrls: Array<string>): PublishParam;
5
+ set rtmpUrls(rtmpUrls: Array<string> | undefined);
6
+ get rtmpUrls(): Array<string> | undefined;
7
+ }
@@ -0,0 +1,24 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.PublishParam = void 0;
4
+ var PublishParam = /** @class */ (function () {
5
+ function PublishParam(rtmpUrls) {
6
+ this['rtmp_urls'] = rtmpUrls;
7
+ }
8
+ PublishParam.prototype.withRtmpUrls = function (rtmpUrls) {
9
+ this['rtmp_urls'] = rtmpUrls;
10
+ return this;
11
+ };
12
+ Object.defineProperty(PublishParam.prototype, "rtmpUrls", {
13
+ get: function () {
14
+ return this['rtmp_urls'];
15
+ },
16
+ set: function (rtmpUrls) {
17
+ this['rtmp_urls'] = rtmpUrls;
18
+ },
19
+ enumerable: false,
20
+ configurable: true
21
+ });
22
+ return PublishParam;
23
+ }());
24
+ exports.PublishParam = PublishParam;
@@ -0,0 +1,22 @@
1
+ export declare class RecordObsFileAddr {
2
+ location: RecordObsFileAddrLocationEnum;
3
+ private 'project_id';
4
+ bucket: string;
5
+ private 'object'?;
6
+ constructor(location?: any, projectId?: any, bucket?: any);
7
+ withLocation(location: RecordObsFileAddrLocationEnum): RecordObsFileAddr;
8
+ withProjectId(projectId: string): RecordObsFileAddr;
9
+ set projectId(projectId: string | undefined);
10
+ get projectId(): string | undefined;
11
+ withBucket(bucket: string): RecordObsFileAddr;
12
+ withModelObject(modelObject: string): RecordObsFileAddr;
13
+ set modelObject(modelObject: string | undefined);
14
+ get modelObject(): string | undefined;
15
+ }
16
+ /**
17
+ * @export
18
+ * @enum {string}
19
+ */
20
+ export declare enum RecordObsFileAddrLocationEnum {
21
+ CN_NORTH_4 = "cn-north-4"
22
+ }
@@ -0,0 +1,56 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.RecordObsFileAddrLocationEnum = exports.RecordObsFileAddr = void 0;
4
+ var RecordObsFileAddr = /** @class */ (function () {
5
+ function RecordObsFileAddr(location, projectId, bucket) {
6
+ this['location'] = location;
7
+ this['project_id'] = projectId;
8
+ this['bucket'] = bucket;
9
+ }
10
+ RecordObsFileAddr.prototype.withLocation = function (location) {
11
+ this['location'] = location;
12
+ return this;
13
+ };
14
+ RecordObsFileAddr.prototype.withProjectId = function (projectId) {
15
+ this['project_id'] = projectId;
16
+ return this;
17
+ };
18
+ Object.defineProperty(RecordObsFileAddr.prototype, "projectId", {
19
+ get: function () {
20
+ return this['project_id'];
21
+ },
22
+ set: function (projectId) {
23
+ this['project_id'] = projectId;
24
+ },
25
+ enumerable: false,
26
+ configurable: true
27
+ });
28
+ RecordObsFileAddr.prototype.withBucket = function (bucket) {
29
+ this['bucket'] = bucket;
30
+ return this;
31
+ };
32
+ RecordObsFileAddr.prototype.withModelObject = function (modelObject) {
33
+ this['object'] = modelObject;
34
+ return this;
35
+ };
36
+ Object.defineProperty(RecordObsFileAddr.prototype, "modelObject", {
37
+ get: function () {
38
+ return this['object'];
39
+ },
40
+ set: function (modelObject) {
41
+ this['object'] = modelObject;
42
+ },
43
+ enumerable: false,
44
+ configurable: true
45
+ });
46
+ return RecordObsFileAddr;
47
+ }());
48
+ exports.RecordObsFileAddr = RecordObsFileAddr;
49
+ /**
50
+ * @export
51
+ * @enum {string}
52
+ */
53
+ var RecordObsFileAddrLocationEnum;
54
+ (function (RecordObsFileAddrLocationEnum) {
55
+ RecordObsFileAddrLocationEnum["CN_NORTH_4"] = "cn-north-4";
56
+ })(RecordObsFileAddrLocationEnum || (exports.RecordObsFileAddrLocationEnum = RecordObsFileAddrLocationEnum = {}));
@@ -0,0 +1,7 @@
1
+ export declare class RecordParam {
2
+ private 'record_rule_id';
3
+ constructor(recordRuleId?: any);
4
+ withRecordRuleId(recordRuleId: string): RecordParam;
5
+ set recordRuleId(recordRuleId: string | undefined);
6
+ get recordRuleId(): string | undefined;
7
+ }
@@ -0,0 +1,24 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.RecordParam = void 0;
4
+ var RecordParam = /** @class */ (function () {
5
+ function RecordParam(recordRuleId) {
6
+ this['record_rule_id'] = recordRuleId;
7
+ }
8
+ RecordParam.prototype.withRecordRuleId = function (recordRuleId) {
9
+ this['record_rule_id'] = recordRuleId;
10
+ return this;
11
+ };
12
+ Object.defineProperty(RecordParam.prototype, "recordRuleId", {
13
+ get: function () {
14
+ return this['record_rule_id'];
15
+ },
16
+ set: function (recordRuleId) {
17
+ this['record_rule_id'] = recordRuleId;
18
+ },
19
+ enumerable: false,
20
+ configurable: true
21
+ });
22
+ return RecordParam;
23
+ }());
24
+ exports.RecordParam = RecordParam;
@@ -0,0 +1,46 @@
1
+ import { HLSRecordConfig } from './HLSRecordConfig';
2
+ import { MP4RecordConfig } from './MP4RecordConfig';
3
+ import { RecordObsFileAddr } from './RecordObsFileAddr';
4
+ export declare class RecordRule {
5
+ private 'rule_id'?;
6
+ private 'app_id'?;
7
+ private 'obs_addr'?;
8
+ private 'record_formats'?;
9
+ private 'hls_config'?;
10
+ private 'mp4_config'?;
11
+ private 'create_time'?;
12
+ private 'update_time'?;
13
+ constructor();
14
+ withRuleId(ruleId: string): RecordRule;
15
+ set ruleId(ruleId: string | undefined);
16
+ get ruleId(): string | undefined;
17
+ withAppId(appId: string): RecordRule;
18
+ set appId(appId: string | undefined);
19
+ get appId(): string | undefined;
20
+ withObsAddr(obsAddr: RecordObsFileAddr): RecordRule;
21
+ set obsAddr(obsAddr: RecordObsFileAddr | undefined);
22
+ get obsAddr(): RecordObsFileAddr | undefined;
23
+ withRecordFormats(recordFormats: Array<RecordRuleRecordFormatsEnum>): RecordRule;
24
+ set recordFormats(recordFormats: Array<RecordRuleRecordFormatsEnum> | undefined);
25
+ get recordFormats(): Array<RecordRuleRecordFormatsEnum> | undefined;
26
+ withHlsConfig(hlsConfig: HLSRecordConfig): RecordRule;
27
+ set hlsConfig(hlsConfig: HLSRecordConfig | undefined);
28
+ get hlsConfig(): HLSRecordConfig | undefined;
29
+ withMp4Config(mp4Config: MP4RecordConfig): RecordRule;
30
+ set mp4Config(mp4Config: MP4RecordConfig | undefined);
31
+ get mp4Config(): MP4RecordConfig | undefined;
32
+ withCreateTime(createTime: string): RecordRule;
33
+ set createTime(createTime: string | undefined);
34
+ get createTime(): string | undefined;
35
+ withUpdateTime(updateTime: string): RecordRule;
36
+ set updateTime(updateTime: string | undefined);
37
+ get updateTime(): string | undefined;
38
+ }
39
+ /**
40
+ * @export
41
+ * @enum {string}
42
+ */
43
+ export declare enum RecordRuleRecordFormatsEnum {
44
+ HLS = "HLS",
45
+ MP4 = "MP4"
46
+ }