@stinkycomputing/sesame-api-client 1.4.1-beta.9 → 1.4.2-alpha.1

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.
@@ -1929,15 +1929,20 @@ export namespace sesame {
1929
1929
  VIDEO_FORMAT_1080_60P = 4
1930
1930
  }
1931
1931
 
1932
- /** CodecId enum. */
1933
- enum CodecId {
1934
- CODEC_ID_UNSPECIFIED = 0,
1935
- CODEC_ID_H264 = 1,
1936
- CODEC_ID_HEVC = 2,
1937
- CODEC_ID_AV1 = 3,
1938
- CODEC_ID_VP8 = 4,
1939
- CODEC_ID_PRORES = 5,
1940
- CODEC_ID_DNXHR = 6
1932
+ /** CodecType enum. */
1933
+ enum CodecType {
1934
+ CODEC_TYPE_UNSPECIFIED = 0,
1935
+ CODEC_TYPE_VIDEO_VP8 = 1,
1936
+ CODEC_TYPE_VIDEO_VP9 = 2,
1937
+ CODEC_TYPE_VIDEO_AVC = 3,
1938
+ CODEC_TYPE_VIDEO_HEVC = 4,
1939
+ CODEC_TYPE_VIDEO_AV1 = 5,
1940
+ CODEC_TYPE_VIDEO_PRORES = 6,
1941
+ CODEC_TYPE_VIDEO_DNXHR = 7,
1942
+ CODEC_TYPE_AUDIO_OPUS = 64,
1943
+ CODEC_TYPE_AUDIO_AAC = 65,
1944
+ CODEC_TYPE_AUDIO_PCM = 66,
1945
+ CODEC_TYPE_AUDIO_PCM_S24LE = 67
1941
1946
  }
1942
1947
 
1943
1948
  /** Properties of an Empty. */
@@ -2162,7 +2167,7 @@ export namespace sesame {
2162
2167
  boolValue?: (boolean|null);
2163
2168
 
2164
2169
  /** PropValue intValue */
2165
- intValue?: (number|null);
2170
+ intValue?: (number|Long|null);
2166
2171
  }
2167
2172
 
2168
2173
  /** Represents a PropValue. */
@@ -2187,7 +2192,7 @@ export namespace sesame {
2187
2192
  public boolValue?: (boolean|null);
2188
2193
 
2189
2194
  /** PropValue intValue. */
2190
- public intValue?: (number|null);
2195
+ public intValue?: (number|Long|null);
2191
2196
 
2192
2197
  /** PropValue value. */
2193
2198
  public value?: ("floatValue"|"vec4Value"|"stringValue"|"boolValue"|"intValue");
@@ -2691,6 +2696,14 @@ export namespace sesame {
2691
2696
  public static getTypeUrl(typeUrlPrefix?: string): string;
2692
2697
  }
2693
2698
 
2699
+ /** DataTrackType enum. */
2700
+ enum DataTrackType {
2701
+ DATA_TRACK_TYPE_UNSPECIFIED = 0,
2702
+ DATA_TRACK_TYPE_JSON = 1,
2703
+ DATA_TRACK_TYPE_SERVER_STATE_TRANSPORT = 2,
2704
+ DATA_TRACK_TYPE_SERVER_STATE_AUDIO = 3
2705
+ }
2706
+
2694
2707
  /** EventTopic enum. */
2695
2708
  enum EventTopic {
2696
2709
  EVENT_TOPIC_UNSPECIFIED = 0,
@@ -2698,6 +2711,7 @@ export namespace sesame {
2698
2711
  EVENT_TOPIC_TRANSPORT = 2,
2699
2712
  EVENT_TOPIC_CALLBACK = 3,
2700
2713
  EVENT_TOPIC_JOB = 4,
2714
+ EVENT_TOPIC_DATA_TRACK = 5,
2701
2715
  EVENT_TOPIC_RECORDER = 6
2702
2716
  }
2703
2717
  }
@@ -2757,14 +2771,6 @@ export namespace sesame {
2757
2771
  SOURCE_TRANSPORT_CMD_SET_SCRUBBING = 15
2758
2772
  }
2759
2773
 
2760
- /** DecoderType enum. */
2761
- enum DecoderType {
2762
- DECODER_TYPE_UNSPECIFIED = 0,
2763
- DECODER_TYPE_H264 = 1,
2764
- DECODER_TYPE_HEVC = 2,
2765
- DECODER_TYPE_AV1 = 3
2766
- }
2767
-
2768
2774
  /** SourceTextureSize enum. */
2769
2775
  enum SourceTextureSize {
2770
2776
  SOURCE_TEXTURE_SIZE_UNSPECIFIED = 0,
@@ -3246,8 +3252,8 @@ export namespace sesame {
3246
3252
  /** RecorderSourceConfig recorderId */
3247
3253
  recorderId?: (string|null);
3248
3254
 
3249
- /** RecorderSourceConfig decoderType */
3250
- decoderType?: (sesame.v1.sources.DecoderType|null);
3255
+ /** RecorderSourceConfig codec */
3256
+ codec?: (sesame.v1.common.CodecType|null);
3251
3257
  }
3252
3258
 
3253
3259
  /** Represents a RecorderSourceConfig. */
@@ -3262,8 +3268,8 @@ export namespace sesame {
3262
3268
  /** RecorderSourceConfig recorderId. */
3263
3269
  public recorderId: string;
3264
3270
 
3265
- /** RecorderSourceConfig decoderType. */
3266
- public decoderType: sesame.v1.sources.DecoderType;
3271
+ /** RecorderSourceConfig codec. */
3272
+ public codec: sesame.v1.common.CodecType;
3267
3273
 
3268
3274
  /**
3269
3275
  * Creates a new RecorderSourceConfig instance using the specified properties.
@@ -3961,6 +3967,109 @@ export namespace sesame {
3961
3967
  public static getTypeUrl(typeUrlPrefix?: string): string;
3962
3968
  }
3963
3969
 
3970
+ /** Properties of a SourceDataTrack. */
3971
+ interface ISourceDataTrack {
3972
+
3973
+ /** SourceDataTrack type */
3974
+ type?: (sesame.v1.common.DataTrackType|null);
3975
+
3976
+ /** SourceDataTrack name */
3977
+ name?: (string|null);
3978
+ }
3979
+
3980
+ /** Represents a SourceDataTrack. */
3981
+ class SourceDataTrack implements ISourceDataTrack {
3982
+
3983
+ /**
3984
+ * Constructs a new SourceDataTrack.
3985
+ * @param [properties] Properties to set
3986
+ */
3987
+ constructor(properties?: sesame.v1.sources.ISourceDataTrack);
3988
+
3989
+ /** SourceDataTrack type. */
3990
+ public type: sesame.v1.common.DataTrackType;
3991
+
3992
+ /** SourceDataTrack name. */
3993
+ public name: string;
3994
+
3995
+ /**
3996
+ * Creates a new SourceDataTrack instance using the specified properties.
3997
+ * @param [properties] Properties to set
3998
+ * @returns SourceDataTrack instance
3999
+ */
4000
+ public static create(properties?: sesame.v1.sources.ISourceDataTrack): sesame.v1.sources.SourceDataTrack;
4001
+
4002
+ /**
4003
+ * Encodes the specified SourceDataTrack message. Does not implicitly {@link sesame.v1.sources.SourceDataTrack.verify|verify} messages.
4004
+ * @param message SourceDataTrack message or plain object to encode
4005
+ * @param [writer] Writer to encode to
4006
+ * @returns Writer
4007
+ */
4008
+ public static encode(message: sesame.v1.sources.ISourceDataTrack, writer?: $protobuf.Writer): $protobuf.Writer;
4009
+
4010
+ /**
4011
+ * Encodes the specified SourceDataTrack message, length delimited. Does not implicitly {@link sesame.v1.sources.SourceDataTrack.verify|verify} messages.
4012
+ * @param message SourceDataTrack message or plain object to encode
4013
+ * @param [writer] Writer to encode to
4014
+ * @returns Writer
4015
+ */
4016
+ public static encodeDelimited(message: sesame.v1.sources.ISourceDataTrack, writer?: $protobuf.Writer): $protobuf.Writer;
4017
+
4018
+ /**
4019
+ * Decodes a SourceDataTrack message from the specified reader or buffer.
4020
+ * @param reader Reader or buffer to decode from
4021
+ * @param [length] Message length if known beforehand
4022
+ * @returns SourceDataTrack
4023
+ * @throws {Error} If the payload is not a reader or valid buffer
4024
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
4025
+ */
4026
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): sesame.v1.sources.SourceDataTrack;
4027
+
4028
+ /**
4029
+ * Decodes a SourceDataTrack message from the specified reader or buffer, length delimited.
4030
+ * @param reader Reader or buffer to decode from
4031
+ * @returns SourceDataTrack
4032
+ * @throws {Error} If the payload is not a reader or valid buffer
4033
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
4034
+ */
4035
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): sesame.v1.sources.SourceDataTrack;
4036
+
4037
+ /**
4038
+ * Verifies a SourceDataTrack message.
4039
+ * @param message Plain object to verify
4040
+ * @returns `null` if valid, otherwise the reason why it is not
4041
+ */
4042
+ public static verify(message: { [k: string]: any }): (string|null);
4043
+
4044
+ /**
4045
+ * Creates a SourceDataTrack message from a plain object. Also converts values to their respective internal types.
4046
+ * @param object Plain object
4047
+ * @returns SourceDataTrack
4048
+ */
4049
+ public static fromObject(object: { [k: string]: any }): sesame.v1.sources.SourceDataTrack;
4050
+
4051
+ /**
4052
+ * Creates a plain object from a SourceDataTrack message. Also converts values to other types if specified.
4053
+ * @param message SourceDataTrack
4054
+ * @param [options] Conversion options
4055
+ * @returns Plain object
4056
+ */
4057
+ public static toObject(message: sesame.v1.sources.SourceDataTrack, options?: $protobuf.IConversionOptions): { [k: string]: any };
4058
+
4059
+ /**
4060
+ * Converts this SourceDataTrack to JSON.
4061
+ * @returns JSON object
4062
+ */
4063
+ public toJSON(): { [k: string]: any };
4064
+
4065
+ /**
4066
+ * Gets the default type url for SourceDataTrack
4067
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
4068
+ * @returns The default type url
4069
+ */
4070
+ public static getTypeUrl(typeUrlPrefix?: string): string;
4071
+ }
4072
+
3964
4073
  /** Properties of a WebsocketSourceConfig. */
3965
4074
  interface IWebsocketSourceConfig {
3966
4075
 
@@ -3969,6 +4078,9 @@ export namespace sesame {
3969
4078
 
3970
4079
  /** WebsocketSourceConfig decodeBufferFrames */
3971
4080
  decodeBufferFrames?: (number|null);
4081
+
4082
+ /** WebsocketSourceConfig dataTracks */
4083
+ dataTracks?: (sesame.v1.sources.ISourceDataTrack[]|null);
3972
4084
  }
3973
4085
 
3974
4086
  /** Represents a WebsocketSourceConfig. */
@@ -3986,6 +4098,9 @@ export namespace sesame {
3986
4098
  /** WebsocketSourceConfig decodeBufferFrames. */
3987
4099
  public decodeBufferFrames: number;
3988
4100
 
4101
+ /** WebsocketSourceConfig dataTracks. */
4102
+ public dataTracks: sesame.v1.sources.ISourceDataTrack[];
4103
+
3989
4104
  /**
3990
4105
  * Creates a new WebsocketSourceConfig instance using the specified properties.
3991
4106
  * @param [properties] Properties to set
@@ -4078,6 +4193,9 @@ export namespace sesame {
4078
4193
 
4079
4194
  /** MoqSourceConfig decodeBufferFrames */
4080
4195
  decodeBufferFrames?: (number|null);
4196
+
4197
+ /** MoqSourceConfig dataTracks */
4198
+ dataTracks?: (sesame.v1.sources.ISourceDataTrack[]|null);
4081
4199
  }
4082
4200
 
4083
4201
  /** Represents a MoqSourceConfig. */
@@ -4101,6 +4219,9 @@ export namespace sesame {
4101
4219
  /** MoqSourceConfig decodeBufferFrames. */
4102
4220
  public decodeBufferFrames: number;
4103
4221
 
4222
+ /** MoqSourceConfig dataTracks. */
4223
+ public dataTracks: sesame.v1.sources.ISourceDataTrack[];
4224
+
4104
4225
  /**
4105
4226
  * Creates a new MoqSourceConfig instance using the specified properties.
4106
4227
  * @param [properties] Properties to set
@@ -8933,6 +9054,266 @@ export namespace sesame {
8933
9054
  public static getTypeUrl(typeUrlPrefix?: string): string;
8934
9055
  }
8935
9056
 
9057
+ /** Properties of an AudioStateEvent. */
9058
+ interface IAudioStateEvent {
9059
+
9060
+ /** AudioStateEvent audioMixes */
9061
+ audioMixes?: (sesame.v1.audio.IAudioMixerStatus[]|null);
9062
+
9063
+ /** AudioStateEvent sources */
9064
+ sources?: (sesame.v1.sources.ISourceStatus[]|null);
9065
+
9066
+ /** AudioStateEvent outputs */
9067
+ outputs?: (sesame.v1.outputs.IOutputStatus[]|null);
9068
+
9069
+ /** AudioStateEvent frame */
9070
+ frame?: (number|Long|null);
9071
+
9072
+ /** AudioStateEvent timeUs */
9073
+ timeUs?: (number|Long|null);
9074
+ }
9075
+
9076
+ /** Represents an AudioStateEvent. */
9077
+ class AudioStateEvent implements IAudioStateEvent {
9078
+
9079
+ /**
9080
+ * Constructs a new AudioStateEvent.
9081
+ * @param [properties] Properties to set
9082
+ */
9083
+ constructor(properties?: sesame.v1.status.IAudioStateEvent);
9084
+
9085
+ /** AudioStateEvent audioMixes. */
9086
+ public audioMixes: sesame.v1.audio.IAudioMixerStatus[];
9087
+
9088
+ /** AudioStateEvent sources. */
9089
+ public sources: sesame.v1.sources.ISourceStatus[];
9090
+
9091
+ /** AudioStateEvent outputs. */
9092
+ public outputs: sesame.v1.outputs.IOutputStatus[];
9093
+
9094
+ /** AudioStateEvent frame. */
9095
+ public frame: (number|Long);
9096
+
9097
+ /** AudioStateEvent timeUs. */
9098
+ public timeUs: (number|Long);
9099
+
9100
+ /**
9101
+ * Creates a new AudioStateEvent instance using the specified properties.
9102
+ * @param [properties] Properties to set
9103
+ * @returns AudioStateEvent instance
9104
+ */
9105
+ public static create(properties?: sesame.v1.status.IAudioStateEvent): sesame.v1.status.AudioStateEvent;
9106
+
9107
+ /**
9108
+ * Encodes the specified AudioStateEvent message. Does not implicitly {@link sesame.v1.status.AudioStateEvent.verify|verify} messages.
9109
+ * @param message AudioStateEvent message or plain object to encode
9110
+ * @param [writer] Writer to encode to
9111
+ * @returns Writer
9112
+ */
9113
+ public static encode(message: sesame.v1.status.IAudioStateEvent, writer?: $protobuf.Writer): $protobuf.Writer;
9114
+
9115
+ /**
9116
+ * Encodes the specified AudioStateEvent message, length delimited. Does not implicitly {@link sesame.v1.status.AudioStateEvent.verify|verify} messages.
9117
+ * @param message AudioStateEvent message or plain object to encode
9118
+ * @param [writer] Writer to encode to
9119
+ * @returns Writer
9120
+ */
9121
+ public static encodeDelimited(message: sesame.v1.status.IAudioStateEvent, writer?: $protobuf.Writer): $protobuf.Writer;
9122
+
9123
+ /**
9124
+ * Decodes an AudioStateEvent message from the specified reader or buffer.
9125
+ * @param reader Reader or buffer to decode from
9126
+ * @param [length] Message length if known beforehand
9127
+ * @returns AudioStateEvent
9128
+ * @throws {Error} If the payload is not a reader or valid buffer
9129
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
9130
+ */
9131
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): sesame.v1.status.AudioStateEvent;
9132
+
9133
+ /**
9134
+ * Decodes an AudioStateEvent message from the specified reader or buffer, length delimited.
9135
+ * @param reader Reader or buffer to decode from
9136
+ * @returns AudioStateEvent
9137
+ * @throws {Error} If the payload is not a reader or valid buffer
9138
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
9139
+ */
9140
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): sesame.v1.status.AudioStateEvent;
9141
+
9142
+ /**
9143
+ * Verifies an AudioStateEvent message.
9144
+ * @param message Plain object to verify
9145
+ * @returns `null` if valid, otherwise the reason why it is not
9146
+ */
9147
+ public static verify(message: { [k: string]: any }): (string|null);
9148
+
9149
+ /**
9150
+ * Creates an AudioStateEvent message from a plain object. Also converts values to their respective internal types.
9151
+ * @param object Plain object
9152
+ * @returns AudioStateEvent
9153
+ */
9154
+ public static fromObject(object: { [k: string]: any }): sesame.v1.status.AudioStateEvent;
9155
+
9156
+ /**
9157
+ * Creates a plain object from an AudioStateEvent message. Also converts values to other types if specified.
9158
+ * @param message AudioStateEvent
9159
+ * @param [options] Conversion options
9160
+ * @returns Plain object
9161
+ */
9162
+ public static toObject(message: sesame.v1.status.AudioStateEvent, options?: $protobuf.IConversionOptions): { [k: string]: any };
9163
+
9164
+ /**
9165
+ * Converts this AudioStateEvent to JSON.
9166
+ * @returns JSON object
9167
+ */
9168
+ public toJSON(): { [k: string]: any };
9169
+
9170
+ /**
9171
+ * Gets the default type url for AudioStateEvent
9172
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
9173
+ * @returns The default type url
9174
+ */
9175
+ public static getTypeUrl(typeUrlPrefix?: string): string;
9176
+ }
9177
+
9178
+ /** Properties of a DataTrackEvent. */
9179
+ interface IDataTrackEvent {
9180
+
9181
+ /** DataTrackEvent sourceId */
9182
+ sourceId?: (string|null);
9183
+
9184
+ /** DataTrackEvent trackName */
9185
+ trackName?: (string|null);
9186
+
9187
+ /** DataTrackEvent trackType */
9188
+ trackType?: (sesame.v1.common.DataTrackType|null);
9189
+
9190
+ /** DataTrackEvent payload */
9191
+ payload?: (Uint8Array|null);
9192
+
9193
+ /** DataTrackEvent producerId */
9194
+ producerId?: (string|null);
9195
+
9196
+ /** DataTrackEvent sessionId */
9197
+ sessionId?: (string|null);
9198
+
9199
+ /** DataTrackEvent sequence */
9200
+ sequence?: (number|Long|null);
9201
+
9202
+ /** DataTrackEvent correlationId */
9203
+ correlationId?: (string|null);
9204
+ }
9205
+
9206
+ /** Represents a DataTrackEvent. */
9207
+ class DataTrackEvent implements IDataTrackEvent {
9208
+
9209
+ /**
9210
+ * Constructs a new DataTrackEvent.
9211
+ * @param [properties] Properties to set
9212
+ */
9213
+ constructor(properties?: sesame.v1.status.IDataTrackEvent);
9214
+
9215
+ /** DataTrackEvent sourceId. */
9216
+ public sourceId: string;
9217
+
9218
+ /** DataTrackEvent trackName. */
9219
+ public trackName: string;
9220
+
9221
+ /** DataTrackEvent trackType. */
9222
+ public trackType: sesame.v1.common.DataTrackType;
9223
+
9224
+ /** DataTrackEvent payload. */
9225
+ public payload: Uint8Array;
9226
+
9227
+ /** DataTrackEvent producerId. */
9228
+ public producerId?: (string|null);
9229
+
9230
+ /** DataTrackEvent sessionId. */
9231
+ public sessionId?: (string|null);
9232
+
9233
+ /** DataTrackEvent sequence. */
9234
+ public sequence?: (number|Long|null);
9235
+
9236
+ /** DataTrackEvent correlationId. */
9237
+ public correlationId?: (string|null);
9238
+
9239
+ /**
9240
+ * Creates a new DataTrackEvent instance using the specified properties.
9241
+ * @param [properties] Properties to set
9242
+ * @returns DataTrackEvent instance
9243
+ */
9244
+ public static create(properties?: sesame.v1.status.IDataTrackEvent): sesame.v1.status.DataTrackEvent;
9245
+
9246
+ /**
9247
+ * Encodes the specified DataTrackEvent message. Does not implicitly {@link sesame.v1.status.DataTrackEvent.verify|verify} messages.
9248
+ * @param message DataTrackEvent message or plain object to encode
9249
+ * @param [writer] Writer to encode to
9250
+ * @returns Writer
9251
+ */
9252
+ public static encode(message: sesame.v1.status.IDataTrackEvent, writer?: $protobuf.Writer): $protobuf.Writer;
9253
+
9254
+ /**
9255
+ * Encodes the specified DataTrackEvent message, length delimited. Does not implicitly {@link sesame.v1.status.DataTrackEvent.verify|verify} messages.
9256
+ * @param message DataTrackEvent message or plain object to encode
9257
+ * @param [writer] Writer to encode to
9258
+ * @returns Writer
9259
+ */
9260
+ public static encodeDelimited(message: sesame.v1.status.IDataTrackEvent, writer?: $protobuf.Writer): $protobuf.Writer;
9261
+
9262
+ /**
9263
+ * Decodes a DataTrackEvent message from the specified reader or buffer.
9264
+ * @param reader Reader or buffer to decode from
9265
+ * @param [length] Message length if known beforehand
9266
+ * @returns DataTrackEvent
9267
+ * @throws {Error} If the payload is not a reader or valid buffer
9268
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
9269
+ */
9270
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): sesame.v1.status.DataTrackEvent;
9271
+
9272
+ /**
9273
+ * Decodes a DataTrackEvent message from the specified reader or buffer, length delimited.
9274
+ * @param reader Reader or buffer to decode from
9275
+ * @returns DataTrackEvent
9276
+ * @throws {Error} If the payload is not a reader or valid buffer
9277
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
9278
+ */
9279
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): sesame.v1.status.DataTrackEvent;
9280
+
9281
+ /**
9282
+ * Verifies a DataTrackEvent message.
9283
+ * @param message Plain object to verify
9284
+ * @returns `null` if valid, otherwise the reason why it is not
9285
+ */
9286
+ public static verify(message: { [k: string]: any }): (string|null);
9287
+
9288
+ /**
9289
+ * Creates a DataTrackEvent message from a plain object. Also converts values to their respective internal types.
9290
+ * @param object Plain object
9291
+ * @returns DataTrackEvent
9292
+ */
9293
+ public static fromObject(object: { [k: string]: any }): sesame.v1.status.DataTrackEvent;
9294
+
9295
+ /**
9296
+ * Creates a plain object from a DataTrackEvent message. Also converts values to other types if specified.
9297
+ * @param message DataTrackEvent
9298
+ * @param [options] Conversion options
9299
+ * @returns Plain object
9300
+ */
9301
+ public static toObject(message: sesame.v1.status.DataTrackEvent, options?: $protobuf.IConversionOptions): { [k: string]: any };
9302
+
9303
+ /**
9304
+ * Converts this DataTrackEvent to JSON.
9305
+ * @returns JSON object
9306
+ */
9307
+ public toJSON(): { [k: string]: any };
9308
+
9309
+ /**
9310
+ * Gets the default type url for DataTrackEvent
9311
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
9312
+ * @returns The default type url
9313
+ */
9314
+ public static getTypeUrl(typeUrlPrefix?: string): string;
9315
+ }
9316
+
8936
9317
  /** Properties of an Event. */
