@byomakase/omakase-react-components 1.2.0-SNAPSHOT.1764842944 → 1.2.0
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/dist/index.es.d.ts +1702 -2
- package/package.json +2 -2
- package/dist/packages/react/omakase-react-components/src/components/OmakaseMarkerListComponent/OmakaseMarkerListComponent.d.ts +0 -10
- package/dist/packages/react/omakase-react-components/src/components/OmakaseMarkerListComponent/index.d.ts +0 -1
- package/dist/packages/react/omakase-react-components/src/components/OmakasePlayerComponent/OmakasePlayerComponent.d.ts +0 -11
- package/dist/packages/react/omakase-react-components/src/components/OmakasePlayerComponent/OmakasePlayerHotKeyHandler.d.ts +0 -5
- package/dist/packages/react/omakase-react-components/src/components/OmakasePlayerComponent/index.d.ts +0 -1
- package/dist/packages/react/omakase-react-components/src/components/OmakasePlayerTimelineComponent/OmakasePlayerTimelineComponent.d.ts +0 -10
- package/dist/packages/react/omakase-react-components/src/components/OmakasePlayerTimelineComponent/OmakasePlayerTimelineHotKeyHandler.d.ts +0 -11
- package/dist/packages/react/omakase-react-components/src/components/OmakasePlayerTimelineComponent/OmaksePlayerTimelineBuilder.d.ts +0 -23
- package/dist/packages/react/omakase-react-components/src/components/OmakasePlayerTimelineComponent/index.d.ts +0 -2
- package/dist/packages/react/omakase-react-components/src/components/OmakasePlayerTimelineControlsToolbar/OmakaseButton.d.ts +0 -12
- package/dist/packages/react/omakase-react-components/src/components/OmakasePlayerTimelineControlsToolbar/OmakasePlayerTimelineControlsToolbar.d.ts +0 -27
- package/dist/packages/react/omakase-react-components/src/components/OmakasePlayerTimelineControlsToolbar/OmakasePlayerTimelineControlsToolbarHotKeyHandler.d.ts +0 -17
- package/dist/packages/react/omakase-react-components/src/components/OmakasePlayerTimelineControlsToolbar/index.d.ts +0 -1
- package/dist/packages/react/omakase-react-components/src/components/OmakaseTamsPlayerComponent/OmakaseTamsPlayerComponent.d.ts +0 -16
- package/dist/packages/react/omakase-react-components/src/components/OmakaseTamsPlayerComponent/index.d.ts +0 -1
- package/dist/packages/react/omakase-react-components/src/components/OmakaseTimeRangePicker/OmakaseTimeRangePicker.d.ts +0 -11
- package/dist/packages/react/omakase-react-components/src/components/OmakaseTimeRangePicker/index.d.ts +0 -1
- package/dist/packages/react/omakase-react-components/src/components/index.d.ts +0 -7
- package/dist/packages/react/omakase-react-components/src/icons/Back3Icon.d.ts +0 -3
- package/dist/packages/react/omakase-react-components/src/icons/DeleteMarkerIcon.d.ts +0 -3
- package/dist/packages/react/omakase-react-components/src/icons/Forward3Icon.d.ts +0 -3
- package/dist/packages/react/omakase-react-components/src/icons/LeftBracketIcon.d.ts +0 -3
- package/dist/packages/react/omakase-react-components/src/icons/LeftDoubleBracketIcon.d.ts +0 -3
- package/dist/packages/react/omakase-react-components/src/icons/LeftMarkerIcon.d.ts +0 -3
- package/dist/packages/react/omakase-react-components/src/icons/PlusIcon.d.ts +0 -3
- package/dist/packages/react/omakase-react-components/src/icons/RefreshIcon.d.ts +0 -3
- package/dist/packages/react/omakase-react-components/src/icons/RightBracketIcon.d.ts +0 -3
- package/dist/packages/react/omakase-react-components/src/icons/RightDoubleBracketIcon.d.ts +0 -3
- package/dist/packages/react/omakase-react-components/src/icons/RightMarkerIcon.d.ts +0 -3
- package/dist/packages/react/omakase-react-components/src/icons/SplitMarkerIcon.d.ts +0 -3
- package/dist/packages/react/omakase-react-components/src/icons/index.d.ts +0 -1
- package/dist/packages/react/omakase-react-components/src/index.d.ts +0 -5
package/dist/index.es.d.ts
CHANGED
|
@@ -1,2 +1,1702 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
import { ConfigWithOptionalStyle } from '@byomakase/omakase-player';
|
|
2
|
+
import { convertFlowIdToSubtitlesId } from '../../../../shared/util/tams-util';
|
|
3
|
+
import { default as default_2 } from 'react';
|
|
4
|
+
import { LabelLaneConfig } from '@byomakase/omakase-player';
|
|
5
|
+
import { Marker } from '@byomakase/omakase-player';
|
|
6
|
+
import { MarkerLane } from '@byomakase/omakase-player';
|
|
7
|
+
import { MarkerLaneConfig } from '@byomakase/omakase-player';
|
|
8
|
+
import { MarkerListApi } from '@byomakase/omakase-player';
|
|
9
|
+
import { MarkerListConfig } from '@byomakase/omakase-player/dist/marker-list/marker-list';
|
|
10
|
+
import { OmakasePlayer } from '@byomakase/omakase-player';
|
|
11
|
+
import { OmakasePlayerConfig } from '@byomakase/omakase-player';
|
|
12
|
+
import { PeriodMarkerStyle } from '@byomakase/omakase-player';
|
|
13
|
+
import { SubtitlesLaneConfig } from '@byomakase/omakase-player';
|
|
14
|
+
import { TextLabelStyle } from '@byomakase/omakase-player';
|
|
15
|
+
import { ThumbnailLaneConfig } from '@byomakase/omakase-player';
|
|
16
|
+
import { TimecodeUtil } from '../../../../shared/util/timecode-util';
|
|
17
|
+
import { TimelineApi } from '@byomakase/omakase-player';
|
|
18
|
+
import { TimelineConfig } from '@byomakase/omakase-player';
|
|
19
|
+
import { TimelineLaneComponentConfig } from '@byomakase/omakase-player/dist/timeline/timeline-lane';
|
|
20
|
+
import { TimelineLaneConfigDefaultsExcluded } from '@byomakase/omakase-player/dist/timeline/timeline-lane';
|
|
21
|
+
import { TimelineLaneStyle } from '@byomakase/omakase-player';
|
|
22
|
+
import { TimelineNode } from '@byomakase/omakase-player';
|
|
23
|
+
import { TimeRangeUtil } from '../../../../shared/util/time-range-util';
|
|
24
|
+
import { Video } from '@byomakase/omakase-player';
|
|
25
|
+
import { VideoLoadOptions } from '@byomakase/omakase-player';
|
|
26
|
+
|
|
27
|
+
/**
|
|
28
|
+
* Time-addressable Media Store
|
|
29
|
+
*
|
|
30
|
+
* Contact: cloudfit-opensource@rd.bbc.co.uk
|
|
31
|
+
*
|
|
32
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
33
|
+
* https://openapi-generator.tech
|
|
34
|
+
* Do not edit the class manually.
|
|
35
|
+
*/
|
|
36
|
+
export declare interface AudioCodecParameters {
|
|
37
|
+
/**
|
|
38
|
+
* The fixed number of samples per coded audio frame.
|
|
39
|
+
*/
|
|
40
|
+
coded_frame_size?: number;
|
|
41
|
+
/**
|
|
42
|
+
* The MPEG-4 Object Type Identification. For more information on the use of this property in codec strings, see https://developer.mozilla.org/en-US/docs/Web/Media/Formats/codecs_parameter#mpeg-4_audio
|
|
43
|
+
*/
|
|
44
|
+
mp4_oti?: number;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
/**
|
|
48
|
+
* Describes an audio Flow
|
|
49
|
+
*/
|
|
50
|
+
export declare interface AudioFlow {
|
|
51
|
+
/**
|
|
52
|
+
* Flow identifier
|
|
53
|
+
*/
|
|
54
|
+
id: string;
|
|
55
|
+
/**
|
|
56
|
+
* Source identifier
|
|
57
|
+
*/
|
|
58
|
+
source_id: string;
|
|
59
|
+
/**
|
|
60
|
+
* Freeform string label for the flow
|
|
61
|
+
*/
|
|
62
|
+
label?: string;
|
|
63
|
+
/**
|
|
64
|
+
* Freeform text describing the flow
|
|
65
|
+
*/
|
|
66
|
+
description?: string;
|
|
67
|
+
/**
|
|
68
|
+
* A string identifier for the entity that created the flow. Implementations SHOULD set suitable default values for `created_by` based on the principal accessing the system, and MAY permit clients to edit the value, subject to suitable permissions-based limitations.
|
|
69
|
+
*/
|
|
70
|
+
created_by?: string;
|
|
71
|
+
/**
|
|
72
|
+
* A string identifier for the entity that updated the flow metadata most recently. Implementations SHOULD set suitable default values for `updated_by` based on the principal accessing the system, and MAY permit clients to edit the value, subject to suitable permissions-based limitations.
|
|
73
|
+
*/
|
|
74
|
+
updated_by?: string;
|
|
75
|
+
/**
|
|
76
|
+
* Key value is a freeform string.
|
|
77
|
+
*/
|
|
78
|
+
tags?: {
|
|
79
|
+
[key: string]: string;
|
|
80
|
+
};
|
|
81
|
+
/**
|
|
82
|
+
* A change to the flow metadata, not including metadata_version, last_update or segments, results in a new version. If the metadata_version for flow instances is identical then the metadata is identical.
|
|
83
|
+
*/
|
|
84
|
+
metadata_version?: string;
|
|
85
|
+
/**
|
|
86
|
+
* An indication of how many lossy encodings the flow content has been through. A flow with a higher generation may contain less of the original information than a flow with a lower generation.
|
|
87
|
+
*/
|
|
88
|
+
generation?: number;
|
|
89
|
+
/**
|
|
90
|
+
* The date-time the flow was created in a given context, e.g. in the store. Implementations SHOULD ignore this if given in a PUT request, and instead manage it internally
|
|
91
|
+
*/
|
|
92
|
+
created?: string;
|
|
93
|
+
/**
|
|
94
|
+
* The date-time the flow metadata was updated in a given context, e.g. in the store. Implementations SHOULD ignore this if given in a PUT request, and instead manage it internally
|
|
95
|
+
*/
|
|
96
|
+
metadata_updated?: string;
|
|
97
|
+
/**
|
|
98
|
+
* The date-time the flow segments were updated in a given context, e.g. in the store. Implementations SHOULD ignore this if given in a PUT request, and instead manage it internally
|
|
99
|
+
*/
|
|
100
|
+
segments_updated?: string;
|
|
101
|
+
/**
|
|
102
|
+
* If set to \'true\', implementations SHOULD reject client requests to update Flow metadata (other than the read_only property), Flow Segments and media objects
|
|
103
|
+
*/
|
|
104
|
+
read_only?: boolean;
|
|
105
|
+
/**
|
|
106
|
+
* A MIME type identification of the (lossy or lossless) coding used for the flow content.
|
|
107
|
+
*/
|
|
108
|
+
codec?: string;
|
|
109
|
+
/**
|
|
110
|
+
* The container MIME type for flow segments.
|
|
111
|
+
*/
|
|
112
|
+
container?: string;
|
|
113
|
+
/**
|
|
114
|
+
* The average bit rate of the flow segments in 1000 bits/second. A precise definition can be found in the [Setting Flow Bit Rate Properties](https://github.com/bbc/tams/blob/main/docs/appnotes/0013-setting-flow-bit-rate-properties.md) AppNote.
|
|
115
|
+
*/
|
|
116
|
+
avg_bit_rate?: number;
|
|
117
|
+
/**
|
|
118
|
+
* The maximum bit rate of the flow segments in 1000 bits/second. A precise definition can be found in the [Setting Flow Bit Rate Properties](https://github.com/bbc/tams/blob/main/docs/appnotes/0013-setting-flow-bit-rate-properties.md) AppNote.
|
|
119
|
+
*/
|
|
120
|
+
max_bit_rate?: number;
|
|
121
|
+
segment_duration?: FlowCoreSegmentDuration;
|
|
122
|
+
/**
|
|
123
|
+
* The timerange of samples available in the flow, as described by the [TimeRange](../schemas/timerange#top) type
|
|
124
|
+
*/
|
|
125
|
+
timerange?: string;
|
|
126
|
+
/**
|
|
127
|
+
* List of Flows that are collected together by this Flow.
|
|
128
|
+
*/
|
|
129
|
+
flow_collection?: Array<CollectionItem>;
|
|
130
|
+
/**
|
|
131
|
+
* Flows that reference this Flow to include it in a collection. This attribute is intended to be read-only. Implementations SHOULD ignore this if given in a PUT request, and instead manage it internally
|
|
132
|
+
*/
|
|
133
|
+
collected_by?: Array<string>;
|
|
134
|
+
container_mapping?: ContainerMapping1;
|
|
135
|
+
/**
|
|
136
|
+
* The primary content type URN for the flow.
|
|
137
|
+
*/
|
|
138
|
+
format: AudioFlow.FormatEnum;
|
|
139
|
+
essence_parameters: AudioFlowEssenceParameters;
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
export declare namespace AudioFlow {
|
|
143
|
+
export type FormatEnum = 'urn:x-nmos:format:audio';
|
|
144
|
+
const FormatEnum: {
|
|
145
|
+
UrnxNmosformataudio: FormatEnum;
|
|
146
|
+
};
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
/**
|
|
150
|
+
* Describes the parameters of the essence inside this audio Flow
|
|
151
|
+
*/
|
|
152
|
+
export declare interface AudioFlowEssenceParameters {
|
|
153
|
+
/**
|
|
154
|
+
* The fixed number of samples per second.
|
|
155
|
+
*/
|
|
156
|
+
sample_rate: number;
|
|
157
|
+
/**
|
|
158
|
+
* The channel count.
|
|
159
|
+
*/
|
|
160
|
+
channels: number;
|
|
161
|
+
/**
|
|
162
|
+
* The number of significant bits used to represent the audio sample. The minumum number of bytes then equals `round_up(bit_depth / 8)`. If codec is `audio/x-raw-int` bit_depth must be set. If codec is `audio/x-raw-float` bit_depth must be set to 32 or 64
|
|
163
|
+
*/
|
|
164
|
+
bit_depth?: number;
|
|
165
|
+
codec_parameters?: AudioCodecParameters;
|
|
166
|
+
unc_parameters?: UncompressedAudioParameters;
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
/**
|
|
170
|
+
* Time-addressable Media Store
|
|
171
|
+
*
|
|
172
|
+
* Contact: cloudfit-opensource@rd.bbc.co.uk
|
|
173
|
+
*
|
|
174
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
175
|
+
* https://openapi-generator.tech
|
|
176
|
+
* Do not edit the class manually.
|
|
177
|
+
*/
|
|
178
|
+
export declare interface AVCCodecParameters {
|
|
179
|
+
/**
|
|
180
|
+
* AVC / H.264 profile byte. For more information on the use of this property in codec strings, see https://developer.mozilla.org/en-US/docs/Web/Media/Formats/codecs_parameter#using_the_codecs_parameter
|
|
181
|
+
*/
|
|
182
|
+
profile: number;
|
|
183
|
+
/**
|
|
184
|
+
* AVC / H.264 level byte. For more information on the use of this property in codec strings, see https://developer.mozilla.org/en-US/docs/Web/Media/Formats/codecs_parameter#using_the_codecs_parameter
|
|
185
|
+
*/
|
|
186
|
+
level: number;
|
|
187
|
+
/**
|
|
188
|
+
* AVC / H.264 flags byte. For more information on the use of this property in codec strings, see https://developer.mozilla.org/en-US/docs/Web/Media/Formats/codecs_parameter#using_the_codecs_parameter
|
|
189
|
+
*/
|
|
190
|
+
flags: number;
|
|
191
|
+
}
|
|
192
|
+
|
|
193
|
+
/**
|
|
194
|
+
* Describes how an object (Source or Flow) is collected into another object of the same type
|
|
195
|
+
*/
|
|
196
|
+
export declare interface CollectionItem {
|
|
197
|
+
/**
|
|
198
|
+
* Source or Flow Identifier of the member of this collection. Sources must only collect Sources, and Flows must only collect Flows. Must already be registered in TAMS
|
|
199
|
+
*/
|
|
200
|
+
id: string;
|
|
201
|
+
/**
|
|
202
|
+
* A human-readable role of the element in this collection (e.g. \'R\' to denote a right audio channel in a collection of mono audio Sources)
|
|
203
|
+
*/
|
|
204
|
+
role: string;
|
|
205
|
+
container_mapping?: ContainerMapping;
|
|
206
|
+
}
|
|
207
|
+
|
|
208
|
+
/**
|
|
209
|
+
* Describes the mapping of the Flow essence from this Flow collection\'s container
|
|
210
|
+
*/
|
|
211
|
+
export declare interface ContainerMapping {
|
|
212
|
+
/**
|
|
213
|
+
* A zero-based and sequential track index in the container. This assumes a reliable ordering of tracks
|
|
214
|
+
*/
|
|
215
|
+
track_index?: number;
|
|
216
|
+
/**
|
|
217
|
+
* A zero-based and sequential track index in the container for a particular Flow format. A container with a video and 2 audio tracks would have a format_track_index 0 for the video Flow and format_track_index 0 and 1 for the audio Flows. This assumes a reliable ordering of tracks for each Flow format
|
|
218
|
+
*/
|
|
219
|
+
format_track_index?: number;
|
|
220
|
+
audio_track?: ContainerMappingAudioTrack;
|
|
221
|
+
mp2ts_container?: ContainerMappingMp2tsContainer;
|
|
222
|
+
mxf_container?: ContainerMappingMxfContainer;
|
|
223
|
+
isobmff_container?: ContainerMappingIsobmffContainer;
|
|
224
|
+
}
|
|
225
|
+
|
|
226
|
+
/**
|
|
227
|
+
* Describes the mapping of the Flow essence from the this Flow\'s container
|
|
228
|
+
*/
|
|
229
|
+
export declare interface ContainerMapping1 {
|
|
230
|
+
/**
|
|
231
|
+
* A zero-based and sequential track index in the container. This assumes a reliable ordering of tracks
|
|
232
|
+
*/
|
|
233
|
+
track_index?: number;
|
|
234
|
+
/**
|
|
235
|
+
* A zero-based and sequential track index in the container for a particular Flow format. A container with a video and 2 audio tracks would have a format_track_index 0 for the video Flow and format_track_index 0 and 1 for the audio Flows. This assumes a reliable ordering of tracks for each Flow format
|
|
236
|
+
*/
|
|
237
|
+
format_track_index?: number;
|
|
238
|
+
audio_track?: ContainerMappingAudioTrack;
|
|
239
|
+
mp2ts_container?: ContainerMappingMp2tsContainer;
|
|
240
|
+
mxf_container?: ContainerMappingMxfContainer;
|
|
241
|
+
isobmff_container?: ContainerMappingIsobmffContainer;
|
|
242
|
+
}
|
|
243
|
+
|
|
244
|
+
/**
|
|
245
|
+
* Time-addressable Media Store
|
|
246
|
+
*
|
|
247
|
+
* Contact: cloudfit-opensource@rd.bbc.co.uk
|
|
248
|
+
*
|
|
249
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
250
|
+
* https://openapi-generator.tech
|
|
251
|
+
* Do not edit the class manually.
|
|
252
|
+
*/
|
|
253
|
+
/**
|
|
254
|
+
* Mapping for channels in audio tracks to the Flow channels
|
|
255
|
+
*/
|
|
256
|
+
export declare interface ContainerMappingAudioTrack {
|
|
257
|
+
/**
|
|
258
|
+
* Array of (zero-based) container channel numbers in Flow order
|
|
259
|
+
*/
|
|
260
|
+
channel_numbers?: Array<number>;
|
|
261
|
+
/**
|
|
262
|
+
* Inclusive range of (zero-based) container channel numbers
|
|
263
|
+
*/
|
|
264
|
+
channel_range?: string;
|
|
265
|
+
}
|
|
266
|
+
|
|
267
|
+
/**
|
|
268
|
+
* Time-addressable Media Store
|
|
269
|
+
*
|
|
270
|
+
* Contact: cloudfit-opensource@rd.bbc.co.uk
|
|
271
|
+
*
|
|
272
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
273
|
+
* https://openapi-generator.tech
|
|
274
|
+
* Do not edit the class manually.
|
|
275
|
+
*/
|
|
276
|
+
/**
|
|
277
|
+
* Mapping to ISO Base Media File Format (e.g. MP4 and MOV) containers, ISO/IEC 14496-12
|
|
278
|
+
*/
|
|
279
|
+
export declare interface ContainerMappingIsobmffContainer {
|
|
280
|
+
/**
|
|
281
|
+
* The track ID
|
|
282
|
+
*/
|
|
283
|
+
track_id?: number;
|
|
284
|
+
}
|
|
285
|
+
|
|
286
|
+
/**
|
|
287
|
+
* Time-addressable Media Store
|
|
288
|
+
*
|
|
289
|
+
* Contact: cloudfit-opensource@rd.bbc.co.uk
|
|
290
|
+
*
|
|
291
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
292
|
+
* https://openapi-generator.tech
|
|
293
|
+
* Do not edit the class manually.
|
|
294
|
+
*/
|
|
295
|
+
/**
|
|
296
|
+
* Mapping to MPEG-2 Transport Stream containers, ISO/IEC 13818-1 or ITU-T Recommendation H.222.0
|
|
297
|
+
*/
|
|
298
|
+
export declare interface ContainerMappingMp2tsContainer {
|
|
299
|
+
/**
|
|
300
|
+
* The packet ID for the elementary stream packets
|
|
301
|
+
*/
|
|
302
|
+
pid?: number;
|
|
303
|
+
}
|
|
304
|
+
|
|
305
|
+
/**
|
|
306
|
+
* Time-addressable Media Store
|
|
307
|
+
*
|
|
308
|
+
* Contact: cloudfit-opensource@rd.bbc.co.uk
|
|
309
|
+
*
|
|
310
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
311
|
+
* https://openapi-generator.tech
|
|
312
|
+
* Do not edit the class manually.
|
|
313
|
+
*/
|
|
314
|
+
/**
|
|
315
|
+
* Mapping to Material Exchange Format containers, SMPTE ST 377-1
|
|
316
|
+
*/
|
|
317
|
+
export declare interface ContainerMappingMxfContainer {
|
|
318
|
+
/**
|
|
319
|
+
* The package UID. Either a SMPTE UMID URN or UUID URN
|
|
320
|
+
*/
|
|
321
|
+
package_uid?: string;
|
|
322
|
+
/**
|
|
323
|
+
* The track ID in the package
|
|
324
|
+
*/
|
|
325
|
+
track_id?: number;
|
|
326
|
+
}
|
|
327
|
+
|
|
328
|
+
/**
|
|
329
|
+
* Time-addressable Media Store
|
|
330
|
+
*
|
|
331
|
+
* Contact: cloudfit-opensource@rd.bbc.co.uk
|
|
332
|
+
*
|
|
333
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
334
|
+
* https://openapi-generator.tech
|
|
335
|
+
* Do not edit the class manually.
|
|
336
|
+
*/
|
|
337
|
+
/**
|
|
338
|
+
* Identifies the content format for a flow or source using a URN string.
|
|
339
|
+
*/
|
|
340
|
+
export declare type Contentformat = 'urn:x-nmos:format:video' | 'urn:x-nmos:format:audio' | 'urn:x-nmos:format:data' | 'urn:x-nmos:format:multi';
|
|
341
|
+
|
|
342
|
+
export declare const Contentformat: {
|
|
343
|
+
Video: Contentformat;
|
|
344
|
+
Audio: Contentformat;
|
|
345
|
+
Data: Contentformat;
|
|
346
|
+
Multi: Contentformat;
|
|
347
|
+
};
|
|
348
|
+
|
|
349
|
+
export { convertFlowIdToSubtitlesId }
|
|
350
|
+
|
|
351
|
+
/**
|
|
352
|
+
* Describes a data Flow
|
|
353
|
+
*/
|
|
354
|
+
export declare interface DataFlow {
|
|
355
|
+
/**
|
|
356
|
+
* Flow identifier
|
|
357
|
+
*/
|
|
358
|
+
id: string;
|
|
359
|
+
/**
|
|
360
|
+
* Source identifier
|
|
361
|
+
*/
|
|
362
|
+
source_id: string;
|
|
363
|
+
/**
|
|
364
|
+
* Freeform string label for the flow
|
|
365
|
+
*/
|
|
366
|
+
label?: string;
|
|
367
|
+
/**
|
|
368
|
+
* Freeform text describing the flow
|
|
369
|
+
*/
|
|
370
|
+
description?: string;
|
|
371
|
+
/**
|
|
372
|
+
* A string identifier for the entity that created the flow. Implementations SHOULD set suitable default values for `created_by` based on the principal accessing the system, and MAY permit clients to edit the value, subject to suitable permissions-based limitations.
|
|
373
|
+
*/
|
|
374
|
+
created_by?: string;
|
|
375
|
+
/**
|
|
376
|
+
* A string identifier for the entity that updated the flow metadata most recently. Implementations SHOULD set suitable default values for `updated_by` based on the principal accessing the system, and MAY permit clients to edit the value, subject to suitable permissions-based limitations.
|
|
377
|
+
*/
|
|
378
|
+
updated_by?: string;
|
|
379
|
+
/**
|
|
380
|
+
* Key value is a freeform string.
|
|
381
|
+
*/
|
|
382
|
+
tags?: {
|
|
383
|
+
[key: string]: string;
|
|
384
|
+
};
|
|
385
|
+
/**
|
|
386
|
+
* A change to the flow metadata, not including metadata_version, last_update or segments, results in a new version. If the metadata_version for flow instances is identical then the metadata is identical.
|
|
387
|
+
*/
|
|
388
|
+
metadata_version?: string;
|
|
389
|
+
/**
|
|
390
|
+
* An indication of how many lossy encodings the flow content has been through. A flow with a higher generation may contain less of the original information than a flow with a lower generation.
|
|
391
|
+
*/
|
|
392
|
+
generation?: number;
|
|
393
|
+
/**
|
|
394
|
+
* The date-time the flow was created in a given context, e.g. in the store. Implementations SHOULD ignore this if given in a PUT request, and instead manage it internally
|
|
395
|
+
*/
|
|
396
|
+
created?: string;
|
|
397
|
+
/**
|
|
398
|
+
* The date-time the flow metadata was updated in a given context, e.g. in the store. Implementations SHOULD ignore this if given in a PUT request, and instead manage it internally
|
|
399
|
+
*/
|
|
400
|
+
metadata_updated?: string;
|
|
401
|
+
/**
|
|
402
|
+
* The date-time the flow segments were updated in a given context, e.g. in the store. Implementations SHOULD ignore this if given in a PUT request, and instead manage it internally
|
|
403
|
+
*/
|
|
404
|
+
segments_updated?: string;
|
|
405
|
+
/**
|
|
406
|
+
* If set to \'true\', implementations SHOULD reject client requests to update Flow metadata (other than the read_only property), Flow Segments and media objects
|
|
407
|
+
*/
|
|
408
|
+
read_only?: boolean;
|
|
409
|
+
/**
|
|
410
|
+
* A MIME type identification of the (lossy or lossless) coding used for the flow content.
|
|
411
|
+
*/
|
|
412
|
+
codec?: string;
|
|
413
|
+
/**
|
|
414
|
+
* The container MIME type for flow segments.
|
|
415
|
+
*/
|
|
416
|
+
container?: string;
|
|
417
|
+
/**
|
|
418
|
+
* The average bit rate of the flow segments in 1000 bits/second. A precise definition can be found in the [Setting Flow Bit Rate Properties](https://github.com/bbc/tams/blob/main/docs/appnotes/0013-setting-flow-bit-rate-properties.md) AppNote.
|
|
419
|
+
*/
|
|
420
|
+
avg_bit_rate?: number;
|
|
421
|
+
/**
|
|
422
|
+
* The maximum bit rate of the flow segments in 1000 bits/second. A precise definition can be found in the [Setting Flow Bit Rate Properties](https://github.com/bbc/tams/blob/main/docs/appnotes/0013-setting-flow-bit-rate-properties.md) AppNote.
|
|
423
|
+
*/
|
|
424
|
+
max_bit_rate?: number;
|
|
425
|
+
segment_duration?: FlowCoreSegmentDuration;
|
|
426
|
+
/**
|
|
427
|
+
* The timerange of samples available in the flow, as described by the [TimeRange](../schemas/timerange#top) type
|
|
428
|
+
*/
|
|
429
|
+
timerange?: string;
|
|
430
|
+
/**
|
|
431
|
+
* List of Flows that are collected together by this Flow.
|
|
432
|
+
*/
|
|
433
|
+
flow_collection?: Array<CollectionItem>;
|
|
434
|
+
/**
|
|
435
|
+
* Flows that reference this Flow to include it in a collection. This attribute is intended to be read-only. Implementations SHOULD ignore this if given in a PUT request, and instead manage it internally
|
|
436
|
+
*/
|
|
437
|
+
collected_by?: Array<string>;
|
|
438
|
+
container_mapping?: ContainerMapping1;
|
|
439
|
+
/**
|
|
440
|
+
* The primary content type URN for the flow.
|
|
441
|
+
*/
|
|
442
|
+
format: DataFlow.FormatEnum;
|
|
443
|
+
essence_parameters: DataFlowEssenceParameters;
|
|
444
|
+
}
|
|
445
|
+
|
|
446
|
+
export declare namespace DataFlow {
|
|
447
|
+
export type FormatEnum = 'urn:x-nmos:format:data';
|
|
448
|
+
const FormatEnum: {
|
|
449
|
+
UrnxNmosformatdata: FormatEnum;
|
|
450
|
+
};
|
|
451
|
+
}
|
|
452
|
+
|
|
453
|
+
/**
|
|
454
|
+
* Time-addressable Media Store
|
|
455
|
+
*
|
|
456
|
+
* Contact: cloudfit-opensource@rd.bbc.co.uk
|
|
457
|
+
*
|
|
458
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
459
|
+
* https://openapi-generator.tech
|
|
460
|
+
* Do not edit the class manually.
|
|
461
|
+
*/
|
|
462
|
+
/**
|
|
463
|
+
* Describes the parameters of the essence inside this data Flow
|
|
464
|
+
*/
|
|
465
|
+
export declare interface DataFlowEssenceParameters {
|
|
466
|
+
/**
|
|
467
|
+
* The type of information encoded in the flow, identified using a URN. e.g. The data_type may be urn:x-tams:data:bounding-box, and the codec `application/json`.
|
|
468
|
+
*/
|
|
469
|
+
data_type?: string;
|
|
470
|
+
}
|
|
471
|
+
|
|
472
|
+
/**
|
|
473
|
+
* Describes an ongoing deletion request
|
|
474
|
+
*/
|
|
475
|
+
export declare interface DeletionRequest {
|
|
476
|
+
/**
|
|
477
|
+
* Deletion Request ID
|
|
478
|
+
*/
|
|
479
|
+
id: string;
|
|
480
|
+
/**
|
|
481
|
+
* ID of the flow to which the deletion request relates
|
|
482
|
+
*/
|
|
483
|
+
flow_id: string;
|
|
484
|
+
/**
|
|
485
|
+
* The timerange of FlowSegments to be deleted in this request, as described by the [TimeRange](../schemas/timerange#top) type
|
|
486
|
+
*/
|
|
487
|
+
timerange_to_delete: string;
|
|
488
|
+
/**
|
|
489
|
+
* The timerange of FlowSegments not yet deleted by this request, as described by the [TimeRange](../schemas/timerange#top) type
|
|
490
|
+
*/
|
|
491
|
+
timerange_remaining?: string;
|
|
492
|
+
/**
|
|
493
|
+
* Whether the Flow should be deleted once the timerange has been
|
|
494
|
+
*/
|
|
495
|
+
delete_flow: boolean;
|
|
496
|
+
/**
|
|
497
|
+
* Date/Time when this deletion request was created
|
|
498
|
+
*/
|
|
499
|
+
created?: string;
|
|
500
|
+
/**
|
|
501
|
+
* A string identifier for the entity that created the deletion request. Implementations SHOULD set suitable default values for `created_by` based on the principal accessing the system, and MAY permit clients to edit the value, subject to suitable permissions-based limitations.
|
|
502
|
+
*/
|
|
503
|
+
created_by?: string;
|
|
504
|
+
/**
|
|
505
|
+
* Date/Time when this deletion request was updated
|
|
506
|
+
*/
|
|
507
|
+
updated?: string;
|
|
508
|
+
/**
|
|
509
|
+
* Date/Time when this deletion request will be deleted
|
|
510
|
+
*/
|
|
511
|
+
expiry?: string;
|
|
512
|
+
/**
|
|
513
|
+
* Status of the delete request
|
|
514
|
+
*/
|
|
515
|
+
status: DeletionRequest.StatusEnum;
|
|
516
|
+
error?: DeletionRequestError;
|
|
517
|
+
}
|
|
518
|
+
|
|
519
|
+
export declare namespace DeletionRequest {
|
|
520
|
+
export type StatusEnum = 'created' | 'started' | 'done' | 'error';
|
|
521
|
+
const StatusEnum: {
|
|
522
|
+
Created: StatusEnum;
|
|
523
|
+
Started: StatusEnum;
|
|
524
|
+
Done: StatusEnum;
|
|
525
|
+
Error: StatusEnum;
|
|
526
|
+
};
|
|
527
|
+
}
|
|
528
|
+
|
|
529
|
+
/**
|
|
530
|
+
* Time-addressable Media Store
|
|
531
|
+
*
|
|
532
|
+
* Contact: cloudfit-opensource@rd.bbc.co.uk
|
|
533
|
+
*
|
|
534
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
535
|
+
* https://openapi-generator.tech
|
|
536
|
+
* Do not edit the class manually.
|
|
537
|
+
*/
|
|
538
|
+
/**
|
|
539
|
+
* Provides more information for the error status.
|
|
540
|
+
*/
|
|
541
|
+
export declare interface DeletionRequestError {
|
|
542
|
+
/**
|
|
543
|
+
* The error type name.
|
|
544
|
+
*/
|
|
545
|
+
type: string;
|
|
546
|
+
/**
|
|
547
|
+
* Summary description of the error and causes.
|
|
548
|
+
*/
|
|
549
|
+
summary: string;
|
|
550
|
+
/**
|
|
551
|
+
* Stack trace leading to error (as a list of strings)
|
|
552
|
+
*/
|
|
553
|
+
traceback?: Array<string>;
|
|
554
|
+
/**
|
|
555
|
+
* Time at which the error ocurred, to aid in log correlation
|
|
556
|
+
*/
|
|
557
|
+
time: string;
|
|
558
|
+
}
|
|
559
|
+
|
|
560
|
+
/**
|
|
561
|
+
* Time-addressable Media Store
|
|
562
|
+
*
|
|
563
|
+
* Contact: cloudfit-opensource@rd.bbc.co.uk
|
|
564
|
+
*
|
|
565
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
566
|
+
* https://openapi-generator.tech
|
|
567
|
+
* Do not edit the class manually.
|
|
568
|
+
*/
|
|
569
|
+
/**
|
|
570
|
+
* Describes an event stream mechanism available in this implementation of TAMS
|
|
571
|
+
*/
|
|
572
|
+
export declare interface EventStreamMechanism {
|
|
573
|
+
/**
|
|
574
|
+
* Name of this type of event stream mechanism. Must be unique. Any name defined in this specification is reserved
|
|
575
|
+
*/
|
|
576
|
+
name: string;
|
|
577
|
+
/**
|
|
578
|
+
* Location (e.g. a URL) at which documentation for this event stream mechanism may be found
|
|
579
|
+
*/
|
|
580
|
+
docs?: string;
|
|
581
|
+
/**
|
|
582
|
+
* Configuration options required to make use of this mechanism
|
|
583
|
+
*/
|
|
584
|
+
config?: object;
|
|
585
|
+
}
|
|
586
|
+
|
|
587
|
+
/**
|
|
588
|
+
* Describes a Flow
|
|
589
|
+
*/
|
|
590
|
+
/**
|
|
591
|
+
* @type Flow
|
|
592
|
+
* Describes a Flow
|
|
593
|
+
* @export
|
|
594
|
+
*/
|
|
595
|
+
export declare type Flow = AudioFlow | DataFlow | MultiEssenceFlow | VideoFlow | ImageFlow;
|
|
596
|
+
|
|
597
|
+
/**
|
|
598
|
+
* Time-addressable Media Store
|
|
599
|
+
*
|
|
600
|
+
* Contact: cloudfit-opensource@rd.bbc.co.uk
|
|
601
|
+
*
|
|
602
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
603
|
+
* https://openapi-generator.tech
|
|
604
|
+
* Do not edit the class manually.
|
|
605
|
+
*/
|
|
606
|
+
/**
|
|
607
|
+
* The target flow segment duration in seconds. The duration for each segment may vary around this target value. See also the [Setting Flow Bit Rate Properties](https://github.com/bbc/tams/blob/main/docs/appnotes/0013-setting-flow-bit-rate-properties.md) AppNote for how this property can be used to calculate buffer sizes.
|
|
608
|
+
*/
|
|
609
|
+
export declare interface FlowCoreSegmentDuration {
|
|
610
|
+
/**
|
|
611
|
+
* numerator
|
|
612
|
+
*/
|
|
613
|
+
numerator: number;
|
|
614
|
+
/**
|
|
615
|
+
* denominator
|
|
616
|
+
*/
|
|
617
|
+
denominator?: number;
|
|
618
|
+
}
|
|
619
|
+
|
|
620
|
+
/**
|
|
621
|
+
* Provides the location and metadata of the media files corresponding to timerange segments of a Flow.
|
|
622
|
+
*/
|
|
623
|
+
export declare interface FlowSegment {
|
|
624
|
+
/**
|
|
625
|
+
* The object store identifier for the media object.
|
|
626
|
+
*/
|
|
627
|
+
object_id: string;
|
|
628
|
+
/**
|
|
629
|
+
* The timestamp offset between the sample timestamps stored in the media file and the corresponding timestamp in the segment, ie. ts_offset = segment ts - media object ts. Assumed to be 0:0 if not set. Format as described by the [Timestamp](../schemas/timestamp#top) type, but cannot be negative
|
|
630
|
+
*/
|
|
631
|
+
ts_offset?: string;
|
|
632
|
+
/**
|
|
633
|
+
* The timerange of segments that have been deleted. The timerange MUST intersect with a segment which has been deleted at both start and end (e.g. it cannot start or end in empty space).
|
|
634
|
+
*/
|
|
635
|
+
timerange: string;
|
|
636
|
+
/**
|
|
637
|
+
* The difference between the exclusive end of the `timerange` and the last sample timestamp. Format as described by the [Timestamp](../schemas/timestamp#top) type, but cannot be negative
|
|
638
|
+
*/
|
|
639
|
+
last_duration?: string;
|
|
640
|
+
/**
|
|
641
|
+
* The start of the segment represented as a count of samples from the start of the object. Note that a sample is a video frame or audio sample. A (coded) audio frame has multiple audio samples. Assumed to be 0 if not set.
|
|
642
|
+
*/
|
|
643
|
+
sample_offset?: number;
|
|
644
|
+
/**
|
|
645
|
+
* The count of samples in the segment (which may be fewer than in the object). The count could be less than expected given the segment duration and rate if there are gaps. If not set, every sample from sample_offset onwards is used. Note that a sample is a video frame or audio sample. A (coded) audio frame has multiple audio samples
|
|
646
|
+
*/
|
|
647
|
+
sample_count?: number;
|
|
648
|
+
/**
|
|
649
|
+
* A list of URLs to which a GET request can be made to directly retrieve the contents of the segment. This is required by the `http_object_store` media store type, which is the only one currently described. Clients may choose any URL in the list and treat them as identical, however servers may sort the list such that the preferred URL is first.
|
|
650
|
+
*/
|
|
651
|
+
get_urls?: Array<FlowSegmentGetUrlsInner>;
|
|
652
|
+
/**
|
|
653
|
+
* The number of key frames in the segment. This should be set greater than zero when the segment contains key frames that serve as a stream access point
|
|
654
|
+
*/
|
|
655
|
+
key_frame_count?: number;
|
|
656
|
+
}
|
|
657
|
+
|
|
658
|
+
/**
|
|
659
|
+
* Provides the location and metadata of the media files corresponding to timerange segments of a Flow.
|
|
660
|
+
*/
|
|
661
|
+
export declare interface FlowSegment1 {
|
|
662
|
+
/**
|
|
663
|
+
* The object store identifier for the media object.
|
|
664
|
+
*/
|
|
665
|
+
object_id: string;
|
|
666
|
+
/**
|
|
667
|
+
* The timestamp offset between the sample timestamps stored in the media file and the corresponding timestamp in the segment, ie. ts_offset = segment ts - media object ts. Assumed to be 0:0 if not set. Format as described by the [Timestamp](../schemas/timestamp#top) type, but cannot be negative
|
|
668
|
+
*/
|
|
669
|
+
ts_offset?: string;
|
|
670
|
+
/**
|
|
671
|
+
* The timerange for the samples contained in the segment. The timerange start is always inclusive. If samples have a duration then the timerange end is exclusive and covers at least the duration of the last sample. The exclusive timerange end will typically be set to the timestamp of the next sample. If the samples don\'t have a duration then the timerange end is inclusive. Format is described by the [TimeRange](../schemas/timerange#top) type. Note that where temporal re-ordering is used, the timerange and samples refers to the presentation timeline.
|
|
672
|
+
*/
|
|
673
|
+
timerange: string;
|
|
674
|
+
/**
|
|
675
|
+
* The difference between the exclusive end of the `timerange` and the last sample timestamp. Format as described by the [Timestamp](../schemas/timestamp#top) type, but cannot be negative
|
|
676
|
+
*/
|
|
677
|
+
last_duration?: string;
|
|
678
|
+
/**
|
|
679
|
+
* The start of the segment represented as a count of samples from the start of the object. Note that a sample is a video frame or audio sample. A (coded) audio frame has multiple audio samples. Assumed to be 0 if not set.
|
|
680
|
+
*/
|
|
681
|
+
sample_offset?: number;
|
|
682
|
+
/**
|
|
683
|
+
* The count of samples in the segment (which may be fewer than in the object). The count could be less than expected given the segment duration and rate if there are gaps. If not set, every sample from sample_offset onwards is used. Note that a sample is a video frame or audio sample. A (coded) audio frame has multiple audio samples
|
|
684
|
+
*/
|
|
685
|
+
sample_count?: number;
|
|
686
|
+
/**
|
|
687
|
+
* A list of URLs to which a GET request can be made to directly retrieve the contents of the segment. This is required by the `http_object_store` media store type, which is the only one currently described. Clients may choose any URL in the list and treat them as identical, however servers may sort the list such that the preferred URL is first.
|
|
688
|
+
*/
|
|
689
|
+
get_urls?: Array<FlowSegmentGetUrlsInner>;
|
|
690
|
+
/**
|
|
691
|
+
* The number of key frames in the segment. This should be set greater than zero when the segment contains key frames that serve as a stream access point
|
|
692
|
+
*/
|
|
693
|
+
key_frame_count?: number;
|
|
694
|
+
}
|
|
695
|
+
|
|
696
|
+
/**
|
|
697
|
+
* Time-addressable Media Store
|
|
698
|
+
*
|
|
699
|
+
* Contact: cloudfit-opensource@rd.bbc.co.uk
|
|
700
|
+
*
|
|
701
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
702
|
+
* https://openapi-generator.tech
|
|
703
|
+
* Do not edit the class manually.
|
|
704
|
+
*/
|
|
705
|
+
export declare interface FlowSegmentGetUrlsInner {
|
|
706
|
+
/**
|
|
707
|
+
* Label identifying this URL. If the \'label\' is not set then this URL can\'t be filtered for using the \'accept_get_urls\' API query parameter.
|
|
708
|
+
*/
|
|
709
|
+
label?: string;
|
|
710
|
+
/**
|
|
711
|
+
* A URL to which a GET request can be made to directly retrieve the contents of the segment. Clients should include credentials if the provide URL is on the same origin as the API endpoint
|
|
712
|
+
*/
|
|
713
|
+
url: string;
|
|
714
|
+
}
|
|
715
|
+
|
|
716
|
+
/**
|
|
717
|
+
* Time-addressable Media Store
|
|
718
|
+
*
|
|
719
|
+
* Contact: cloudfit-opensource@rd.bbc.co.uk
|
|
720
|
+
*
|
|
721
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
722
|
+
* https://openapi-generator.tech
|
|
723
|
+
* Do not edit the class manually.
|
|
724
|
+
*/
|
|
725
|
+
/**
|
|
726
|
+
* Post data for the flow storage endpoint
|
|
727
|
+
*/
|
|
728
|
+
export declare interface FlowStoragePost {
|
|
729
|
+
/**
|
|
730
|
+
* Limit the number of storage segments in each response page. Implementations may specify their own default and maximum for the limit
|
|
731
|
+
*/
|
|
732
|
+
limit?: number;
|
|
733
|
+
}
|
|
734
|
+
|
|
735
|
+
/**
|
|
736
|
+
* Time-addressable Media Store
|
|
737
|
+
*
|
|
738
|
+
* Contact: cloudfit-opensource@rd.bbc.co.uk
|
|
739
|
+
*
|
|
740
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
741
|
+
* https://openapi-generator.tech
|
|
742
|
+
* Do not edit the class manually.
|
|
743
|
+
*/
|
|
744
|
+
/**
|
|
745
|
+
* Gives information on a particular http request a client should perform
|
|
746
|
+
*/
|
|
747
|
+
export declare interface HTTPRequest {
|
|
748
|
+
/**
|
|
749
|
+
* The URL to make the request to
|
|
750
|
+
*/
|
|
751
|
+
url: string;
|
|
752
|
+
/**
|
|
753
|
+
* The text of the body which needs to be included in the request
|
|
754
|
+
*/
|
|
755
|
+
body?: string;
|
|
756
|
+
/**
|
|
757
|
+
* The content type which must be used
|
|
758
|
+
*/
|
|
759
|
+
'content-type'?: string;
|
|
760
|
+
/**
|
|
761
|
+
* Additional headers that should be included
|
|
762
|
+
*/
|
|
763
|
+
headers?: {
|
|
764
|
+
[key: string]: string;
|
|
765
|
+
};
|
|
766
|
+
}
|
|
767
|
+
|
|
768
|
+
/**
|
|
769
|
+
* Describes a image Flow
|
|
770
|
+
*/
|
|
771
|
+
export declare interface ImageFlow {
|
|
772
|
+
/**
|
|
773
|
+
* Flow identifier
|
|
774
|
+
*/
|
|
775
|
+
id: string;
|
|
776
|
+
/**
|
|
777
|
+
* Source identifier
|
|
778
|
+
*/
|
|
779
|
+
source_id: string;
|
|
780
|
+
/**
|
|
781
|
+
* Freeform string label for the flow
|
|
782
|
+
*/
|
|
783
|
+
label?: string;
|
|
784
|
+
/**
|
|
785
|
+
* Freeform text describing the flow
|
|
786
|
+
*/
|
|
787
|
+
description?: string;
|
|
788
|
+
/**
|
|
789
|
+
* A string identifier for the entity that created the flow. Implementations SHOULD set suitable default values for `created_by` based on the principal accessing the system, and MAY permit clients to edit the value, subject to suitable permissions-based limitations.
|
|
790
|
+
*/
|
|
791
|
+
created_by?: string;
|
|
792
|
+
/**
|
|
793
|
+
* A string identifier for the entity that updated the flow metadata most recently. Implementations SHOULD set suitable default values for `updated_by` based on the principal accessing the system, and MAY permit clients to edit the value, subject to suitable permissions-based limitations.
|
|
794
|
+
*/
|
|
795
|
+
updated_by?: string;
|
|
796
|
+
/**
|
|
797
|
+
* Key value is a freeform string.
|
|
798
|
+
*/
|
|
799
|
+
tags?: {
|
|
800
|
+
[key: string]: string;
|
|
801
|
+
};
|
|
802
|
+
/**
|
|
803
|
+
* A change to the flow metadata, not including metadata_version, last_update or segments, results in a new version. If the metadata_version for flow instances is identical then the metadata is identical.
|
|
804
|
+
*/
|
|
805
|
+
metadata_version?: string;
|
|
806
|
+
/**
|
|
807
|
+
* An indication of how many lossy encodings the flow content has been through. A flow with a higher generation may contain less of the original information than a flow with a lower generation.
|
|
808
|
+
*/
|
|
809
|
+
generation?: number;
|
|
810
|
+
/**
|
|
811
|
+
* The date-time the flow was created in a given context, e.g. in the store. Implementations SHOULD ignore this if given in a PUT request, and instead manage it internally
|
|
812
|
+
*/
|
|
813
|
+
created?: string;
|
|
814
|
+
/**
|
|
815
|
+
* The date-time the flow metadata was updated in a given context, e.g. in the store. Implementations SHOULD ignore this if given in a PUT request, and instead manage it internally
|
|
816
|
+
*/
|
|
817
|
+
metadata_updated?: string;
|
|
818
|
+
/**
|
|
819
|
+
* The date-time the flow segments were updated in a given context, e.g. in the store. Implementations SHOULD ignore this if given in a PUT request, and instead manage it internally
|
|
820
|
+
*/
|
|
821
|
+
segments_updated?: string;
|
|
822
|
+
/**
|
|
823
|
+
* If set to \'true\', implementations SHOULD reject client requests to update Flow metadata (other than the read_only property), Flow Segments and media objects
|
|
824
|
+
*/
|
|
825
|
+
read_only?: boolean;
|
|
826
|
+
/**
|
|
827
|
+
* A MIME type identification of the (lossy or lossless) coding used for the flow content.
|
|
828
|
+
*/
|
|
829
|
+
codec?: string;
|
|
830
|
+
/**
|
|
831
|
+
* The container MIME type for flow segments.
|
|
832
|
+
*/
|
|
833
|
+
container?: string;
|
|
834
|
+
/**
|
|
835
|
+
* The average bit rate of the flow segments in 1000 bits/second. A precise definition can be found in the [Setting Flow Bit Rate Properties](https://github.com/bbc/tams/blob/main/docs/appnotes/0013-setting-flow-bit-rate-properties.md) AppNote.
|
|
836
|
+
*/
|
|
837
|
+
avg_bit_rate?: number;
|
|
838
|
+
/**
|
|
839
|
+
* The maximum bit rate of the flow segments in 1000 bits/second. A precise definition can be found in the [Setting Flow Bit Rate Properties](https://github.com/bbc/tams/blob/main/docs/appnotes/0013-setting-flow-bit-rate-properties.md) AppNote.
|
|
840
|
+
*/
|
|
841
|
+
max_bit_rate?: number;
|
|
842
|
+
segment_duration?: FlowCoreSegmentDuration;
|
|
843
|
+
/**
|
|
844
|
+
* The timerange of samples available in the flow, as described by the [TimeRange](../schemas/timerange#top) type
|
|
845
|
+
*/
|
|
846
|
+
timerange?: string;
|
|
847
|
+
/**
|
|
848
|
+
* List of Flows that are collected together by this Flow.
|
|
849
|
+
*/
|
|
850
|
+
flow_collection?: Array<CollectionItem>;
|
|
851
|
+
/**
|
|
852
|
+
* Flows that reference this Flow to include it in a collection. This attribute is intended to be read-only. Implementations SHOULD ignore this if given in a PUT request, and instead manage it internally
|
|
853
|
+
*/
|
|
854
|
+
collected_by?: Array<string>;
|
|
855
|
+
container_mapping?: ContainerMapping1;
|
|
856
|
+
/**
|
|
857
|
+
* The primary content type URN for the flow.
|
|
858
|
+
*/
|
|
859
|
+
format: ImageFlow.FormatEnum;
|
|
860
|
+
essence_parameters: ImageFlowEssenceParameters;
|
|
861
|
+
}
|
|
862
|
+
|
|
863
|
+
export declare namespace ImageFlow {
|
|
864
|
+
export type FormatEnum = "urn:x-tam:format:image";
|
|
865
|
+
const FormatEnum: {
|
|
866
|
+
UrnxNmosformatdata: FormatEnum;
|
|
867
|
+
};
|
|
868
|
+
}
|
|
869
|
+
|
|
870
|
+
/**
|
|
871
|
+
* Time-addressable Media Store
|
|
872
|
+
*
|
|
873
|
+
* Contact: cloudfit-opensource@rd.bbc.co.uk
|
|
874
|
+
*
|
|
875
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
876
|
+
* https://openapi-generator.tech
|
|
877
|
+
* Do not edit the class manually.
|
|
878
|
+
*/
|
|
879
|
+
/**
|
|
880
|
+
* Describes the parameters of the essence inside this image Flow
|
|
881
|
+
*/
|
|
882
|
+
export declare interface ImageFlowEssenceParameters {
|
|
883
|
+
/**
|
|
884
|
+
* Parameters describing the essence of image Flow
|
|
885
|
+
*/
|
|
886
|
+
frame_width: number;
|
|
887
|
+
frame_height: number;
|
|
888
|
+
}
|
|
889
|
+
|
|
890
|
+
/**
|
|
891
|
+
* Gives information on storage for media objects. This schema is for the `http_object_store` media store type which provides URLs for storing media objects in bucket, and is the only store type currently implemented.
|
|
892
|
+
*/
|
|
893
|
+
export declare interface MediaBucketObjectStore {
|
|
894
|
+
[key: string]: any | any;
|
|
895
|
+
/**
|
|
896
|
+
* Actions that need to be taken before the media object can be written
|
|
897
|
+
*/
|
|
898
|
+
pre?: Array<MediaBucketObjectStorePreInner>;
|
|
899
|
+
/**
|
|
900
|
+
* List of information for identifying and uploading media objects
|
|
901
|
+
*/
|
|
902
|
+
media_objects?: Array<MediaBucketObjectStoreMediaObjectsInner>;
|
|
903
|
+
}
|
|
904
|
+
|
|
905
|
+
/**
|
|
906
|
+
* Information for a media object
|
|
907
|
+
*/
|
|
908
|
+
export declare interface MediaBucketObjectStoreMediaObjectsInner {
|
|
909
|
+
/**
|
|
910
|
+
* The object store identifier for the media object.
|
|
911
|
+
*/
|
|
912
|
+
object_id: string;
|
|
913
|
+
put_url: HTTPRequest;
|
|
914
|
+
put_cors_url?: HTTPRequest;
|
|
915
|
+
}
|
|
916
|
+
|
|
917
|
+
/**
|
|
918
|
+
* An action
|
|
919
|
+
*/
|
|
920
|
+
export declare interface MediaBucketObjectStorePreInner {
|
|
921
|
+
action: MediaBucketObjectStorePreInner.ActionEnum;
|
|
922
|
+
/**
|
|
923
|
+
* The name of the bucket that needs to be created
|
|
924
|
+
*/
|
|
925
|
+
bucket_id?: string;
|
|
926
|
+
put_url?: HTTPRequest;
|
|
927
|
+
put_cors_url?: HTTPRequest;
|
|
928
|
+
}
|
|
929
|
+
|
|
930
|
+
export declare namespace MediaBucketObjectStorePreInner {
|
|
931
|
+
export type ActionEnum = 'create_bucket';
|
|
932
|
+
const ActionEnum: {
|
|
933
|
+
CreateBucket: ActionEnum;
|
|
934
|
+
};
|
|
935
|
+
}
|
|
936
|
+
|
|
937
|
+
export declare type MediaInfo = {
|
|
938
|
+
ffom: string | undefined;
|
|
939
|
+
mediaStartTime: number;
|
|
940
|
+
frameRate: number;
|
|
941
|
+
dropFrame: boolean;
|
|
942
|
+
};
|
|
943
|
+
|
|
944
|
+
/**
|
|
945
|
+
* Describes a multi-essence Flow
|
|
946
|
+
*/
|
|
947
|
+
export declare interface MultiEssenceFlow {
|
|
948
|
+
/**
|
|
949
|
+
* Flow identifier
|
|
950
|
+
*/
|
|
951
|
+
id: string;
|
|
952
|
+
/**
|
|
953
|
+
* Source identifier
|
|
954
|
+
*/
|
|
955
|
+
source_id: string;
|
|
956
|
+
/**
|
|
957
|
+
* Freeform string label for the flow
|
|
958
|
+
*/
|
|
959
|
+
label?: string;
|
|
960
|
+
/**
|
|
961
|
+
* Freeform text describing the flow
|
|
962
|
+
*/
|
|
963
|
+
description?: string;
|
|
964
|
+
/**
|
|
965
|
+
* A string identifier for the entity that created the flow. Implementations SHOULD set suitable default values for `created_by` based on the principal accessing the system, and MAY permit clients to edit the value, subject to suitable permissions-based limitations.
|
|
966
|
+
*/
|
|
967
|
+
created_by?: string;
|
|
968
|
+
/**
|
|
969
|
+
* A string identifier for the entity that updated the flow metadata most recently. Implementations SHOULD set suitable default values for `updated_by` based on the principal accessing the system, and MAY permit clients to edit the value, subject to suitable permissions-based limitations.
|
|
970
|
+
*/
|
|
971
|
+
updated_by?: string;
|
|
972
|
+
/**
|
|
973
|
+
* Key value is a freeform string.
|
|
974
|
+
*/
|
|
975
|
+
tags?: {
|
|
976
|
+
[key: string]: string;
|
|
977
|
+
};
|
|
978
|
+
/**
|
|
979
|
+
* A change to the flow metadata, not including metadata_version, last_update or segments, results in a new version. If the metadata_version for flow instances is identical then the metadata is identical.
|
|
980
|
+
*/
|
|
981
|
+
metadata_version?: string;
|
|
982
|
+
/**
|
|
983
|
+
* An indication of how many lossy encodings the flow content has been through. A flow with a higher generation may contain less of the original information than a flow with a lower generation.
|
|
984
|
+
*/
|
|
985
|
+
generation?: number;
|
|
986
|
+
/**
|
|
987
|
+
* The date-time the flow was created in a given context, e.g. in the store. Implementations SHOULD ignore this if given in a PUT request, and instead manage it internally
|
|
988
|
+
*/
|
|
989
|
+
created?: string;
|
|
990
|
+
/**
|
|
991
|
+
* The date-time the flow metadata was updated in a given context, e.g. in the store. Implementations SHOULD ignore this if given in a PUT request, and instead manage it internally
|
|
992
|
+
*/
|
|
993
|
+
metadata_updated?: string;
|
|
994
|
+
/**
|
|
995
|
+
* The date-time the flow segments were updated in a given context, e.g. in the store. Implementations SHOULD ignore this if given in a PUT request, and instead manage it internally
|
|
996
|
+
*/
|
|
997
|
+
segments_updated?: string;
|
|
998
|
+
/**
|
|
999
|
+
* If set to \'true\', implementations SHOULD reject client requests to update Flow metadata (other than the read_only property), Flow Segments and media objects
|
|
1000
|
+
*/
|
|
1001
|
+
read_only?: boolean;
|
|
1002
|
+
/**
|
|
1003
|
+
* A MIME type identification of the (lossy or lossless) coding used for the flow content.
|
|
1004
|
+
*/
|
|
1005
|
+
codec?: string;
|
|
1006
|
+
/**
|
|
1007
|
+
* The container MIME type for flow segments.
|
|
1008
|
+
*/
|
|
1009
|
+
container?: string;
|
|
1010
|
+
/**
|
|
1011
|
+
* The average bit rate of the flow segments in 1000 bits/second. A precise definition can be found in the [Setting Flow Bit Rate Properties](https://github.com/bbc/tams/blob/main/docs/appnotes/0013-setting-flow-bit-rate-properties.md) AppNote.
|
|
1012
|
+
*/
|
|
1013
|
+
avg_bit_rate?: number;
|
|
1014
|
+
/**
|
|
1015
|
+
* The maximum bit rate of the flow segments in 1000 bits/second. A precise definition can be found in the [Setting Flow Bit Rate Properties](https://github.com/bbc/tams/blob/main/docs/appnotes/0013-setting-flow-bit-rate-properties.md) AppNote.
|
|
1016
|
+
*/
|
|
1017
|
+
max_bit_rate?: number;
|
|
1018
|
+
segment_duration?: FlowCoreSegmentDuration;
|
|
1019
|
+
/**
|
|
1020
|
+
* The timerange of samples available in the flow, as described by the [TimeRange](../schemas/timerange#top) type
|
|
1021
|
+
*/
|
|
1022
|
+
timerange?: string;
|
|
1023
|
+
/**
|
|
1024
|
+
* List of Flows that are collected together by this Flow.
|
|
1025
|
+
*/
|
|
1026
|
+
flow_collection?: Array<CollectionItem>;
|
|
1027
|
+
/**
|
|
1028
|
+
* Flows that reference this Flow to include it in a collection. This attribute is intended to be read-only. Implementations SHOULD ignore this if given in a PUT request, and instead manage it internally
|
|
1029
|
+
*/
|
|
1030
|
+
collected_by?: Array<string>;
|
|
1031
|
+
container_mapping?: ContainerMapping1;
|
|
1032
|
+
/**
|
|
1033
|
+
* The primary content type URN for the flow.
|
|
1034
|
+
*/
|
|
1035
|
+
format: MultiEssenceFlow.FormatEnum;
|
|
1036
|
+
}
|
|
1037
|
+
|
|
1038
|
+
export declare namespace MultiEssenceFlow {
|
|
1039
|
+
export type FormatEnum = 'urn:x-nmos:format:multi';
|
|
1040
|
+
const FormatEnum: {
|
|
1041
|
+
UrnxNmosformatmulti: FormatEnum;
|
|
1042
|
+
};
|
|
1043
|
+
}
|
|
1044
|
+
|
|
1045
|
+
declare type NodeConstructionData = {
|
|
1046
|
+
config: TimelineLaneComponentConfig;
|
|
1047
|
+
node: TimelineNode;
|
|
1048
|
+
};
|
|
1049
|
+
|
|
1050
|
+
export declare const OmakaseMarkerListComponent: default_2.MemoExoticComponent<({ omakasePlayer, config, onCreateMarkerListCallback, }: OmakaseMarkerListComponentProps) => default_2.JSX.Element>;
|
|
1051
|
+
|
|
1052
|
+
declare type OmakaseMarkerListComponentProps = {
|
|
1053
|
+
omakasePlayer: OmakasePlayer;
|
|
1054
|
+
config: MarkerListConfig;
|
|
1055
|
+
onCreateMarkerListCallback?: (markerListApi: MarkerListApi) => void;
|
|
1056
|
+
};
|
|
1057
|
+
|
|
1058
|
+
export declare const OmakasePlayerComponent: default_2.NamedExoticComponent<OmakasePlayerComponentProps>;
|
|
1059
|
+
|
|
1060
|
+
declare type OmakasePlayerComponentProps = {
|
|
1061
|
+
videoUrl: string;
|
|
1062
|
+
videoLoadOptions?: VideoLoadOptions;
|
|
1063
|
+
onVideoLoadedCallback?: (omakasePlayer: OmakasePlayer, video: Video) => void;
|
|
1064
|
+
config: Partial<OmakasePlayerConfig>;
|
|
1065
|
+
enableHotkeys?: boolean;
|
|
1066
|
+
};
|
|
1067
|
+
|
|
1068
|
+
export declare class OmakasePlayerTimelineBuilder {
|
|
1069
|
+
private omakasePlayer;
|
|
1070
|
+
private _lanes;
|
|
1071
|
+
private _markersLaneMap;
|
|
1072
|
+
private _laneNodenMap;
|
|
1073
|
+
constructor(omakasePlayer: OmakasePlayer);
|
|
1074
|
+
addMarkerLane(config: TimelineLaneConfigDefaultsExcluded<MarkerLaneConfig>): void;
|
|
1075
|
+
addMarkers(markerLaneId: string, markers: Marker[]): void;
|
|
1076
|
+
addTimelineNode(laneId: string, nodeConstructionData: NodeConstructionData): void;
|
|
1077
|
+
addThumbnailLane(config: TimelineLaneConfigDefaultsExcluded<ThumbnailLaneConfig>): void;
|
|
1078
|
+
addLabelLane(config: TimelineLaneConfigDefaultsExcluded<LabelLaneConfig>): void;
|
|
1079
|
+
addSubtitlesLane(config: TimelineLaneConfigDefaultsExcluded<SubtitlesLaneConfig>): void;
|
|
1080
|
+
buildAndAttachTimeline(timelineConfig: Partial<ConfigWithOptionalStyle<TimelineConfig>>): void;
|
|
1081
|
+
buildAttachedTimeline(timeline: TimelineApi): void;
|
|
1082
|
+
private _createAndAttachLane;
|
|
1083
|
+
}
|
|
1084
|
+
|
|
1085
|
+
export declare const OmakasePlayerTimelineComponent: default_2.MemoExoticComponent<({ omakasePlayer, onTimelineCreatedCallback, timelineConfig, enableHotKeys, }: OmakasePlayerTimelineComponentProps) => default_2.JSX.Element>;
|
|
1086
|
+
|
|
1087
|
+
declare interface OmakasePlayerTimelineComponentProps {
|
|
1088
|
+
omakasePlayer: OmakasePlayer;
|
|
1089
|
+
onTimelineCreatedCallback: (timeline: TimelineApi) => void;
|
|
1090
|
+
timelineConfig: Partial<ConfigWithOptionalStyle<TimelineConfig>>;
|
|
1091
|
+
enableHotKeys?: boolean;
|
|
1092
|
+
}
|
|
1093
|
+
|
|
1094
|
+
export declare const OmakasePlayerTimelineControlsToolbar: ({ selectedMarker, omakasePlayer, markerListApi, enableHotKeys, segmentationLanes, setSegmentationLanes, setSelectedMarker, onMarkerClickCallback, setSource, source, constants, }: OmakasePlayerTimelineControlsToolbarProps) => default_2.JSX.Element;
|
|
1095
|
+
|
|
1096
|
+
declare type OmakasePlayerTimelineControlsToolbarConstants = {
|
|
1097
|
+
HIGHLIGHTED_PERIOD_MARKER_STYLE: Partial<PeriodMarkerStyle> & {
|
|
1098
|
+
color: string;
|
|
1099
|
+
};
|
|
1100
|
+
PERIOD_MARKER_STYLE: Partial<PeriodMarkerStyle> & {
|
|
1101
|
+
color: string;
|
|
1102
|
+
};
|
|
1103
|
+
TIMELINE_LANE_STYLE: Partial<TimelineLaneStyle>;
|
|
1104
|
+
MARKER_LANE_TEXT_LABEL_STYLE: Partial<TextLabelStyle>;
|
|
1105
|
+
};
|
|
1106
|
+
|
|
1107
|
+
declare type OmakasePlayerTimelineControlsToolbarProps = {
|
|
1108
|
+
selectedMarker: Marker | undefined;
|
|
1109
|
+
omakasePlayer: OmakasePlayer;
|
|
1110
|
+
markerListApi?: MarkerListApi;
|
|
1111
|
+
segmentationLanes: MarkerLane[];
|
|
1112
|
+
source: MarkerLane | undefined;
|
|
1113
|
+
enableHotKeys?: boolean;
|
|
1114
|
+
constants: OmakasePlayerTimelineControlsToolbarConstants;
|
|
1115
|
+
setSource: default_2.Dispatch<default_2.SetStateAction<MarkerLane | undefined>>;
|
|
1116
|
+
setSegmentationLanes: default_2.Dispatch<default_2.SetStateAction<MarkerLane[]>>;
|
|
1117
|
+
setSelectedMarker: default_2.Dispatch<default_2.SetStateAction<Marker | undefined>>;
|
|
1118
|
+
onMarkerClickCallback: (marker: Marker | undefined) => void;
|
|
1119
|
+
};
|
|
1120
|
+
|
|
1121
|
+
export declare const OmakaseTamsPlayerComponent: default_2.NamedExoticComponent<OmakaseTamsPlayerComponentProps>;
|
|
1122
|
+
|
|
1123
|
+
declare type OmakaseTamsPlayerComponentProps = {
|
|
1124
|
+
flow: Flow;
|
|
1125
|
+
childFlows: Flow[];
|
|
1126
|
+
flowsSegments: Map<string, FlowSegment[]>;
|
|
1127
|
+
onVideoLoadedCallback?: (omakasePlayer: OmakasePlayer, video: Video, mediaInfo: MediaInfo) => void;
|
|
1128
|
+
config: Partial<OmakasePlayerConfig>;
|
|
1129
|
+
timerange: string;
|
|
1130
|
+
videoLoadOptions?: VideoLoadOptions;
|
|
1131
|
+
enableHotkey?: boolean;
|
|
1132
|
+
};
|
|
1133
|
+
|
|
1134
|
+
export declare const OmakaseTimeRangePicker: ({ timeRange, maxTimeRange, numberOfSegments, segmentSize, maxSliderRange, onCheckmarkClickCallback, }: OmakaseTimerangePickerProps) => default_2.JSX.Element;
|
|
1135
|
+
|
|
1136
|
+
declare type OmakaseTimerangePickerProps = {
|
|
1137
|
+
timeRange: string;
|
|
1138
|
+
maxTimeRange: string;
|
|
1139
|
+
numberOfSegments: number;
|
|
1140
|
+
segmentSize: number;
|
|
1141
|
+
maxSliderRange: number;
|
|
1142
|
+
onCheckmarkClickCallback: (start: number, end: number) => void;
|
|
1143
|
+
};
|
|
1144
|
+
|
|
1145
|
+
/**
|
|
1146
|
+
* Time-addressable Media Store
|
|
1147
|
+
*
|
|
1148
|
+
* Contact: cloudfit-opensource@rd.bbc.co.uk
|
|
1149
|
+
*
|
|
1150
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
1151
|
+
* https://openapi-generator.tech
|
|
1152
|
+
* Do not edit the class manually.
|
|
1153
|
+
*/
|
|
1154
|
+
/**
|
|
1155
|
+
* Register to receive updates via webhook
|
|
1156
|
+
*/
|
|
1157
|
+
export declare interface RegisterWebhook {
|
|
1158
|
+
/**
|
|
1159
|
+
* The URL to which the API should make HTTP POST requests with event data
|
|
1160
|
+
*/
|
|
1161
|
+
url: string;
|
|
1162
|
+
/**
|
|
1163
|
+
* The HTTP header name that is added to the event POST
|
|
1164
|
+
*/
|
|
1165
|
+
api_key_name?: string;
|
|
1166
|
+
/**
|
|
1167
|
+
* The value that the HTTP header \'api_key_name\' will be set to
|
|
1168
|
+
*/
|
|
1169
|
+
api_key_value?: string;
|
|
1170
|
+
/**
|
|
1171
|
+
* List of event types to receive
|
|
1172
|
+
*/
|
|
1173
|
+
events: Array<string>;
|
|
1174
|
+
/**
|
|
1175
|
+
* Limit Flow and Flow Segment events to Flows in the given list of Flow IDs
|
|
1176
|
+
*/
|
|
1177
|
+
flow_ids?: Array<string>;
|
|
1178
|
+
/**
|
|
1179
|
+
* Limit Flow, Flow Segment and Source events to Sources in the given list of Source IDs
|
|
1180
|
+
*/
|
|
1181
|
+
source_ids?: Array<string>;
|
|
1182
|
+
/**
|
|
1183
|
+
* Limit Flow and Flow Segment events to those with Flow that is collected by a Flow Collection in the given list of Flow Collection IDs
|
|
1184
|
+
*/
|
|
1185
|
+
flow_collected_by_ids?: Array<string>;
|
|
1186
|
+
/**
|
|
1187
|
+
* Limit Flow, Flow Segment and Source events to those with Source that is collected by a Source Collection in the given list of Source Collection IDs
|
|
1188
|
+
*/
|
|
1189
|
+
source_collected_by_ids?: Array<string>;
|
|
1190
|
+
/**
|
|
1191
|
+
* List of labels of URLs to include in the `get_urls` property in `flows/segments_added` events. This option is the same as the `accept_get_urls` query parameter for the /flows/{flowId}/segments API endpoint, except that the labels are represented using a JSON array rather than a (comma separated list) string.
|
|
1192
|
+
*/
|
|
1193
|
+
accept_get_urls?: Array<string>;
|
|
1194
|
+
}
|
|
1195
|
+
|
|
1196
|
+
/**
|
|
1197
|
+
* Time-addressable Media Store
|
|
1198
|
+
*
|
|
1199
|
+
* Contact: cloudfit-opensource@rd.bbc.co.uk
|
|
1200
|
+
*
|
|
1201
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
1202
|
+
* https://openapi-generator.tech
|
|
1203
|
+
* Do not edit the class manually.
|
|
1204
|
+
*/
|
|
1205
|
+
/**
|
|
1206
|
+
* Register to receive updates via webhook
|
|
1207
|
+
*/
|
|
1208
|
+
export declare interface RegisterWebhook1 {
|
|
1209
|
+
/**
|
|
1210
|
+
* The URL to which the API should make HTTP POST requests with event data
|
|
1211
|
+
*/
|
|
1212
|
+
url: string;
|
|
1213
|
+
/**
|
|
1214
|
+
* The HTTP header name that is added to the event POST with value \'api_key_value\'
|
|
1215
|
+
*/
|
|
1216
|
+
api_key_name?: string;
|
|
1217
|
+
/**
|
|
1218
|
+
* The value that the HTTP header \'api_key_name\' will be set to
|
|
1219
|
+
*/
|
|
1220
|
+
api_key_value?: string;
|
|
1221
|
+
/**
|
|
1222
|
+
* List of event types to receive
|
|
1223
|
+
*/
|
|
1224
|
+
events: Array<string>;
|
|
1225
|
+
/**
|
|
1226
|
+
* Limit Flow and Flow Segment events to Flows in the given list of Flow IDs
|
|
1227
|
+
*/
|
|
1228
|
+
flow_ids?: Array<string>;
|
|
1229
|
+
/**
|
|
1230
|
+
* Limit Flow, Flow Segment and Source events to Sources in the given list of Source IDs
|
|
1231
|
+
*/
|
|
1232
|
+
source_ids?: Array<string>;
|
|
1233
|
+
/**
|
|
1234
|
+
* Limit Flow and Flow Segment events to those with Flow that is collected by a Flow Collection in the given list of Flow Collection IDs
|
|
1235
|
+
*/
|
|
1236
|
+
flow_collected_by_ids?: Array<string>;
|
|
1237
|
+
/**
|
|
1238
|
+
* Limit Flow, Flow Segment and Source events to those with Source that is collected by a Source Collection in the given list of Source Collection IDs
|
|
1239
|
+
*/
|
|
1240
|
+
source_collected_by_ids?: Array<string>;
|
|
1241
|
+
/**
|
|
1242
|
+
* List of labels of URLs to include in the `get_urls` property in `flows/segments_added` events. This option is the same as the `accept_get_urls` query parameter for the /flows/{flowId}/segments API endpoint, except that the labels are represented using a JSON array rather than a (comma separated list) string.
|
|
1243
|
+
*/
|
|
1244
|
+
accept_get_urls?: Array<string>;
|
|
1245
|
+
}
|
|
1246
|
+
|
|
1247
|
+
/**
|
|
1248
|
+
* Provides information about the store service
|
|
1249
|
+
*/
|
|
1250
|
+
export declare interface Service {
|
|
1251
|
+
/**
|
|
1252
|
+
* The service instance name
|
|
1253
|
+
*/
|
|
1254
|
+
name?: string;
|
|
1255
|
+
/**
|
|
1256
|
+
* The service instance description
|
|
1257
|
+
*/
|
|
1258
|
+
description?: string;
|
|
1259
|
+
/**
|
|
1260
|
+
* The type identifier for the service. The value must start with \'urn:x-tams:service\'
|
|
1261
|
+
*/
|
|
1262
|
+
type: string;
|
|
1263
|
+
/**
|
|
1264
|
+
* The version of the TAMS API specification this deployment implements
|
|
1265
|
+
*/
|
|
1266
|
+
api_version: string;
|
|
1267
|
+
/**
|
|
1268
|
+
* The version of software providing this service. Note: Different implementations and software houses may use different conventions for their version identification. As such, this field is intentionally permissive and intended to be informative only. Implementations should avoid using this field to determine compatibility.
|
|
1269
|
+
*/
|
|
1270
|
+
service_version?: string;
|
|
1271
|
+
media_store: ServiceMediaStore;
|
|
1272
|
+
/**
|
|
1273
|
+
* List the types of event stream that this implementation supports
|
|
1274
|
+
*/
|
|
1275
|
+
event_stream_mechanisms?: Array<EventStreamMechanism>;
|
|
1276
|
+
}
|
|
1277
|
+
|
|
1278
|
+
/**
|
|
1279
|
+
* Time-addressable Media Store
|
|
1280
|
+
*
|
|
1281
|
+
* Contact: cloudfit-opensource@rd.bbc.co.uk
|
|
1282
|
+
*
|
|
1283
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
1284
|
+
* https://openapi-generator.tech
|
|
1285
|
+
* Do not edit the class manually.
|
|
1286
|
+
*/
|
|
1287
|
+
/**
|
|
1288
|
+
* Provide information about the media store for this service
|
|
1289
|
+
*/
|
|
1290
|
+
export declare interface ServiceMediaStore {
|
|
1291
|
+
/**
|
|
1292
|
+
* The type of the media store. This determines the endpoints for reading and writing media
|
|
1293
|
+
*/
|
|
1294
|
+
type: ServiceMediaStore.TypeEnum;
|
|
1295
|
+
}
|
|
1296
|
+
|
|
1297
|
+
export declare namespace ServiceMediaStore {
|
|
1298
|
+
export type TypeEnum = 'http_object_store';
|
|
1299
|
+
const TypeEnum: {
|
|
1300
|
+
HttpObjectStore: TypeEnum;
|
|
1301
|
+
};
|
|
1302
|
+
}
|
|
1303
|
+
|
|
1304
|
+
/**
|
|
1305
|
+
* Describes a Source: an abstract representation of a piece of media as defined in <https://specs.amwa.tv/ms-04/releases/v1.0.0/docs/2.2._Explanation_-_Source.html> Sources may be elemental (and represented directly by a Flow), or may represent a collection of other Sources, e.g. a Source collecting video and audio together.
|
|
1306
|
+
*/
|
|
1307
|
+
export declare interface Source {
|
|
1308
|
+
/**
|
|
1309
|
+
* Source identifier
|
|
1310
|
+
*/
|
|
1311
|
+
id: string;
|
|
1312
|
+
/**
|
|
1313
|
+
* The primary content type URN for the Source.
|
|
1314
|
+
*/
|
|
1315
|
+
format: Source.FormatEnum;
|
|
1316
|
+
/**
|
|
1317
|
+
* Freeform string label for the Source
|
|
1318
|
+
*/
|
|
1319
|
+
label?: string;
|
|
1320
|
+
/**
|
|
1321
|
+
* Freeform text describing the Source
|
|
1322
|
+
*/
|
|
1323
|
+
description?: string;
|
|
1324
|
+
/**
|
|
1325
|
+
* A string identifier for the entity that created the Source. Implementations SHOULD set suitable default values for `created_by` based on the principal accessing the system, and MAY permit clients to edit the value, subject to suitable permissions-based limitations.
|
|
1326
|
+
*/
|
|
1327
|
+
created_by?: string;
|
|
1328
|
+
/**
|
|
1329
|
+
* A string identifier for the entity that updated the Source metadata most recently. Implementations SHOULD set suitable default values for `updated_by` based on the principal accessing the system, and MAY permit clients to edit the value, subject to suitable permissions-based limitations.
|
|
1330
|
+
*/
|
|
1331
|
+
updated_by?: string;
|
|
1332
|
+
/**
|
|
1333
|
+
* The date-time the Source was created in a given context, e.g. in the store. Implementations SHOULD ignore this if given in a PUT request, and instead manage it internally
|
|
1334
|
+
*/
|
|
1335
|
+
created?: string;
|
|
1336
|
+
/**
|
|
1337
|
+
* The date-time the Source metadata was last updated in a given context, e.g. in the store. Implementations SHOULD ignore this if given in a PUT request, and instead manage it internally
|
|
1338
|
+
*/
|
|
1339
|
+
updated?: string;
|
|
1340
|
+
/**
|
|
1341
|
+
* Key value is a freeform string.
|
|
1342
|
+
*/
|
|
1343
|
+
tags?: {
|
|
1344
|
+
[key: string]: string;
|
|
1345
|
+
};
|
|
1346
|
+
/**
|
|
1347
|
+
* List of Sources that are collected together by this Source. This attribute is intended to be read-only. Implementations SHOULD ignore this if given in a PUT request, and instead manage it internally. Source collections can be inferred from Flow collection definitions.
|
|
1348
|
+
*/
|
|
1349
|
+
source_collection?: Array<CollectionItem>;
|
|
1350
|
+
/**
|
|
1351
|
+
* Sources that reference this Source to include it in a collection. This attribute is intended to be read-only. Implementations SHOULD ignore this if given in a PUT request, and instead manage it internally. Source collections can be inferred from Flow collection definitions.
|
|
1352
|
+
*/
|
|
1353
|
+
collected_by?: Array<string>;
|
|
1354
|
+
}
|
|
1355
|
+
|
|
1356
|
+
export declare namespace Source {
|
|
1357
|
+
export type FormatEnum = 'urn:x-nmos:format:video' | 'urn:x-nmos:format:audio' | 'urn:x-nmos:format:data' | 'urn:x-nmos:format:multi';
|
|
1358
|
+
const FormatEnum: {
|
|
1359
|
+
Video: FormatEnum;
|
|
1360
|
+
Audio: FormatEnum;
|
|
1361
|
+
Data: FormatEnum;
|
|
1362
|
+
Multi: FormatEnum;
|
|
1363
|
+
};
|
|
1364
|
+
}
|
|
1365
|
+
|
|
1366
|
+
export { TimecodeUtil }
|
|
1367
|
+
|
|
1368
|
+
export { TimeRangeUtil }
|
|
1369
|
+
|
|
1370
|
+
/**
|
|
1371
|
+
* Time-addressable Media Store
|
|
1372
|
+
*
|
|
1373
|
+
* Contact: cloudfit-opensource@rd.bbc.co.uk
|
|
1374
|
+
*
|
|
1375
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
1376
|
+
* https://openapi-generator.tech
|
|
1377
|
+
* Do not edit the class manually.
|
|
1378
|
+
*/
|
|
1379
|
+
export declare interface UncompressedAudioParameters {
|
|
1380
|
+
/**
|
|
1381
|
+
* The uncompressed audio multi-channel representation type. If codec is `audio/x-raw-int` or `audio/x-raw-float`, unc_type must be set.
|
|
1382
|
+
*/
|
|
1383
|
+
unc_type: UncompressedAudioParameters.UncTypeEnum;
|
|
1384
|
+
}
|
|
1385
|
+
|
|
1386
|
+
export declare namespace UncompressedAudioParameters {
|
|
1387
|
+
export type UncTypeEnum = 'interleaved' | 'planar' | 'pairs';
|
|
1388
|
+
const UncTypeEnum: {
|
|
1389
|
+
Interleaved: UncTypeEnum;
|
|
1390
|
+
Planar: UncTypeEnum;
|
|
1391
|
+
Pairs: UncTypeEnum;
|
|
1392
|
+
};
|
|
1393
|
+
}
|
|
1394
|
+
|
|
1395
|
+
/**
|
|
1396
|
+
* Time-addressable Media Store
|
|
1397
|
+
*
|
|
1398
|
+
* Contact: cloudfit-opensource@rd.bbc.co.uk
|
|
1399
|
+
*
|
|
1400
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
1401
|
+
* https://openapi-generator.tech
|
|
1402
|
+
* Do not edit the class manually.
|
|
1403
|
+
*/
|
|
1404
|
+
export declare interface UncompressedVideoParameters {
|
|
1405
|
+
/**
|
|
1406
|
+
* Uncompressed picture packing type. If codec is `video/raw`, unc_type must be set.
|
|
1407
|
+
*/
|
|
1408
|
+
unc_type: UncompressedVideoParameters.UncTypeEnum;
|
|
1409
|
+
}
|
|
1410
|
+
|
|
1411
|
+
export declare namespace UncompressedVideoParameters {
|
|
1412
|
+
export type UncTypeEnum = 'planar' | 'YUYV' | 'UYVY' | 'AYUV' | 'v210' | 'v216' | 'RGB' | 'RGBx' | 'xRGB' | 'BGRx' | 'xBGR' | 'RGBA' | 'ARGB' | 'BGRA' | 'ABGR' | 'alpha';
|
|
1413
|
+
const UncTypeEnum: {
|
|
1414
|
+
Planar: UncTypeEnum;
|
|
1415
|
+
Yuyv: UncTypeEnum;
|
|
1416
|
+
Uyvy: UncTypeEnum;
|
|
1417
|
+
Ayuv: UncTypeEnum;
|
|
1418
|
+
V210: UncTypeEnum;
|
|
1419
|
+
V216: UncTypeEnum;
|
|
1420
|
+
Rgb: UncTypeEnum;
|
|
1421
|
+
Rgbx: UncTypeEnum;
|
|
1422
|
+
XRgb: UncTypeEnum;
|
|
1423
|
+
Bgrx: UncTypeEnum;
|
|
1424
|
+
XBgr: UncTypeEnum;
|
|
1425
|
+
Rgba: UncTypeEnum;
|
|
1426
|
+
Argb: UncTypeEnum;
|
|
1427
|
+
Bgra: UncTypeEnum;
|
|
1428
|
+
Abgr: UncTypeEnum;
|
|
1429
|
+
Alpha: UncTypeEnum;
|
|
1430
|
+
};
|
|
1431
|
+
}
|
|
1432
|
+
|
|
1433
|
+
/**
|
|
1434
|
+
* Time-addressable Media Store
|
|
1435
|
+
*
|
|
1436
|
+
* Contact: cloudfit-opensource@rd.bbc.co.uk
|
|
1437
|
+
*
|
|
1438
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
1439
|
+
* https://openapi-generator.tech
|
|
1440
|
+
* Do not edit the class manually.
|
|
1441
|
+
*/
|
|
1442
|
+
/**
|
|
1443
|
+
* Post update to the service info
|
|
1444
|
+
*/
|
|
1445
|
+
export declare interface UpdateServiceInfo {
|
|
1446
|
+
/**
|
|
1447
|
+
* The service instance name
|
|
1448
|
+
*/
|
|
1449
|
+
name?: string;
|
|
1450
|
+
/**
|
|
1451
|
+
* The service instance description
|
|
1452
|
+
*/
|
|
1453
|
+
description?: string;
|
|
1454
|
+
}
|
|
1455
|
+
|
|
1456
|
+
/**
|
|
1457
|
+
* Describes a video Flow
|
|
1458
|
+
*/
|
|
1459
|
+
export declare interface VideoFlow {
|
|
1460
|
+
/**
|
|
1461
|
+
* Flow identifier
|
|
1462
|
+
*/
|
|
1463
|
+
id: string;
|
|
1464
|
+
/**
|
|
1465
|
+
* Source identifier
|
|
1466
|
+
*/
|
|
1467
|
+
source_id: string;
|
|
1468
|
+
/**
|
|
1469
|
+
* Freeform string label for the flow
|
|
1470
|
+
*/
|
|
1471
|
+
label?: string;
|
|
1472
|
+
/**
|
|
1473
|
+
* Freeform text describing the flow
|
|
1474
|
+
*/
|
|
1475
|
+
description?: string;
|
|
1476
|
+
/**
|
|
1477
|
+
* A string identifier for the entity that created the flow. Implementations SHOULD set suitable default values for `created_by` based on the principal accessing the system, and MAY permit clients to edit the value, subject to suitable permissions-based limitations.
|
|
1478
|
+
*/
|
|
1479
|
+
created_by?: string;
|
|
1480
|
+
/**
|
|
1481
|
+
* A string identifier for the entity that updated the flow metadata most recently. Implementations SHOULD set suitable default values for `updated_by` based on the principal accessing the system, and MAY permit clients to edit the value, subject to suitable permissions-based limitations.
|
|
1482
|
+
*/
|
|
1483
|
+
updated_by?: string;
|
|
1484
|
+
/**
|
|
1485
|
+
* Key value is a freeform string.
|
|
1486
|
+
*/
|
|
1487
|
+
tags?: {
|
|
1488
|
+
[key: string]: string;
|
|
1489
|
+
};
|
|
1490
|
+
/**
|
|
1491
|
+
* A change to the flow metadata, not including metadata_version, last_update or segments, results in a new version. If the metadata_version for flow instances is identical then the metadata is identical.
|
|
1492
|
+
*/
|
|
1493
|
+
metadata_version?: string;
|
|
1494
|
+
/**
|
|
1495
|
+
* An indication of how many lossy encodings the flow content has been through. A flow with a higher generation may contain less of the original information than a flow with a lower generation.
|
|
1496
|
+
*/
|
|
1497
|
+
generation?: number;
|
|
1498
|
+
/**
|
|
1499
|
+
* The date-time the flow was created in a given context, e.g. in the store. Implementations SHOULD ignore this if given in a PUT request, and instead manage it internally
|
|
1500
|
+
*/
|
|
1501
|
+
created?: string;
|
|
1502
|
+
/**
|
|
1503
|
+
* The date-time the flow metadata was updated in a given context, e.g. in the store. Implementations SHOULD ignore this if given in a PUT request, and instead manage it internally
|
|
1504
|
+
*/
|
|
1505
|
+
metadata_updated?: string;
|
|
1506
|
+
/**
|
|
1507
|
+
* The date-time the flow segments were updated in a given context, e.g. in the store. Implementations SHOULD ignore this if given in a PUT request, and instead manage it internally
|
|
1508
|
+
*/
|
|
1509
|
+
segments_updated?: string;
|
|
1510
|
+
/**
|
|
1511
|
+
* If set to \'true\', implementations SHOULD reject client requests to update Flow metadata (other than the read_only property), Flow Segments and media objects
|
|
1512
|
+
*/
|
|
1513
|
+
read_only?: boolean;
|
|
1514
|
+
/**
|
|
1515
|
+
* A MIME type identification of the (lossy or lossless) coding used for the flow content.
|
|
1516
|
+
*/
|
|
1517
|
+
codec?: string;
|
|
1518
|
+
/**
|
|
1519
|
+
* The container MIME type for flow segments.
|
|
1520
|
+
*/
|
|
1521
|
+
container?: string;
|
|
1522
|
+
/**
|
|
1523
|
+
* The average bit rate of the flow segments in 1000 bits/second. A precise definition can be found in the [Setting Flow Bit Rate Properties](https://github.com/bbc/tams/blob/main/docs/appnotes/0013-setting-flow-bit-rate-properties.md) AppNote.
|
|
1524
|
+
*/
|
|
1525
|
+
avg_bit_rate?: number;
|
|
1526
|
+
/**
|
|
1527
|
+
* The maximum bit rate of the flow segments in 1000 bits/second. A precise definition can be found in the [Setting Flow Bit Rate Properties](https://github.com/bbc/tams/blob/main/docs/appnotes/0013-setting-flow-bit-rate-properties.md) AppNote.
|
|
1528
|
+
*/
|
|
1529
|
+
max_bit_rate?: number;
|
|
1530
|
+
segment_duration?: FlowCoreSegmentDuration;
|
|
1531
|
+
/**
|
|
1532
|
+
* The timerange of samples available in the flow, as described by the [TimeRange](../schemas/timerange#top) type
|
|
1533
|
+
*/
|
|
1534
|
+
timerange?: string;
|
|
1535
|
+
/**
|
|
1536
|
+
* List of Flows that are collected together by this Flow.
|
|
1537
|
+
*/
|
|
1538
|
+
flow_collection?: Array<CollectionItem>;
|
|
1539
|
+
/**
|
|
1540
|
+
* Flows that reference this Flow to include it in a collection. This attribute is intended to be read-only. Implementations SHOULD ignore this if given in a PUT request, and instead manage it internally
|
|
1541
|
+
*/
|
|
1542
|
+
collected_by?: Array<string>;
|
|
1543
|
+
container_mapping?: ContainerMapping1;
|
|
1544
|
+
/**
|
|
1545
|
+
* The primary content type URN for the flow.
|
|
1546
|
+
*/
|
|
1547
|
+
format: VideoFlow.FormatEnum;
|
|
1548
|
+
essence_parameters: VideoFlowEssenceParameters;
|
|
1549
|
+
}
|
|
1550
|
+
|
|
1551
|
+
export declare namespace VideoFlow {
|
|
1552
|
+
export type FormatEnum = 'urn:x-nmos:format:video';
|
|
1553
|
+
const FormatEnum: {
|
|
1554
|
+
UrnxNmosformatvideo: FormatEnum;
|
|
1555
|
+
};
|
|
1556
|
+
}
|
|
1557
|
+
|
|
1558
|
+
/**
|
|
1559
|
+
* Describes the parameters of the essence inside this video Flow
|
|
1560
|
+
*/
|
|
1561
|
+
export declare interface VideoFlowEssenceParameters {
|
|
1562
|
+
frame_rate?: VideoFlowEssenceParametersFrameRate;
|
|
1563
|
+
/**
|
|
1564
|
+
* The width of the picture in pixels.
|
|
1565
|
+
*/
|
|
1566
|
+
frame_width: number;
|
|
1567
|
+
/**
|
|
1568
|
+
* The height of the picture in pixels.
|
|
1569
|
+
*/
|
|
1570
|
+
frame_height: number;
|
|
1571
|
+
/**
|
|
1572
|
+
* The number of significant bits used to represent the video component sample. If codec is `video/raw`, bit_depth must be set.
|
|
1573
|
+
*/
|
|
1574
|
+
bit_depth?: number;
|
|
1575
|
+
/**
|
|
1576
|
+
* Interlaced video mode for frames in this Flow
|
|
1577
|
+
*/
|
|
1578
|
+
interlace_mode?: VideoFlowEssenceParameters.InterlaceModeEnum;
|
|
1579
|
+
/**
|
|
1580
|
+
* Colorspace used for the video
|
|
1581
|
+
*/
|
|
1582
|
+
colorspace?: VideoFlowEssenceParameters.ColorspaceEnum;
|
|
1583
|
+
/**
|
|
1584
|
+
* Transfer characteristic
|
|
1585
|
+
*/
|
|
1586
|
+
transfer_characteristic?: VideoFlowEssenceParameters.TransferCharacteristicEnum;
|
|
1587
|
+
aspect_ratio?: VideoFlowEssenceParametersAspectRatio;
|
|
1588
|
+
pixel_aspect_ratio?: VideoFlowEssenceParametersPixelAspectRatio;
|
|
1589
|
+
/**
|
|
1590
|
+
* Picture component representation.
|
|
1591
|
+
*/
|
|
1592
|
+
component_type?: VideoFlowEssenceParameters.ComponentTypeEnum;
|
|
1593
|
+
/**
|
|
1594
|
+
* Horizontal chroma component sub-sampling. When unc_type is set to a YUV type, horiz_chroma_subs must be set.
|
|
1595
|
+
*/
|
|
1596
|
+
horiz_chroma_subs?: number;
|
|
1597
|
+
/**
|
|
1598
|
+
* Vertical chroma component sub-sampling. When unc_type is set to a YUV type, vert_chroma_subs must be set.
|
|
1599
|
+
*/
|
|
1600
|
+
vert_chroma_subs?: number;
|
|
1601
|
+
unc_parameters?: UncompressedVideoParameters;
|
|
1602
|
+
avc_parameters?: AVCCodecParameters;
|
|
1603
|
+
}
|
|
1604
|
+
|
|
1605
|
+
export declare namespace VideoFlowEssenceParameters {
|
|
1606
|
+
export type InterlaceModeEnum = 'progressive' | 'interlaced_tff' | 'interlaced_bff' | 'interlaced_psf';
|
|
1607
|
+
const InterlaceModeEnum: {
|
|
1608
|
+
Progressive: InterlaceModeEnum;
|
|
1609
|
+
InterlacedTff: InterlaceModeEnum;
|
|
1610
|
+
InterlacedBff: InterlaceModeEnum;
|
|
1611
|
+
InterlacedPsf: InterlaceModeEnum;
|
|
1612
|
+
};
|
|
1613
|
+
export type ColorspaceEnum = 'BT601' | 'BT709' | 'BT2020' | 'BT2100';
|
|
1614
|
+
const ColorspaceEnum: {
|
|
1615
|
+
Bt601: ColorspaceEnum;
|
|
1616
|
+
Bt709: ColorspaceEnum;
|
|
1617
|
+
Bt2020: ColorspaceEnum;
|
|
1618
|
+
Bt2100: ColorspaceEnum;
|
|
1619
|
+
};
|
|
1620
|
+
export type TransferCharacteristicEnum = 'SDR' | 'HLG' | 'PQ';
|
|
1621
|
+
const TransferCharacteristicEnum: {
|
|
1622
|
+
Sdr: TransferCharacteristicEnum;
|
|
1623
|
+
Hlg: TransferCharacteristicEnum;
|
|
1624
|
+
Pq: TransferCharacteristicEnum;
|
|
1625
|
+
};
|
|
1626
|
+
export type ComponentTypeEnum = 'YCbCr' | 'RGB';
|
|
1627
|
+
const ComponentTypeEnum: {
|
|
1628
|
+
YcbCr: ComponentTypeEnum;
|
|
1629
|
+
Rgb: ComponentTypeEnum;
|
|
1630
|
+
};
|
|
1631
|
+
}
|
|
1632
|
+
|
|
1633
|
+
/**
|
|
1634
|
+
* Time-addressable Media Store
|
|
1635
|
+
*
|
|
1636
|
+
* Contact: cloudfit-opensource@rd.bbc.co.uk
|
|
1637
|
+
*
|
|
1638
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
1639
|
+
* https://openapi-generator.tech
|
|
1640
|
+
* Do not edit the class manually.
|
|
1641
|
+
*/
|
|
1642
|
+
/**
|
|
1643
|
+
* The display aspect ratio. i.e. display_width / display_height
|
|
1644
|
+
*/
|
|
1645
|
+
export declare interface VideoFlowEssenceParametersAspectRatio {
|
|
1646
|
+
/**
|
|
1647
|
+
* numerator
|
|
1648
|
+
*/
|
|
1649
|
+
numerator: number;
|
|
1650
|
+
/**
|
|
1651
|
+
* denominator
|
|
1652
|
+
*/
|
|
1653
|
+
denominator: number;
|
|
1654
|
+
}
|
|
1655
|
+
|
|
1656
|
+
/**
|
|
1657
|
+
* Time-addressable Media Store
|
|
1658
|
+
*
|
|
1659
|
+
* Contact: cloudfit-opensource@rd.bbc.co.uk
|
|
1660
|
+
*
|
|
1661
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
1662
|
+
* https://openapi-generator.tech
|
|
1663
|
+
* Do not edit the class manually.
|
|
1664
|
+
*/
|
|
1665
|
+
/**
|
|
1666
|
+
* The fixed number of frames per second. If this parameter is unset, the frame_rate is either unknown or variable.
|
|
1667
|
+
*/
|
|
1668
|
+
export declare interface VideoFlowEssenceParametersFrameRate {
|
|
1669
|
+
/**
|
|
1670
|
+
* numerator
|
|
1671
|
+
*/
|
|
1672
|
+
numerator: number;
|
|
1673
|
+
/**
|
|
1674
|
+
* denominator
|
|
1675
|
+
*/
|
|
1676
|
+
denominator?: number;
|
|
1677
|
+
}
|
|
1678
|
+
|
|
1679
|
+
/**
|
|
1680
|
+
* Time-addressable Media Store
|
|
1681
|
+
*
|
|
1682
|
+
* Contact: cloudfit-opensource@rd.bbc.co.uk
|
|
1683
|
+
*
|
|
1684
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
1685
|
+
* https://openapi-generator.tech
|
|
1686
|
+
* Do not edit the class manually.
|
|
1687
|
+
*/
|
|
1688
|
+
/**
|
|
1689
|
+
* The pixel aspect ratio. This is usually 1:1 (i.e. square pixels) for modern video. Some, usually older, video formats use non-square pixels e.g. some Standard Definition video. This is where that may be indicated.
|
|
1690
|
+
*/
|
|
1691
|
+
export declare interface VideoFlowEssenceParametersPixelAspectRatio {
|
|
1692
|
+
/**
|
|
1693
|
+
* numerator
|
|
1694
|
+
*/
|
|
1695
|
+
numerator: number;
|
|
1696
|
+
/**
|
|
1697
|
+
* denominator
|
|
1698
|
+
*/
|
|
1699
|
+
denominator: number;
|
|
1700
|
+
}
|
|
1701
|
+
|
|
1702
|
+
export { }
|