@stinkycomputing/sesame-api-client 1.4.1-beta.6 → 1.4.1-beta.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.browser.mjs +89 -71
- package/dist/index.browser.mjs.map +2 -2
- package/dist/index.cjs +89 -71
- package/dist/index.cjs.map +2 -2
- package/dist/index.mjs +89 -71
- package/dist/index.mjs.map +2 -2
- package/dist/jobs-api.d.ts +1 -1
- package/dist/proto/api.d.ts +10 -10
- package/dist/proto/api.js +65 -60
- package/dist/rpc-client.d.ts.map +1 -1
- package/dist/sesame-connection.d.ts.map +1 -1
- package/docs/protocol-reference.md +4 -4
- package/package.json +1 -1
package/dist/jobs-api.d.ts
CHANGED
|
@@ -6,7 +6,7 @@ export declare class JobsApi {
|
|
|
6
6
|
/** @internal */
|
|
7
7
|
constructor(rpc: RPCClient<sesame.v1.rpc.SesameAPIService>);
|
|
8
8
|
importClip(config: sesame.v1.jobs.IImportConfiguration): Promise<sesame.v1.jobs.Job>;
|
|
9
|
-
exportPlaylist(playlist: IPlaylist, config: sesame.v1.jobs.IExportConfiguration): Promise<
|
|
9
|
+
exportPlaylist(playlist: IPlaylist, config: sesame.v1.jobs.IExportConfiguration): Promise<sesame.v1.jobs.Job>;
|
|
10
10
|
abortJob(jobId: number): Promise<sesame.v1.jobs.Job>;
|
|
11
11
|
getJobStatus(jobId: number): Promise<sesame.v1.jobs.Job>;
|
|
12
12
|
listJobs(): Promise<sesame.v1.jobs.JobList>;
|
package/dist/proto/api.d.ts
CHANGED
|
@@ -5437,8 +5437,8 @@ export namespace sesame {
|
|
|
5437
5437
|
/** RecorderClip lockedEndUs */
|
|
5438
5438
|
lockedEndUs?: (number|Long|null);
|
|
5439
5439
|
|
|
5440
|
-
/** RecorderClip
|
|
5441
|
-
|
|
5440
|
+
/** RecorderClip userTimeUs */
|
|
5441
|
+
userTimeUs?: (number|Long|null);
|
|
5442
5442
|
}
|
|
5443
5443
|
|
|
5444
5444
|
/** Represents a RecorderClip. */
|
|
@@ -5474,8 +5474,8 @@ export namespace sesame {
|
|
|
5474
5474
|
/** RecorderClip lockedEndUs. */
|
|
5475
5475
|
public lockedEndUs: (number|Long);
|
|
5476
5476
|
|
|
5477
|
-
/** RecorderClip
|
|
5478
|
-
public
|
|
5477
|
+
/** RecorderClip userTimeUs. */
|
|
5478
|
+
public userTimeUs: (number|Long);
|
|
5479
5479
|
|
|
5480
5480
|
/**
|
|
5481
5481
|
* Creates a new RecorderClip instance using the specified properties.
|
|
@@ -8758,8 +8758,8 @@ export namespace sesame {
|
|
|
8758
8758
|
/** TransportEvent materialPositionUs */
|
|
8759
8759
|
materialPositionUs?: (number|Long|null);
|
|
8760
8760
|
|
|
8761
|
-
/** TransportEvent
|
|
8762
|
-
|
|
8761
|
+
/** TransportEvent userTimeUs */
|
|
8762
|
+
userTimeUs?: (number|Long|null);
|
|
8763
8763
|
|
|
8764
8764
|
/** TransportEvent speed */
|
|
8765
8765
|
speed?: (number|null);
|
|
@@ -8789,7 +8789,7 @@ export namespace sesame {
|
|
|
8789
8789
|
postroll?: (number|null);
|
|
8790
8790
|
|
|
8791
8791
|
/** TransportEvent metadata */
|
|
8792
|
-
metadata?: (
|
|
8792
|
+
metadata?: (sesame.v1.common.ITransportMetadata|null);
|
|
8793
8793
|
}
|
|
8794
8794
|
|
|
8795
8795
|
/** Represents a TransportEvent. */
|
|
@@ -8822,8 +8822,8 @@ export namespace sesame {
|
|
|
8822
8822
|
/** TransportEvent materialPositionUs. */
|
|
8823
8823
|
public materialPositionUs: (number|Long);
|
|
8824
8824
|
|
|
8825
|
-
/** TransportEvent
|
|
8826
|
-
public
|
|
8825
|
+
/** TransportEvent userTimeUs. */
|
|
8826
|
+
public userTimeUs: (number|Long);
|
|
8827
8827
|
|
|
8828
8828
|
/** TransportEvent speed. */
|
|
8829
8829
|
public speed: number;
|
|
@@ -8853,7 +8853,7 @@ export namespace sesame {
|
|
|
8853
8853
|
public postroll: number;
|
|
8854
8854
|
|
|
8855
8855
|
/** TransportEvent metadata. */
|
|
8856
|
-
public metadata
|
|
8856
|
+
public metadata?: (sesame.v1.common.ITransportMetadata|null);
|
|
8857
8857
|
|
|
8858
8858
|
/**
|
|
8859
8859
|
* Creates a new TransportEvent instance using the specified properties.
|
package/dist/proto/api.js
CHANGED
|
@@ -14431,7 +14431,7 @@ export const sesame = $root.sesame = (() => {
|
|
|
14431
14431
|
* @property {number|Long|null} [endTimeUs] RecorderClip endTimeUs
|
|
14432
14432
|
* @property {number|Long|null} [lockedStartUs] RecorderClip lockedStartUs
|
|
14433
14433
|
* @property {number|Long|null} [lockedEndUs] RecorderClip lockedEndUs
|
|
14434
|
-
* @property {number|Long|null} [
|
|
14434
|
+
* @property {number|Long|null} [userTimeUs] RecorderClip userTimeUs
|
|
14435
14435
|
*/
|
|
14436
14436
|
|
|
14437
14437
|
/**
|
|
@@ -14514,12 +14514,12 @@ export const sesame = $root.sesame = (() => {
|
|
|
14514
14514
|
RecorderClip.prototype.lockedEndUs = $util.Long ? $util.Long.fromBits(0,0,false) : 0;
|
|
14515
14515
|
|
|
14516
14516
|
/**
|
|
14517
|
-
* RecorderClip
|
|
14518
|
-
* @member {number|Long}
|
|
14517
|
+
* RecorderClip userTimeUs.
|
|
14518
|
+
* @member {number|Long} userTimeUs
|
|
14519
14519
|
* @memberof sesame.v1.recorder.RecorderClip
|
|
14520
14520
|
* @instance
|
|
14521
14521
|
*/
|
|
14522
|
-
RecorderClip.prototype.
|
|
14522
|
+
RecorderClip.prototype.userTimeUs = $util.Long ? $util.Long.fromBits(0,0,false) : 0;
|
|
14523
14523
|
|
|
14524
14524
|
/**
|
|
14525
14525
|
* Creates a new RecorderClip instance using the specified properties.
|
|
@@ -14561,8 +14561,8 @@ export const sesame = $root.sesame = (() => {
|
|
|
14561
14561
|
writer.uint32(/* id 7, wireType 0 =*/56).int64(message.lockedStartUs);
|
|
14562
14562
|
if (message.lockedEndUs != null && Object.hasOwnProperty.call(message, "lockedEndUs"))
|
|
14563
14563
|
writer.uint32(/* id 8, wireType 0 =*/64).int64(message.lockedEndUs);
|
|
14564
|
-
if (message.
|
|
14565
|
-
writer.uint32(/* id 9, wireType 0 =*/72).int64(message.
|
|
14564
|
+
if (message.userTimeUs != null && Object.hasOwnProperty.call(message, "userTimeUs"))
|
|
14565
|
+
writer.uint32(/* id 9, wireType 0 =*/72).int64(message.userTimeUs);
|
|
14566
14566
|
return writer;
|
|
14567
14567
|
};
|
|
14568
14568
|
|
|
@@ -14632,7 +14632,7 @@ export const sesame = $root.sesame = (() => {
|
|
|
14632
14632
|
break;
|
|
14633
14633
|
}
|
|
14634
14634
|
case 9: {
|
|
14635
|
-
message.
|
|
14635
|
+
message.userTimeUs = reader.int64();
|
|
14636
14636
|
break;
|
|
14637
14637
|
}
|
|
14638
14638
|
default:
|
|
@@ -14694,9 +14694,9 @@ export const sesame = $root.sesame = (() => {
|
|
|
14694
14694
|
if (message.lockedEndUs != null && message.hasOwnProperty("lockedEndUs"))
|
|
14695
14695
|
if (!$util.isInteger(message.lockedEndUs) && !(message.lockedEndUs && $util.isInteger(message.lockedEndUs.low) && $util.isInteger(message.lockedEndUs.high)))
|
|
14696
14696
|
return "lockedEndUs: integer|Long expected";
|
|
14697
|
-
if (message.
|
|
14698
|
-
if (!$util.isInteger(message.
|
|
14699
|
-
return "
|
|
14697
|
+
if (message.userTimeUs != null && message.hasOwnProperty("userTimeUs"))
|
|
14698
|
+
if (!$util.isInteger(message.userTimeUs) && !(message.userTimeUs && $util.isInteger(message.userTimeUs.low) && $util.isInteger(message.userTimeUs.high)))
|
|
14699
|
+
return "userTimeUs: integer|Long expected";
|
|
14700
14700
|
return null;
|
|
14701
14701
|
};
|
|
14702
14702
|
|
|
@@ -14770,15 +14770,15 @@ export const sesame = $root.sesame = (() => {
|
|
|
14770
14770
|
message.lockedEndUs = object.lockedEndUs;
|
|
14771
14771
|
else if (typeof object.lockedEndUs === "object")
|
|
14772
14772
|
message.lockedEndUs = new $util.LongBits(object.lockedEndUs.low >>> 0, object.lockedEndUs.high >>> 0).toNumber();
|
|
14773
|
-
if (object.
|
|
14773
|
+
if (object.userTimeUs != null)
|
|
14774
14774
|
if ($util.Long)
|
|
14775
|
-
(message.
|
|
14776
|
-
else if (typeof object.
|
|
14777
|
-
message.
|
|
14778
|
-
else if (typeof object.
|
|
14779
|
-
message.
|
|
14780
|
-
else if (typeof object.
|
|
14781
|
-
message.
|
|
14775
|
+
(message.userTimeUs = $util.Long.fromValue(object.userTimeUs)).unsigned = false;
|
|
14776
|
+
else if (typeof object.userTimeUs === "string")
|
|
14777
|
+
message.userTimeUs = parseInt(object.userTimeUs, 10);
|
|
14778
|
+
else if (typeof object.userTimeUs === "number")
|
|
14779
|
+
message.userTimeUs = object.userTimeUs;
|
|
14780
|
+
else if (typeof object.userTimeUs === "object")
|
|
14781
|
+
message.userTimeUs = new $util.LongBits(object.userTimeUs.low >>> 0, object.userTimeUs.high >>> 0).toNumber();
|
|
14782
14782
|
return message;
|
|
14783
14783
|
};
|
|
14784
14784
|
|
|
@@ -14830,9 +14830,9 @@ export const sesame = $root.sesame = (() => {
|
|
|
14830
14830
|
object.lockedEndUs = options.longs === String ? "0" : 0;
|
|
14831
14831
|
if ($util.Long) {
|
|
14832
14832
|
let long = new $util.Long(0, 0, false);
|
|
14833
|
-
object.
|
|
14833
|
+
object.userTimeUs = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
14834
14834
|
} else
|
|
14835
|
-
object.
|
|
14835
|
+
object.userTimeUs = options.longs === String ? "0" : 0;
|
|
14836
14836
|
}
|
|
14837
14837
|
if (message.id != null && message.hasOwnProperty("id"))
|
|
14838
14838
|
if (typeof message.id === "number")
|
|
@@ -14868,11 +14868,11 @@ export const sesame = $root.sesame = (() => {
|
|
|
14868
14868
|
object.lockedEndUs = options.longs === String ? String(message.lockedEndUs) : message.lockedEndUs;
|
|
14869
14869
|
else
|
|
14870
14870
|
object.lockedEndUs = options.longs === String ? $util.Long.prototype.toString.call(message.lockedEndUs) : options.longs === Number ? new $util.LongBits(message.lockedEndUs.low >>> 0, message.lockedEndUs.high >>> 0).toNumber() : message.lockedEndUs;
|
|
14871
|
-
if (message.
|
|
14872
|
-
if (typeof message.
|
|
14873
|
-
object.
|
|
14871
|
+
if (message.userTimeUs != null && message.hasOwnProperty("userTimeUs"))
|
|
14872
|
+
if (typeof message.userTimeUs === "number")
|
|
14873
|
+
object.userTimeUs = options.longs === String ? String(message.userTimeUs) : message.userTimeUs;
|
|
14874
14874
|
else
|
|
14875
|
-
object.
|
|
14875
|
+
object.userTimeUs = options.longs === String ? $util.Long.prototype.toString.call(message.userTimeUs) : options.longs === Number ? new $util.LongBits(message.userTimeUs.low >>> 0, message.userTimeUs.high >>> 0).toNumber() : message.userTimeUs;
|
|
14876
14876
|
return object;
|
|
14877
14877
|
};
|
|
14878
14878
|
|
|
@@ -23331,7 +23331,7 @@ export const sesame = $root.sesame = (() => {
|
|
|
23331
23331
|
* @property {number|Long|null} [durationUs] TransportEvent durationUs
|
|
23332
23332
|
* @property {number|Long|null} [positionUs] TransportEvent positionUs
|
|
23333
23333
|
* @property {number|Long|null} [materialPositionUs] TransportEvent materialPositionUs
|
|
23334
|
-
* @property {number|Long|null} [
|
|
23334
|
+
* @property {number|Long|null} [userTimeUs] TransportEvent userTimeUs
|
|
23335
23335
|
* @property {number|null} [speed] TransportEvent speed
|
|
23336
23336
|
* @property {string|null} [userPlaylistId] TransportEvent userPlaylistId
|
|
23337
23337
|
* @property {number|null} [playlistIndex] TransportEvent playlistIndex
|
|
@@ -23341,7 +23341,7 @@ export const sesame = $root.sesame = (() => {
|
|
|
23341
23341
|
* @property {number|Long|null} [clipDurationUs] TransportEvent clipDurationUs
|
|
23342
23342
|
* @property {number|null} [preroll] TransportEvent preroll
|
|
23343
23343
|
* @property {number|null} [postroll] TransportEvent postroll
|
|
23344
|
-
* @property {
|
|
23344
|
+
* @property {sesame.v1.common.ITransportMetadata|null} [metadata] TransportEvent metadata
|
|
23345
23345
|
*/
|
|
23346
23346
|
|
|
23347
23347
|
/**
|
|
@@ -23416,12 +23416,12 @@ export const sesame = $root.sesame = (() => {
|
|
|
23416
23416
|
TransportEvent.prototype.materialPositionUs = $util.Long ? $util.Long.fromBits(0,0,false) : 0;
|
|
23417
23417
|
|
|
23418
23418
|
/**
|
|
23419
|
-
* TransportEvent
|
|
23420
|
-
* @member {number|Long}
|
|
23419
|
+
* TransportEvent userTimeUs.
|
|
23420
|
+
* @member {number|Long} userTimeUs
|
|
23421
23421
|
* @memberof sesame.v1.status.TransportEvent
|
|
23422
23422
|
* @instance
|
|
23423
23423
|
*/
|
|
23424
|
-
TransportEvent.prototype.
|
|
23424
|
+
TransportEvent.prototype.userTimeUs = $util.Long ? $util.Long.fromBits(0,0,false) : 0;
|
|
23425
23425
|
|
|
23426
23426
|
/**
|
|
23427
23427
|
* TransportEvent speed.
|
|
@@ -23497,11 +23497,11 @@ export const sesame = $root.sesame = (() => {
|
|
|
23497
23497
|
|
|
23498
23498
|
/**
|
|
23499
23499
|
* TransportEvent metadata.
|
|
23500
|
-
* @member {
|
|
23500
|
+
* @member {sesame.v1.common.ITransportMetadata|null|undefined} metadata
|
|
23501
23501
|
* @memberof sesame.v1.status.TransportEvent
|
|
23502
23502
|
* @instance
|
|
23503
23503
|
*/
|
|
23504
|
-
TransportEvent.prototype.metadata =
|
|
23504
|
+
TransportEvent.prototype.metadata = null;
|
|
23505
23505
|
|
|
23506
23506
|
/**
|
|
23507
23507
|
* Creates a new TransportEvent instance using the specified properties.
|
|
@@ -23541,8 +23541,8 @@ export const sesame = $root.sesame = (() => {
|
|
|
23541
23541
|
writer.uint32(/* id 6, wireType 0 =*/48).int64(message.positionUs);
|
|
23542
23542
|
if (message.materialPositionUs != null && Object.hasOwnProperty.call(message, "materialPositionUs"))
|
|
23543
23543
|
writer.uint32(/* id 7, wireType 0 =*/56).int64(message.materialPositionUs);
|
|
23544
|
-
if (message.
|
|
23545
|
-
writer.uint32(/* id 8, wireType 0 =*/64).int64(message.
|
|
23544
|
+
if (message.userTimeUs != null && Object.hasOwnProperty.call(message, "userTimeUs"))
|
|
23545
|
+
writer.uint32(/* id 8, wireType 0 =*/64).int64(message.userTimeUs);
|
|
23546
23546
|
if (message.speed != null && Object.hasOwnProperty.call(message, "speed"))
|
|
23547
23547
|
writer.uint32(/* id 9, wireType 5 =*/77).float(message.speed);
|
|
23548
23548
|
if (message.userPlaylistId != null && Object.hasOwnProperty.call(message, "userPlaylistId"))
|
|
@@ -23562,7 +23562,7 @@ export const sesame = $root.sesame = (() => {
|
|
|
23562
23562
|
if (message.postroll != null && Object.hasOwnProperty.call(message, "postroll"))
|
|
23563
23563
|
writer.uint32(/* id 17, wireType 0 =*/136).uint32(message.postroll);
|
|
23564
23564
|
if (message.metadata != null && Object.hasOwnProperty.call(message, "metadata"))
|
|
23565
|
-
writer.uint32(/* id 18, wireType 2 =*/146).
|
|
23565
|
+
$root.sesame.v1.common.TransportMetadata.encode(message.metadata, writer.uint32(/* id 18, wireType 2 =*/146).fork()).ldelim();
|
|
23566
23566
|
return writer;
|
|
23567
23567
|
};
|
|
23568
23568
|
|
|
@@ -23628,7 +23628,7 @@ export const sesame = $root.sesame = (() => {
|
|
|
23628
23628
|
break;
|
|
23629
23629
|
}
|
|
23630
23630
|
case 8: {
|
|
23631
|
-
message.
|
|
23631
|
+
message.userTimeUs = reader.int64();
|
|
23632
23632
|
break;
|
|
23633
23633
|
}
|
|
23634
23634
|
case 9: {
|
|
@@ -23668,7 +23668,7 @@ export const sesame = $root.sesame = (() => {
|
|
|
23668
23668
|
break;
|
|
23669
23669
|
}
|
|
23670
23670
|
case 18: {
|
|
23671
|
-
message.metadata = reader.
|
|
23671
|
+
message.metadata = $root.sesame.v1.common.TransportMetadata.decode(reader, reader.uint32());
|
|
23672
23672
|
break;
|
|
23673
23673
|
}
|
|
23674
23674
|
default:
|
|
@@ -23735,9 +23735,9 @@ export const sesame = $root.sesame = (() => {
|
|
|
23735
23735
|
if (message.materialPositionUs != null && message.hasOwnProperty("materialPositionUs"))
|
|
23736
23736
|
if (!$util.isInteger(message.materialPositionUs) && !(message.materialPositionUs && $util.isInteger(message.materialPositionUs.low) && $util.isInteger(message.materialPositionUs.high)))
|
|
23737
23737
|
return "materialPositionUs: integer|Long expected";
|
|
23738
|
-
if (message.
|
|
23739
|
-
if (!$util.isInteger(message.
|
|
23740
|
-
return "
|
|
23738
|
+
if (message.userTimeUs != null && message.hasOwnProperty("userTimeUs"))
|
|
23739
|
+
if (!$util.isInteger(message.userTimeUs) && !(message.userTimeUs && $util.isInteger(message.userTimeUs.low) && $util.isInteger(message.userTimeUs.high)))
|
|
23740
|
+
return "userTimeUs: integer|Long expected";
|
|
23741
23741
|
if (message.speed != null && message.hasOwnProperty("speed"))
|
|
23742
23742
|
if (typeof message.speed !== "number")
|
|
23743
23743
|
return "speed: number expected";
|
|
@@ -23765,9 +23765,11 @@ export const sesame = $root.sesame = (() => {
|
|
|
23765
23765
|
if (message.postroll != null && message.hasOwnProperty("postroll"))
|
|
23766
23766
|
if (!$util.isInteger(message.postroll))
|
|
23767
23767
|
return "postroll: integer expected";
|
|
23768
|
-
if (message.metadata != null && message.hasOwnProperty("metadata"))
|
|
23769
|
-
|
|
23770
|
-
|
|
23768
|
+
if (message.metadata != null && message.hasOwnProperty("metadata")) {
|
|
23769
|
+
let error = $root.sesame.v1.common.TransportMetadata.verify(message.metadata);
|
|
23770
|
+
if (error)
|
|
23771
|
+
return "metadata." + error;
|
|
23772
|
+
}
|
|
23771
23773
|
return null;
|
|
23772
23774
|
};
|
|
23773
23775
|
|
|
@@ -23844,15 +23846,15 @@ export const sesame = $root.sesame = (() => {
|
|
|
23844
23846
|
message.materialPositionUs = object.materialPositionUs;
|
|
23845
23847
|
else if (typeof object.materialPositionUs === "object")
|
|
23846
23848
|
message.materialPositionUs = new $util.LongBits(object.materialPositionUs.low >>> 0, object.materialPositionUs.high >>> 0).toNumber();
|
|
23847
|
-
if (object.
|
|
23849
|
+
if (object.userTimeUs != null)
|
|
23848
23850
|
if ($util.Long)
|
|
23849
|
-
(message.
|
|
23850
|
-
else if (typeof object.
|
|
23851
|
-
message.
|
|
23852
|
-
else if (typeof object.
|
|
23853
|
-
message.
|
|
23854
|
-
else if (typeof object.
|
|
23855
|
-
message.
|
|
23851
|
+
(message.userTimeUs = $util.Long.fromValue(object.userTimeUs)).unsigned = false;
|
|
23852
|
+
else if (typeof object.userTimeUs === "string")
|
|
23853
|
+
message.userTimeUs = parseInt(object.userTimeUs, 10);
|
|
23854
|
+
else if (typeof object.userTimeUs === "number")
|
|
23855
|
+
message.userTimeUs = object.userTimeUs;
|
|
23856
|
+
else if (typeof object.userTimeUs === "object")
|
|
23857
|
+
message.userTimeUs = new $util.LongBits(object.userTimeUs.low >>> 0, object.userTimeUs.high >>> 0).toNumber();
|
|
23856
23858
|
if (object.speed != null)
|
|
23857
23859
|
message.speed = Number(object.speed);
|
|
23858
23860
|
if (object.userPlaylistId != null)
|
|
@@ -23892,8 +23894,11 @@ export const sesame = $root.sesame = (() => {
|
|
|
23892
23894
|
message.preroll = object.preroll >>> 0;
|
|
23893
23895
|
if (object.postroll != null)
|
|
23894
23896
|
message.postroll = object.postroll >>> 0;
|
|
23895
|
-
if (object.metadata != null)
|
|
23896
|
-
|
|
23897
|
+
if (object.metadata != null) {
|
|
23898
|
+
if (typeof object.metadata !== "object")
|
|
23899
|
+
throw TypeError(".sesame.v1.status.TransportEvent.metadata: object expected");
|
|
23900
|
+
message.metadata = $root.sesame.v1.common.TransportMetadata.fromObject(object.metadata);
|
|
23901
|
+
}
|
|
23897
23902
|
return message;
|
|
23898
23903
|
};
|
|
23899
23904
|
|
|
@@ -23932,9 +23937,9 @@ export const sesame = $root.sesame = (() => {
|
|
|
23932
23937
|
object.materialPositionUs = options.longs === String ? "0" : 0;
|
|
23933
23938
|
if ($util.Long) {
|
|
23934
23939
|
let long = new $util.Long(0, 0, false);
|
|
23935
|
-
object.
|
|
23940
|
+
object.userTimeUs = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
23936
23941
|
} else
|
|
23937
|
-
object.
|
|
23942
|
+
object.userTimeUs = options.longs === String ? "0" : 0;
|
|
23938
23943
|
object.speed = 0;
|
|
23939
23944
|
object.userPlaylistId = "";
|
|
23940
23945
|
object.playlistIndex = 0;
|
|
@@ -23956,7 +23961,7 @@ export const sesame = $root.sesame = (() => {
|
|
|
23956
23961
|
object.clipDurationUs = options.longs === String ? "0" : 0;
|
|
23957
23962
|
object.preroll = 0;
|
|
23958
23963
|
object.postroll = 0;
|
|
23959
|
-
object.metadata =
|
|
23964
|
+
object.metadata = null;
|
|
23960
23965
|
}
|
|
23961
23966
|
if (message.sourceId != null && message.hasOwnProperty("sourceId"))
|
|
23962
23967
|
object.sourceId = message.sourceId;
|
|
@@ -23981,11 +23986,11 @@ export const sesame = $root.sesame = (() => {
|
|
|
23981
23986
|
object.materialPositionUs = options.longs === String ? String(message.materialPositionUs) : message.materialPositionUs;
|
|
23982
23987
|
else
|
|
23983
23988
|
object.materialPositionUs = options.longs === String ? $util.Long.prototype.toString.call(message.materialPositionUs) : options.longs === Number ? new $util.LongBits(message.materialPositionUs.low >>> 0, message.materialPositionUs.high >>> 0).toNumber() : message.materialPositionUs;
|
|
23984
|
-
if (message.
|
|
23985
|
-
if (typeof message.
|
|
23986
|
-
object.
|
|
23989
|
+
if (message.userTimeUs != null && message.hasOwnProperty("userTimeUs"))
|
|
23990
|
+
if (typeof message.userTimeUs === "number")
|
|
23991
|
+
object.userTimeUs = options.longs === String ? String(message.userTimeUs) : message.userTimeUs;
|
|
23987
23992
|
else
|
|
23988
|
-
object.
|
|
23993
|
+
object.userTimeUs = options.longs === String ? $util.Long.prototype.toString.call(message.userTimeUs) : options.longs === Number ? new $util.LongBits(message.userTimeUs.low >>> 0, message.userTimeUs.high >>> 0).toNumber() : message.userTimeUs;
|
|
23989
23994
|
if (message.speed != null && message.hasOwnProperty("speed"))
|
|
23990
23995
|
object.speed = options.json && !isFinite(message.speed) ? String(message.speed) : message.speed;
|
|
23991
23996
|
if (message.userPlaylistId != null && message.hasOwnProperty("userPlaylistId"))
|
|
@@ -24014,7 +24019,7 @@ export const sesame = $root.sesame = (() => {
|
|
|
24014
24019
|
if (message.postroll != null && message.hasOwnProperty("postroll"))
|
|
24015
24020
|
object.postroll = message.postroll;
|
|
24016
24021
|
if (message.metadata != null && message.hasOwnProperty("metadata"))
|
|
24017
|
-
object.metadata = message.metadata;
|
|
24022
|
+
object.metadata = $root.sesame.v1.common.TransportMetadata.toObject(message.metadata, options);
|
|
24018
24023
|
return object;
|
|
24019
24024
|
};
|
|
24020
24025
|
|
package/dist/rpc-client.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"rpc-client.d.ts","sourceRoot":"","sources":["../src/rpc-client.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,QAAQ,CAAA;AACrC,OAAO,KAAK,QAAQ,MAAM,oBAAoB,CAAA;AAC9C,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAErC,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAEvD,MAAM,WAAW,aAAa;
|
|
1
|
+
{"version":3,"file":"rpc-client.d.ts","sourceRoot":"","sources":["../src/rpc-client.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,QAAQ,CAAA;AACrC,OAAO,KAAK,QAAQ,MAAM,oBAAoB,CAAA;AAC9C,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAErC,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAEvD,MAAM,WAAW,aAAa;IAC1B,MAAM,CAAC,OAAO,EAAE,GAAG,EAAE,MAAM,CAAC,EAAE,QAAQ,CAAC,MAAM,GAAG,QAAQ,CAAC,MAAM,CAAC;IAChE,MAAM,CAAC,MAAM,EAAE,CAAC,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O,CAAC,MAAM,CAAkB;IAChC,OAAO,CAAC,UAAU,CAAa;IAC/B,OAAO,CAAC,GAAG,CAAc;IACzB,OAAO,CAAC,aAAa,CAAiB;IACtC,OAAO,CAAC,MAAM,CAAiD;IAE/D,IAAW,KAAK,IAAI,eAAe,CAElC;IAED,OAAO,CAAC,QAAQ;IAuBhB,OAAO,CAAC,mBAAmB,CAAuD;IAClF,OAAO,CAAC,gBAAgB,CAA4B;IACpD,OAAO,CAAC,iBAAiB,CAA6B;IACtD,OAAO,CAAC,iBAAiB,CAA8C;gBAE3D,OAAO,EAAE,kBAAkB;IAShC,WAAW,IAAI,OAAO;IAIhB,IAAI,CAAC,IAAI,EAAE,UAAU;IAQrB,OAAO;IAsCpB;;OAEG;IACU,UAAU;IAcvB,OAAO,CAAC,qBAAqB;IAO7B,OAAO,CAAC,YAAY;IAMpB,OAAO,CAAC,YAAY;IAqBpB,OAAO,CAAC,YAAY;IAIpB,OAAO,CAAC,WAAW,CAIlB;IAED,SAAS,CAAC,cAAc,GAAI,OAAO,YAAY,UAe9C;CACF"}
|
|
@@ -722,7 +722,7 @@ Oneof `output` — exactly one required:
|
|
|
722
722
|
| `end_time_us` | int64 | End time (μs) |
|
|
723
723
|
| `locked_start_us` | int64 | Locked start (μs) |
|
|
724
724
|
| `locked_end_us` | int64 | Locked end (μs) |
|
|
725
|
-
| `
|
|
725
|
+
| `user_time_us` | int64 | User timecode (μs) |
|
|
726
726
|
|
|
727
727
|
### PlaylistItem
|
|
728
728
|
|
|
@@ -802,8 +802,8 @@ Oneof `request`:
|
|
|
802
802
|
| `name` | string | Job name |
|
|
803
803
|
| `description` | string | Job description (e.g. filename) |
|
|
804
804
|
| `error` | string? | Error message (when status = ERROR) |
|
|
805
|
-
| `progress` | int64 | Current progress (
|
|
806
|
-
| `total` | int64 | Total duration (
|
|
805
|
+
| `progress` | int64 | Current progress (μs) |
|
|
806
|
+
| `total` | int64 | Total duration (μs) |
|
|
807
807
|
| `timing_info` | TimingInfo? | Timing info (set on import completion) |
|
|
808
808
|
|
|
809
809
|
### JobStartRequest
|
|
@@ -944,7 +944,7 @@ Push event wrapper. Oneof `event`:
|
|
|
944
944
|
| `duration_us` | int64 | Duration (μs) |
|
|
945
945
|
| `position_us` | int64 | Playback position (μs) |
|
|
946
946
|
| `material_position_us` | int64 | Material position (μs) |
|
|
947
|
-
| `
|
|
947
|
+
| `user_time_us` | int64 | User time (μs) |
|
|
948
948
|
| `speed` | float | Playback speed |
|
|
949
949
|
| `user_playlist_id` | string | User playlist ID |
|
|
950
950
|
| `playlist_index` | uint32 | Playlist item index |
|
package/package.json
CHANGED