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

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.
@@ -8744,6 +8744,9 @@ export namespace sesame {
8744
8744
  /** TransportEvent userId */
8745
8745
  userId?: (string|null);
8746
8746
 
8747
+ /** TransportEvent uri */
8748
+ uri?: (string|null);
8749
+
8747
8750
  /** TransportEvent state */
8748
8751
  state?: (sesame.v1.sources.SourceTransportState|null);
8749
8752
 
@@ -8756,6 +8759,12 @@ export namespace sesame {
8756
8759
  /** TransportEvent materialPositionUs */
8757
8760
  materialPositionUs?: (number|Long|null);
8758
8761
 
8762
+ /** TransportEvent userTimeMs */
8763
+ userTimeMs?: (number|Long|null);
8764
+
8765
+ /** TransportEvent speed */
8766
+ speed?: (number|null);
8767
+
8759
8768
  /** TransportEvent userPlaylistId */
8760
8769
  userPlaylistId?: (string|null);
8761
8770
 
@@ -8770,6 +8779,18 @@ export namespace sesame {
8770
8779
 
8771
8780
  /** TransportEvent clipPositionUs */
8772
8781
  clipPositionUs?: (number|Long|null);
8782
+
8783
+ /** TransportEvent clipDurationUs */
8784
+ clipDurationUs?: (number|Long|null);
8785
+
8786
+ /** TransportEvent preroll */
8787
+ preroll?: (number|null);
8788
+
8789
+ /** TransportEvent postroll */
8790
+ postroll?: (number|null);
8791
+
8792
+ /** TransportEvent metadata */
8793
+ metadata?: (string|null);
8773
8794
  }
8774
8795
 
8775
8796
  /** Represents a TransportEvent. */
@@ -8787,6 +8808,9 @@ export namespace sesame {
8787
8808
  /** TransportEvent userId. */
8788
8809
  public userId: string;
8789
8810
 
8811
+ /** TransportEvent uri. */
8812
+ public uri: string;
8813
+
8790
8814
  /** TransportEvent state. */
8791
8815
  public state: sesame.v1.sources.SourceTransportState;
8792
8816
 
@@ -8799,6 +8823,12 @@ export namespace sesame {
8799
8823
  /** TransportEvent materialPositionUs. */
8800
8824
  public materialPositionUs: (number|Long);
8801
8825
 
8826
+ /** TransportEvent userTimeMs. */
8827
+ public userTimeMs: (number|Long);
8828
+
8829
+ /** TransportEvent speed. */
8830
+ public speed: number;
8831
+
8802
8832
  /** TransportEvent userPlaylistId. */
8803
8833
  public userPlaylistId: string;
8804
8834
 
@@ -8814,6 +8844,18 @@ export namespace sesame {
8814
8844
  /** TransportEvent clipPositionUs. */
8815
8845
  public clipPositionUs: (number|Long);
8816
8846
 
8847
+ /** TransportEvent clipDurationUs. */
8848
+ public clipDurationUs: (number|Long);
8849
+
8850
+ /** TransportEvent preroll. */
8851
+ public preroll: number;
8852
+
8853
+ /** TransportEvent postroll. */
8854
+ public postroll: number;
8855
+
8856
+ /** TransportEvent metadata. */
8857
+ public metadata: string;
8858
+
8817
8859
  /**
8818
8860
  * Creates a new TransportEvent instance using the specified properties.
8819
8861
  * @param [properties] Properties to set
@@ -14060,5 +14102,311 @@ export namespace sesame {
14060
14102
  type RequestIODeviceListCallback = (error: (Error|null), response?: sesame.v1.status.IODeviceListResponse) => void;
14061
14103
  }
14062
14104
  }
14105
+
14106
+ /** Namespace wire. */
14107
+ namespace wire {
14108
+
14109
+ /** FrameType enum. */
14110
+ enum FrameType {
14111
+ FRAME_TYPE_UNSPECIFIED = 0,
14112
+ FRAME_TYPE_RPC = 1,
14113
+ FRAME_TYPE_VIDEO = 2,
14114
+ FRAME_TYPE_AUDIO = 3,
14115
+ FRAME_TYPE_MUXED = 4,
14116
+ FRAME_TYPE_DECODER_DATA = 5,
14117
+ FRAME_TYPE_DATA = 6
14118
+ }
14119
+
14120
+ /** CodecType enum. */
14121
+ enum CodecType {
14122
+ CODEC_TYPE_UNSPECIFIED = 0,
14123
+ CODEC_TYPE_VIDEO_VP8 = 1,
14124
+ CODEC_TYPE_VIDEO_VP9 = 2,
14125
+ CODEC_TYPE_VIDEO_AVC = 3,
14126
+ CODEC_TYPE_VIDEO_HEVC = 4,
14127
+ CODEC_TYPE_VIDEO_AV1 = 5,
14128
+ CODEC_TYPE_AUDIO_OPUS = 64,
14129
+ CODEC_TYPE_AUDIO_AAC = 65,
14130
+ CODEC_TYPE_AUDIO_PCM = 66
14131
+ }
14132
+
14133
+ /** Properties of a MediaCodecData. */
14134
+ interface IMediaCodecData {
14135
+
14136
+ /** MediaCodecData codecType */
14137
+ codecType?: (sesame.v1.wire.CodecType|null);
14138
+
14139
+ /** MediaCodecData sampleRate */
14140
+ sampleRate?: (number|null);
14141
+
14142
+ /** MediaCodecData timebaseNum */
14143
+ timebaseNum?: (number|null);
14144
+
14145
+ /** MediaCodecData timebaseDen */
14146
+ timebaseDen?: (number|null);
14147
+
14148
+ /** MediaCodecData codecProfile */
14149
+ codecProfile?: (number|null);
14150
+
14151
+ /** MediaCodecData codecLevel */
14152
+ codecLevel?: (number|null);
14153
+
14154
+ /** MediaCodecData width */
14155
+ width?: (number|null);
14156
+
14157
+ /** MediaCodecData height */
14158
+ height?: (number|null);
14159
+
14160
+ /** MediaCodecData channels */
14161
+ channels?: (number|null);
14162
+
14163
+ /** MediaCodecData bitDepth */
14164
+ bitDepth?: (number|null);
14165
+ }
14166
+
14167
+ /** Represents a MediaCodecData. */
14168
+ class MediaCodecData implements IMediaCodecData {
14169
+
14170
+ /**
14171
+ * Constructs a new MediaCodecData.
14172
+ * @param [properties] Properties to set
14173
+ */
14174
+ constructor(properties?: sesame.v1.wire.IMediaCodecData);
14175
+
14176
+ /** MediaCodecData codecType. */
14177
+ public codecType: sesame.v1.wire.CodecType;
14178
+
14179
+ /** MediaCodecData sampleRate. */
14180
+ public sampleRate: number;
14181
+
14182
+ /** MediaCodecData timebaseNum. */
14183
+ public timebaseNum: number;
14184
+
14185
+ /** MediaCodecData timebaseDen. */
14186
+ public timebaseDen: number;
14187
+
14188
+ /** MediaCodecData codecProfile. */
14189
+ public codecProfile: number;
14190
+
14191
+ /** MediaCodecData codecLevel. */
14192
+ public codecLevel: number;
14193
+
14194
+ /** MediaCodecData width. */
14195
+ public width: number;
14196
+
14197
+ /** MediaCodecData height. */
14198
+ public height: number;
14199
+
14200
+ /** MediaCodecData channels. */
14201
+ public channels: number;
14202
+
14203
+ /** MediaCodecData bitDepth. */
14204
+ public bitDepth: number;
14205
+
14206
+ /**
14207
+ * Creates a new MediaCodecData instance using the specified properties.
14208
+ * @param [properties] Properties to set
14209
+ * @returns MediaCodecData instance
14210
+ */
14211
+ public static create(properties?: sesame.v1.wire.IMediaCodecData): sesame.v1.wire.MediaCodecData;
14212
+
14213
+ /**
14214
+ * Encodes the specified MediaCodecData message. Does not implicitly {@link sesame.v1.wire.MediaCodecData.verify|verify} messages.
14215
+ * @param message MediaCodecData message or plain object to encode
14216
+ * @param [writer] Writer to encode to
14217
+ * @returns Writer
14218
+ */
14219
+ public static encode(message: sesame.v1.wire.IMediaCodecData, writer?: $protobuf.Writer): $protobuf.Writer;
14220
+
14221
+ /**
14222
+ * Encodes the specified MediaCodecData message, length delimited. Does not implicitly {@link sesame.v1.wire.MediaCodecData.verify|verify} messages.
14223
+ * @param message MediaCodecData message or plain object to encode
14224
+ * @param [writer] Writer to encode to
14225
+ * @returns Writer
14226
+ */
14227
+ public static encodeDelimited(message: sesame.v1.wire.IMediaCodecData, writer?: $protobuf.Writer): $protobuf.Writer;
14228
+
14229
+ /**
14230
+ * Decodes a MediaCodecData message from the specified reader or buffer.
14231
+ * @param reader Reader or buffer to decode from
14232
+ * @param [length] Message length if known beforehand
14233
+ * @returns MediaCodecData
14234
+ * @throws {Error} If the payload is not a reader or valid buffer
14235
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
14236
+ */
14237
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): sesame.v1.wire.MediaCodecData;
14238
+
14239
+ /**
14240
+ * Decodes a MediaCodecData message from the specified reader or buffer, length delimited.
14241
+ * @param reader Reader or buffer to decode from
14242
+ * @returns MediaCodecData
14243
+ * @throws {Error} If the payload is not a reader or valid buffer
14244
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
14245
+ */
14246
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): sesame.v1.wire.MediaCodecData;
14247
+
14248
+ /**
14249
+ * Verifies a MediaCodecData message.
14250
+ * @param message Plain object to verify
14251
+ * @returns `null` if valid, otherwise the reason why it is not
14252
+ */
14253
+ public static verify(message: { [k: string]: any }): (string|null);
14254
+
14255
+ /**
14256
+ * Creates a MediaCodecData message from a plain object. Also converts values to their respective internal types.
14257
+ * @param object Plain object
14258
+ * @returns MediaCodecData
14259
+ */
14260
+ public static fromObject(object: { [k: string]: any }): sesame.v1.wire.MediaCodecData;
14261
+
14262
+ /**
14263
+ * Creates a plain object from a MediaCodecData message. Also converts values to other types if specified.
14264
+ * @param message MediaCodecData
14265
+ * @param [options] Conversion options
14266
+ * @returns Plain object
14267
+ */
14268
+ public static toObject(message: sesame.v1.wire.MediaCodecData, options?: $protobuf.IConversionOptions): { [k: string]: any };
14269
+
14270
+ /**
14271
+ * Converts this MediaCodecData to JSON.
14272
+ * @returns JSON object
14273
+ */
14274
+ public toJSON(): { [k: string]: any };
14275
+
14276
+ /**
14277
+ * Gets the default type url for MediaCodecData
14278
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
14279
+ * @returns The default type url
14280
+ */
14281
+ public static getTypeUrl(typeUrlPrefix?: string): string;
14282
+ }
14283
+
14284
+ /** Properties of a FrameHeader. */
14285
+ interface IFrameHeader {
14286
+
14287
+ /** FrameHeader type */
14288
+ type?: (sesame.v1.wire.FrameType|null);
14289
+
14290
+ /** FrameHeader pts */
14291
+ pts?: (number|Long|null);
14292
+
14293
+ /** FrameHeader id */
14294
+ id?: (number|Long|null);
14295
+
14296
+ /** FrameHeader keyframe */
14297
+ keyframe?: (boolean|null);
14298
+
14299
+ /** FrameHeader codecData */
14300
+ codecData?: (sesame.v1.wire.IMediaCodecData|null);
14301
+
14302
+ /** FrameHeader routingMetadata */
14303
+ routingMetadata?: (string|null);
14304
+ }
14305
+
14306
+ /** Represents a FrameHeader. */
14307
+ class FrameHeader implements IFrameHeader {
14308
+
14309
+ /**
14310
+ * Constructs a new FrameHeader.
14311
+ * @param [properties] Properties to set
14312
+ */
14313
+ constructor(properties?: sesame.v1.wire.IFrameHeader);
14314
+
14315
+ /** FrameHeader type. */
14316
+ public type: sesame.v1.wire.FrameType;
14317
+
14318
+ /** FrameHeader pts. */
14319
+ public pts: (number|Long);
14320
+
14321
+ /** FrameHeader id. */
14322
+ public id: (number|Long);
14323
+
14324
+ /** FrameHeader keyframe. */
14325
+ public keyframe: boolean;
14326
+
14327
+ /** FrameHeader codecData. */
14328
+ public codecData?: (sesame.v1.wire.IMediaCodecData|null);
14329
+
14330
+ /** FrameHeader routingMetadata. */
14331
+ public routingMetadata: string;
14332
+
14333
+ /**
14334
+ * Creates a new FrameHeader instance using the specified properties.
14335
+ * @param [properties] Properties to set
14336
+ * @returns FrameHeader instance
14337
+ */
14338
+ public static create(properties?: sesame.v1.wire.IFrameHeader): sesame.v1.wire.FrameHeader;
14339
+
14340
+ /**
14341
+ * Encodes the specified FrameHeader message. Does not implicitly {@link sesame.v1.wire.FrameHeader.verify|verify} messages.
14342
+ * @param message FrameHeader message or plain object to encode
14343
+ * @param [writer] Writer to encode to
14344
+ * @returns Writer
14345
+ */
14346
+ public static encode(message: sesame.v1.wire.IFrameHeader, writer?: $protobuf.Writer): $protobuf.Writer;
14347
+
14348
+ /**
14349
+ * Encodes the specified FrameHeader message, length delimited. Does not implicitly {@link sesame.v1.wire.FrameHeader.verify|verify} messages.
14350
+ * @param message FrameHeader message or plain object to encode
14351
+ * @param [writer] Writer to encode to
14352
+ * @returns Writer
14353
+ */
14354
+ public static encodeDelimited(message: sesame.v1.wire.IFrameHeader, writer?: $protobuf.Writer): $protobuf.Writer;
14355
+
14356
+ /**
14357
+ * Decodes a FrameHeader message from the specified reader or buffer.
14358
+ * @param reader Reader or buffer to decode from
14359
+ * @param [length] Message length if known beforehand
14360
+ * @returns FrameHeader
14361
+ * @throws {Error} If the payload is not a reader or valid buffer
14362
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
14363
+ */
14364
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): sesame.v1.wire.FrameHeader;
14365
+
14366
+ /**
14367
+ * Decodes a FrameHeader message from the specified reader or buffer, length delimited.
14368
+ * @param reader Reader or buffer to decode from
14369
+ * @returns FrameHeader
14370
+ * @throws {Error} If the payload is not a reader or valid buffer
14371
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
14372
+ */
14373
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): sesame.v1.wire.FrameHeader;
14374
+
14375
+ /**
14376
+ * Verifies a FrameHeader message.
14377
+ * @param message Plain object to verify
14378
+ * @returns `null` if valid, otherwise the reason why it is not
14379
+ */
14380
+ public static verify(message: { [k: string]: any }): (string|null);
14381
+
14382
+ /**
14383
+ * Creates a FrameHeader message from a plain object. Also converts values to their respective internal types.
14384
+ * @param object Plain object
14385
+ * @returns FrameHeader
14386
+ */
14387
+ public static fromObject(object: { [k: string]: any }): sesame.v1.wire.FrameHeader;
14388
+
14389
+ /**
14390
+ * Creates a plain object from a FrameHeader message. Also converts values to other types if specified.
14391
+ * @param message FrameHeader
14392
+ * @param [options] Conversion options
14393
+ * @returns Plain object
14394
+ */
14395
+ public static toObject(message: sesame.v1.wire.FrameHeader, options?: $protobuf.IConversionOptions): { [k: string]: any };
14396
+
14397
+ /**
14398
+ * Converts this FrameHeader to JSON.
14399
+ * @returns JSON object
14400
+ */
14401
+ public toJSON(): { [k: string]: any };
14402
+
14403
+ /**
14404
+ * Gets the default type url for FrameHeader
14405
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
14406
+ * @returns The default type url
14407
+ */
14408
+ public static getTypeUrl(typeUrlPrefix?: string): string;
14409
+ }
14410
+ }
14063
14411
  }
14064
14412
  }