@norskvideo/norsk-studio-built-ins 1.27.0-2025-04-05-fad1c39a → 1.27.0-2025-04-07-8f68de69

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 (82) hide show
  1. package/client/info.js +6824 -1190
  2. package/lib/info.js +29 -21
  3. package/lib/info.js.map +1 -1
  4. package/lib/output.autoCmaf/info.js +4 -132
  5. package/lib/output.autoCmaf/info.js.map +1 -1
  6. package/lib/output.autoCmaf/runtime.js +4 -54
  7. package/lib/output.autoCmaf/runtime.js.map +1 -1
  8. package/lib/output.autoCmaf/types.d.ts +31 -31
  9. package/lib/output.autoCmaf/types.yaml +4 -85
  10. package/lib/output.cmafMultiVariant/info.d.ts +15 -0
  11. package/lib/output.cmafMultiVariant/info.js +91 -0
  12. package/lib/output.cmafMultiVariant/info.js.map +1 -0
  13. package/lib/output.cmafMultiVariant/runtime.d.ts +37 -0
  14. package/lib/output.cmafMultiVariant/runtime.js +158 -0
  15. package/lib/output.cmafMultiVariant/runtime.js.map +1 -0
  16. package/lib/output.cmafMultiVariant/types.d.ts +130 -0
  17. package/lib/output.cmafMultiVariant/types.js +3 -0
  18. package/lib/output.cmafMultiVariant/types.js.map +1 -0
  19. package/lib/output.cmafMultiVariant/types.yaml +74 -0
  20. package/lib/output.cmafPlaylist/info.d.ts +22 -0
  21. package/lib/output.cmafPlaylist/info.js +114 -0
  22. package/lib/output.cmafPlaylist/info.js.map +1 -0
  23. package/lib/output.cmafPlaylist/runtime.d.ts +41 -0
  24. package/lib/output.cmafPlaylist/runtime.js +239 -0
  25. package/lib/output.cmafPlaylist/runtime.js.map +1 -0
  26. package/lib/output.cmafPlaylist/types.d.ts +155 -0
  27. package/lib/output.cmafPlaylist/types.js +3 -0
  28. package/lib/output.cmafPlaylist/types.js.map +1 -0
  29. package/lib/output.cmafPlaylist/types.yaml +90 -0
  30. package/lib/output.tsMediaPlaylist/info.d.ts +22 -0
  31. package/lib/output.tsMediaPlaylist/info.js +113 -0
  32. package/lib/output.tsMediaPlaylist/info.js.map +1 -0
  33. package/lib/output.tsMediaPlaylist/runtime.d.ts +41 -0
  34. package/lib/output.tsMediaPlaylist/runtime.js +225 -0
  35. package/lib/output.tsMediaPlaylist/runtime.js.map +1 -0
  36. package/lib/output.tsMediaPlaylist/types.d.ts +155 -0
  37. package/lib/output.tsMediaPlaylist/types.js +3 -0
  38. package/lib/output.tsMediaPlaylist/types.js.map +1 -0
  39. package/lib/output.tsMediaPlaylist/types.yaml +90 -0
  40. package/lib/output.tsMultiVariant/info.d.ts +15 -0
  41. package/lib/output.tsMultiVariant/info.js +91 -0
  42. package/lib/output.tsMultiVariant/info.js.map +1 -0
  43. package/lib/output.tsMultiVariant/runtime.d.ts +37 -0
  44. package/lib/output.tsMultiVariant/runtime.js +157 -0
  45. package/lib/output.tsMultiVariant/runtime.js.map +1 -0
  46. package/lib/output.tsMultiVariant/types.d.ts +130 -0
  47. package/lib/output.tsMultiVariant/types.js +3 -0
  48. package/lib/output.tsMultiVariant/types.js.map +1 -0
  49. package/lib/output.tsMultiVariant/types.yaml +74 -0
  50. package/lib/processor.fixedLadder/info.d.ts +3 -3
  51. package/lib/processor.fixedLadder/info.js +1159 -73
  52. package/lib/processor.fixedLadder/info.js.map +1 -1
  53. package/lib/processor.fixedLadder/nvidia-rate-control-view.d.ts +4 -0
  54. package/lib/processor.fixedLadder/nvidia-rate-control-view.js +20 -0
  55. package/lib/processor.fixedLadder/nvidia-rate-control-view.js.map +1 -0
  56. package/lib/processor.fixedLadder/nvidia-view.d.ts +5 -0
  57. package/lib/processor.fixedLadder/nvidia-view.js +20 -0
  58. package/lib/processor.fixedLadder/nvidia-view.js.map +1 -0
  59. package/lib/processor.fixedLadder/quadra-view.d.ts +6 -0
  60. package/lib/processor.fixedLadder/quadra-view.js +22 -0
  61. package/lib/processor.fixedLadder/quadra-view.js.map +1 -0
  62. package/lib/processor.fixedLadder/runtime.js.map +1 -1
  63. package/lib/processor.fixedLadder/software-view.d.ts +5 -0
  64. package/lib/processor.fixedLadder/software-view.js +20 -0
  65. package/lib/processor.fixedLadder/software-view.js.map +1 -0
  66. package/lib/processor.fixedLadder/types.d.ts +108 -20
  67. package/lib/processor.fixedLadder/types.yaml +241 -34
  68. package/lib/processor.fixedLadder/x26x-bitrate-view.d.ts +4 -0
  69. package/lib/processor.fixedLadder/x26x-bitrate-view.js +20 -0
  70. package/lib/processor.fixedLadder/x26x-bitrate-view.js.map +1 -0
  71. package/lib/shared/cmaf.d.ts +17 -0
  72. package/lib/shared/cmaf.js +198 -0
  73. package/lib/shared/cmaf.js.map +1 -0
  74. package/lib/{output.autoCmaf/form-views.d.ts → shared/playlist-form-views.d.ts} +1 -1
  75. package/lib/{output.autoCmaf/form-views.js → shared/playlist-form-views.js} +1 -1
  76. package/lib/shared/playlist-form-views.js.map +1 -0
  77. package/lib/shared/types.d.ts +158 -0
  78. package/lib/shared/types.js +3 -0
  79. package/lib/shared/types.js.map +1 -0
  80. package/lib/shared/types.yaml +182 -0
  81. package/package.json +3 -3
  82. package/lib/output.autoCmaf/form-views.js.map +0 -1
