@norskvideo/norsk-studio-aws 1.27.0-2025-07-05-19728d76 → 1.27.0-2025-07-08-02bba8fe
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.
|
@@ -5,5 +5,24 @@ export default function ({ defineComponent, singleAvStreamMapping, singleAvStrea
|
|
|
5
5
|
flowArn: string;
|
|
6
6
|
outputArn: string;
|
|
7
7
|
notes?: string;
|
|
8
|
-
streamMappings?:
|
|
8
|
+
streamMappings?: {
|
|
9
|
+
streams: {
|
|
10
|
+
outputKey: {
|
|
11
|
+
streamId: number;
|
|
12
|
+
programNumber: number;
|
|
13
|
+
sourceName: string;
|
|
14
|
+
renditionName: string;
|
|
15
|
+
};
|
|
16
|
+
displayName?: string;
|
|
17
|
+
media: "video" | "audio" | "subtitle" | "ancillary" | "playlist";
|
|
18
|
+
filters?: ({
|
|
19
|
+
type: "sourceName" | "language" | "codec" | "renditionName";
|
|
20
|
+
value: string;
|
|
21
|
+
} | {
|
|
22
|
+
type: "streamId" | "programNumber";
|
|
23
|
+
value: number;
|
|
24
|
+
})[];
|
|
25
|
+
missingBehaviour?: "fill" | "skip";
|
|
26
|
+
}[];
|
|
27
|
+
};
|
|
9
28
|
}, object, object, object>;
|
|
@@ -91,7 +91,26 @@ export interface components {
|
|
|
91
91
|
flowArn: string;
|
|
92
92
|
outputArn: string;
|
|
93
93
|
notes?: string;
|
|
94
|
-
streamMappings?:
|
|
94
|
+
streamMappings?: {
|
|
95
|
+
streams: {
|
|
96
|
+
outputKey: {
|
|
97
|
+
streamId: number;
|
|
98
|
+
programNumber: number;
|
|
99
|
+
sourceName: string;
|
|
100
|
+
renditionName: string;
|
|
101
|
+
};
|
|
102
|
+
displayName?: string;
|
|
103
|
+
media: "video" | "audio" | "subtitle" | "ancillary" | "playlist";
|
|
104
|
+
filters?: ({
|
|
105
|
+
type: "sourceName" | "language" | "codec" | "renditionName";
|
|
106
|
+
value: string;
|
|
107
|
+
} | {
|
|
108
|
+
type: "streamId" | "programNumber";
|
|
109
|
+
value: number;
|
|
110
|
+
})[];
|
|
111
|
+
missingBehaviour?: "fill" | "skip";
|
|
112
|
+
}[];
|
|
113
|
+
};
|
|
95
114
|
};
|
|
96
115
|
MediaConnectState: {
|
|
97
116
|
connected?: boolean;
|
|
@@ -99,30 +118,6 @@ export interface components {
|
|
|
99
118
|
};
|
|
100
119
|
Commands: Record<string, never>;
|
|
101
120
|
Events: Record<string, never>;
|
|
102
|
-
StreamKey: {
|
|
103
|
-
streamId: number;
|
|
104
|
-
programNumber: number;
|
|
105
|
-
sourceName: string;
|
|
106
|
-
renditionName: string;
|
|
107
|
-
};
|
|
108
|
-
MediaType: "video" | "audio" | "subtitle" | "ancillary" | "playlist";
|
|
109
|
-
StreamMappingFilter: {
|
|
110
|
-
type: "sourceName" | "language" | "codec" | "renditionName";
|
|
111
|
-
value: string;
|
|
112
|
-
} | {
|
|
113
|
-
type: "streamId" | "programNumber";
|
|
114
|
-
value: number;
|
|
115
|
-
};
|
|
116
|
-
StreamMappingEntry: {
|
|
117
|
-
outputKey: components["schemas"]["StreamKey"];
|
|
118
|
-
displayName?: string;
|
|
119
|
-
media: components["schemas"]["MediaType"];
|
|
120
|
-
filters?: components["schemas"]["StreamMappingFilter"][];
|
|
121
|
-
missingBehaviour?: "fill" | "skip";
|
|
122
|
-
};
|
|
123
|
-
StreamMappingConfiguration: {
|
|
124
|
-
streams: components["schemas"]["StreamMappingEntry"][];
|
|
125
|
-
};
|
|
126
121
|
};
|
|
127
122
|
responses: never;
|
|
128
123
|
parameters: never;
|
|
@@ -2,14 +2,13 @@ openapi: 3.0.0
|
|
|
2
2
|
info:
|
|
3
3
|
title: MediaConnect Input Component
|
|
4
4
|
version: 1.0.0
|
|
5
|
-
|
|
6
5
|
paths:
|
|
7
6
|
/flows:
|
|
8
7
|
get:
|
|
9
8
|
summary: List MediaConnect flows
|
|
10
9
|
description: Returns all available MediaConnect flows
|
|
11
10
|
responses:
|
|
12
|
-
200:
|
|
11
|
+
"200":
|
|
13
12
|
description: Successful operation
|
|
14
13
|
content:
|
|
15
14
|
application/json:
|
|
@@ -17,10 +16,8 @@ paths:
|
|
|
17
16
|
type: array
|
|
18
17
|
items:
|
|
19
18
|
type: object
|
|
20
|
-
|
|
21
|
-
500:
|
|
19
|
+
"500":
|
|
22
20
|
description: AWS service error
|
|
23
|
-
|
|
24
21
|
/flows/{arn}:
|
|
25
22
|
get:
|
|
26
23
|
summary: Get MediaConnect flow details
|
|
@@ -32,16 +29,14 @@ paths:
|
|
|
32
29
|
schema:
|
|
33
30
|
type: string
|
|
34
31
|
responses:
|
|
35
|
-
200:
|
|
32
|
+
"200":
|
|
36
33
|
description: Successful operation
|
|
37
34
|
content:
|
|
38
35
|
application/json:
|
|
39
36
|
schema:
|
|
40
37
|
type: object
|
|
41
|
-
|
|
42
|
-
500:
|
|
38
|
+
"500":
|
|
43
39
|
description: AWS service error
|
|
44
|
-
|
|
45
40
|
components:
|
|
46
41
|
schemas:
|
|
47
42
|
MediaConnectConfig:
|
|
@@ -65,8 +60,85 @@ components:
|
|
|
65
60
|
notes:
|
|
66
61
|
type: string
|
|
67
62
|
streamMappings:
|
|
68
|
-
|
|
69
|
-
|
|
63
|
+
type: object
|
|
64
|
+
description: Configuration for mapping input streams to output streams
|
|
65
|
+
properties:
|
|
66
|
+
streams:
|
|
67
|
+
type: array
|
|
68
|
+
items:
|
|
69
|
+
type: object
|
|
70
|
+
description: Individual stream mapping entry
|
|
71
|
+
properties:
|
|
72
|
+
outputKey:
|
|
73
|
+
type: object
|
|
74
|
+
properties:
|
|
75
|
+
streamId:
|
|
76
|
+
type: integer
|
|
77
|
+
programNumber:
|
|
78
|
+
type: integer
|
|
79
|
+
sourceName:
|
|
80
|
+
type: string
|
|
81
|
+
renditionName:
|
|
82
|
+
type: string
|
|
83
|
+
required:
|
|
84
|
+
- streamId
|
|
85
|
+
- programNumber
|
|
86
|
+
- sourceName
|
|
87
|
+
- renditionName
|
|
88
|
+
displayName:
|
|
89
|
+
type: string
|
|
90
|
+
description: Optional display name for this stream
|
|
91
|
+
media:
|
|
92
|
+
type: string
|
|
93
|
+
enum:
|
|
94
|
+
- video
|
|
95
|
+
- audio
|
|
96
|
+
- subtitle
|
|
97
|
+
- ancillary
|
|
98
|
+
- playlist
|
|
99
|
+
description: Media type for stream mapping
|
|
100
|
+
filters:
|
|
101
|
+
type: array
|
|
102
|
+
items:
|
|
103
|
+
oneOf:
|
|
104
|
+
- type: object
|
|
105
|
+
properties:
|
|
106
|
+
type:
|
|
107
|
+
type: string
|
|
108
|
+
enum:
|
|
109
|
+
- sourceName
|
|
110
|
+
- language
|
|
111
|
+
- codec
|
|
112
|
+
- renditionName
|
|
113
|
+
value:
|
|
114
|
+
type: string
|
|
115
|
+
required:
|
|
116
|
+
- type
|
|
117
|
+
- value
|
|
118
|
+
- type: object
|
|
119
|
+
properties:
|
|
120
|
+
type:
|
|
121
|
+
type: string
|
|
122
|
+
enum:
|
|
123
|
+
- streamId
|
|
124
|
+
- programNumber
|
|
125
|
+
value:
|
|
126
|
+
type: integer
|
|
127
|
+
required:
|
|
128
|
+
- type
|
|
129
|
+
- value
|
|
130
|
+
description: Optional conditions for stream selection
|
|
131
|
+
missingBehaviour:
|
|
132
|
+
type: string
|
|
133
|
+
enum:
|
|
134
|
+
- fill
|
|
135
|
+
- skip
|
|
136
|
+
description: Behavior when no matching stream is found
|
|
137
|
+
required:
|
|
138
|
+
- outputKey
|
|
139
|
+
- media
|
|
140
|
+
required:
|
|
141
|
+
- streams
|
|
70
142
|
MediaConnectState:
|
|
71
143
|
type: object
|
|
72
144
|
properties:
|
|
@@ -76,13 +148,11 @@ components:
|
|
|
76
148
|
flowStatus:
|
|
77
149
|
type: string
|
|
78
150
|
description: Current status of the MediaConnect flow
|
|
79
|
-
|
|
80
151
|
Commands:
|
|
81
152
|
type: object
|
|
82
153
|
description: No commands currently supported
|
|
83
154
|
additionalProperties: false
|
|
84
|
-
|
|
85
155
|
Events:
|
|
86
156
|
type: object
|
|
87
157
|
description: No events currently supported
|
|
88
|
-
additionalProperties: false
|
|
158
|
+
additionalProperties: false
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@norskvideo/norsk-studio-aws",
|
|
3
|
-
"version": "1.27.0-2025-07-
|
|
3
|
+
"version": "1.27.0-2025-07-08-02bba8fe",
|
|
4
4
|
"description": "",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"clean": "rm -rf lib client build",
|
|
@@ -27,8 +27,8 @@
|
|
|
27
27
|
"@aws-sdk/client-mediapackage": "^3.499.0",
|
|
28
28
|
"@aws-sdk/client-s3": "^3.614.0",
|
|
29
29
|
"@aws-sdk/client-translate": "^3.535.0",
|
|
30
|
-
"@norskvideo/norsk-sdk": "^1.0.402-2025-07-
|
|
31
|
-
"@norskvideo/norsk-studio": "1.27.0-2025-07-
|
|
30
|
+
"@norskvideo/norsk-sdk": "^1.0.402-2025-07-08-3c1224ec",
|
|
31
|
+
"@norskvideo/norsk-studio": "1.27.0-2025-07-08-02bba8fe",
|
|
32
32
|
"JSX": "^1.1.0",
|
|
33
33
|
"node-fetch": "^2.7.0",
|
|
34
34
|
"openapi-types": "^12.1.3",
|