@sigmaott/base-library-next 2.2.5 → 2.2.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.npmrc +3 -0
- package/locales/en.yaml +289 -289
- package/locales/vi.yaml +294 -294
- package/nuxt.config.ts +18 -18
- package/package.json +32 -33
- package/public/routes.json +33 -33
- package/src/api/axios.ts +3 -3
- package/src/api/index.ts +86 -86
- package/src/api-client-library/.openapi-generator/FILES +20 -20
- package/src/api-client-library/.openapi-generator-ignore +23 -23
- package/src/api-client-library/api/health-api.ts +119 -119
- package/src/api-client-library/api/presets-api.ts +599 -599
- package/src/api-client-library/api/profiles-api.ts +676 -676
- package/src/api-client-library/api.ts +20 -20
- package/src/api-client-library/base.ts +72 -72
- package/src/api-client-library/common.ts +150 -150
- package/src/api-client-library/configuration.ts +101 -101
- package/src/api-client-library/git_push.sh +57 -57
- package/src/api-client-library/index.ts +18 -18
- package/src/api-client-library/models/create-preset-dto.ts +223 -223
- package/src/api-client-library/models/create-profile-dto.ts +45 -45
- package/src/api-client-library/models/health-controller-get-health200-response-info-value.ts +32 -32
- package/src/api-client-library/models/health-controller-get-health200-response.ts +51 -51
- package/src/api-client-library/models/health-controller-get-health503-response.ts +51 -51
- package/src/api-client-library/models/index.ts +7 -7
- package/src/api-client-library/models/update-preset-dto.ts +223 -223
- package/src/api-client-library/models/update-profile-dto.ts +45 -45
- package/src/components/MediaSelection.vue +40 -40
- package/src/components/PresetModify.vue +154 -154
- package/src/components/PresetTable.vue +114 -114
- package/src/components/ProfileAllList.vue +137 -137
- package/src/components/ProfileFormModal.vue +79 -79
- package/src/components/ProfileModify.vue +152 -152
- package/src/components/ProfileTable.vue +68 -68
- package/src/components/WatermarkDraggableItem.vue +88 -88
- package/src/components/channel/ConfigWatermarkItem.vue +239 -239
- package/src/components/channel/WatermarkPreview.vue +19 -19
- package/src/components/common/Vue3DraggableResizable/Container.vue +71 -71
- package/src/components/common/Vue3DraggableResizable/index.vue +1327 -1327
- package/src/components/common/Vue3DraggableResizable/utils/dom.js +63 -63
- package/src/components/common/Vue3DraggableResizable/utils/fns.js +37 -37
- package/src/components/common/VueDraggableResizable/dom.js +63 -63
- package/src/components/common/VueDraggableResizable/fns.js +37 -37
- package/src/components/common/VueDraggableResizable/index.vue +958 -958
- package/src/components/preset/ConfigItem.vue +956 -956
- package/src/components/profile/ConfigItem.vue +765 -765
- package/src/components/profile/TableColumns.vue +137 -137
- package/src/components/shared/AudioInfoViewer.vue +101 -101
- package/src/components/shared/MediaInfoViewer.vue +249 -249
- package/src/components/shared/MediaInfoViewerSmall.vue +111 -105
- package/src/components/shared/PopoverProfile.vue +17 -17
- package/src/components/shared/VideoInfoViewer.vue +136 -136
- package/src/components/shared/fileSizeFilter.ts +26 -26
- package/src/composables/preset.ts +141 -141
- package/src/public/build-time.json +1 -1
- package/src/public/favicon.svg +15 -15
- package/src/public/logo.svg +9 -9
- package/src/public/routes.json +86 -86
- package/src/utils/common.ts +175 -175
- package/src/utils/config.ts +19 -19
- package/src/utils/preset.ts +353 -353
- package/src/utils/profile.ts +30 -30
- package/tsconfig.json +3 -3
|
@@ -1,51 +1,51 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* Sigma Library
|
|
5
|
-
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: 1.0
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
-
* https://openapi-generator.tech
|
|
12
|
-
* Do not edit the class manually.
|
|
13
|
-
*/
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
// May contain unused imports in some cases
|
|
17
|
-
// @ts-ignore
|
|
18
|
-
import { HealthControllerGetHealth200ResponseInfoValue } from './health-controller-get-health200-response-info-value';
|
|
19
|
-
|
|
20
|
-
/**
|
|
21
|
-
*
|
|
22
|
-
* @export
|
|
23
|
-
* @interface HealthControllerGetHealth200Response
|
|
24
|
-
*/
|
|
25
|
-
export interface HealthControllerGetHealth200Response {
|
|
26
|
-
/**
|
|
27
|
-
*
|
|
28
|
-
* @type {string}
|
|
29
|
-
* @memberof HealthControllerGetHealth200Response
|
|
30
|
-
*/
|
|
31
|
-
'status'?: string;
|
|
32
|
-
/**
|
|
33
|
-
*
|
|
34
|
-
* @type {{ [key: string]: HealthControllerGetHealth200ResponseInfoValue; }}
|
|
35
|
-
* @memberof HealthControllerGetHealth200Response
|
|
36
|
-
*/
|
|
37
|
-
'info'?: { [key: string]: HealthControllerGetHealth200ResponseInfoValue; } | null;
|
|
38
|
-
/**
|
|
39
|
-
*
|
|
40
|
-
* @type {{ [key: string]: HealthControllerGetHealth200ResponseInfoValue; }}
|
|
41
|
-
* @memberof HealthControllerGetHealth200Response
|
|
42
|
-
*/
|
|
43
|
-
'error'?: { [key: string]: HealthControllerGetHealth200ResponseInfoValue; } | null;
|
|
44
|
-
/**
|
|
45
|
-
*
|
|
46
|
-
* @type {{ [key: string]: HealthControllerGetHealth200ResponseInfoValue; }}
|
|
47
|
-
* @memberof HealthControllerGetHealth200Response
|
|
48
|
-
*/
|
|
49
|
-
'details'?: { [key: string]: HealthControllerGetHealth200ResponseInfoValue; };
|
|
50
|
-
}
|
|
51
|
-
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Sigma Library
|
|
5
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
// May contain unused imports in some cases
|
|
17
|
+
// @ts-ignore
|
|
18
|
+
import { HealthControllerGetHealth200ResponseInfoValue } from './health-controller-get-health200-response-info-value';
|
|
19
|
+
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @export
|
|
23
|
+
* @interface HealthControllerGetHealth200Response
|
|
24
|
+
*/
|
|
25
|
+
export interface HealthControllerGetHealth200Response {
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {string}
|
|
29
|
+
* @memberof HealthControllerGetHealth200Response
|
|
30
|
+
*/
|
|
31
|
+
'status'?: string;
|
|
32
|
+
/**
|
|
33
|
+
*
|
|
34
|
+
* @type {{ [key: string]: HealthControllerGetHealth200ResponseInfoValue; }}
|
|
35
|
+
* @memberof HealthControllerGetHealth200Response
|
|
36
|
+
*/
|
|
37
|
+
'info'?: { [key: string]: HealthControllerGetHealth200ResponseInfoValue; } | null;
|
|
38
|
+
/**
|
|
39
|
+
*
|
|
40
|
+
* @type {{ [key: string]: HealthControllerGetHealth200ResponseInfoValue; }}
|
|
41
|
+
* @memberof HealthControllerGetHealth200Response
|
|
42
|
+
*/
|
|
43
|
+
'error'?: { [key: string]: HealthControllerGetHealth200ResponseInfoValue; } | null;
|
|
44
|
+
/**
|
|
45
|
+
*
|
|
46
|
+
* @type {{ [key: string]: HealthControllerGetHealth200ResponseInfoValue; }}
|
|
47
|
+
* @memberof HealthControllerGetHealth200Response
|
|
48
|
+
*/
|
|
49
|
+
'details'?: { [key: string]: HealthControllerGetHealth200ResponseInfoValue; };
|
|
50
|
+
}
|
|
51
|
+
|
|
@@ -1,51 +1,51 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* Sigma Library
|
|
5
|
-
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: 1.0
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
-
* https://openapi-generator.tech
|
|
12
|
-
* Do not edit the class manually.
|
|
13
|
-
*/
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
// May contain unused imports in some cases
|
|
17
|
-
// @ts-ignore
|
|
18
|
-
import { HealthControllerGetHealth200ResponseInfoValue } from './health-controller-get-health200-response-info-value';
|
|
19
|
-
|
|
20
|
-
/**
|
|
21
|
-
*
|
|
22
|
-
* @export
|
|
23
|
-
* @interface HealthControllerGetHealth503Response
|
|
24
|
-
*/
|
|
25
|
-
export interface HealthControllerGetHealth503Response {
|
|
26
|
-
/**
|
|
27
|
-
*
|
|
28
|
-
* @type {string}
|
|
29
|
-
* @memberof HealthControllerGetHealth503Response
|
|
30
|
-
*/
|
|
31
|
-
'status'?: string;
|
|
32
|
-
/**
|
|
33
|
-
*
|
|
34
|
-
* @type {{ [key: string]: HealthControllerGetHealth200ResponseInfoValue; }}
|
|
35
|
-
* @memberof HealthControllerGetHealth503Response
|
|
36
|
-
*/
|
|
37
|
-
'info'?: { [key: string]: HealthControllerGetHealth200ResponseInfoValue; } | null;
|
|
38
|
-
/**
|
|
39
|
-
*
|
|
40
|
-
* @type {{ [key: string]: HealthControllerGetHealth200ResponseInfoValue; }}
|
|
41
|
-
* @memberof HealthControllerGetHealth503Response
|
|
42
|
-
*/
|
|
43
|
-
'error'?: { [key: string]: HealthControllerGetHealth200ResponseInfoValue; } | null;
|
|
44
|
-
/**
|
|
45
|
-
*
|
|
46
|
-
* @type {{ [key: string]: HealthControllerGetHealth200ResponseInfoValue; }}
|
|
47
|
-
* @memberof HealthControllerGetHealth503Response
|
|
48
|
-
*/
|
|
49
|
-
'details'?: { [key: string]: HealthControllerGetHealth200ResponseInfoValue; };
|
|
50
|
-
}
|
|
51
|
-
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Sigma Library
|
|
5
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
// May contain unused imports in some cases
|
|
17
|
+
// @ts-ignore
|
|
18
|
+
import { HealthControllerGetHealth200ResponseInfoValue } from './health-controller-get-health200-response-info-value';
|
|
19
|
+
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @export
|
|
23
|
+
* @interface HealthControllerGetHealth503Response
|
|
24
|
+
*/
|
|
25
|
+
export interface HealthControllerGetHealth503Response {
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {string}
|
|
29
|
+
* @memberof HealthControllerGetHealth503Response
|
|
30
|
+
*/
|
|
31
|
+
'status'?: string;
|
|
32
|
+
/**
|
|
33
|
+
*
|
|
34
|
+
* @type {{ [key: string]: HealthControllerGetHealth200ResponseInfoValue; }}
|
|
35
|
+
* @memberof HealthControllerGetHealth503Response
|
|
36
|
+
*/
|
|
37
|
+
'info'?: { [key: string]: HealthControllerGetHealth200ResponseInfoValue; } | null;
|
|
38
|
+
/**
|
|
39
|
+
*
|
|
40
|
+
* @type {{ [key: string]: HealthControllerGetHealth200ResponseInfoValue; }}
|
|
41
|
+
* @memberof HealthControllerGetHealth503Response
|
|
42
|
+
*/
|
|
43
|
+
'error'?: { [key: string]: HealthControllerGetHealth200ResponseInfoValue; } | null;
|
|
44
|
+
/**
|
|
45
|
+
*
|
|
46
|
+
* @type {{ [key: string]: HealthControllerGetHealth200ResponseInfoValue; }}
|
|
47
|
+
* @memberof HealthControllerGetHealth503Response
|
|
48
|
+
*/
|
|
49
|
+
'details'?: { [key: string]: HealthControllerGetHealth200ResponseInfoValue; };
|
|
50
|
+
}
|
|
51
|
+
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export * from './create-preset-dto';
|
|
2
|
-
export * from './create-profile-dto';
|
|
3
|
-
export * from './health-controller-get-health200-response';
|
|
4
|
-
export * from './health-controller-get-health200-response-info-value';
|
|
5
|
-
export * from './health-controller-get-health503-response';
|
|
6
|
-
export * from './update-preset-dto';
|
|
7
|
-
export * from './update-profile-dto';
|
|
1
|
+
export * from './create-preset-dto';
|
|
2
|
+
export * from './create-profile-dto';
|
|
3
|
+
export * from './health-controller-get-health200-response';
|
|
4
|
+
export * from './health-controller-get-health200-response-info-value';
|
|
5
|
+
export * from './health-controller-get-health503-response';
|
|
6
|
+
export * from './update-preset-dto';
|
|
7
|
+
export * from './update-profile-dto';
|
|
@@ -1,223 +1,223 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* Sigma Library
|
|
5
|
-
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: 1.0
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
-
* https://openapi-generator.tech
|
|
12
|
-
* Do not edit the class manually.
|
|
13
|
-
*/
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
/**
|
|
18
|
-
*
|
|
19
|
-
* @export
|
|
20
|
-
* @interface UpdatePresetDto
|
|
21
|
-
*/
|
|
22
|
-
export interface UpdatePresetDto {
|
|
23
|
-
/**
|
|
24
|
-
* phân loại preset
|
|
25
|
-
* @type {string}
|
|
26
|
-
* @memberof UpdatePresetDto
|
|
27
|
-
*/
|
|
28
|
-
'type'?: UpdatePresetDtoTypeEnum;
|
|
29
|
-
/**
|
|
30
|
-
* Bộ mã của video
|
|
31
|
-
* @type {string}
|
|
32
|
-
* @memberof UpdatePresetDto
|
|
33
|
-
*/
|
|
34
|
-
'codec'?: UpdatePresetDtoCodecEnum;
|
|
35
|
-
/**
|
|
36
|
-
* Giá trị bitrate
|
|
37
|
-
* @type {number}
|
|
38
|
-
* @memberof UpdatePresetDto
|
|
39
|
-
*/
|
|
40
|
-
'bitrate'?: number;
|
|
41
|
-
/**
|
|
42
|
-
* mô tả tuỳ chỉnh của đầu ra
|
|
43
|
-
* @type {string}
|
|
44
|
-
* @memberof UpdatePresetDto
|
|
45
|
-
*/
|
|
46
|
-
'description'?: string;
|
|
47
|
-
/**
|
|
48
|
-
*
|
|
49
|
-
* @type {string}
|
|
50
|
-
* @memberof UpdatePresetDto
|
|
51
|
-
*/
|
|
52
|
-
'options'?: string;
|
|
53
|
-
/**
|
|
54
|
-
* audio only
|
|
55
|
-
* @type {number}
|
|
56
|
-
* @memberof UpdatePresetDto
|
|
57
|
-
*/
|
|
58
|
-
'sampleRate'?: UpdatePresetDtoSampleRateEnum;
|
|
59
|
-
/**
|
|
60
|
-
* audio only
|
|
61
|
-
* @type {number}
|
|
62
|
-
* @memberof UpdatePresetDto
|
|
63
|
-
*/
|
|
64
|
-
'channel'?: UpdatePresetDtoChannelEnum;
|
|
65
|
-
/**
|
|
66
|
-
* audio only
|
|
67
|
-
* @type {string}
|
|
68
|
-
* @memberof UpdatePresetDto
|
|
69
|
-
*/
|
|
70
|
-
'profile'?: UpdatePresetDtoProfileEnum;
|
|
71
|
-
/**
|
|
72
|
-
* video only
|
|
73
|
-
* @type {string}
|
|
74
|
-
* @memberof UpdatePresetDto
|
|
75
|
-
*/
|
|
76
|
-
'videoProfile'?: UpdatePresetDtoVideoProfileEnum;
|
|
77
|
-
/**
|
|
78
|
-
* audio only thay đổi volume từ luồng gốc: + \"+5dB\", \"-10dB\": thay đổi 1 lượng) + 0.5, 2 : giảm 1 nửa, gấp đôi + \"loudnorm\": tự động theo chuẩn EBU R128
|
|
79
|
-
* @type {string}
|
|
80
|
-
* @memberof UpdatePresetDto
|
|
81
|
-
*/
|
|
82
|
-
'volume'?: UpdatePresetDtoVolumeEnum;
|
|
83
|
-
/**
|
|
84
|
-
* video only. Giá trị khung hình trên giây (Frame per second). Giá trị này không thể lớn hơn giá trị fps của luồng đầu vào
|
|
85
|
-
* @type {number}
|
|
86
|
-
* @memberof UpdatePresetDto
|
|
87
|
-
*/
|
|
88
|
-
'fps'?: number;
|
|
89
|
-
/**
|
|
90
|
-
* video only. Giá trị độ cao của video của luồng đầu ra, dựa trên pixel. Đối với phần lớn bộ mã video bạn có thể để trống, chiều cao của video sẽ tương ứng với nguồn đầu vào. Tuy nhiên, việc này không được khuyến khích
|
|
91
|
-
* @type {number}
|
|
92
|
-
* @memberof UpdatePresetDto
|
|
93
|
-
*/
|
|
94
|
-
'height'?: number;
|
|
95
|
-
/**
|
|
96
|
-
* video only. Giá trị độ rộng của video của luồng đầu ra, dựa trên pixel. Đối với phần lớn bộ mã video bạn có thể để trống, chiều rộng của video sẽ tương ứng với nguồn đầu vào. Tuy nhiên, việc này không được khuyến khích
|
|
97
|
-
* @type {number}
|
|
98
|
-
* @memberof UpdatePresetDto
|
|
99
|
-
*/
|
|
100
|
-
'width'?: number;
|
|
101
|
-
/**
|
|
102
|
-
* video only. bật chế độ constant bitrate
|
|
103
|
-
* @type {boolean}
|
|
104
|
-
* @memberof UpdatePresetDto
|
|
105
|
-
*/
|
|
106
|
-
'cbr'?: boolean;
|
|
107
|
-
/**
|
|
108
|
-
* video only
|
|
109
|
-
* @type {string}
|
|
110
|
-
* @memberof UpdatePresetDto
|
|
111
|
-
*/
|
|
112
|
-
'pixelFormat'?: UpdatePresetDtoPixelFormatEnum;
|
|
113
|
-
/**
|
|
114
|
-
* video only, (chú ý: nếu để width, height, scaleType trong option tổng, nguồn sẽ scale trước khi xử lý tiếp theo)
|
|
115
|
-
* @type {string}
|
|
116
|
-
* @memberof UpdatePresetDto
|
|
117
|
-
*/
|
|
118
|
-
'scaleType'?: UpdatePresetDtoScaleTypeEnum;
|
|
119
|
-
/**
|
|
120
|
-
* video only, chế độ constant quality
|
|
121
|
-
* @type {number}
|
|
122
|
-
* @memberof UpdatePresetDto
|
|
123
|
-
*/
|
|
124
|
-
'cq'?: number;
|
|
125
|
-
/**
|
|
126
|
-
* video only, chế độ video interlaced
|
|
127
|
-
* @type {boolean}
|
|
128
|
-
* @memberof UpdatePresetDto
|
|
129
|
-
*/
|
|
130
|
-
'interlaced'?: boolean;
|
|
131
|
-
/**
|
|
132
|
-
* bframe number
|
|
133
|
-
* @type {number}
|
|
134
|
-
* @memberof UpdatePresetDto
|
|
135
|
-
*/
|
|
136
|
-
'bframe'?: number;
|
|
137
|
-
/**
|
|
138
|
-
* Tên
|
|
139
|
-
* @type {string}
|
|
140
|
-
* @memberof UpdatePresetDto
|
|
141
|
-
*/
|
|
142
|
-
'name'?: string;
|
|
143
|
-
}
|
|
144
|
-
|
|
145
|
-
export const UpdatePresetDtoTypeEnum = {
|
|
146
|
-
Video: 'video',
|
|
147
|
-
Audio: 'audio',
|
|
148
|
-
Data: 'data'
|
|
149
|
-
} as const;
|
|
150
|
-
|
|
151
|
-
export type UpdatePresetDtoTypeEnum = typeof UpdatePresetDtoTypeEnum[keyof typeof UpdatePresetDtoTypeEnum];
|
|
152
|
-
export const UpdatePresetDtoCodecEnum = {
|
|
153
|
-
H264: 'h264',
|
|
154
|
-
Hevc: 'hevc',
|
|
155
|
-
Copy: 'copy',
|
|
156
|
-
Aac: 'aac',
|
|
157
|
-
Ac3: 'ac3',
|
|
158
|
-
Eac3: 'eac3',
|
|
159
|
-
Mp2: 'mp2',
|
|
160
|
-
Scte35: 'scte35',
|
|
161
|
-
Id3: 'id3'
|
|
162
|
-
} as const;
|
|
163
|
-
|
|
164
|
-
export type UpdatePresetDtoCodecEnum = typeof UpdatePresetDtoCodecEnum[keyof typeof UpdatePresetDtoCodecEnum];
|
|
165
|
-
export const UpdatePresetDtoSampleRateEnum = {
|
|
166
|
-
NUMBER_44100: 44100,
|
|
167
|
-
NUMBER_48000: 48000
|
|
168
|
-
} as const;
|
|
169
|
-
|
|
170
|
-
export type UpdatePresetDtoSampleRateEnum = typeof UpdatePresetDtoSampleRateEnum[keyof typeof UpdatePresetDtoSampleRateEnum];
|
|
171
|
-
export const UpdatePresetDtoChannelEnum = {
|
|
172
|
-
NUMBER_1: 1,
|
|
173
|
-
NUMBER_2: 2,
|
|
174
|
-
NUMBER_6: 6
|
|
175
|
-
} as const;
|
|
176
|
-
|
|
177
|
-
export type UpdatePresetDtoChannelEnum = typeof UpdatePresetDtoChannelEnum[keyof typeof UpdatePresetDtoChannelEnum];
|
|
178
|
-
export const UpdatePresetDtoProfileEnum = {
|
|
179
|
-
Low: 'aac_low',
|
|
180
|
-
He: 'aac_he',
|
|
181
|
-
HeV2: 'aac_he_v2',
|
|
182
|
-
Main: 'aac_main',
|
|
183
|
-
Ld: 'aac_ld',
|
|
184
|
-
Eld: 'aac_eld'
|
|
185
|
-
} as const;
|
|
186
|
-
|
|
187
|
-
export type UpdatePresetDtoProfileEnum = typeof UpdatePresetDtoProfileEnum[keyof typeof UpdatePresetDtoProfileEnum];
|
|
188
|
-
export const UpdatePresetDtoVideoProfileEnum = {
|
|
189
|
-
Baseline: 'BASELINE',
|
|
190
|
-
Main: 'MAIN',
|
|
191
|
-
High: 'HIGH'
|
|
192
|
-
} as const;
|
|
193
|
-
|
|
194
|
-
export type UpdatePresetDtoVideoProfileEnum = typeof UpdatePresetDtoVideoProfileEnum[keyof typeof UpdatePresetDtoVideoProfileEnum];
|
|
195
|
-
export const UpdatePresetDtoVolumeEnum = {
|
|
196
|
-
_5dB: '+5dB',
|
|
197
|
-
_10dB: '-10dB',
|
|
198
|
-
_05: '0.5',
|
|
199
|
-
_2: '2',
|
|
200
|
-
Loudnorm: 'loudnorm'
|
|
201
|
-
} as const;
|
|
202
|
-
|
|
203
|
-
export type UpdatePresetDtoVolumeEnum = typeof UpdatePresetDtoVolumeEnum[keyof typeof UpdatePresetDtoVolumeEnum];
|
|
204
|
-
export const UpdatePresetDtoPixelFormatEnum = {
|
|
205
|
-
Yuv420p: 'yuv420p',
|
|
206
|
-
Yuv444p: 'yuv444p',
|
|
207
|
-
Yuv420p10le: 'yuv420p10le',
|
|
208
|
-
Yuv444p10le: 'yuv444p10le'
|
|
209
|
-
} as const;
|
|
210
|
-
|
|
211
|
-
export type UpdatePresetDtoPixelFormatEnum = typeof UpdatePresetDtoPixelFormatEnum[keyof typeof UpdatePresetDtoPixelFormatEnum];
|
|
212
|
-
export const UpdatePresetDtoScaleTypeEnum = {
|
|
213
|
-
FitWidth: 'fitWidth',
|
|
214
|
-
FitHeight: 'fitHeight',
|
|
215
|
-
FitInside: 'fitInside',
|
|
216
|
-
FitCrop: 'fitCrop',
|
|
217
|
-
FitBoth: 'fitBoth',
|
|
218
|
-
Source: 'source'
|
|
219
|
-
} as const;
|
|
220
|
-
|
|
221
|
-
export type UpdatePresetDtoScaleTypeEnum = typeof UpdatePresetDtoScaleTypeEnum[keyof typeof UpdatePresetDtoScaleTypeEnum];
|
|
222
|
-
|
|
223
|
-
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Sigma Library
|
|
5
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
*
|
|
19
|
+
* @export
|
|
20
|
+
* @interface UpdatePresetDto
|
|
21
|
+
*/
|
|
22
|
+
export interface UpdatePresetDto {
|
|
23
|
+
/**
|
|
24
|
+
* phân loại preset
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof UpdatePresetDto
|
|
27
|
+
*/
|
|
28
|
+
'type'?: UpdatePresetDtoTypeEnum;
|
|
29
|
+
/**
|
|
30
|
+
* Bộ mã của video
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof UpdatePresetDto
|
|
33
|
+
*/
|
|
34
|
+
'codec'?: UpdatePresetDtoCodecEnum;
|
|
35
|
+
/**
|
|
36
|
+
* Giá trị bitrate
|
|
37
|
+
* @type {number}
|
|
38
|
+
* @memberof UpdatePresetDto
|
|
39
|
+
*/
|
|
40
|
+
'bitrate'?: number;
|
|
41
|
+
/**
|
|
42
|
+
* mô tả tuỳ chỉnh của đầu ra
|
|
43
|
+
* @type {string}
|
|
44
|
+
* @memberof UpdatePresetDto
|
|
45
|
+
*/
|
|
46
|
+
'description'?: string;
|
|
47
|
+
/**
|
|
48
|
+
*
|
|
49
|
+
* @type {string}
|
|
50
|
+
* @memberof UpdatePresetDto
|
|
51
|
+
*/
|
|
52
|
+
'options'?: string;
|
|
53
|
+
/**
|
|
54
|
+
* audio only
|
|
55
|
+
* @type {number}
|
|
56
|
+
* @memberof UpdatePresetDto
|
|
57
|
+
*/
|
|
58
|
+
'sampleRate'?: UpdatePresetDtoSampleRateEnum;
|
|
59
|
+
/**
|
|
60
|
+
* audio only
|
|
61
|
+
* @type {number}
|
|
62
|
+
* @memberof UpdatePresetDto
|
|
63
|
+
*/
|
|
64
|
+
'channel'?: UpdatePresetDtoChannelEnum;
|
|
65
|
+
/**
|
|
66
|
+
* audio only
|
|
67
|
+
* @type {string}
|
|
68
|
+
* @memberof UpdatePresetDto
|
|
69
|
+
*/
|
|
70
|
+
'profile'?: UpdatePresetDtoProfileEnum;
|
|
71
|
+
/**
|
|
72
|
+
* video only
|
|
73
|
+
* @type {string}
|
|
74
|
+
* @memberof UpdatePresetDto
|
|
75
|
+
*/
|
|
76
|
+
'videoProfile'?: UpdatePresetDtoVideoProfileEnum;
|
|
77
|
+
/**
|
|
78
|
+
* audio only thay đổi volume từ luồng gốc: + \"+5dB\", \"-10dB\": thay đổi 1 lượng) + 0.5, 2 : giảm 1 nửa, gấp đôi + \"loudnorm\": tự động theo chuẩn EBU R128
|
|
79
|
+
* @type {string}
|
|
80
|
+
* @memberof UpdatePresetDto
|
|
81
|
+
*/
|
|
82
|
+
'volume'?: UpdatePresetDtoVolumeEnum;
|
|
83
|
+
/**
|
|
84
|
+
* video only. Giá trị khung hình trên giây (Frame per second). Giá trị này không thể lớn hơn giá trị fps của luồng đầu vào
|
|
85
|
+
* @type {number}
|
|
86
|
+
* @memberof UpdatePresetDto
|
|
87
|
+
*/
|
|
88
|
+
'fps'?: number;
|
|
89
|
+
/**
|
|
90
|
+
* video only. Giá trị độ cao của video của luồng đầu ra, dựa trên pixel. Đối với phần lớn bộ mã video bạn có thể để trống, chiều cao của video sẽ tương ứng với nguồn đầu vào. Tuy nhiên, việc này không được khuyến khích
|
|
91
|
+
* @type {number}
|
|
92
|
+
* @memberof UpdatePresetDto
|
|
93
|
+
*/
|
|
94
|
+
'height'?: number;
|
|
95
|
+
/**
|
|
96
|
+
* video only. Giá trị độ rộng của video của luồng đầu ra, dựa trên pixel. Đối với phần lớn bộ mã video bạn có thể để trống, chiều rộng của video sẽ tương ứng với nguồn đầu vào. Tuy nhiên, việc này không được khuyến khích
|
|
97
|
+
* @type {number}
|
|
98
|
+
* @memberof UpdatePresetDto
|
|
99
|
+
*/
|
|
100
|
+
'width'?: number;
|
|
101
|
+
/**
|
|
102
|
+
* video only. bật chế độ constant bitrate
|
|
103
|
+
* @type {boolean}
|
|
104
|
+
* @memberof UpdatePresetDto
|
|
105
|
+
*/
|
|
106
|
+
'cbr'?: boolean;
|
|
107
|
+
/**
|
|
108
|
+
* video only
|
|
109
|
+
* @type {string}
|
|
110
|
+
* @memberof UpdatePresetDto
|
|
111
|
+
*/
|
|
112
|
+
'pixelFormat'?: UpdatePresetDtoPixelFormatEnum;
|
|
113
|
+
/**
|
|
114
|
+
* video only, (chú ý: nếu để width, height, scaleType trong option tổng, nguồn sẽ scale trước khi xử lý tiếp theo)
|
|
115
|
+
* @type {string}
|
|
116
|
+
* @memberof UpdatePresetDto
|
|
117
|
+
*/
|
|
118
|
+
'scaleType'?: UpdatePresetDtoScaleTypeEnum;
|
|
119
|
+
/**
|
|
120
|
+
* video only, chế độ constant quality
|
|
121
|
+
* @type {number}
|
|
122
|
+
* @memberof UpdatePresetDto
|
|
123
|
+
*/
|
|
124
|
+
'cq'?: number;
|
|
125
|
+
/**
|
|
126
|
+
* video only, chế độ video interlaced
|
|
127
|
+
* @type {boolean}
|
|
128
|
+
* @memberof UpdatePresetDto
|
|
129
|
+
*/
|
|
130
|
+
'interlaced'?: boolean;
|
|
131
|
+
/**
|
|
132
|
+
* bframe number
|
|
133
|
+
* @type {number}
|
|
134
|
+
* @memberof UpdatePresetDto
|
|
135
|
+
*/
|
|
136
|
+
'bframe'?: number;
|
|
137
|
+
/**
|
|
138
|
+
* Tên
|
|
139
|
+
* @type {string}
|
|
140
|
+
* @memberof UpdatePresetDto
|
|
141
|
+
*/
|
|
142
|
+
'name'?: string;
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
export const UpdatePresetDtoTypeEnum = {
|
|
146
|
+
Video: 'video',
|
|
147
|
+
Audio: 'audio',
|
|
148
|
+
Data: 'data'
|
|
149
|
+
} as const;
|
|
150
|
+
|
|
151
|
+
export type UpdatePresetDtoTypeEnum = typeof UpdatePresetDtoTypeEnum[keyof typeof UpdatePresetDtoTypeEnum];
|
|
152
|
+
export const UpdatePresetDtoCodecEnum = {
|
|
153
|
+
H264: 'h264',
|
|
154
|
+
Hevc: 'hevc',
|
|
155
|
+
Copy: 'copy',
|
|
156
|
+
Aac: 'aac',
|
|
157
|
+
Ac3: 'ac3',
|
|
158
|
+
Eac3: 'eac3',
|
|
159
|
+
Mp2: 'mp2',
|
|
160
|
+
Scte35: 'scte35',
|
|
161
|
+
Id3: 'id3'
|
|
162
|
+
} as const;
|
|
163
|
+
|
|
164
|
+
export type UpdatePresetDtoCodecEnum = typeof UpdatePresetDtoCodecEnum[keyof typeof UpdatePresetDtoCodecEnum];
|
|
165
|
+
export const UpdatePresetDtoSampleRateEnum = {
|
|
166
|
+
NUMBER_44100: 44100,
|
|
167
|
+
NUMBER_48000: 48000
|
|
168
|
+
} as const;
|
|
169
|
+
|
|
170
|
+
export type UpdatePresetDtoSampleRateEnum = typeof UpdatePresetDtoSampleRateEnum[keyof typeof UpdatePresetDtoSampleRateEnum];
|
|
171
|
+
export const UpdatePresetDtoChannelEnum = {
|
|
172
|
+
NUMBER_1: 1,
|
|
173
|
+
NUMBER_2: 2,
|
|
174
|
+
NUMBER_6: 6
|
|
175
|
+
} as const;
|
|
176
|
+
|
|
177
|
+
export type UpdatePresetDtoChannelEnum = typeof UpdatePresetDtoChannelEnum[keyof typeof UpdatePresetDtoChannelEnum];
|
|
178
|
+
export const UpdatePresetDtoProfileEnum = {
|
|
179
|
+
Low: 'aac_low',
|
|
180
|
+
He: 'aac_he',
|
|
181
|
+
HeV2: 'aac_he_v2',
|
|
182
|
+
Main: 'aac_main',
|
|
183
|
+
Ld: 'aac_ld',
|
|
184
|
+
Eld: 'aac_eld'
|
|
185
|
+
} as const;
|
|
186
|
+
|
|
187
|
+
export type UpdatePresetDtoProfileEnum = typeof UpdatePresetDtoProfileEnum[keyof typeof UpdatePresetDtoProfileEnum];
|
|
188
|
+
export const UpdatePresetDtoVideoProfileEnum = {
|
|
189
|
+
Baseline: 'BASELINE',
|
|
190
|
+
Main: 'MAIN',
|
|
191
|
+
High: 'HIGH'
|
|
192
|
+
} as const;
|
|
193
|
+
|
|
194
|
+
export type UpdatePresetDtoVideoProfileEnum = typeof UpdatePresetDtoVideoProfileEnum[keyof typeof UpdatePresetDtoVideoProfileEnum];
|
|
195
|
+
export const UpdatePresetDtoVolumeEnum = {
|
|
196
|
+
_5dB: '+5dB',
|
|
197
|
+
_10dB: '-10dB',
|
|
198
|
+
_05: '0.5',
|
|
199
|
+
_2: '2',
|
|
200
|
+
Loudnorm: 'loudnorm'
|
|
201
|
+
} as const;
|
|
202
|
+
|
|
203
|
+
export type UpdatePresetDtoVolumeEnum = typeof UpdatePresetDtoVolumeEnum[keyof typeof UpdatePresetDtoVolumeEnum];
|
|
204
|
+
export const UpdatePresetDtoPixelFormatEnum = {
|
|
205
|
+
Yuv420p: 'yuv420p',
|
|
206
|
+
Yuv444p: 'yuv444p',
|
|
207
|
+
Yuv420p10le: 'yuv420p10le',
|
|
208
|
+
Yuv444p10le: 'yuv444p10le'
|
|
209
|
+
} as const;
|
|
210
|
+
|
|
211
|
+
export type UpdatePresetDtoPixelFormatEnum = typeof UpdatePresetDtoPixelFormatEnum[keyof typeof UpdatePresetDtoPixelFormatEnum];
|
|
212
|
+
export const UpdatePresetDtoScaleTypeEnum = {
|
|
213
|
+
FitWidth: 'fitWidth',
|
|
214
|
+
FitHeight: 'fitHeight',
|
|
215
|
+
FitInside: 'fitInside',
|
|
216
|
+
FitCrop: 'fitCrop',
|
|
217
|
+
FitBoth: 'fitBoth',
|
|
218
|
+
Source: 'source'
|
|
219
|
+
} as const;
|
|
220
|
+
|
|
221
|
+
export type UpdatePresetDtoScaleTypeEnum = typeof UpdatePresetDtoScaleTypeEnum[keyof typeof UpdatePresetDtoScaleTypeEnum];
|
|
222
|
+
|
|
223
|
+
|