@@ -0,0 +1,158 @@
1
+ export interface paths {
2
+ "/enable": {
3
+ parameters: {
4
+ query?: never;
5
+ header?: never;
6
+ path?: never;
7
+ cookie?: never;
8
+ };
9
+ get?: never;
10
+ put?: never;
11
+ post: {
12
+ parameters: {
13
+ query?: never;
14
+ header?: never;
15
+ path?: never;
16
+ cookie?: never;
17
+ };
18
+ requestBody?: never;
19
+ responses: {
20
+ 204: {
21
+ headers: {
22
+ [name: string]: unknown;
23
+ };
24
+ content?: never;
25
+ };
26
+ 400: {
27
+ headers: {
28
+ [name: string]: unknown;
29
+ };
30
+ content?: never;
31
+ };
32
+ 500: {
33
+ headers: {
34
+ [name: string]: unknown;
35
+ };
36
+ content?: never;
37
+ };
38
+ };
39
+ };
40
+ delete?: never;
41
+ options?: never;
42
+ head?: never;
43
+ patch?: never;
44
+ trace?: never;
45
+ };
46
+ "/disable": {
47
+ parameters: {
48
+ query?: never;
49
+ header?: never;
50
+ path?: never;
51
+ cookie?: never;
52
+ };
53
+ get?: never;
54
+ put?: never;
55
+ post: {
56
+ parameters: {
57
+ query?: never;
58
+ header?: never;
59
+ path?: never;
60
+ cookie?: never;
61
+ };
62
+ requestBody?: never;
63
+ responses: {
64
+ 204: {
65
+ headers: {
66
+ [name: string]: unknown;
67
+ };
68
+ content?: never;
69
+ };
70
+ 400: {
71
+ headers: {
72
+ [name: string]: unknown;
73
+ };
74
+ content?: never;
75
+ };
76
+ 500: {
77
+ headers: {
78
+ [name: string]: unknown;
79
+ };
80
+ content?: never;
81
+ };
82
+ };
83
+ };
84
+ delete?: never;
85
+ options?: never;
86
+ head?: never;
87
+ patch?: never;
88
+ trace?: never;
89
+ };
90
+ }
91
+ export type webhooks = Record<string, never>;
92
+ export interface components {
93
+ schemas: {
94
+ AutoCmafAkamaiDestination: {
95
+ type: "akamai";
96
+ ingest: string;
97
+ playback: string;
98
+ includeAdInsertions: boolean;
99
+ };
100
+ AutoCmafS3Destination: {
101
+ type: "s3";
102
+ host: string;
103
+ prefix: string;
104
+ includeAdInsertions: boolean;
105
+ };
106
+ AutoCmafDestination: components["schemas"]["AutoCmafAkamaiDestination"] | components["schemas"]["AutoCmafS3Destination"];
107
+ InitialState: "enabled" | "disabled";
108
+ AutoCmafSegment: {
109
+ retentionPeriod: number;
110
+ defaultSegmentCount?: number;
111
+ targetSegmentDuration: number;
112
+ targetPartDuration: number;
113
+ holdBackSegments?: number;
114
+ holdBackParts?: number;
115
+ };
116
+ EzDrmConfig: {
117
+ token?: string;
118
+ pX?: string;
119
+ };
120
+ AxinomConfig: {
121
+ tenantId?: string;
122
+ managementKey?: string;
123
+ comKeyId?: string;
124
+ comKey?: string;
125
+ };
126
+ AutoCmafConfig: {
127
+ id: string;
128
+ displayName: string;
129
+ name: string;
130
+ sessionId: boolean;
131
+ segments: components["schemas"]["AutoCmafSegment"];
132
+ destinations: components["schemas"]["AutoCmafDestination"][];
133
+ initialState: components["schemas"]["InitialState"];
134
+ multiplePrograms?: boolean;
135
+ drmProvider?: "ezdrm" | "axinom";
136
+ notes?: string;
137
+ __global: {
138
+ ezdrmConfig?: components["schemas"]["EzDrmConfig"];
139
+ axinomConfig?: components["schemas"]["AxinomConfig"];
140
+ };
141
+ };
142
+ AutoCmafConfigExtended: components["schemas"]["AutoCmafConfig"] & {
143
+ mode: "ts" | "cmaf";
144
+ };
145
+ CmafOutputState: {
146
+ url?: string;
147
+ drmToken?: string;
148
+ enabled: boolean;
149
+ };
150
+ };
151
+ responses: never;
152
+ parameters: never;
153
+ requestBodies: never;
154
+ headers: never;
155
+ pathItems: never;
156
+ }
157
+ export type $defs = Record<string, never>;
158
+ export type operations = Record<string, never>;
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.js","sourceRoot":"","sources":["../../src/shared/types.ts"],"names":[],"mappings":""}
@@ -0,0 +1,182 @@
1
+ openapi: 3.0.0
2
+ info:
3
+ title: AutoCmaf Output Component
4
+ version: 1.0.0
5
+
6
+ paths:
7
+ /enable:
8
+ post:
9
+ summary: Enable CMAF output
10
+ description: Enables output of CMAF streams if currently disabled
11
+ responses:
12
+ 204:
13
+ description: Output successfully enabled
14
+ 400:
15
+ description: Output is already enabled
16
+ 500:
17
+ description: Server error while enabling output
18
+ /disable:
19
+ post:
20
+ summary: Disable CMAF output
21
+ description: Disables output of CMAF streams if currently enabled
22
+ responses:
23
+ 204:
24
+ description: Output successfully disabled
25
+ 400:
26
+ description: Output is already disabled
27
+ 500:
28
+ description: Server error while disabling output
29
+
30
+ components:
31
+ schemas:
32
+ AutoCmafAkamaiDestination:
33
+ type: object
34
+ required:
35
+ - type
36
+ - ingest
37
+ - playback
38
+ - includeAdInsertions
39
+ properties:
40
+ type:
41
+ type: string
42
+ enum: [akamai]
43
+ ingest:
44
+ type: string
45
+ playback:
46
+ type: string
47
+ includeAdInsertions:
48
+ type: boolean
49
+
50
+ AutoCmafS3Destination:
51
+ type: object
52
+ required:
53
+ - type
54
+ - host
55
+ - prefix
56
+ - includeAdInsertions
57
+ properties:
58
+ type:
59
+ type: string
60
+ enum: [s3]
61
+ host:
62
+ type: string
63
+ prefix:
64
+ type: string
65
+ includeAdInsertions:
66
+ type: boolean
67
+
68
+ AutoCmafDestination:
69
+ oneOf:
70
+ - $ref: '#/components/schemas/AutoCmafAkamaiDestination'
71
+ - $ref: '#/components/schemas/AutoCmafS3Destination'
72
+
73
+ InitialState:
74
+ type: string
75
+ enum: [enabled, disabled]
76
+
77
+ AutoCmafSegment:
78
+ type: object
79
+ required:
80
+ - retentionPeriod
81
+ - targetSegmentDuration
82
+ - targetPartDuration
83
+ properties:
84
+ retentionPeriod:
85
+ type: number
86
+ defaultSegmentCount:
87
+ type: number
88
+ targetSegmentDuration:
89
+ type: number
90
+ targetPartDuration:
91
+ type: number
92
+ holdBackSegments:
93
+ type: number
94
+ holdBackParts:
95
+ type: number
96
+
97
+ EzDrmConfig:
98
+ type: object
99
+ properties:
100
+ token:
101
+ type: string
102
+ pX:
103
+ type: string
104
+
105
+ AxinomConfig:
106
+ type: object
107
+ properties:
108
+ tenantId:
109
+ type: string
110
+ managementKey:
111
+ type: string
112
+ comKeyId:
113
+ type: string
114
+ comKey:
115
+ type: string
116
+
117
+ AutoCmafConfig:
118
+ type: object
119
+ required:
120
+ - id
121
+ - displayName
122
+ - name
123
+ - sessionId
124
+ - segments
125
+ - destinations
126
+ - initialState
127
+ - __global
128
+ properties:
129
+ id:
130
+ type: string
131
+ displayName:
132
+ type: string
133
+ name:
134
+ type: string
135
+ sessionId:
136
+ type: boolean
137
+ segments:
138
+ $ref: '#/components/schemas/AutoCmafSegment'
139
+ destinations:
140
+ type: array
141
+ items:
142
+ $ref: '#/components/schemas/AutoCmafDestination'
143
+ initialState:
144
+ $ref: '#/components/schemas/InitialState'
145
+ multiplePrograms:
146
+ type: boolean
147
+ drmProvider:
148
+ type: string
149
+ enum: [ezdrm, axinom]
150
+ notes:
151
+ type: string
152
+ __global:
153
+ type: object
154
+ properties:
155
+ ezdrmConfig:
156
+ $ref: '#/components/schemas/EzDrmConfig'
157
+ axinomConfig:
158
+ $ref: '#/components/schemas/AxinomConfig'
159
+ additionalProperties: false
160
+
161
+ AutoCmafConfigExtended:
162
+ allOf:
163
+ - $ref: '#/components/schemas/AutoCmafConfig'
164
+ - type: object
165
+ required:
166
+ - mode
167
+ properties:
168
+ mode:
169
+ type: string
170
+ enum: [ts, cmaf]
171
+
172
+ CmafOutputState:
173
+ type: object
174
+ required:
175
+ - enabled
176
+ properties:
177
+ url:
178
+ type: string
179
+ drmToken:
180
+ type: string
181
+ enabled:
182
+ type: boolean
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@norskvideo/norsk-studio-built-ins",
3
- "version": "1.27.0-2025-04-05-fad1c39a",
3
+ "version": "1.27.0-2025-04-07-8f68de69",
4
4
  "description": "",
5
5
  "scripts": {
6
6
  "clean": "rm -rf lib",
@@ -21,8 +21,8 @@
21
21
  ],
22
22
  "license": "MIT",
23
23
  "dependencies": {
24
- "@norskvideo/norsk-sdk": "^1.0.401-2025-04-04-fe87a679",
25
- "@norskvideo/norsk-studio": "1.27.0-2025-04-05-fad1c39a",
24
+ "@norskvideo/norsk-sdk": "^1.0.401-2025-04-07-fe87a679",
25
+ "@norskvideo/norsk-studio": "1.27.0-2025-04-07-8f68de69",
26
26
  "@norskvideo/webrtc-client": "^0.1.2",
27
27
  "@react-icons/all-files": "^4.1.0",
28
28
  "body-parser": "^1.20.2",
@@ -1 +0,0 @@
1
- {"version":3,"file":"form-views.js","sourceRoot":"","sources":["../../src/output.autoCmaf/form-views.tsx"],"names":[],"mappings":";;AAEA,kCAgCC;AAED,oDAcC;;AAhDD,SAAgB,WAAW,CAAC,WAAgC;IAC1D,QAAQ,WAAW,CAAC,IAAI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