@stinkycomputing/sesame-api-client 1.5.8 → 1.5.9
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/README.md +7 -7
- package/dist/index.browser.mjs +355 -1
- package/dist/index.browser.mjs.map +2 -2
- package/dist/index.cjs +355 -1
- package/dist/index.cjs.map +2 -2
- package/dist/index.mjs +355 -1
- package/dist/index.mjs.map +2 -2
- package/dist/proto/api.d.ts +146 -1
- package/dist/proto/api.js +520 -2
- package/docs/protocol-reference.md +98 -76
- package/package.json +1 -1
package/dist/proto/api.d.ts
CHANGED
|
@@ -2237,6 +2237,9 @@ export namespace sesame {
|
|
|
2237
2237
|
/** CommandListItem removeEncoder */
|
|
2238
2238
|
removeEncoder?: (sesame.v1.outputs.IEncoderRemoveRequest|null);
|
|
2239
2239
|
|
|
2240
|
+
/** CommandListItem takePlaylist */
|
|
2241
|
+
takePlaylist?: (sesame.v1.sources.ITakePlaylistRequest|null);
|
|
2242
|
+
|
|
2240
2243
|
/** CommandListItem transactionId */
|
|
2241
2244
|
transactionId?: (number|null);
|
|
2242
2245
|
|
|
@@ -2337,6 +2340,9 @@ export namespace sesame {
|
|
|
2337
2340
|
/** CommandListItem removeEncoder. */
|
|
2338
2341
|
public removeEncoder?: (sesame.v1.outputs.IEncoderRemoveRequest|null);
|
|
2339
2342
|
|
|
2343
|
+
/** CommandListItem takePlaylist. */
|
|
2344
|
+
public takePlaylist?: (sesame.v1.sources.ITakePlaylistRequest|null);
|
|
2345
|
+
|
|
2340
2346
|
/** CommandListItem transactionId. */
|
|
2341
2347
|
public transactionId?: (number|null);
|
|
2342
2348
|
|
|
@@ -2344,7 +2350,7 @@ export namespace sesame {
|
|
|
2344
2350
|
public transactionDeps: number[];
|
|
2345
2351
|
|
|
2346
2352
|
/** CommandListItem item. */
|
|
2347
|
-
public item?: ("addSource"|"updateSource"|"removeSource"|"addOutput"|"updateOutput"|"removeOutput"|"addCompositor"|"removeCompositor"|"clearCompositor"|"addNode"|"removeNode"|"setProperty"|"animateProperty"|"addAudioMixer"|"updateAudioMixer"|"removeAudioMixer"|"addAudioChannel"|"removeAudioChannel"|"updateSourceTransport"|"loadPlaylist"|"ejectPlaylist"|"callback"|"setSourceMetadata"|"setMetadataBindings"|"addEncoder"|"updateEncoder"|"removeEncoder");
|
|
2353
|
+
public item?: ("addSource"|"updateSource"|"removeSource"|"addOutput"|"updateOutput"|"removeOutput"|"addCompositor"|"removeCompositor"|"clearCompositor"|"addNode"|"removeNode"|"setProperty"|"animateProperty"|"addAudioMixer"|"updateAudioMixer"|"removeAudioMixer"|"addAudioChannel"|"removeAudioChannel"|"updateSourceTransport"|"loadPlaylist"|"ejectPlaylist"|"callback"|"setSourceMetadata"|"setMetadataBindings"|"addEncoder"|"updateEncoder"|"removeEncoder"|"takePlaylist");
|
|
2348
2354
|
|
|
2349
2355
|
/**
|
|
2350
2356
|
* Creates a new CommandListItem instance using the specified properties.
|
|
@@ -6237,6 +6243,145 @@ export namespace sesame {
|
|
|
6237
6243
|
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
6238
6244
|
}
|
|
6239
6245
|
|
|
6246
|
+
/** Properties of a TakePlaylistRequest. */
|
|
6247
|
+
interface ITakePlaylistRequest {
|
|
6248
|
+
|
|
6249
|
+
/** TakePlaylistRequest sourceId */
|
|
6250
|
+
sourceId?: (string|null);
|
|
6251
|
+
|
|
6252
|
+
/** TakePlaylistRequest userPlaylistId */
|
|
6253
|
+
userPlaylistId?: (string|null);
|
|
6254
|
+
|
|
6255
|
+
/** TakePlaylistRequest items */
|
|
6256
|
+
items?: (sesame.v1.recorder.IPlaylistItem[]|null);
|
|
6257
|
+
|
|
6258
|
+
/** TakePlaylistRequest startTimeUs */
|
|
6259
|
+
startTimeUs?: (number|Long|null);
|
|
6260
|
+
|
|
6261
|
+
/** TakePlaylistRequest startIndex */
|
|
6262
|
+
startIndex?: (number|Long|null);
|
|
6263
|
+
|
|
6264
|
+
/** TakePlaylistRequest materialPosUs */
|
|
6265
|
+
materialPosUs?: (number|Long|null);
|
|
6266
|
+
|
|
6267
|
+
/** TakePlaylistRequest transitionTimeUs */
|
|
6268
|
+
transitionTimeUs?: (number|Long|null);
|
|
6269
|
+
|
|
6270
|
+
/** TakePlaylistRequest playbackSpeed */
|
|
6271
|
+
playbackSpeed?: (number|null);
|
|
6272
|
+
}
|
|
6273
|
+
|
|
6274
|
+
/** Represents a TakePlaylistRequest. */
|
|
6275
|
+
class TakePlaylistRequest implements ITakePlaylistRequest {
|
|
6276
|
+
|
|
6277
|
+
/**
|
|
6278
|
+
* Constructs a new TakePlaylistRequest.
|
|
6279
|
+
* @param [properties] Properties to set
|
|
6280
|
+
*/
|
|
6281
|
+
constructor(properties?: sesame.v1.sources.ITakePlaylistRequest);
|
|
6282
|
+
|
|
6283
|
+
/** TakePlaylistRequest sourceId. */
|
|
6284
|
+
public sourceId: string;
|
|
6285
|
+
|
|
6286
|
+
/** TakePlaylistRequest userPlaylistId. */
|
|
6287
|
+
public userPlaylistId: string;
|
|
6288
|
+
|
|
6289
|
+
/** TakePlaylistRequest items. */
|
|
6290
|
+
public items: sesame.v1.recorder.IPlaylistItem[];
|
|
6291
|
+
|
|
6292
|
+
/** TakePlaylistRequest startTimeUs. */
|
|
6293
|
+
public startTimeUs?: (number|Long|null);
|
|
6294
|
+
|
|
6295
|
+
/** TakePlaylistRequest startIndex. */
|
|
6296
|
+
public startIndex?: (number|Long|null);
|
|
6297
|
+
|
|
6298
|
+
/** TakePlaylistRequest materialPosUs. */
|
|
6299
|
+
public materialPosUs?: (number|Long|null);
|
|
6300
|
+
|
|
6301
|
+
/** TakePlaylistRequest transitionTimeUs. */
|
|
6302
|
+
public transitionTimeUs?: (number|Long|null);
|
|
6303
|
+
|
|
6304
|
+
/** TakePlaylistRequest playbackSpeed. */
|
|
6305
|
+
public playbackSpeed?: (number|null);
|
|
6306
|
+
|
|
6307
|
+
/**
|
|
6308
|
+
* Creates a new TakePlaylistRequest instance using the specified properties.
|
|
6309
|
+
* @param [properties] Properties to set
|
|
6310
|
+
* @returns TakePlaylistRequest instance
|
|
6311
|
+
*/
|
|
6312
|
+
public static create(properties?: sesame.v1.sources.ITakePlaylistRequest): sesame.v1.sources.TakePlaylistRequest;
|
|
6313
|
+
|
|
6314
|
+
/**
|
|
6315
|
+
* Encodes the specified TakePlaylistRequest message. Does not implicitly {@link sesame.v1.sources.TakePlaylistRequest.verify|verify} messages.
|
|
6316
|
+
* @param message TakePlaylistRequest message or plain object to encode
|
|
6317
|
+
* @param [writer] Writer to encode to
|
|
6318
|
+
* @returns Writer
|
|
6319
|
+
*/
|
|
6320
|
+
public static encode(message: sesame.v1.sources.ITakePlaylistRequest, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
6321
|
+
|
|
6322
|
+
/**
|
|
6323
|
+
* Encodes the specified TakePlaylistRequest message, length delimited. Does not implicitly {@link sesame.v1.sources.TakePlaylistRequest.verify|verify} messages.
|
|
6324
|
+
* @param message TakePlaylistRequest message or plain object to encode
|
|
6325
|
+
* @param [writer] Writer to encode to
|
|
6326
|
+
* @returns Writer
|
|
6327
|
+
*/
|
|
6328
|
+
public static encodeDelimited(message: sesame.v1.sources.ITakePlaylistRequest, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
6329
|
+
|
|
6330
|
+
/**
|
|
6331
|
+
* Decodes a TakePlaylistRequest message from the specified reader or buffer.
|
|
6332
|
+
* @param reader Reader or buffer to decode from
|
|
6333
|
+
* @param [length] Message length if known beforehand
|
|
6334
|
+
* @returns TakePlaylistRequest
|
|
6335
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
6336
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
6337
|
+
*/
|
|
6338
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): sesame.v1.sources.TakePlaylistRequest;
|
|
6339
|
+
|
|
6340
|
+
/**
|
|
6341
|
+
* Decodes a TakePlaylistRequest message from the specified reader or buffer, length delimited.
|
|
6342
|
+
* @param reader Reader or buffer to decode from
|
|
6343
|
+
* @returns TakePlaylistRequest
|
|
6344
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
6345
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
6346
|
+
*/
|
|
6347
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): sesame.v1.sources.TakePlaylistRequest;
|
|
6348
|
+
|
|
6349
|
+
/**
|
|
6350
|
+
* Verifies a TakePlaylistRequest message.
|
|
6351
|
+
* @param message Plain object to verify
|
|
6352
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
6353
|
+
*/
|
|
6354
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
6355
|
+
|
|
6356
|
+
/**
|
|
6357
|
+
* Creates a TakePlaylistRequest message from a plain object. Also converts values to their respective internal types.
|
|
6358
|
+
* @param object Plain object
|
|
6359
|
+
* @returns TakePlaylistRequest
|
|
6360
|
+
*/
|
|
6361
|
+
public static fromObject(object: { [k: string]: any }): sesame.v1.sources.TakePlaylistRequest;
|
|
6362
|
+
|
|
6363
|
+
/**
|
|
6364
|
+
* Creates a plain object from a TakePlaylistRequest message. Also converts values to other types if specified.
|
|
6365
|
+
* @param message TakePlaylistRequest
|
|
6366
|
+
* @param [options] Conversion options
|
|
6367
|
+
* @returns Plain object
|
|
6368
|
+
*/
|
|
6369
|
+
public static toObject(message: sesame.v1.sources.TakePlaylistRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
6370
|
+
|
|
6371
|
+
/**
|
|
6372
|
+
* Converts this TakePlaylistRequest to JSON.
|
|
6373
|
+
* @returns JSON object
|
|
6374
|
+
*/
|
|
6375
|
+
public toJSON(): { [k: string]: any };
|
|
6376
|
+
|
|
6377
|
+
/**
|
|
6378
|
+
* Gets the default type url for TakePlaylistRequest
|
|
6379
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
6380
|
+
* @returns The default type url
|
|
6381
|
+
*/
|
|
6382
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
6383
|
+
}
|
|
6384
|
+
|
|
6240
6385
|
/** Properties of an EjectPlaylistRequest. */
|
|
6241
6386
|
interface IEjectPlaylistRequest {
|
|
6242
6387
|
|