@norskvideo/norsk-api 1.0.343 → 1.0.345
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/lib/media_grpc_pb.d.ts +29 -13
- package/lib/media_grpc_pb.js +69 -35
- package/lib/media_pb.d.ts +249 -59
- package/lib/media_pb.js +278 -84
- package/lib/media_pb.js.map +1 -1
- package/lib/media_pb.ts +400 -97
- package/package.json +1 -1
package/lib/media_pb.ts
CHANGED
|
@@ -621,6 +621,32 @@ proto3.util.setEnumType(SrtMode, "norsk.api.media.SrtMode", [
|
|
|
621
621
|
{ no: 1, name: "Caller" },
|
|
622
622
|
]);
|
|
623
623
|
|
|
624
|
+
/**
|
|
625
|
+
* @generated from enum norsk.api.media.TestCardPattern
|
|
626
|
+
*/
|
|
627
|
+
export enum TestCardPattern {
|
|
628
|
+
/**
|
|
629
|
+
* @generated from enum value: Black = 0;
|
|
630
|
+
*/
|
|
631
|
+
Black = 0,
|
|
632
|
+
|
|
633
|
+
/**
|
|
634
|
+
* @generated from enum value: Smpte75 = 1;
|
|
635
|
+
*/
|
|
636
|
+
Smpte75 = 1,
|
|
637
|
+
|
|
638
|
+
/**
|
|
639
|
+
* @generated from enum value: Smpte100 = 2;
|
|
640
|
+
*/
|
|
641
|
+
Smpte100 = 2,
|
|
642
|
+
}
|
|
643
|
+
// Retrieve enum metadata with: proto3.getEnumType(TestCardPattern)
|
|
644
|
+
proto3.util.setEnumType(TestCardPattern, "norsk.api.media.TestCardPattern", [
|
|
645
|
+
{ no: 0, name: "Black" },
|
|
646
|
+
{ no: 1, name: "Smpte75" },
|
|
647
|
+
{ no: 2, name: "Smpte100" },
|
|
648
|
+
]);
|
|
649
|
+
|
|
624
650
|
/**
|
|
625
651
|
* ///////////////////////////////
|
|
626
652
|
* DeckLink Input
|
|
@@ -1982,6 +2008,51 @@ export class Resolution extends Message<Resolution> {
|
|
|
1982
2008
|
}
|
|
1983
2009
|
}
|
|
1984
2010
|
|
|
2011
|
+
/**
|
|
2012
|
+
* A time interval measured as ticks / (ticks per second)
|
|
2013
|
+
*
|
|
2014
|
+
* @generated from message norsk.api.media.Interval
|
|
2015
|
+
*/
|
|
2016
|
+
export class Interval extends Message<Interval> {
|
|
2017
|
+
/**
|
|
2018
|
+
* @generated from field: uint32 n = 1;
|
|
2019
|
+
*/
|
|
2020
|
+
n = 0;
|
|
2021
|
+
|
|
2022
|
+
/**
|
|
2023
|
+
* @generated from field: uint32 d = 2;
|
|
2024
|
+
*/
|
|
2025
|
+
d = 0;
|
|
2026
|
+
|
|
2027
|
+
constructor(data?: PartialMessage<Interval>) {
|
|
2028
|
+
super();
|
|
2029
|
+
proto3.util.initPartial(data, this);
|
|
2030
|
+
}
|
|
2031
|
+
|
|
2032
|
+
static readonly runtime = proto3;
|
|
2033
|
+
static readonly typeName = "norsk.api.media.Interval";
|
|
2034
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
2035
|
+
{ no: 1, name: "n", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
2036
|
+
{ no: 2, name: "d", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
2037
|
+
]);
|
|
2038
|
+
|
|
2039
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Interval {
|
|
2040
|
+
return new Interval().fromBinary(bytes, options);
|
|
2041
|
+
}
|
|
2042
|
+
|
|
2043
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Interval {
|
|
2044
|
+
return new Interval().fromJson(jsonValue, options);
|
|
2045
|
+
}
|
|
2046
|
+
|
|
2047
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Interval {
|
|
2048
|
+
return new Interval().fromJsonString(jsonString, options);
|
|
2049
|
+
}
|
|
2050
|
+
|
|
2051
|
+
static equals(a: Interval | PlainMessage<Interval> | undefined, b: Interval | PlainMessage<Interval> | undefined): boolean {
|
|
2052
|
+
return proto3.util.equals(Interval, a, b);
|
|
2053
|
+
}
|
|
2054
|
+
}
|
|
2055
|
+
|
|
1985
2056
|
/**
|
|
1986
2057
|
* ////////////////////////////////////////////////////////////////////////////
|
|
1987
2058
|
* Context
|
|
@@ -2647,6 +2718,13 @@ export class StreamMetadata_VideoMetadata extends Message<StreamMetadata_VideoMe
|
|
|
2647
2718
|
*/
|
|
2648
2719
|
bitrate = 0;
|
|
2649
2720
|
|
|
2721
|
+
/**
|
|
2722
|
+
* The framerate of this video
|
|
2723
|
+
*
|
|
2724
|
+
* @generated from field: norsk.api.media.FrameRate frame_rate = 6;
|
|
2725
|
+
*/
|
|
2726
|
+
frameRate?: FrameRate;
|
|
2727
|
+
|
|
2650
2728
|
constructor(data?: PartialMessage<StreamMetadata_VideoMetadata>) {
|
|
2651
2729
|
super();
|
|
2652
2730
|
proto3.util.initPartial(data, this);
|
|
@@ -2659,6 +2737,7 @@ export class StreamMetadata_VideoMetadata extends Message<StreamMetadata_VideoMe
|
|
|
2659
2737
|
{ no: 3, name: "width", kind: "scalar", T: 17 /* ScalarType.SINT32 */ },
|
|
2660
2738
|
{ no: 4, name: "height", kind: "scalar", T: 17 /* ScalarType.SINT32 */ },
|
|
2661
2739
|
{ no: 5, name: "bitrate", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
|
|
2740
|
+
{ no: 6, name: "frame_rate", kind: "message", T: FrameRate },
|
|
2662
2741
|
]);
|
|
2663
2742
|
|
|
2664
2743
|
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): StreamMetadata_VideoMetadata {
|
|
@@ -6068,15 +6147,30 @@ export class TestCardVideoConfiguration extends Message<TestCardVideoConfigurati
|
|
|
6068
6147
|
resolution?: Resolution;
|
|
6069
6148
|
|
|
6070
6149
|
/**
|
|
6071
|
-
* @generated from field:
|
|
6150
|
+
* @generated from field: norsk.api.media.FrameRate frame_rate = 2;
|
|
6151
|
+
*/
|
|
6152
|
+
frameRate?: FrameRate;
|
|
6153
|
+
|
|
6154
|
+
/**
|
|
6155
|
+
* @generated from field: string source_name = 3;
|
|
6072
6156
|
*/
|
|
6073
6157
|
sourceName = "";
|
|
6074
6158
|
|
|
6075
6159
|
/**
|
|
6076
|
-
* @generated from field: int32 number_of_frames =
|
|
6160
|
+
* @generated from field: int32 number_of_frames = 4;
|
|
6077
6161
|
*/
|
|
6078
6162
|
numberOfFrames = 0;
|
|
6079
6163
|
|
|
6164
|
+
/**
|
|
6165
|
+
* @generated from field: bool realtime = 5;
|
|
6166
|
+
*/
|
|
6167
|
+
realtime = false;
|
|
6168
|
+
|
|
6169
|
+
/**
|
|
6170
|
+
* @generated from field: norsk.api.media.TestCardPattern pattern = 6;
|
|
6171
|
+
*/
|
|
6172
|
+
pattern = TestCardPattern.Black;
|
|
6173
|
+
|
|
6080
6174
|
constructor(data?: PartialMessage<TestCardVideoConfiguration>) {
|
|
6081
6175
|
super();
|
|
6082
6176
|
proto3.util.initPartial(data, this);
|
|
@@ -6086,8 +6180,11 @@ export class TestCardVideoConfiguration extends Message<TestCardVideoConfigurati
|
|
|
6086
6180
|
static readonly typeName = "norsk.api.media.TestCardVideoConfiguration";
|
|
6087
6181
|
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
6088
6182
|
{ no: 1, name: "resolution", kind: "message", T: Resolution },
|
|
6089
|
-
{ no: 2, name: "
|
|
6090
|
-
{ no: 3, name: "
|
|
6183
|
+
{ no: 2, name: "frame_rate", kind: "message", T: FrameRate },
|
|
6184
|
+
{ no: 3, name: "source_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
6185
|
+
{ no: 4, name: "number_of_frames", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
|
|
6186
|
+
{ no: 5, name: "realtime", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
6187
|
+
{ no: 6, name: "pattern", kind: "enum", T: proto3.getEnumType(TestCardPattern) },
|
|
6091
6188
|
]);
|
|
6092
6189
|
|
|
6093
6190
|
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): TestCardVideoConfiguration {
|
|
@@ -6176,12 +6273,6 @@ export class VideoTestCardGeneratorEvent extends Message<VideoTestCardGeneratorE
|
|
|
6176
6273
|
*/
|
|
6177
6274
|
value: Context;
|
|
6178
6275
|
case: "outboundContext";
|
|
6179
|
-
} | {
|
|
6180
|
-
/**
|
|
6181
|
-
* @generated from field: norsk.api.media.SubscriptionResponse subscription_response = 3;
|
|
6182
|
-
*/
|
|
6183
|
-
value: SubscriptionResponse;
|
|
6184
|
-
case: "subscriptionResponse";
|
|
6185
6276
|
} | { case: undefined; value?: undefined } = { case: undefined };
|
|
6186
6277
|
|
|
6187
6278
|
constructor(data?: PartialMessage<VideoTestCardGeneratorEvent>) {
|
|
@@ -6194,7 +6285,6 @@ export class VideoTestCardGeneratorEvent extends Message<VideoTestCardGeneratorE
|
|
|
6194
6285
|
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
6195
6286
|
{ no: 1, name: "node_id", kind: "message", T: MediaNodeId, oneof: "message" },
|
|
6196
6287
|
{ no: 2, name: "outbound_context", kind: "message", T: Context, oneof: "message" },
|
|
6197
|
-
{ no: 3, name: "subscription_response", kind: "message", T: SubscriptionResponse, oneof: "message" },
|
|
6198
6288
|
]);
|
|
6199
6289
|
|
|
6200
6290
|
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): VideoTestCardGeneratorEvent {
|
|
@@ -16985,54 +17075,70 @@ export class StreamSyncEvent extends Message<StreamSyncEvent> {
|
|
|
16985
17075
|
}
|
|
16986
17076
|
|
|
16987
17077
|
/**
|
|
16988
|
-
* @generated from message norsk.api.media.
|
|
17078
|
+
* @generated from message norsk.api.media.StreamAlignConfiguration
|
|
16989
17079
|
*/
|
|
16990
|
-
export class
|
|
17080
|
+
export class StreamAlignConfiguration extends Message<StreamAlignConfiguration> {
|
|
16991
17081
|
/**
|
|
16992
17082
|
* @generated from field: norsk.api.media.MediaNodeId id = 1;
|
|
16993
17083
|
*/
|
|
16994
17084
|
id?: MediaNodeId;
|
|
16995
17085
|
|
|
16996
|
-
|
|
17086
|
+
/**
|
|
17087
|
+
* The normalisd sample rate of the audio output
|
|
17088
|
+
*
|
|
17089
|
+
* @generated from field: norsk.api.media.SampleRate sample_rate = 2;
|
|
17090
|
+
*/
|
|
17091
|
+
sampleRate = SampleRate.RATE_8000;
|
|
17092
|
+
|
|
17093
|
+
/**
|
|
17094
|
+
* The normalised frame rate of the video output
|
|
17095
|
+
*
|
|
17096
|
+
* @generated from field: norsk.api.media.FrameRate frame_rate = 3;
|
|
17097
|
+
*/
|
|
17098
|
+
frameRate?: FrameRate;
|
|
17099
|
+
|
|
17100
|
+
constructor(data?: PartialMessage<StreamAlignConfiguration>) {
|
|
16997
17101
|
super();
|
|
16998
17102
|
proto3.util.initPartial(data, this);
|
|
16999
17103
|
}
|
|
17000
17104
|
|
|
17001
17105
|
static readonly runtime = proto3;
|
|
17002
|
-
static readonly typeName = "norsk.api.media.
|
|
17106
|
+
static readonly typeName = "norsk.api.media.StreamAlignConfiguration";
|
|
17003
17107
|
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
17004
17108
|
{ no: 1, name: "id", kind: "message", T: MediaNodeId },
|
|
17109
|
+
{ no: 2, name: "sample_rate", kind: "enum", T: proto3.getEnumType(SampleRate) },
|
|
17110
|
+
{ no: 3, name: "frame_rate", kind: "message", T: FrameRate },
|
|
17005
17111
|
]);
|
|
17006
17112
|
|
|
17007
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>):
|
|
17008
|
-
return new
|
|
17113
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): StreamAlignConfiguration {
|
|
17114
|
+
return new StreamAlignConfiguration().fromBinary(bytes, options);
|
|
17009
17115
|
}
|
|
17010
17116
|
|
|
17011
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>):
|
|
17012
|
-
return new
|
|
17117
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): StreamAlignConfiguration {
|
|
17118
|
+
return new StreamAlignConfiguration().fromJson(jsonValue, options);
|
|
17013
17119
|
}
|
|
17014
17120
|
|
|
17015
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>):
|
|
17016
|
-
return new
|
|
17121
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): StreamAlignConfiguration {
|
|
17122
|
+
return new StreamAlignConfiguration().fromJsonString(jsonString, options);
|
|
17017
17123
|
}
|
|
17018
17124
|
|
|
17019
|
-
static equals(a:
|
|
17020
|
-
return proto3.util.equals(
|
|
17125
|
+
static equals(a: StreamAlignConfiguration | PlainMessage<StreamAlignConfiguration> | undefined, b: StreamAlignConfiguration | PlainMessage<StreamAlignConfiguration> | undefined): boolean {
|
|
17126
|
+
return proto3.util.equals(StreamAlignConfiguration, a, b);
|
|
17021
17127
|
}
|
|
17022
17128
|
}
|
|
17023
17129
|
|
|
17024
17130
|
/**
|
|
17025
|
-
* @generated from message norsk.api.media.
|
|
17131
|
+
* @generated from message norsk.api.media.StreamAlignMessage
|
|
17026
17132
|
*/
|
|
17027
|
-
export class
|
|
17133
|
+
export class StreamAlignMessage extends Message<StreamAlignMessage> {
|
|
17028
17134
|
/**
|
|
17029
|
-
* @generated from oneof norsk.api.media.
|
|
17135
|
+
* @generated from oneof norsk.api.media.StreamAlignMessage.message
|
|
17030
17136
|
*/
|
|
17031
17137
|
message: {
|
|
17032
17138
|
/**
|
|
17033
|
-
* @generated from field: norsk.api.media.
|
|
17139
|
+
* @generated from field: norsk.api.media.StreamAlignConfiguration initial_config = 1;
|
|
17034
17140
|
*/
|
|
17035
|
-
value:
|
|
17141
|
+
value: StreamAlignConfiguration;
|
|
17036
17142
|
case: "initialConfig";
|
|
17037
17143
|
} | {
|
|
17038
17144
|
/**
|
|
@@ -17042,41 +17148,41 @@ export class StreamProgramJoinMessage extends Message<StreamProgramJoinMessage>
|
|
|
17042
17148
|
case: "subscription";
|
|
17043
17149
|
} | { case: undefined; value?: undefined } = { case: undefined };
|
|
17044
17150
|
|
|
17045
|
-
constructor(data?: PartialMessage<
|
|
17151
|
+
constructor(data?: PartialMessage<StreamAlignMessage>) {
|
|
17046
17152
|
super();
|
|
17047
17153
|
proto3.util.initPartial(data, this);
|
|
17048
17154
|
}
|
|
17049
17155
|
|
|
17050
17156
|
static readonly runtime = proto3;
|
|
17051
|
-
static readonly typeName = "norsk.api.media.
|
|
17157
|
+
static readonly typeName = "norsk.api.media.StreamAlignMessage";
|
|
17052
17158
|
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
17053
|
-
{ no: 1, name: "initial_config", kind: "message", T:
|
|
17159
|
+
{ no: 1, name: "initial_config", kind: "message", T: StreamAlignConfiguration, oneof: "message" },
|
|
17054
17160
|
{ no: 2, name: "subscription", kind: "message", T: Subscription, oneof: "message" },
|
|
17055
17161
|
]);
|
|
17056
17162
|
|
|
17057
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>):
|
|
17058
|
-
return new
|
|
17163
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): StreamAlignMessage {
|
|
17164
|
+
return new StreamAlignMessage().fromBinary(bytes, options);
|
|
17059
17165
|
}
|
|
17060
17166
|
|
|
17061
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>):
|
|
17062
|
-
return new
|
|
17167
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): StreamAlignMessage {
|
|
17168
|
+
return new StreamAlignMessage().fromJson(jsonValue, options);
|
|
17063
17169
|
}
|
|
17064
17170
|
|
|
17065
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>):
|
|
17066
|
-
return new
|
|
17171
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): StreamAlignMessage {
|
|
17172
|
+
return new StreamAlignMessage().fromJsonString(jsonString, options);
|
|
17067
17173
|
}
|
|
17068
17174
|
|
|
17069
|
-
static equals(a:
|
|
17070
|
-
return proto3.util.equals(
|
|
17175
|
+
static equals(a: StreamAlignMessage | PlainMessage<StreamAlignMessage> | undefined, b: StreamAlignMessage | PlainMessage<StreamAlignMessage> | undefined): boolean {
|
|
17176
|
+
return proto3.util.equals(StreamAlignMessage, a, b);
|
|
17071
17177
|
}
|
|
17072
17178
|
}
|
|
17073
17179
|
|
|
17074
17180
|
/**
|
|
17075
|
-
* @generated from message norsk.api.media.
|
|
17181
|
+
* @generated from message norsk.api.media.StreamAlignEvent
|
|
17076
17182
|
*/
|
|
17077
|
-
export class
|
|
17183
|
+
export class StreamAlignEvent extends Message<StreamAlignEvent> {
|
|
17078
17184
|
/**
|
|
17079
|
-
* @generated from oneof norsk.api.media.
|
|
17185
|
+
* @generated from oneof norsk.api.media.StreamAlignEvent.message
|
|
17080
17186
|
*/
|
|
17081
17187
|
message: {
|
|
17082
17188
|
/**
|
|
@@ -17104,13 +17210,13 @@ export class StreamProgramJoinEvent extends Message<StreamProgramJoinEvent> {
|
|
|
17104
17210
|
case: "inboundContext";
|
|
17105
17211
|
} | { case: undefined; value?: undefined } = { case: undefined };
|
|
17106
17212
|
|
|
17107
|
-
constructor(data?: PartialMessage<
|
|
17213
|
+
constructor(data?: PartialMessage<StreamAlignEvent>) {
|
|
17108
17214
|
super();
|
|
17109
17215
|
proto3.util.initPartial(data, this);
|
|
17110
17216
|
}
|
|
17111
17217
|
|
|
17112
17218
|
static readonly runtime = proto3;
|
|
17113
|
-
static readonly typeName = "norsk.api.media.
|
|
17219
|
+
static readonly typeName = "norsk.api.media.StreamAlignEvent";
|
|
17114
17220
|
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
17115
17221
|
{ no: 1, name: "node_id", kind: "message", T: MediaNodeId, oneof: "message" },
|
|
17116
17222
|
{ no: 2, name: "outbound_context", kind: "message", T: Context, oneof: "message" },
|
|
@@ -17118,20 +17224,20 @@ export class StreamProgramJoinEvent extends Message<StreamProgramJoinEvent> {
|
|
|
17118
17224
|
{ no: 4, name: "inbound_context", kind: "message", T: Context, oneof: "message" },
|
|
17119
17225
|
]);
|
|
17120
17226
|
|
|
17121
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>):
|
|
17122
|
-
return new
|
|
17227
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): StreamAlignEvent {
|
|
17228
|
+
return new StreamAlignEvent().fromBinary(bytes, options);
|
|
17123
17229
|
}
|
|
17124
17230
|
|
|
17125
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>):
|
|
17126
|
-
return new
|
|
17231
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): StreamAlignEvent {
|
|
17232
|
+
return new StreamAlignEvent().fromJson(jsonValue, options);
|
|
17127
17233
|
}
|
|
17128
17234
|
|
|
17129
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>):
|
|
17130
|
-
return new
|
|
17235
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): StreamAlignEvent {
|
|
17236
|
+
return new StreamAlignEvent().fromJsonString(jsonString, options);
|
|
17131
17237
|
}
|
|
17132
17238
|
|
|
17133
|
-
static equals(a:
|
|
17134
|
-
return proto3.util.equals(
|
|
17239
|
+
static equals(a: StreamAlignEvent | PlainMessage<StreamAlignEvent> | undefined, b: StreamAlignEvent | PlainMessage<StreamAlignEvent> | undefined): boolean {
|
|
17240
|
+
return proto3.util.equals(StreamAlignEvent, a, b);
|
|
17135
17241
|
}
|
|
17136
17242
|
}
|
|
17137
17243
|
|
|
@@ -17491,6 +17597,8 @@ export class StreamSwitchSmoothConfiguration extends Message<StreamSwitchSmoothC
|
|
|
17491
17597
|
transitionDurationMs = 0;
|
|
17492
17598
|
|
|
17493
17599
|
/**
|
|
17600
|
+
* Resolution of the normalised output
|
|
17601
|
+
*
|
|
17494
17602
|
* @generated from field: norsk.api.media.Resolution output_resolution = 5;
|
|
17495
17603
|
*/
|
|
17496
17604
|
outputResolution?: Resolution;
|
|
@@ -17502,6 +17610,27 @@ export class StreamSwitchSmoothConfiguration extends Message<StreamSwitchSmoothC
|
|
|
17502
17610
|
*/
|
|
17503
17611
|
sampleRate = SampleRate.RATE_8000;
|
|
17504
17612
|
|
|
17613
|
+
/**
|
|
17614
|
+
* The frame rate of the output
|
|
17615
|
+
*
|
|
17616
|
+
* @generated from field: norsk.api.media.FrameRate frame_rate = 7;
|
|
17617
|
+
*/
|
|
17618
|
+
frameRate?: FrameRate;
|
|
17619
|
+
|
|
17620
|
+
/**
|
|
17621
|
+
* The channel layout of the output
|
|
17622
|
+
*
|
|
17623
|
+
* @generated from field: norsk.api.media.ChannelLayout channel_layout = 8;
|
|
17624
|
+
*/
|
|
17625
|
+
channelLayout?: ChannelLayout;
|
|
17626
|
+
|
|
17627
|
+
/**
|
|
17628
|
+
* Align all timestamps to minimise timestamp jitter on mixed streams
|
|
17629
|
+
*
|
|
17630
|
+
* @generated from field: norsk.api.media.StreamSwitchSmoothConfiguration.Alignment alignment = 9;
|
|
17631
|
+
*/
|
|
17632
|
+
alignment = StreamSwitchSmoothConfiguration_Alignment.ALIGNED;
|
|
17633
|
+
|
|
17505
17634
|
constructor(data?: PartialMessage<StreamSwitchSmoothConfiguration>) {
|
|
17506
17635
|
super();
|
|
17507
17636
|
proto3.util.initPartial(data, this);
|
|
@@ -17516,6 +17645,9 @@ export class StreamSwitchSmoothConfiguration extends Message<StreamSwitchSmoothC
|
|
|
17516
17645
|
{ no: 4, name: "transition_duration_ms", kind: "scalar", T: 2 /* ScalarType.FLOAT */ },
|
|
17517
17646
|
{ no: 5, name: "output_resolution", kind: "message", T: Resolution },
|
|
17518
17647
|
{ no: 6, name: "sample_rate", kind: "enum", T: proto3.getEnumType(SampleRate) },
|
|
17648
|
+
{ no: 7, name: "frame_rate", kind: "message", T: FrameRate },
|
|
17649
|
+
{ no: 8, name: "channel_layout", kind: "message", T: ChannelLayout },
|
|
17650
|
+
{ no: 9, name: "alignment", kind: "enum", T: proto3.getEnumType(StreamSwitchSmoothConfiguration_Alignment) },
|
|
17519
17651
|
]);
|
|
17520
17652
|
|
|
17521
17653
|
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): StreamSwitchSmoothConfiguration {
|
|
@@ -17535,6 +17667,28 @@ export class StreamSwitchSmoothConfiguration extends Message<StreamSwitchSmoothC
|
|
|
17535
17667
|
}
|
|
17536
17668
|
}
|
|
17537
17669
|
|
|
17670
|
+
/**
|
|
17671
|
+
* Whether to align all the incoming timestamps
|
|
17672
|
+
*
|
|
17673
|
+
* @generated from enum norsk.api.media.StreamSwitchSmoothConfiguration.Alignment
|
|
17674
|
+
*/
|
|
17675
|
+
export enum StreamSwitchSmoothConfiguration_Alignment {
|
|
17676
|
+
/**
|
|
17677
|
+
* @generated from enum value: ALIGNED = 0;
|
|
17678
|
+
*/
|
|
17679
|
+
ALIGNED = 0,
|
|
17680
|
+
|
|
17681
|
+
/**
|
|
17682
|
+
* @generated from enum value: NO_ALIGNMENT = 1;
|
|
17683
|
+
*/
|
|
17684
|
+
NO_ALIGNMENT = 1,
|
|
17685
|
+
}
|
|
17686
|
+
// Retrieve enum metadata with: proto3.getEnumType(StreamSwitchSmoothConfiguration_Alignment)
|
|
17687
|
+
proto3.util.setEnumType(StreamSwitchSmoothConfiguration_Alignment, "norsk.api.media.StreamSwitchSmoothConfiguration.Alignment", [
|
|
17688
|
+
{ no: 0, name: "ALIGNED" },
|
|
17689
|
+
{ no: 1, name: "NO_ALIGNMENT" },
|
|
17690
|
+
]);
|
|
17691
|
+
|
|
17538
17692
|
/**
|
|
17539
17693
|
* @generated from message norsk.api.media.StreamSwitchSmoothSwitch
|
|
17540
17694
|
*/
|
|
@@ -18280,51 +18434,6 @@ export class AudioMeasureLevelsMessage extends Message<AudioMeasureLevelsMessage
|
|
|
18280
18434
|
}
|
|
18281
18435
|
}
|
|
18282
18436
|
|
|
18283
|
-
/**
|
|
18284
|
-
* A time interval measured as ticks / (ticks per second)
|
|
18285
|
-
*
|
|
18286
|
-
* @generated from message norsk.api.media.Interval
|
|
18287
|
-
*/
|
|
18288
|
-
export class Interval extends Message<Interval> {
|
|
18289
|
-
/**
|
|
18290
|
-
* @generated from field: uint32 n = 1;
|
|
18291
|
-
*/
|
|
18292
|
-
n = 0;
|
|
18293
|
-
|
|
18294
|
-
/**
|
|
18295
|
-
* @generated from field: uint32 d = 2;
|
|
18296
|
-
*/
|
|
18297
|
-
d = 0;
|
|
18298
|
-
|
|
18299
|
-
constructor(data?: PartialMessage<Interval>) {
|
|
18300
|
-
super();
|
|
18301
|
-
proto3.util.initPartial(data, this);
|
|
18302
|
-
}
|
|
18303
|
-
|
|
18304
|
-
static readonly runtime = proto3;
|
|
18305
|
-
static readonly typeName = "norsk.api.media.Interval";
|
|
18306
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
18307
|
-
{ no: 1, name: "n", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
18308
|
-
{ no: 2, name: "d", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
18309
|
-
]);
|
|
18310
|
-
|
|
18311
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Interval {
|
|
18312
|
-
return new Interval().fromBinary(bytes, options);
|
|
18313
|
-
}
|
|
18314
|
-
|
|
18315
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Interval {
|
|
18316
|
-
return new Interval().fromJson(jsonValue, options);
|
|
18317
|
-
}
|
|
18318
|
-
|
|
18319
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Interval {
|
|
18320
|
-
return new Interval().fromJsonString(jsonString, options);
|
|
18321
|
-
}
|
|
18322
|
-
|
|
18323
|
-
static equals(a: Interval | PlainMessage<Interval> | undefined, b: Interval | PlainMessage<Interval> | undefined): boolean {
|
|
18324
|
-
return proto3.util.equals(Interval, a, b);
|
|
18325
|
-
}
|
|
18326
|
-
}
|
|
18327
|
-
|
|
18328
18437
|
/**
|
|
18329
18438
|
* @generated from message norsk.api.media.Db
|
|
18330
18439
|
*/
|
|
@@ -18533,6 +18642,200 @@ export class AudioMeasureLevelsEvent extends Message<AudioMeasureLevelsEvent> {
|
|
|
18533
18642
|
}
|
|
18534
18643
|
}
|
|
18535
18644
|
|
|
18645
|
+
/**
|
|
18646
|
+
* @generated from message norsk.api.media.StreamTimestampReportConfiguration
|
|
18647
|
+
*/
|
|
18648
|
+
export class StreamTimestampReportConfiguration extends Message<StreamTimestampReportConfiguration> {
|
|
18649
|
+
/**
|
|
18650
|
+
* @generated from field: norsk.api.media.MediaNodeId id = 1;
|
|
18651
|
+
*/
|
|
18652
|
+
id?: MediaNodeId;
|
|
18653
|
+
|
|
18654
|
+
constructor(data?: PartialMessage<StreamTimestampReportConfiguration>) {
|
|
18655
|
+
super();
|
|
18656
|
+
proto3.util.initPartial(data, this);
|
|
18657
|
+
}
|
|
18658
|
+
|
|
18659
|
+
static readonly runtime = proto3;
|
|
18660
|
+
static readonly typeName = "norsk.api.media.StreamTimestampReportConfiguration";
|
|
18661
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
18662
|
+
{ no: 1, name: "id", kind: "message", T: MediaNodeId },
|
|
18663
|
+
]);
|
|
18664
|
+
|
|
18665
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): StreamTimestampReportConfiguration {
|
|
18666
|
+
return new StreamTimestampReportConfiguration().fromBinary(bytes, options);
|
|
18667
|
+
}
|
|
18668
|
+
|
|
18669
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): StreamTimestampReportConfiguration {
|
|
18670
|
+
return new StreamTimestampReportConfiguration().fromJson(jsonValue, options);
|
|
18671
|
+
}
|
|
18672
|
+
|
|
18673
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): StreamTimestampReportConfiguration {
|
|
18674
|
+
return new StreamTimestampReportConfiguration().fromJsonString(jsonString, options);
|
|
18675
|
+
}
|
|
18676
|
+
|
|
18677
|
+
static equals(a: StreamTimestampReportConfiguration | PlainMessage<StreamTimestampReportConfiguration> | undefined, b: StreamTimestampReportConfiguration | PlainMessage<StreamTimestampReportConfiguration> | undefined): boolean {
|
|
18678
|
+
return proto3.util.equals(StreamTimestampReportConfiguration, a, b);
|
|
18679
|
+
}
|
|
18680
|
+
}
|
|
18681
|
+
|
|
18682
|
+
/**
|
|
18683
|
+
* @generated from message norsk.api.media.StreamTimestampReportMessage
|
|
18684
|
+
*/
|
|
18685
|
+
export class StreamTimestampReportMessage extends Message<StreamTimestampReportMessage> {
|
|
18686
|
+
/**
|
|
18687
|
+
* @generated from oneof norsk.api.media.StreamTimestampReportMessage.message
|
|
18688
|
+
*/
|
|
18689
|
+
message: {
|
|
18690
|
+
/**
|
|
18691
|
+
* @generated from field: norsk.api.media.Subscription subscription = 1;
|
|
18692
|
+
*/
|
|
18693
|
+
value: Subscription;
|
|
18694
|
+
case: "subscription";
|
|
18695
|
+
} | {
|
|
18696
|
+
/**
|
|
18697
|
+
* @generated from field: norsk.api.media.StreamTimestampReportConfiguration configuration = 2;
|
|
18698
|
+
*/
|
|
18699
|
+
value: StreamTimestampReportConfiguration;
|
|
18700
|
+
case: "configuration";
|
|
18701
|
+
} | { case: undefined; value?: undefined } = { case: undefined };
|
|
18702
|
+
|
|
18703
|
+
constructor(data?: PartialMessage<StreamTimestampReportMessage>) {
|
|
18704
|
+
super();
|
|
18705
|
+
proto3.util.initPartial(data, this);
|
|
18706
|
+
}
|
|
18707
|
+
|
|
18708
|
+
static readonly runtime = proto3;
|
|
18709
|
+
static readonly typeName = "norsk.api.media.StreamTimestampReportMessage";
|
|
18710
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
18711
|
+
{ no: 1, name: "subscription", kind: "message", T: Subscription, oneof: "message" },
|
|
18712
|
+
{ no: 2, name: "configuration", kind: "message", T: StreamTimestampReportConfiguration, oneof: "message" },
|
|
18713
|
+
]);
|
|
18714
|
+
|
|
18715
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): StreamTimestampReportMessage {
|
|
18716
|
+
return new StreamTimestampReportMessage().fromBinary(bytes, options);
|
|
18717
|
+
}
|
|
18718
|
+
|
|
18719
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): StreamTimestampReportMessage {
|
|
18720
|
+
return new StreamTimestampReportMessage().fromJson(jsonValue, options);
|
|
18721
|
+
}
|
|
18722
|
+
|
|
18723
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): StreamTimestampReportMessage {
|
|
18724
|
+
return new StreamTimestampReportMessage().fromJsonString(jsonString, options);
|
|
18725
|
+
}
|
|
18726
|
+
|
|
18727
|
+
static equals(a: StreamTimestampReportMessage | PlainMessage<StreamTimestampReportMessage> | undefined, b: StreamTimestampReportMessage | PlainMessage<StreamTimestampReportMessage> | undefined): boolean {
|
|
18728
|
+
return proto3.util.equals(StreamTimestampReportMessage, a, b);
|
|
18729
|
+
}
|
|
18730
|
+
}
|
|
18731
|
+
|
|
18732
|
+
/**
|
|
18733
|
+
* @generated from message norsk.api.media.StreamTimestampReport
|
|
18734
|
+
*/
|
|
18735
|
+
export class StreamTimestampReport extends Message<StreamTimestampReport> {
|
|
18736
|
+
/**
|
|
18737
|
+
* @generated from field: norsk.api.media.StreamKey stream = 1;
|
|
18738
|
+
*/
|
|
18739
|
+
stream?: StreamKey;
|
|
18740
|
+
|
|
18741
|
+
/**
|
|
18742
|
+
* @generated from field: norsk.api.media.Interval pts = 2;
|
|
18743
|
+
*/
|
|
18744
|
+
pts?: Interval;
|
|
18745
|
+
|
|
18746
|
+
constructor(data?: PartialMessage<StreamTimestampReport>) {
|
|
18747
|
+
super();
|
|
18748
|
+
proto3.util.initPartial(data, this);
|
|
18749
|
+
}
|
|
18750
|
+
|
|
18751
|
+
static readonly runtime = proto3;
|
|
18752
|
+
static readonly typeName = "norsk.api.media.StreamTimestampReport";
|
|
18753
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
18754
|
+
{ no: 1, name: "stream", kind: "message", T: StreamKey },
|
|
18755
|
+
{ no: 2, name: "pts", kind: "message", T: Interval },
|
|
18756
|
+
]);
|
|
18757
|
+
|
|
18758
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): StreamTimestampReport {
|
|
18759
|
+
return new StreamTimestampReport().fromBinary(bytes, options);
|
|
18760
|
+
}
|
|
18761
|
+
|
|
18762
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): StreamTimestampReport {
|
|
18763
|
+
return new StreamTimestampReport().fromJson(jsonValue, options);
|
|
18764
|
+
}
|
|
18765
|
+
|
|
18766
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): StreamTimestampReport {
|
|
18767
|
+
return new StreamTimestampReport().fromJsonString(jsonString, options);
|
|
18768
|
+
}
|
|
18769
|
+
|
|
18770
|
+
static equals(a: StreamTimestampReport | PlainMessage<StreamTimestampReport> | undefined, b: StreamTimestampReport | PlainMessage<StreamTimestampReport> | undefined): boolean {
|
|
18771
|
+
return proto3.util.equals(StreamTimestampReport, a, b);
|
|
18772
|
+
}
|
|
18773
|
+
}
|
|
18774
|
+
|
|
18775
|
+
/**
|
|
18776
|
+
* @generated from message norsk.api.media.StreamTimestampReportEvent
|
|
18777
|
+
*/
|
|
18778
|
+
export class StreamTimestampReportEvent extends Message<StreamTimestampReportEvent> {
|
|
18779
|
+
/**
|
|
18780
|
+
* @generated from oneof norsk.api.media.StreamTimestampReportEvent.message
|
|
18781
|
+
*/
|
|
18782
|
+
message: {
|
|
18783
|
+
/**
|
|
18784
|
+
* @generated from field: norsk.api.media.MediaNodeId node_id = 1;
|
|
18785
|
+
*/
|
|
18786
|
+
value: MediaNodeId;
|
|
18787
|
+
case: "nodeId";
|
|
18788
|
+
} | {
|
|
18789
|
+
/**
|
|
18790
|
+
* @generated from field: norsk.api.media.StreamTimestampReport report = 2;
|
|
18791
|
+
*/
|
|
18792
|
+
value: StreamTimestampReport;
|
|
18793
|
+
case: "report";
|
|
18794
|
+
} | {
|
|
18795
|
+
/**
|
|
18796
|
+
* @generated from field: norsk.api.media.SubscriptionResponse subscription_response = 3;
|
|
18797
|
+
*/
|
|
18798
|
+
value: SubscriptionResponse;
|
|
18799
|
+
case: "subscriptionResponse";
|
|
18800
|
+
} | {
|
|
18801
|
+
/**
|
|
18802
|
+
* @generated from field: norsk.api.media.Context inbound_context = 4;
|
|
18803
|
+
*/
|
|
18804
|
+
value: Context;
|
|
18805
|
+
case: "inboundContext";
|
|
18806
|
+
} | { case: undefined; value?: undefined } = { case: undefined };
|
|
18807
|
+
|
|
18808
|
+
constructor(data?: PartialMessage<StreamTimestampReportEvent>) {
|
|
18809
|
+
super();
|
|
18810
|
+
proto3.util.initPartial(data, this);
|
|
18811
|
+
}
|
|
18812
|
+
|
|
18813
|
+
static readonly runtime = proto3;
|
|
18814
|
+
static readonly typeName = "norsk.api.media.StreamTimestampReportEvent";
|
|
18815
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
18816
|
+
{ no: 1, name: "node_id", kind: "message", T: MediaNodeId, oneof: "message" },
|
|
18817
|
+
{ no: 2, name: "report", kind: "message", T: StreamTimestampReport, oneof: "message" },
|
|
18818
|
+
{ no: 3, name: "subscription_response", kind: "message", T: SubscriptionResponse, oneof: "message" },
|
|
18819
|
+
{ no: 4, name: "inbound_context", kind: "message", T: Context, oneof: "message" },
|
|
18820
|
+
]);
|
|
18821
|
+
|
|
18822
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): StreamTimestampReportEvent {
|
|
18823
|
+
return new StreamTimestampReportEvent().fromBinary(bytes, options);
|
|
18824
|
+
}
|
|
18825
|
+
|
|
18826
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): StreamTimestampReportEvent {
|
|
18827
|
+
return new StreamTimestampReportEvent().fromJson(jsonValue, options);
|
|
18828
|
+
}
|
|
18829
|
+
|
|
18830
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): StreamTimestampReportEvent {
|
|
18831
|
+
return new StreamTimestampReportEvent().fromJsonString(jsonString, options);
|
|
18832
|
+
}
|
|
18833
|
+
|
|
18834
|
+
static equals(a: StreamTimestampReportEvent | PlainMessage<StreamTimestampReportEvent> | undefined, b: StreamTimestampReportEvent | PlainMessage<StreamTimestampReportEvent> | undefined): boolean {
|
|
18835
|
+
return proto3.util.equals(StreamTimestampReportEvent, a, b);
|
|
18836
|
+
}
|
|
18837
|
+
}
|
|
18838
|
+
|
|
18536
18839
|
/**
|
|
18537
18840
|
* ///////////////////////////////
|
|
18538
18841
|
* RTP Input
|