@stinkycomputing/sesame-api-client 1.4.1-alpha.7 → 1.4.1-alpha.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/browser.cjs +21 -21
- package/dist/browser.cjs.map +1 -1
- package/dist/browser.mjs +21 -21
- package/dist/browser.mjs.map +1 -1
- package/dist/index.cjs +169 -136
- package/dist/index.cjs.map +4 -4
- package/dist/index.d.ts +4 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.mjs +166 -136
- package/dist/index.mjs.map +4 -4
- package/dist/jobs-api.d.ts +15 -0
- package/dist/jobs-api.d.ts.map +1 -0
- package/dist/proto/api.d.ts +4 -4
- package/dist/proto/api.js +24 -24
- package/dist/recorder-api.d.ts +16 -0
- package/dist/recorder-api.d.ts.map +1 -0
- package/dist/sesame-api-client.d.ts +16 -25
- package/dist/sesame-api-client.d.ts.map +1 -1
- package/dist/status-api.d.ts +11 -0
- package/dist/status-api.d.ts.map +1 -0
- package/package.json +1 -1
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { RPCClient } from './rpc-client';
|
|
2
|
+
import { sesame } from './proto/api';
|
|
3
|
+
import { IPlaylist } from './command-list';
|
|
4
|
+
export declare class JobsApi {
|
|
5
|
+
private rpc;
|
|
6
|
+
/** @internal */
|
|
7
|
+
constructor(rpc: RPCClient<sesame.v1.rpc.SesameAPIService>);
|
|
8
|
+
importClip(config: sesame.v1.jobs.IImportConfiguration): Promise<sesame.v1.jobs.JobStatusResponse>;
|
|
9
|
+
getImportStatus(): Promise<sesame.v1.jobs.JobListResponse>;
|
|
10
|
+
abortImport(jobId: number): Promise<sesame.v1.jobs.JobStatusResponse>;
|
|
11
|
+
exportPlaylist(playlist: IPlaylist, config: sesame.v1.jobs.IExportConfiguration): Promise<void>;
|
|
12
|
+
getExportStatus(): Promise<sesame.v1.jobs.JobListResponse>;
|
|
13
|
+
abortExport(jobId: number): Promise<sesame.v1.jobs.JobStatusResponse>;
|
|
14
|
+
}
|
|
15
|
+
//# sourceMappingURL=jobs-api.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"jobs-api.d.ts","sourceRoot":"","sources":["../src/jobs-api.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AACzC,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AACrC,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAE3C,qBAAa,OAAO;IAEN,OAAO,CAAC,GAAG;IADvB,gBAAgB;gBACI,GAAG,EAAE,SAAS,CAAC,MAAM,CAAC,EAAE,CAAC,GAAG,CAAC,gBAAgB,CAAC;IAE5D,UAAU,CAAC,MAAM,EAAE,MAAM,CAAC,EAAE,CAAC,IAAI,CAAC,oBAAoB;IAUtD,eAAe;IAKf,WAAW,CAAC,KAAK,EAAE,MAAM;IAKzB,cAAc,CAAC,QAAQ,EAAE,SAAS,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,CAAC,IAAI,CAAC,oBAAoB;IA+B/E,eAAe;IAKf,WAAW,CAAC,KAAK,EAAE,MAAM;CAIhC"}
|
package/dist/proto/api.d.ts
CHANGED
|
@@ -5438,8 +5438,8 @@ export namespace sesame {
|
|
|
5438
5438
|
/** RecorderClip lockedEndUs */
|
|
5439
5439
|
lockedEndUs?: (number|Long|null);
|
|
5440
5440
|
|
|
5441
|
-
/** RecorderClip
|
|
5442
|
-
|
|
5441
|
+
/** RecorderClip userTimeMs */
|
|
5442
|
+
userTimeMs?: (number|Long|null);
|
|
5443
5443
|
}
|
|
5444
5444
|
|
|
5445
5445
|
/** Represents a RecorderClip. */
|
|
@@ -5475,8 +5475,8 @@ export namespace sesame {
|
|
|
5475
5475
|
/** RecorderClip lockedEndUs. */
|
|
5476
5476
|
public lockedEndUs: (number|Long);
|
|
5477
5477
|
|
|
5478
|
-
/** RecorderClip
|
|
5479
|
-
public
|
|
5478
|
+
/** RecorderClip userTimeMs. */
|
|
5479
|
+
public userTimeMs: (number|Long);
|
|
5480
5480
|
|
|
5481
5481
|
/**
|
|
5482
5482
|
* Creates a new RecorderClip instance using the specified properties.
|
package/dist/proto/api.js
CHANGED
|
@@ -14433,7 +14433,7 @@ export const sesame = $root.sesame = (() => {
|
|
|
14433
14433
|
* @property {number|Long|null} [endTimeUs] RecorderClip endTimeUs
|
|
14434
14434
|
* @property {number|Long|null} [lockedStartUs] RecorderClip lockedStartUs
|
|
14435
14435
|
* @property {number|Long|null} [lockedEndUs] RecorderClip lockedEndUs
|
|
14436
|
-
* @property {number|Long|null} [
|
|
14436
|
+
* @property {number|Long|null} [userTimeMs] RecorderClip userTimeMs
|
|
14437
14437
|
*/
|
|
14438
14438
|
|
|
14439
14439
|
/**
|
|
@@ -14516,12 +14516,12 @@ export const sesame = $root.sesame = (() => {
|
|
|
14516
14516
|
RecorderClip.prototype.lockedEndUs = $util.Long ? $util.Long.fromBits(0,0,false) : 0;
|
|
14517
14517
|
|
|
14518
14518
|
/**
|
|
14519
|
-
* RecorderClip
|
|
14520
|
-
* @member {number|Long}
|
|
14519
|
+
* RecorderClip userTimeMs.
|
|
14520
|
+
* @member {number|Long} userTimeMs
|
|
14521
14521
|
* @memberof sesame.v1.recorder.RecorderClip
|
|
14522
14522
|
* @instance
|
|
14523
14523
|
*/
|
|
14524
|
-
RecorderClip.prototype.
|
|
14524
|
+
RecorderClip.prototype.userTimeMs = $util.Long ? $util.Long.fromBits(0,0,false) : 0;
|
|
14525
14525
|
|
|
14526
14526
|
/**
|
|
14527
14527
|
* Creates a new RecorderClip instance using the specified properties.
|
|
@@ -14563,8 +14563,8 @@ export const sesame = $root.sesame = (() => {
|
|
|
14563
14563
|
writer.uint32(/* id 7, wireType 0 =*/56).int64(message.lockedStartUs);
|
|
14564
14564
|
if (message.lockedEndUs != null && Object.hasOwnProperty.call(message, "lockedEndUs"))
|
|
14565
14565
|
writer.uint32(/* id 8, wireType 0 =*/64).int64(message.lockedEndUs);
|
|
14566
|
-
if (message.
|
|
14567
|
-
writer.uint32(/* id 9, wireType 0 =*/72).int64(message.
|
|
14566
|
+
if (message.userTimeMs != null && Object.hasOwnProperty.call(message, "userTimeMs"))
|
|
14567
|
+
writer.uint32(/* id 9, wireType 0 =*/72).int64(message.userTimeMs);
|
|
14568
14568
|
return writer;
|
|
14569
14569
|
};
|
|
14570
14570
|
|
|
@@ -14634,7 +14634,7 @@ export const sesame = $root.sesame = (() => {
|
|
|
14634
14634
|
break;
|
|
14635
14635
|
}
|
|
14636
14636
|
case 9: {
|
|
14637
|
-
message.
|
|
14637
|
+
message.userTimeMs = reader.int64();
|
|
14638
14638
|
break;
|
|
14639
14639
|
}
|
|
14640
14640
|
default:
|
|
@@ -14696,9 +14696,9 @@ export const sesame = $root.sesame = (() => {
|
|
|
14696
14696
|
if (message.lockedEndUs != null && message.hasOwnProperty("lockedEndUs"))
|
|
14697
14697
|
if (!$util.isInteger(message.lockedEndUs) && !(message.lockedEndUs && $util.isInteger(message.lockedEndUs.low) && $util.isInteger(message.lockedEndUs.high)))
|
|
14698
14698
|
return "lockedEndUs: integer|Long expected";
|
|
14699
|
-
if (message.
|
|
14700
|
-
if (!$util.isInteger(message.
|
|
14701
|
-
return "
|
|
14699
|
+
if (message.userTimeMs != null && message.hasOwnProperty("userTimeMs"))
|
|
14700
|
+
if (!$util.isInteger(message.userTimeMs) && !(message.userTimeMs && $util.isInteger(message.userTimeMs.low) && $util.isInteger(message.userTimeMs.high)))
|
|
14701
|
+
return "userTimeMs: integer|Long expected";
|
|
14702
14702
|
return null;
|
|
14703
14703
|
};
|
|
14704
14704
|
|
|
@@ -14772,15 +14772,15 @@ export const sesame = $root.sesame = (() => {
|
|
|
14772
14772
|
message.lockedEndUs = object.lockedEndUs;
|
|
14773
14773
|
else if (typeof object.lockedEndUs === "object")
|
|
14774
14774
|
message.lockedEndUs = new $util.LongBits(object.lockedEndUs.low >>> 0, object.lockedEndUs.high >>> 0).toNumber();
|
|
14775
|
-
if (object.
|
|
14775
|
+
if (object.userTimeMs != null)
|
|
14776
14776
|
if ($util.Long)
|
|
14777
|
-
(message.
|
|
14778
|
-
else if (typeof object.
|
|
14779
|
-
message.
|
|
14780
|
-
else if (typeof object.
|
|
14781
|
-
message.
|
|
14782
|
-
else if (typeof object.
|
|
14783
|
-
message.
|
|
14777
|
+
(message.userTimeMs = $util.Long.fromValue(object.userTimeMs)).unsigned = false;
|
|
14778
|
+
else if (typeof object.userTimeMs === "string")
|
|
14779
|
+
message.userTimeMs = parseInt(object.userTimeMs, 10);
|
|
14780
|
+
else if (typeof object.userTimeMs === "number")
|
|
14781
|
+
message.userTimeMs = object.userTimeMs;
|
|
14782
|
+
else if (typeof object.userTimeMs === "object")
|
|
14783
|
+
message.userTimeMs = new $util.LongBits(object.userTimeMs.low >>> 0, object.userTimeMs.high >>> 0).toNumber();
|
|
14784
14784
|
return message;
|
|
14785
14785
|
};
|
|
14786
14786
|
|
|
@@ -14832,9 +14832,9 @@ export const sesame = $root.sesame = (() => {
|
|
|
14832
14832
|
object.lockedEndUs = options.longs === String ? "0" : 0;
|
|
14833
14833
|
if ($util.Long) {
|
|
14834
14834
|
let long = new $util.Long(0, 0, false);
|
|
14835
|
-
object.
|
|
14835
|
+
object.userTimeMs = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
14836
14836
|
} else
|
|
14837
|
-
object.
|
|
14837
|
+
object.userTimeMs = options.longs === String ? "0" : 0;
|
|
14838
14838
|
}
|
|
14839
14839
|
if (message.id != null && message.hasOwnProperty("id"))
|
|
14840
14840
|
if (typeof message.id === "number")
|
|
@@ -14870,11 +14870,11 @@ export const sesame = $root.sesame = (() => {
|
|
|
14870
14870
|
object.lockedEndUs = options.longs === String ? String(message.lockedEndUs) : message.lockedEndUs;
|
|
14871
14871
|
else
|
|
14872
14872
|
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;
|
|
14873
|
-
if (message.
|
|
14874
|
-
if (typeof message.
|
|
14875
|
-
object.
|
|
14873
|
+
if (message.userTimeMs != null && message.hasOwnProperty("userTimeMs"))
|
|
14874
|
+
if (typeof message.userTimeMs === "number")
|
|
14875
|
+
object.userTimeMs = options.longs === String ? String(message.userTimeMs) : message.userTimeMs;
|
|
14876
14876
|
else
|
|
14877
|
-
object.
|
|
14877
|
+
object.userTimeMs = options.longs === String ? $util.Long.prototype.toString.call(message.userTimeMs) : options.longs === Number ? new $util.LongBits(message.userTimeMs.low >>> 0, message.userTimeMs.high >>> 0).toNumber() : message.userTimeMs;
|
|
14878
14878
|
return object;
|
|
14879
14879
|
};
|
|
14880
14880
|
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { RPCClient } from './rpc-client';
|
|
2
|
+
import { sesame } from './proto/api';
|
|
3
|
+
export declare class RecorderApi {
|
|
4
|
+
private rpc;
|
|
5
|
+
/** @internal */
|
|
6
|
+
constructor(rpc: RPCClient<sesame.v1.rpc.SesameAPIService>);
|
|
7
|
+
addClip(recorderId: string, clip: sesame.v1.recorder.IRecorderClip): Promise<void>;
|
|
8
|
+
copyClip(recorderId: string, clipId: number, newClipId: number): Promise<void>;
|
|
9
|
+
removeClip(recorderId: string, id: number): Promise<void>;
|
|
10
|
+
removeAllClips(recorderId: string, protect?: sesame.v1.recorder.IRecorderClipRange[]): Promise<void>;
|
|
11
|
+
verifyClips(recorderId: string): Promise<string[]>;
|
|
12
|
+
getClips(recorderId: string): Promise<sesame.v1.recorder.IRecorderClip[]>;
|
|
13
|
+
setLockedDuration(frames: number): Promise<void>;
|
|
14
|
+
setMetadata(recorderId: string, metadata: sesame.v1.common.ITransportMetadata): Promise<void>;
|
|
15
|
+
}
|
|
16
|
+
//# sourceMappingURL=recorder-api.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"recorder-api.d.ts","sourceRoot":"","sources":["../src/recorder-api.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AACzC,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAErC,qBAAa,WAAW;IAEV,OAAO,CAAC,GAAG;IADvB,gBAAgB;gBACI,GAAG,EAAE,SAAS,CAAC,MAAM,CAAC,EAAE,CAAC,GAAG,CAAC,gBAAgB,CAAC;IAE5D,OAAO,CAAC,UAAU,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,CAAC,EAAE,CAAC,QAAQ,CAAC,aAAa;IAKlE,QAAQ,CAAC,UAAU,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM;IAK9D,UAAU,CAAC,UAAU,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM;IAKzC,cAAc,CAAC,UAAU,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,MAAM,CAAC,EAAE,CAAC,QAAQ,CAAC,kBAAkB,EAAE;IAMpF,WAAW,CAAC,UAAU,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,EAAE,CAAC;IAMlD,QAAQ,CAAC,UAAU,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC,EAAE,CAAC,QAAQ,CAAC,aAAa,EAAE,CAAC;IAUzE,iBAAiB,CAAC,MAAM,EAAE,MAAM;IAKhC,WAAW,CAAC,UAAU,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,CAAC,EAAE,CAAC,MAAM,CAAC,kBAAkB;CAIpF"}
|
|
@@ -1,8 +1,14 @@
|
|
|
1
1
|
import { VideoCallback, AudioCallback } from './sesame-connection';
|
|
2
2
|
import { RPCClient } from './rpc-client';
|
|
3
3
|
import { sesame } from './proto/api';
|
|
4
|
-
import { CommandList
|
|
4
|
+
import { CommandList } from './command-list';
|
|
5
5
|
import { EventEmitter } from 'events';
|
|
6
|
+
import { StatusApi } from './status-api';
|
|
7
|
+
import { RecorderApi } from './recorder-api';
|
|
8
|
+
import { JobsApi } from './jobs-api';
|
|
9
|
+
export { StatusApi } from './status-api';
|
|
10
|
+
export { RecorderApi } from './recorder-api';
|
|
11
|
+
export { JobsApi } from './jobs-api';
|
|
6
12
|
export declare enum EaseKind {
|
|
7
13
|
STEPPED = "stepped",
|
|
8
14
|
LINEAR = "linear",
|
|
@@ -37,7 +43,7 @@ export declare enum EaseKind {
|
|
|
37
43
|
BACK_OUT = "backOut",
|
|
38
44
|
BACK_INOUT = "backInOut"
|
|
39
45
|
}
|
|
40
|
-
interface TopicDataCallback {
|
|
46
|
+
export interface TopicDataCallback {
|
|
41
47
|
(topic: sesame.v1.common.EventTopic, msg: sesame.v1.status.Event): void;
|
|
42
48
|
}
|
|
43
49
|
interface CallbackMessage {
|
|
@@ -46,38 +52,23 @@ interface CallbackMessage {
|
|
|
46
52
|
export declare class SesameClient extends EventEmitter {
|
|
47
53
|
private conn;
|
|
48
54
|
private rpc;
|
|
49
|
-
private
|
|
55
|
+
private videoSubscriptionId;
|
|
50
56
|
private subscriptions;
|
|
51
57
|
private errorIsLogged;
|
|
58
|
+
readonly status: StatusApi;
|
|
59
|
+
readonly recorder: RecorderApi;
|
|
60
|
+
readonly jobs: JobsApi;
|
|
52
61
|
onVideoPacket: VideoCallback;
|
|
53
62
|
onAudioPacket: AudioCallback;
|
|
54
63
|
onCallbackMessage: CallbackMessage;
|
|
55
64
|
isConnected(): boolean;
|
|
56
65
|
constructor(portOrUrl: number | string);
|
|
57
|
-
private
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
add_video_subscription(id: string): void;
|
|
62
|
-
add_subscription(topic: sesame.v1.common.EventTopic, callback: TopicDataCallback): void;
|
|
63
|
-
remove_subscription(topic: sesame.v1.common.EventTopic, callback: TopicDataCallback): void;
|
|
66
|
+
private sendSubscriptions;
|
|
67
|
+
addVideoSubscription(id: string): void;
|
|
68
|
+
addSubscription(topic: sesame.v1.common.EventTopic, callback: TopicDataCallback): void;
|
|
69
|
+
removeSubscription(topic: sesame.v1.common.EventTopic, callback: TopicDataCallback): void;
|
|
64
70
|
getService(): RPCClient<sesame.v1.rpc.SesameAPIService>;
|
|
65
71
|
execute(cl: CommandList): Promise<void>;
|
|
66
|
-
addClip(recorderId: string, clip: sesame.v1.recorder.IRecorderClip): Promise<void>;
|
|
67
|
-
copyClip(recorderId: string, clipId: number, newClipId: number): Promise<void>;
|
|
68
|
-
removeClip(recorderId: string, id: number): Promise<void>;
|
|
69
|
-
removeAllClips(recorderId: string, protect?: sesame.v1.recorder.IRecorderClipRange[]): Promise<void>;
|
|
70
|
-
verifyClips(recorderId: string): Promise<string[]>;
|
|
71
|
-
setLockedDuration(frames: number): Promise<void>;
|
|
72
|
-
setMetadata(recorderId: string, metadata: sesame.v1.common.ITransportMetadata): Promise<void>;
|
|
73
|
-
getClips(recorderId: string): Promise<sesame.v1.recorder.IRecorderClip[]>;
|
|
74
|
-
getImportClipStatus(): Promise<sesame.v1.jobs.JobListResponse>;
|
|
75
|
-
getExportPlaylistStatus(): Promise<sesame.v1.jobs.JobListResponse>;
|
|
76
|
-
exportPlaylist(playlist: IPlaylist, config: sesame.v1.jobs.IExportConfiguration): Promise<void>;
|
|
77
|
-
importClip(config: sesame.v1.jobs.IImportConfiguration): Promise<sesame.v1.jobs.JobStatusResponse>;
|
|
78
|
-
abortExportJob(jobId: number): Promise<sesame.v1.jobs.JobStatusResponse>;
|
|
79
|
-
abortImportJob(jobId: number): Promise<sesame.v1.jobs.JobStatusResponse>;
|
|
80
72
|
disconnect(): void;
|
|
81
73
|
}
|
|
82
|
-
export {};
|
|
83
74
|
//# sourceMappingURL=sesame-api-client.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sesame-api-client.d.ts","sourceRoot":"","sources":["../src/sesame-api-client.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,aAAa,EAAoB,MAAM,qBAAqB,CAAA;AACpF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E,iBAAiB;IAKlF,UAAU;IAIJ,OAAO,CAAC,EAAE,EAAE,WAAW;IAO7B,UAAU;CAGlB"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { RPCClient } from './rpc-client';
|
|
2
|
+
import { sesame } from './proto/api';
|
|
3
|
+
export declare class StatusApi {
|
|
4
|
+
private rpc;
|
|
5
|
+
/** @internal */
|
|
6
|
+
constructor(rpc: RPCClient<sesame.v1.rpc.SesameAPIService>);
|
|
7
|
+
getStatus(): Promise<sesame.v1.status.Status>;
|
|
8
|
+
getIODevices(): Promise<sesame.v1.status.IODeviceListResponse>;
|
|
9
|
+
requestKeyframe(outputId: string): Promise<void>;
|
|
10
|
+
}
|
|
11
|
+
//# sourceMappingURL=status-api.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"status-api.d.ts","sourceRoot":"","sources":["../src/status-api.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AACzC,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAErC,qBAAa,SAAS;IAER,OAAO,CAAC,GAAG;IADvB,gBAAgB;gBACI,GAAG,EAAE,SAAS,CAAC,MAAM,CAAC,EAAE,CAAC,GAAG,CAAC,gBAAgB,CAAC;IAE5D,SAAS,IAAI,OAAO,CAAC,MAAM,CAAC,EAAE,CAAC,MAAM,CAAC,MAAM,CAAC;IAI7C,YAAY,IAAI,OAAO,CAAC,MAAM,CAAC,EAAE,CAAC,MAAM,CAAC,oBAAoB,CAAC;IAI9D,eAAe,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;CAGvD"}
|
package/package.json
CHANGED