8937
9318
  interface IEvent {
8938
9319
 
@@ -8948,6 +9329,9 @@ export namespace sesame {
8948
9329
  /** Event jobEvent */
8949
9330
  jobEvent?: (sesame.v1.jobs.IJob|null);
8950
9331
 
9332
+ /** Event dataTrackEvent */
9333
+ dataTrackEvent?: (sesame.v1.status.IDataTrackEvent|null);
9334
+
8951
9335
  /** Event recorderEvent */
8952
9336
  recorderEvent?: (sesame.v1.recorder.IRecorderEvent|null);
8953
9337
  }
@@ -8973,11 +9357,14 @@ export namespace sesame {
8973
9357
  /** Event jobEvent. */
8974
9358
  public jobEvent?: (sesame.v1.jobs.IJob|null);
8975
9359
 
9360
+ /** Event dataTrackEvent. */
9361
+ public dataTrackEvent?: (sesame.v1.status.IDataTrackEvent|null);
9362
+
8976
9363
  /** Event recorderEvent. */
8977
9364
  public recorderEvent?: (sesame.v1.recorder.IRecorderEvent|null);
8978
9365
 
8979
9366
  /** Event event. */
8980
- public event?: ("errorEvent"|"transportEvent"|"callbackEvent"|"jobEvent"|"recorderEvent");
9367
+ public event?: ("errorEvent"|"transportEvent"|"callbackEvent"|"jobEvent"|"dataTrackEvent"|"recorderEvent");
8981
9368
 
8982
9369
  /**
8983
9370
  * Creates a new Event instance using the specified properties.
@@ -9194,8 +9581,8 @@ export namespace sesame {
9194
9581
  /** Properties of an EncoderConfig. */
9195
9582
  interface IEncoderConfig {
9196
9583
 
9197
- /** EncoderConfig codecId */
9198
- codecId?: (sesame.v1.common.CodecId|null);
9584
+ /** EncoderConfig codec */
9585
+ codec?: (sesame.v1.common.CodecType|null);
9199
9586
 
9200
9587
  /** EncoderConfig preset */
9201
9588
  preset?: (sesame.v1.outputs.EncoderPreset|null);
@@ -9225,8 +9612,8 @@ export namespace sesame {
9225
9612
  */
9226
9613
  constructor(properties?: sesame.v1.outputs.IEncoderConfig);
9227
9614
 
9228
- /** EncoderConfig codecId. */
9229
- public codecId: sesame.v1.common.CodecId;
9615
+ /** EncoderConfig codec. */
9616
+ public codec: sesame.v1.common.CodecType;
9230
9617
 
9231
9618
  /** EncoderConfig preset. */
9232
9619
  public preset: sesame.v1.outputs.EncoderPreset;
@@ -9433,18 +9820,239 @@ export namespace sesame {
9433
9820
  public static getTypeUrl(typeUrlPrefix?: string): string;
9434
9821
  }
9435
9822
 
9436
- /** Properties of an EncodedWebSocketOutputConfig. */
9437
- interface IEncodedWebSocketOutputConfig {
9823
+ /** Properties of an OutputDataTrack. */
9824
+ interface IOutputDataTrack {
9438
9825
 
9439
- /** EncodedWebSocketOutputConfig channel */
9440
- channel?: (string|null);
9826
+ /** OutputDataTrack type */
9827
+ type?: (sesame.v1.common.DataTrackType|null);
9441
9828
 
9442
- /** EncodedWebSocketOutputConfig encoder */
9443
- encoder?: (sesame.v1.outputs.IEncoderConfig|null);
9829
+ /** OutputDataTrack name */
9830
+ name?: (string|null);
9444
9831
  }
9445
9832
 
9446
- /** Represents an EncodedWebSocketOutputConfig. */
9447
- class EncodedWebSocketOutputConfig implements IEncodedWebSocketOutputConfig {
9833
+ /** Represents an OutputDataTrack. */
9834
+ class OutputDataTrack implements IOutputDataTrack {
9835
+
9836
+ /**
9837
+ * Constructs a new OutputDataTrack.
9838
+ * @param [properties] Properties to set
9839
+ */
9840
+ constructor(properties?: sesame.v1.outputs.IOutputDataTrack);
9841
+
9842
+ /** OutputDataTrack type. */
9843
+ public type: sesame.v1.common.DataTrackType;
9844
+
9845
+ /** OutputDataTrack name. */
9846
+ public name: string;
9847
+
9848
+ /**
9849
+ * Creates a new OutputDataTrack instance using the specified properties.
9850
+ * @param [properties] Properties to set
9851
+ * @returns OutputDataTrack instance
9852
+ */
9853
+ public static create(properties?: sesame.v1.outputs.IOutputDataTrack): sesame.v1.outputs.OutputDataTrack;
9854
+
9855
+ /**
9856
+ * Encodes the specified OutputDataTrack message. Does not implicitly {@link sesame.v1.outputs.OutputDataTrack.verify|verify} messages.
9857
+ * @param message OutputDataTrack message or plain object to encode
9858
+ * @param [writer] Writer to encode to
9859
+ * @returns Writer
9860
+ */
9861
+ public static encode(message: sesame.v1.outputs.IOutputDataTrack, writer?: $protobuf.Writer): $protobuf.Writer;
9862
+
9863
+ /**
9864
+ * Encodes the specified OutputDataTrack message, length delimited. Does not implicitly {@link sesame.v1.outputs.OutputDataTrack.verify|verify} messages.
9865
+ * @param message OutputDataTrack message or plain object to encode
9866
+ * @param [writer] Writer to encode to
9867
+ * @returns Writer
9868
+ */
9869
+ public static encodeDelimited(message: sesame.v1.outputs.IOutputDataTrack, writer?: $protobuf.Writer): $protobuf.Writer;
9870
+
9871
+ /**
9872
+ * Decodes an OutputDataTrack message from the specified reader or buffer.
9873
+ * @param reader Reader or buffer to decode from
9874
+ * @param [length] Message length if known beforehand
9875
+ * @returns OutputDataTrack
9876
+ * @throws {Error} If the payload is not a reader or valid buffer
9877
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
9878
+ */
9879
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): sesame.v1.outputs.OutputDataTrack;
9880
+
9881
+ /**
9882
+ * Decodes an OutputDataTrack message from the specified reader or buffer, length delimited.
9883
+ * @param reader Reader or buffer to decode from
9884
+ * @returns OutputDataTrack
9885
+ * @throws {Error} If the payload is not a reader or valid buffer
9886
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
9887
+ */
9888
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): sesame.v1.outputs.OutputDataTrack;
9889
+
9890
+ /**
9891
+ * Verifies an OutputDataTrack message.
9892
+ * @param message Plain object to verify
9893
+ * @returns `null` if valid, otherwise the reason why it is not
9894
+ */
9895
+ public static verify(message: { [k: string]: any }): (string|null);
9896
+
9897
+ /**
9898
+ * Creates an OutputDataTrack message from a plain object. Also converts values to their respective internal types.
9899
+ * @param object Plain object
9900
+ * @returns OutputDataTrack
9901
+ */
9902
+ public static fromObject(object: { [k: string]: any }): sesame.v1.outputs.OutputDataTrack;
9903
+
9904
+ /**
9905
+ * Creates a plain object from an OutputDataTrack message. Also converts values to other types if specified.
9906
+ * @param message OutputDataTrack
9907
+ * @param [options] Conversion options
9908
+ * @returns Plain object
9909
+ */
9910
+ public static toObject(message: sesame.v1.outputs.OutputDataTrack, options?: $protobuf.IConversionOptions): { [k: string]: any };
9911
+
9912
+ /**
9913
+ * Converts this OutputDataTrack to JSON.
9914
+ * @returns JSON object
9915
+ */
9916
+ public toJSON(): { [k: string]: any };
9917
+
9918
+ /**
9919
+ * Gets the default type url for OutputDataTrack
9920
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
9921
+ * @returns The default type url
9922
+ */
9923
+ public static getTypeUrl(typeUrlPrefix?: string): string;
9924
+ }
9925
+
9926
+ /** Properties of a DataTrackPublishRequest. */
9927
+ interface IDataTrackPublishRequest {
9928
+
9929
+ /** DataTrackPublishRequest outputId */
9930
+ outputId?: (string|null);
9931
+
9932
+ /** DataTrackPublishRequest trackName */
9933
+ trackName?: (string|null);
9934
+
9935
+ /** DataTrackPublishRequest payload */
9936
+ payload?: (Uint8Array|null);
9937
+
9938
+ /** DataTrackPublishRequest correlationId */
9939
+ correlationId?: (string|null);
9940
+ }
9941
+
9942
+ /** Represents a DataTrackPublishRequest. */
9943
+ class DataTrackPublishRequest implements IDataTrackPublishRequest {
9944
+
9945
+ /**
9946
+ * Constructs a new DataTrackPublishRequest.
9947
+ * @param [properties] Properties to set
9948
+ */
9949
+ constructor(properties?: sesame.v1.outputs.IDataTrackPublishRequest);
9950
+
9951
+ /** DataTrackPublishRequest outputId. */
9952
+ public outputId: string;
9953
+
9954
+ /** DataTrackPublishRequest trackName. */
9955
+ public trackName: string;
9956
+
9957
+ /** DataTrackPublishRequest payload. */
9958
+ public payload: Uint8Array;
9959
+
9960
+ /** DataTrackPublishRequest correlationId. */
9961
+ public correlationId?: (string|null);
9962
+
9963
+ /**
9964
+ * Creates a new DataTrackPublishRequest instance using the specified properties.
9965
+ * @param [properties] Properties to set
9966
+ * @returns DataTrackPublishRequest instance
9967
+ */
9968
+ public static create(properties?: sesame.v1.outputs.IDataTrackPublishRequest): sesame.v1.outputs.DataTrackPublishRequest;
9969
+
9970
+ /**
9971
+ * Encodes the specified DataTrackPublishRequest message. Does not implicitly {@link sesame.v1.outputs.DataTrackPublishRequest.verify|verify} messages.
9972
+ * @param message DataTrackPublishRequest message or plain object to encode
9973
+ * @param [writer] Writer to encode to
9974
+ * @returns Writer
9975
+ */
9976
+ public static encode(message: sesame.v1.outputs.IDataTrackPublishRequest, writer?: $protobuf.Writer): $protobuf.Writer;
9977
+
9978
+ /**
9979
+ * Encodes the specified DataTrackPublishRequest message, length delimited. Does not implicitly {@link sesame.v1.outputs.DataTrackPublishRequest.verify|verify} messages.
9980
+ * @param message DataTrackPublishRequest message or plain object to encode
9981
+ * @param [writer] Writer to encode to
9982
+ * @returns Writer
9983
+ */
9984
+ public static encodeDelimited(message: sesame.v1.outputs.IDataTrackPublishRequest, writer?: $protobuf.Writer): $protobuf.Writer;
9985
+
9986
+ /**
9987
+ * Decodes a DataTrackPublishRequest message from the specified reader or buffer.
9988
+ * @param reader Reader or buffer to decode from
9989
+ * @param [length] Message length if known beforehand
9990
+ * @returns DataTrackPublishRequest
9991
+ * @throws {Error} If the payload is not a reader or valid buffer
9992
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
9993
+ */
9994
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): sesame.v1.outputs.DataTrackPublishRequest;
9995
+
9996
+ /**
9997
+ * Decodes a DataTrackPublishRequest message from the specified reader or buffer, length delimited.
9998
+ * @param reader Reader or buffer to decode from
9999
+ * @returns DataTrackPublishRequest
10000
+ * @throws {Error} If the payload is not a reader or valid buffer
10001
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
10002
+ */
10003
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): sesame.v1.outputs.DataTrackPublishRequest;
10004
+
10005
+ /**
10006
+ * Verifies a DataTrackPublishRequest message.
10007
+ * @param message Plain object to verify
10008
+ * @returns `null` if valid, otherwise the reason why it is not
10009
+ */
10010
+ public static verify(message: { [k: string]: any }): (string|null);
10011
+
10012
+ /**
10013
+ * Creates a DataTrackPublishRequest message from a plain object. Also converts values to their respective internal types.
10014
+ * @param object Plain object
10015
+ * @returns DataTrackPublishRequest
10016
+ */
10017
+ public static fromObject(object: { [k: string]: any }): sesame.v1.outputs.DataTrackPublishRequest;
10018
+
10019
+ /**
10020
+ * Creates a plain object from a DataTrackPublishRequest message. Also converts values to other types if specified.
10021
+ * @param message DataTrackPublishRequest
10022
+ * @param [options] Conversion options
10023
+ * @returns Plain object
10024
+ */
10025
+ public static toObject(message: sesame.v1.outputs.DataTrackPublishRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
10026
+
10027
+ /**
10028
+ * Converts this DataTrackPublishRequest to JSON.
10029
+ * @returns JSON object
10030
+ */
10031
+ public toJSON(): { [k: string]: any };
10032
+
10033
+ /**
10034
+ * Gets the default type url for DataTrackPublishRequest
10035
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
10036
+ * @returns The default type url
10037
+ */
10038
+ public static getTypeUrl(typeUrlPrefix?: string): string;
10039
+ }
10040
+
10041
+ /** Properties of an EncodedWebSocketOutputConfig. */
10042
+ interface IEncodedWebSocketOutputConfig {
10043
+
10044
+ /** EncodedWebSocketOutputConfig channel */
10045
+ channel?: (string|null);
10046
+
10047
+ /** EncodedWebSocketOutputConfig encoder */
10048
+ encoder?: (sesame.v1.outputs.IEncoderConfig|null);
10049
+
10050
+ /** EncodedWebSocketOutputConfig dataTracks */
10051
+ dataTracks?: (sesame.v1.outputs.IOutputDataTrack[]|null);
10052
+ }
10053
+
10054
+ /** Represents an EncodedWebSocketOutputConfig. */
10055
+ class EncodedWebSocketOutputConfig implements IEncodedWebSocketOutputConfig {
9448
10056
 
9449
10057
  /**
9450
10058
  * Constructs a new EncodedWebSocketOutputConfig.
@@ -9458,6 +10066,9 @@ export namespace sesame {
9458
10066
  /** EncodedWebSocketOutputConfig encoder. */
9459
10067
  public encoder?: (sesame.v1.outputs.IEncoderConfig|null);
9460
10068
 
10069
+ /** EncodedWebSocketOutputConfig dataTracks. */
10070
+ public dataTracks: sesame.v1.outputs.IOutputDataTrack[];
10071
+
9461
10072
  /**
9462
10073
  * Creates a new EncodedWebSocketOutputConfig instance using the specified properties.
9463
10074
  * @param [properties] Properties to set
@@ -9907,6 +10518,9 @@ export namespace sesame {
9907
10518
 
9908
10519
  /** EncodedMoqOutputConfig key */
9909
10520
  key?: (string|null);
10521
+
10522
+ /** EncodedMoqOutputConfig dataTracks */
10523
+ dataTracks?: (sesame.v1.outputs.IOutputDataTrack[]|null);
9910
10524
  }
9911
10525
 
9912
10526
  /** Represents an EncodedMoqOutputConfig. */
@@ -9930,6 +10544,9 @@ export namespace sesame {
9930
10544
  /** EncodedMoqOutputConfig key. */
9931
10545
  public key: string;
9932
10546
 
10547
+ /** EncodedMoqOutputConfig dataTracks. */
10548
+ public dataTracks: sesame.v1.outputs.IOutputDataTrack[];
10549
+
9933
10550
  /**
9934
10551
  * Creates a new EncodedMoqOutputConfig instance using the specified properties.
9935
10552
  * @param [properties] Properties to set
@@ -11690,15 +12307,6 @@ export namespace sesame {
11690
12307
  CONTAINER_FORMAT_MXF = 4
11691
12308
  }
11692
12309
 
11693
- /** AudioCodecId enum. */
11694
- enum AudioCodecId {
11695
- AUDIO_CODEC_ID_UNSPECIFIED = 0,
11696
- AUDIO_CODEC_ID_AAC = 1,
11697
- AUDIO_CODEC_ID_OPUS = 2,
11698
- AUDIO_CODEC_ID_PCM_S16LE = 3,
11699
- AUDIO_CODEC_ID_PCM_S24LE = 4
11700
- }
11701
-
11702
12310
  /** RateControlMode enum. */
11703
12311
  enum RateControlMode {
11704
12312
  RATE_CONTROL_MODE_UNSPECIFIED = 0,
@@ -12453,7 +13061,7 @@ export namespace sesame {
12453
13061
  container?: (sesame.v1.jobs.ContainerFormat|null);
12454
13062
 
12455
13063
  /** ExportConfiguration videoCodec */
12456
- videoCodec?: (sesame.v1.common.CodecId|null);
13064
+ videoCodec?: (sesame.v1.common.CodecType|null);
12457
13065
 
12458
13066
  /** ExportConfiguration width */
12459
13067
  width?: (number|null);
@@ -12504,7 +13112,7 @@ export namespace sesame {
12504
13112
  fullRange?: (boolean|null);
12505
13113
 
12506
13114
  /** ExportConfiguration audioCodec */
12507
- audioCodec?: (sesame.v1.jobs.AudioCodecId|null);
13115
+ audioCodec?: (sesame.v1.common.CodecType|null);
12508
13116
 
12509
13117
  /** ExportConfiguration audioBitrateKbps */
12510
13118
  audioBitrateKbps?: (number|null);
@@ -12535,7 +13143,7 @@ export namespace sesame {
12535
13143
  public container: sesame.v1.jobs.ContainerFormat;
12536
13144
 
12537
13145
  /** ExportConfiguration videoCodec. */
12538
- public videoCodec: sesame.v1.common.CodecId;
13146
+ public videoCodec: sesame.v1.common.CodecType;
12539
13147
 
12540
13148
  /** ExportConfiguration width. */
12541
13149
  public width: number;
@@ -12586,7 +13194,7 @@ export namespace sesame {
12586
13194
  public fullRange: boolean;
12587
13195
 
12588
13196
  /** ExportConfiguration audioCodec. */
12589
- public audioCodec: sesame.v1.jobs.AudioCodecId;
13197
+ public audioCodec: sesame.v1.common.CodecType;
12590
13198
 
12591
13199
  /** ExportConfiguration audioBitrateKbps. */
12592
13200
  public audioBitrateKbps: number;
@@ -13635,6 +14243,20 @@ export namespace sesame {
13635
14243
  * @returns Promise
13636
14244
  */
13637
14245
  public requestIODeviceList(request: sesame.v1.common.IEmpty): Promise<sesame.v1.status.IODeviceListResponse>;
14246
+
14247
+ /**
14248
+ * Calls PublishData.
14249
+ * @param request DataTrackPublishRequest message or plain object
14250
+ * @param callback Node-style callback called with the error, if any, and Empty
14251
+ */
14252
+ public publishData(request: sesame.v1.outputs.IDataTrackPublishRequest, callback: sesame.v1.rpc.SesameAPIService.PublishDataCallback): void;
14253
+
14254
+ /**
14255
+ * Calls PublishData.
14256
+ * @param request DataTrackPublishRequest message or plain object
14257
+ * @returns Promise
14258
+ */
14259
+ public publishData(request: sesame.v1.outputs.IDataTrackPublishRequest): Promise<sesame.v1.common.Empty>;
13638
14260
  }
13639
14261
 
13640
14262
  namespace SesameAPIService {
@@ -13722,6 +14344,13 @@ export namespace sesame {
13722
14344
  * @param [response] IODeviceListResponse
13723
14345
  */
13724
14346
  type RequestIODeviceListCallback = (error: (Error|null), response?: sesame.v1.status.IODeviceListResponse) => void;
14347
+
14348
+ /**
14349
+ * Callback as used by {@link sesame.v1.rpc.SesameAPIService#publishData}.
14350
+ * @param error Error, if any
14351
+ * @param [response] Empty
14352
+ */
14353
+ type PublishDataCallback = (error: (Error|null), response?: sesame.v1.common.Empty) => void;
13725
14354
  }
13726
14355
  }
13727
14356
 
@@ -13739,24 +14368,11 @@ export namespace sesame {
13739
14368
  FRAME_TYPE_DATA = 6
13740
14369
  }
13741
14370
 
13742
- /** CodecType enum. */
13743
- enum CodecType {
13744
- CODEC_TYPE_UNSPECIFIED = 0,
13745
- CODEC_TYPE_VIDEO_VP8 = 1,
13746
- CODEC_TYPE_VIDEO_VP9 = 2,
13747
- CODEC_TYPE_VIDEO_AVC = 3,
13748
- CODEC_TYPE_VIDEO_HEVC = 4,
13749
- CODEC_TYPE_VIDEO_AV1 = 5,
13750
- CODEC_TYPE_AUDIO_OPUS = 64,
13751
- CODEC_TYPE_AUDIO_AAC = 65,
13752
- CODEC_TYPE_AUDIO_PCM = 66
13753
- }
13754
-
13755
14371
  /** Properties of a MediaCodecData. */
13756
14372
  interface IMediaCodecData {
13757
14373
 
13758
14374
  /** MediaCodecData codecType */
13759
- codecType?: (sesame.v1.wire.CodecType|null);
14375
+ codecType?: (sesame.v1.common.CodecType|null);
13760
14376
 
13761
14377
  /** MediaCodecData sampleRate */
13762
14378
  sampleRate?: (number|null);
@@ -13796,7 +14412,7 @@ export namespace sesame {
13796
14412
  constructor(properties?: sesame.v1.wire.IMediaCodecData);
13797
14413
 
13798
14414
  /** MediaCodecData codecType. */
13799
- public codecType: sesame.v1.wire.CodecType;
14415
+ public codecType: sesame.v1.common.CodecType;
13800
14416
 
13801
14417
  /** MediaCodecData sampleRate. */
13802
14418
  public sampleRate: number;
@@ -13903,26 +14519,244 @@ export namespace sesame {
13903
14519
  public static getTypeUrl(typeUrlPrefix?: string): string;
13904
14520
  }
13905
14521
 
13906
- /** Properties of a FrameHeader. */
13907
- interface IFrameHeader {
14522
+ /** Properties of a MediaFrameData. */
14523
+ interface IMediaFrameData {
13908
14524
 
13909
- /** FrameHeader type */
13910
- type?: (sesame.v1.wire.FrameType|null);
13911
-
13912
- /** FrameHeader pts */
14525
+ /** MediaFrameData pts */
13913
14526
  pts?: (number|Long|null);
13914
14527
 
13915
- /** FrameHeader id */
13916
- id?: (number|Long|null);
13917
-
13918
- /** FrameHeader keyframe */
14528
+ /** MediaFrameData keyframe */
13919
14529
  keyframe?: (boolean|null);
13920
14530
 
13921
- /** FrameHeader codecData */
14531
+ /** MediaFrameData codecData */
13922
14532
  codecData?: (sesame.v1.wire.IMediaCodecData|null);
14533
+ }
14534
+
14535
+ /** Represents a MediaFrameData. */
14536
+ class MediaFrameData implements IMediaFrameData {
14537
+
14538
+ /**
14539
+ * Constructs a new MediaFrameData.
14540
+ * @param [properties] Properties to set
14541
+ */
14542
+ constructor(properties?: sesame.v1.wire.IMediaFrameData);
14543
+
14544
+ /** MediaFrameData pts. */
14545
+ public pts: (number|Long);
14546
+
14547
+ /** MediaFrameData keyframe. */
14548
+ public keyframe: boolean;
14549
+
14550
+ /** MediaFrameData codecData. */
14551
+ public codecData?: (sesame.v1.wire.IMediaCodecData|null);
14552
+
14553
+ /**
14554
+ * Creates a new MediaFrameData instance using the specified properties.
14555
+ * @param [properties] Properties to set
14556
+ * @returns MediaFrameData instance
14557
+ */
14558
+ public static create(properties?: sesame.v1.wire.IMediaFrameData): sesame.v1.wire.MediaFrameData;
14559
+
14560
+ /**
14561
+ * Encodes the specified MediaFrameData message. Does not implicitly {@link sesame.v1.wire.MediaFrameData.verify|verify} messages.
14562
+ * @param message MediaFrameData message or plain object to encode
14563
+ * @param [writer] Writer to encode to
14564
+ * @returns Writer
14565
+ */
14566
+ public static encode(message: sesame.v1.wire.IMediaFrameData, writer?: $protobuf.Writer): $protobuf.Writer;
14567
+
14568
+ /**
14569
+ * Encodes the specified MediaFrameData message, length delimited. Does not implicitly {@link sesame.v1.wire.MediaFrameData.verify|verify} messages.
14570
+ * @param message MediaFrameData message or plain object to encode
14571
+ * @param [writer] Writer to encode to
14572
+ * @returns Writer
14573
+ */
14574
+ public static encodeDelimited(message: sesame.v1.wire.IMediaFrameData, writer?: $protobuf.Writer): $protobuf.Writer;
14575
+
14576
+ /**
14577
+ * Decodes a MediaFrameData message from the specified reader or buffer.
14578
+ * @param reader Reader or buffer to decode from
14579
+ * @param [length] Message length if known beforehand
14580
+ * @returns MediaFrameData
14581
+ * @throws {Error} If the payload is not a reader or valid buffer
14582
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
14583
+ */
14584
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): sesame.v1.wire.MediaFrameData;
14585
+
14586
+ /**
14587
+ * Decodes a MediaFrameData message from the specified reader or buffer, length delimited.
14588
+ * @param reader Reader or buffer to decode from
14589
+ * @returns MediaFrameData
14590
+ * @throws {Error} If the payload is not a reader or valid buffer
14591
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
14592
+ */
14593
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): sesame.v1.wire.MediaFrameData;
14594
+
14595
+ /**
14596
+ * Verifies a MediaFrameData message.
14597
+ * @param message Plain object to verify
14598
+ * @returns `null` if valid, otherwise the reason why it is not
14599
+ */
14600
+ public static verify(message: { [k: string]: any }): (string|null);
14601
+
14602
+ /**
14603
+ * Creates a MediaFrameData message from a plain object. Also converts values to their respective internal types.
14604
+ * @param object Plain object
14605
+ * @returns MediaFrameData
14606
+ */
14607
+ public static fromObject(object: { [k: string]: any }): sesame.v1.wire.MediaFrameData;
14608
+
14609
+ /**
14610
+ * Creates a plain object from a MediaFrameData message. Also converts values to other types if specified.
14611
+ * @param message MediaFrameData
14612
+ * @param [options] Conversion options
14613
+ * @returns Plain object
14614
+ */
14615
+ public static toObject(message: sesame.v1.wire.MediaFrameData, options?: $protobuf.IConversionOptions): { [k: string]: any };
14616
+
14617
+ /**
14618
+ * Converts this MediaFrameData to JSON.
14619
+ * @returns JSON object
14620
+ */
14621
+ public toJSON(): { [k: string]: any };
14622
+
14623
+ /**
14624
+ * Gets the default type url for MediaFrameData
14625
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
14626
+ * @returns The default type url
14627
+ */
14628
+ public static getTypeUrl(typeUrlPrefix?: string): string;
14629
+ }
14630
+
14631
+ /** Properties of a DataFrameData. */
14632
+ interface IDataFrameData {
14633
+
14634
+ /** DataFrameData trackName */
14635
+ trackName?: (string|null);
14636
+
14637
+ /** DataFrameData trackType */
14638
+ trackType?: (sesame.v1.common.DataTrackType|null);
14639
+
14640
+ /** DataFrameData sequence */
14641
+ sequence?: (number|Long|null);
14642
+
14643
+ /** DataFrameData correlationId */
14644
+ correlationId?: (string|null);
14645
+ }
14646
+
14647
+ /** Represents a DataFrameData. */
14648
+ class DataFrameData implements IDataFrameData {
14649
+
14650
+ /**
14651
+ * Constructs a new DataFrameData.
14652
+ * @param [properties] Properties to set
14653
+ */
14654
+ constructor(properties?: sesame.v1.wire.IDataFrameData);
14655
+
14656
+ /** DataFrameData trackName. */
14657
+ public trackName: string;
14658
+
14659
+ /** DataFrameData trackType. */
14660
+ public trackType: sesame.v1.common.DataTrackType;
14661
+
14662
+ /** DataFrameData sequence. */
14663
+ public sequence?: (number|Long|null);
14664
+
14665
+ /** DataFrameData correlationId. */
14666
+ public correlationId?: (string|null);
14667
+
14668
+ /**
14669
+ * Creates a new DataFrameData instance using the specified properties.
14670
+ * @param [properties] Properties to set
14671
+ * @returns DataFrameData instance
14672
+ */
14673
+ public static create(properties?: sesame.v1.wire.IDataFrameData): sesame.v1.wire.DataFrameData;
14674
+
14675
+ /**
14676
+ * Encodes the specified DataFrameData message. Does not implicitly {@link sesame.v1.wire.DataFrameData.verify|verify} messages.
14677
+ * @param message DataFrameData message or plain object to encode
14678
+ * @param [writer] Writer to encode to
14679
+ * @returns Writer
14680
+ */
14681
+ public static encode(message: sesame.v1.wire.IDataFrameData, writer?: $protobuf.Writer): $protobuf.Writer;
14682
+
14683
+ /**
14684
+ * Encodes the specified DataFrameData message, length delimited. Does not implicitly {@link sesame.v1.wire.DataFrameData.verify|verify} messages.
14685
+ * @param message DataFrameData message or plain object to encode
14686
+ * @param [writer] Writer to encode to
14687
+ * @returns Writer
14688
+ */
14689
+ public static encodeDelimited(message: sesame.v1.wire.IDataFrameData, writer?: $protobuf.Writer): $protobuf.Writer;
14690
+
14691
+ /**
14692
+ * Decodes a DataFrameData message from the specified reader or buffer.
14693
+ * @param reader Reader or buffer to decode from
14694
+ * @param [length] Message length if known beforehand
14695
+ * @returns DataFrameData
14696
+ * @throws {Error} If the payload is not a reader or valid buffer
14697
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
14698
+ */
14699
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): sesame.v1.wire.DataFrameData;
14700
+
14701
+ /**
14702
+ * Decodes a DataFrameData message from the specified reader or buffer, length delimited.
14703
+ * @param reader Reader or buffer to decode from
14704
+ * @returns DataFrameData
14705
+ * @throws {Error} If the payload is not a reader or valid buffer
14706
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
14707
+ */
14708
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): sesame.v1.wire.DataFrameData;
14709
+
14710
+ /**
14711
+ * Verifies a DataFrameData message.
14712
+ * @param message Plain object to verify
14713
+ * @returns `null` if valid, otherwise the reason why it is not
14714
+ */
14715
+ public static verify(message: { [k: string]: any }): (string|null);
14716
+
14717
+ /**
14718
+ * Creates a DataFrameData message from a plain object. Also converts values to their respective internal types.
14719
+ * @param object Plain object
14720
+ * @returns DataFrameData
14721
+ */
14722
+ public static fromObject(object: { [k: string]: any }): sesame.v1.wire.DataFrameData;
14723
+
14724
+ /**
14725
+ * Creates a plain object from a DataFrameData message. Also converts values to other types if specified.
14726
+ * @param message DataFrameData
14727
+ * @param [options] Conversion options
14728
+ * @returns Plain object
14729
+ */
14730
+ public static toObject(message: sesame.v1.wire.DataFrameData, options?: $protobuf.IConversionOptions): { [k: string]: any };
14731
+
14732
+ /**
14733
+ * Converts this DataFrameData to JSON.
14734
+ * @returns JSON object
14735
+ */
14736
+ public toJSON(): { [k: string]: any };
14737
+
14738
+ /**
14739
+ * Gets the default type url for DataFrameData
14740
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
14741
+ * @returns The default type url
14742
+ */
14743
+ public static getTypeUrl(typeUrlPrefix?: string): string;
14744
+ }
14745
+
14746
+ /** Properties of a FrameHeader. */
14747
+ interface IFrameHeader {
14748
+
14749
+ /** FrameHeader type */
14750
+ type?: (sesame.v1.wire.FrameType|null);
13923
14751
 
13924
14752
  /** FrameHeader routingMetadata */
13925
14753
  routingMetadata?: (string|null);
14754
+
14755
+ /** FrameHeader media */
14756
+ media?: (sesame.v1.wire.IMediaFrameData|null);
14757
+
14758
+ /** FrameHeader data */
14759
+ data?: (sesame.v1.wire.IDataFrameData|null);
13926
14760
  }
13927
14761
 
13928
14762
  /** Represents a FrameHeader. */
@@ -13937,20 +14771,17 @@ export namespace sesame {
13937
14771
  /** FrameHeader type. */
13938
14772
  public type: sesame.v1.wire.FrameType;
13939
14773
 
13940
- /** FrameHeader pts. */
13941
- public pts: (number|Long);
13942
-
13943
- /** FrameHeader id. */
13944
- public id: (number|Long);
14774
+ /** FrameHeader routingMetadata. */
14775
+ public routingMetadata: string;
13945
14776
 
13946
- /** FrameHeader keyframe. */
13947
- public keyframe: boolean;
14777
+ /** FrameHeader media. */
14778
+ public media?: (sesame.v1.wire.IMediaFrameData|null);
13948
14779
 
13949
- /** FrameHeader codecData. */
13950
- public codecData?: (sesame.v1.wire.IMediaCodecData|null);
14780
+ /** FrameHeader data. */
14781
+ public data?: (sesame.v1.wire.IDataFrameData|null);
13951
14782
 
13952
- /** FrameHeader routingMetadata. */
13953
- public routingMetadata: string;
14783
+ /** FrameHeader typeData. */
14784
+ public typeData?: ("media"|"data");
13954
14785
 
13955
14786
  /**
13956
14787
  * Creates a new FrameHeader instance using the specified properties.