@stinkycomputing/sesame-api-client 1.4.1-alpha.0 → 1.4.1-alpha.10
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 +8 -8
- package/dist/browser.cjs +226 -452
- package/dist/browser.cjs.map +2 -2
- package/dist/browser.d.ts +1 -1
- package/dist/browser.d.ts.map +1 -1
- package/dist/browser.mjs +226 -452
- package/dist/browser.mjs.map +2 -2
- package/dist/command-list.d.ts +76 -161
- package/dist/command-list.d.ts.map +1 -1
- package/dist/index.browser.mjs +22611 -0
- package/dist/index.browser.mjs.map +7 -0
- package/dist/index.cjs +585 -744
- package/dist/index.cjs.map +4 -4
- package/dist/index.d.ts +6 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.mjs +458 -621
- 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 +48 -145
- package/dist/proto/api.js +233 -443
- package/dist/recorder-api.d.ts +16 -0
- package/dist/recorder-api.d.ts.map +1 -0
- package/dist/rpc-client.d.ts +1 -6
- package/dist/rpc-client.d.ts.map +1 -1
- package/dist/sesame-api-client.d.ts +15 -54
- package/dist/sesame-api-client.d.ts.map +1 -1
- package/dist/sesame-connection.d.ts +15 -6
- package/dist/sesame-connection.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 +11 -14
package/dist/index.cjs
CHANGED
|
@@ -32,16 +32,20 @@ var index_exports = {};
|
|
|
32
32
|
__export(index_exports, {
|
|
33
33
|
CodecType: () => CodecType,
|
|
34
34
|
CommandList: () => CommandList,
|
|
35
|
+
ConnectionState: () => ConnectionState,
|
|
35
36
|
EaseKind: () => EaseKind,
|
|
36
37
|
Event: () => Event,
|
|
38
|
+
JobsApi: () => JobsApi,
|
|
37
39
|
Message: () => Message,
|
|
38
40
|
PacketType: () => PacketType,
|
|
39
41
|
RPCClient: () => RPCClient,
|
|
42
|
+
RecorderApi: () => RecorderApi,
|
|
40
43
|
Request: () => Request,
|
|
41
44
|
Response: () => Response,
|
|
42
45
|
SesameBinaryProtocol: () => SesameBinaryProtocol,
|
|
43
46
|
SesameClient: () => SesameClient,
|
|
44
47
|
SesameConnection: () => SesameConnection,
|
|
48
|
+
StatusApi: () => StatusApi,
|
|
45
49
|
getLogger: () => getLogger,
|
|
46
50
|
log: () => log,
|
|
47
51
|
sesame: () => sesame,
|
|
@@ -51,11 +55,11 @@ __export(index_exports, {
|
|
|
51
55
|
module.exports = __toCommonJS(index_exports);
|
|
52
56
|
|
|
53
57
|
// src/proto/api.js
|
|
54
|
-
var
|
|
55
|
-
var $Reader =
|
|
56
|
-
var $Writer =
|
|
57
|
-
var $util =
|
|
58
|
-
var $root =
|
|
58
|
+
var import_minimal = __toESM(require("protobufjs/minimal.js"));
|
|
59
|
+
var $Reader = import_minimal.default.Reader;
|
|
60
|
+
var $Writer = import_minimal.default.Writer;
|
|
61
|
+
var $util = import_minimal.default.util;
|
|
62
|
+
var $root = import_minimal.default.roots["default"] || (import_minimal.default.roots["default"] = {});
|
|
59
63
|
var sesame = $root.sesame = (() => {
|
|
60
64
|
const sesame2 = {};
|
|
61
65
|
sesame2.v1 = function() {
|
|
@@ -167,7 +171,7 @@ var sesame = $root.sesame = (() => {
|
|
|
167
171
|
return object;
|
|
168
172
|
};
|
|
169
173
|
AudioPluginParam.prototype.toJSON = function toJSON() {
|
|
170
|
-
return this.constructor.toObject(this,
|
|
174
|
+
return this.constructor.toObject(this, import_minimal.default.util.toJSONOptions);
|
|
171
175
|
};
|
|
172
176
|
AudioPluginParam.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
173
177
|
if (typeUrlPrefix === void 0) {
|
|
@@ -313,7 +317,7 @@ var sesame = $root.sesame = (() => {
|
|
|
313
317
|
return object;
|
|
314
318
|
};
|
|
315
319
|
AudioPluginParamStatus.prototype.toJSON = function toJSON() {
|
|
316
|
-
return this.constructor.toObject(this,
|
|
320
|
+
return this.constructor.toObject(this, import_minimal.default.util.toJSONOptions);
|
|
317
321
|
};
|
|
318
322
|
AudioPluginParamStatus.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
319
323
|
if (typeUrlPrefix === void 0) {
|
|
@@ -496,7 +500,7 @@ var sesame = $root.sesame = (() => {
|
|
|
496
500
|
return object;
|
|
497
501
|
};
|
|
498
502
|
AudioPlugin.prototype.toJSON = function toJSON() {
|
|
499
|
-
return this.constructor.toObject(this,
|
|
503
|
+
return this.constructor.toObject(this, import_minimal.default.util.toJSONOptions);
|
|
500
504
|
};
|
|
501
505
|
AudioPlugin.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
502
506
|
if (typeUrlPrefix === void 0) {
|
|
@@ -767,7 +771,7 @@ var sesame = $root.sesame = (() => {
|
|
|
767
771
|
return object;
|
|
768
772
|
};
|
|
769
773
|
AudioMixerChannel.prototype.toJSON = function toJSON() {
|
|
770
|
-
return this.constructor.toObject(this,
|
|
774
|
+
return this.constructor.toObject(this, import_minimal.default.util.toJSONOptions);
|
|
771
775
|
};
|
|
772
776
|
AudioMixerChannel.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
773
777
|
if (typeUrlPrefix === void 0) {
|
|
@@ -938,7 +942,7 @@ var sesame = $root.sesame = (() => {
|
|
|
938
942
|
return object;
|
|
939
943
|
};
|
|
940
944
|
AudioMixerConfig.prototype.toJSON = function toJSON() {
|
|
941
|
-
return this.constructor.toObject(this,
|
|
945
|
+
return this.constructor.toObject(this, import_minimal.default.util.toJSONOptions);
|
|
942
946
|
};
|
|
943
947
|
AudioMixerConfig.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
944
948
|
if (typeUrlPrefix === void 0) {
|
|
@@ -1050,7 +1054,7 @@ var sesame = $root.sesame = (() => {
|
|
|
1050
1054
|
return object;
|
|
1051
1055
|
};
|
|
1052
1056
|
AudioMixerAddRequest.prototype.toJSON = function toJSON() {
|
|
1053
|
-
return this.constructor.toObject(this,
|
|
1057
|
+
return this.constructor.toObject(this, import_minimal.default.util.toJSONOptions);
|
|
1054
1058
|
};
|
|
1055
1059
|
AudioMixerAddRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
1056
1060
|
if (typeUrlPrefix === void 0) {
|
|
@@ -1162,7 +1166,7 @@ var sesame = $root.sesame = (() => {
|
|
|
1162
1166
|
return object;
|
|
1163
1167
|
};
|
|
1164
1168
|
AudioMixerUpdateRequest.prototype.toJSON = function toJSON() {
|
|
1165
|
-
return this.constructor.toObject(this,
|
|
1169
|
+
return this.constructor.toObject(this, import_minimal.default.util.toJSONOptions);
|
|
1166
1170
|
};
|
|
1167
1171
|
AudioMixerUpdateRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
1168
1172
|
if (typeUrlPrefix === void 0) {
|
|
@@ -1250,7 +1254,7 @@ var sesame = $root.sesame = (() => {
|
|
|
1250
1254
|
return object;
|
|
1251
1255
|
};
|
|
1252
1256
|
AudioMixerRemoveRequest.prototype.toJSON = function toJSON() {
|
|
1253
|
-
return this.constructor.toObject(this,
|
|
1257
|
+
return this.constructor.toObject(this, import_minimal.default.util.toJSONOptions);
|
|
1254
1258
|
};
|
|
1255
1259
|
AudioMixerRemoveRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
1256
1260
|
if (typeUrlPrefix === void 0) {
|
|
@@ -1362,7 +1366,7 @@ var sesame = $root.sesame = (() => {
|
|
|
1362
1366
|
return object;
|
|
1363
1367
|
};
|
|
1364
1368
|
AudioChannelAddRequest.prototype.toJSON = function toJSON() {
|
|
1365
|
-
return this.constructor.toObject(this,
|
|
1369
|
+
return this.constructor.toObject(this, import_minimal.default.util.toJSONOptions);
|
|
1366
1370
|
};
|
|
1367
1371
|
AudioChannelAddRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
1368
1372
|
if (typeUrlPrefix === void 0) {
|
|
@@ -1470,7 +1474,7 @@ var sesame = $root.sesame = (() => {
|
|
|
1470
1474
|
return object;
|
|
1471
1475
|
};
|
|
1472
1476
|
AudioChannelRemoveRequest.prototype.toJSON = function toJSON() {
|
|
1473
|
-
return this.constructor.toObject(this,
|
|
1477
|
+
return this.constructor.toObject(this, import_minimal.default.util.toJSONOptions);
|
|
1474
1478
|
};
|
|
1475
1479
|
AudioChannelRemoveRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
1476
1480
|
if (typeUrlPrefix === void 0) {
|
|
@@ -1618,7 +1622,7 @@ var sesame = $root.sesame = (() => {
|
|
|
1618
1622
|
return object;
|
|
1619
1623
|
};
|
|
1620
1624
|
AudioChannelPluginStatus.prototype.toJSON = function toJSON() {
|
|
1621
|
-
return this.constructor.toObject(this,
|
|
1625
|
+
return this.constructor.toObject(this, import_minimal.default.util.toJSONOptions);
|
|
1622
1626
|
};
|
|
1623
1627
|
AudioChannelPluginStatus.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
1624
1628
|
if (typeUrlPrefix === void 0) {
|
|
@@ -1908,7 +1912,7 @@ var sesame = $root.sesame = (() => {
|
|
|
1908
1912
|
return object;
|
|
1909
1913
|
};
|
|
1910
1914
|
AudioChannelStatus.prototype.toJSON = function toJSON() {
|
|
1911
|
-
return this.constructor.toObject(this,
|
|
1915
|
+
return this.constructor.toObject(this, import_minimal.default.util.toJSONOptions);
|
|
1912
1916
|
};
|
|
1913
1917
|
AudioChannelStatus.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
1914
1918
|
if (typeUrlPrefix === void 0) {
|
|
@@ -2122,7 +2126,7 @@ var sesame = $root.sesame = (() => {
|
|
|
2122
2126
|
return object;
|
|
2123
2127
|
};
|
|
2124
2128
|
AudioMixerStatus.prototype.toJSON = function toJSON() {
|
|
2125
|
-
return this.constructor.toObject(this,
|
|
2129
|
+
return this.constructor.toObject(this, import_minimal.default.util.toJSONOptions);
|
|
2126
2130
|
};
|
|
2127
2131
|
AudioMixerStatus.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
2128
2132
|
if (typeUrlPrefix === void 0) {
|
|
@@ -2992,7 +2996,7 @@ var sesame = $root.sesame = (() => {
|
|
|
2992
2996
|
return object;
|
|
2993
2997
|
};
|
|
2994
2998
|
CommandListItem.prototype.toJSON = function toJSON() {
|
|
2995
|
-
return this.constructor.toObject(this,
|
|
2999
|
+
return this.constructor.toObject(this, import_minimal.default.util.toJSONOptions);
|
|
2996
3000
|
};
|
|
2997
3001
|
CommandListItem.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
2998
3002
|
if (typeUrlPrefix === void 0) {
|
|
@@ -3100,7 +3104,7 @@ var sesame = $root.sesame = (() => {
|
|
|
3100
3104
|
return object;
|
|
3101
3105
|
};
|
|
3102
3106
|
CommandList2.prototype.toJSON = function toJSON() {
|
|
3103
|
-
return this.constructor.toObject(this,
|
|
3107
|
+
return this.constructor.toObject(this, import_minimal.default.util.toJSONOptions);
|
|
3104
3108
|
};
|
|
3105
3109
|
CommandList2.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
3106
3110
|
if (typeUrlPrefix === void 0) {
|
|
@@ -3164,7 +3168,7 @@ var sesame = $root.sesame = (() => {
|
|
|
3164
3168
|
return {};
|
|
3165
3169
|
};
|
|
3166
3170
|
CommandExecutionResponse.prototype.toJSON = function toJSON() {
|
|
3167
|
-
return this.constructor.toObject(this,
|
|
3171
|
+
return this.constructor.toObject(this, import_minimal.default.util.toJSONOptions);
|
|
3168
3172
|
};
|
|
3169
3173
|
CommandExecutionResponse.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
3170
3174
|
if (typeUrlPrefix === void 0) {
|
|
@@ -3263,7 +3267,7 @@ var sesame = $root.sesame = (() => {
|
|
|
3263
3267
|
return {};
|
|
3264
3268
|
};
|
|
3265
3269
|
Empty.prototype.toJSON = function toJSON() {
|
|
3266
|
-
return this.constructor.toObject(this,
|
|
3270
|
+
return this.constructor.toObject(this, import_minimal.default.util.toJSONOptions);
|
|
3267
3271
|
};
|
|
3268
3272
|
Empty.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
3269
3273
|
if (typeUrlPrefix === void 0) {
|
|
@@ -3409,7 +3413,7 @@ var sesame = $root.sesame = (() => {
|
|
|
3409
3413
|
return object;
|
|
3410
3414
|
};
|
|
3411
3415
|
Vec4.prototype.toJSON = function toJSON() {
|
|
3412
|
-
return this.constructor.toObject(this,
|
|
3416
|
+
return this.constructor.toObject(this, import_minimal.default.util.toJSONOptions);
|
|
3413
3417
|
};
|
|
3414
3418
|
Vec4.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
3415
3419
|
if (typeUrlPrefix === void 0) {
|
|
@@ -3607,7 +3611,7 @@ var sesame = $root.sesame = (() => {
|
|
|
3607
3611
|
return object;
|
|
3608
3612
|
};
|
|
3609
3613
|
PropValue.prototype.toJSON = function toJSON() {
|
|
3610
|
-
return this.constructor.toObject(this,
|
|
3614
|
+
return this.constructor.toObject(this, import_minimal.default.util.toJSONOptions);
|
|
3611
3615
|
};
|
|
3612
3616
|
PropValue.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
3613
3617
|
if (typeUrlPrefix === void 0) {
|
|
@@ -3775,7 +3779,7 @@ var sesame = $root.sesame = (() => {
|
|
|
3775
3779
|
return object;
|
|
3776
3780
|
};
|
|
3777
3781
|
PropertyDomain.prototype.toJSON = function toJSON() {
|
|
3778
|
-
return this.constructor.toObject(this,
|
|
3782
|
+
return this.constructor.toObject(this, import_minimal.default.util.toJSONOptions);
|
|
3779
3783
|
};
|
|
3780
3784
|
PropertyDomain.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
3781
3785
|
if (typeUrlPrefix === void 0) {
|
|
@@ -3883,7 +3887,7 @@ var sesame = $root.sesame = (() => {
|
|
|
3883
3887
|
return object;
|
|
3884
3888
|
};
|
|
3885
3889
|
NameValue.prototype.toJSON = function toJSON() {
|
|
3886
|
-
return this.constructor.toObject(this,
|
|
3890
|
+
return this.constructor.toObject(this, import_minimal.default.util.toJSONOptions);
|
|
3887
3891
|
};
|
|
3888
3892
|
NameValue.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
3889
3893
|
if (typeUrlPrefix === void 0) {
|
|
@@ -3991,7 +3995,7 @@ var sesame = $root.sesame = (() => {
|
|
|
3991
3995
|
return object;
|
|
3992
3996
|
};
|
|
3993
3997
|
TransportMetadata.prototype.toJSON = function toJSON() {
|
|
3994
|
-
return this.constructor.toObject(this,
|
|
3998
|
+
return this.constructor.toObject(this, import_minimal.default.util.toJSONOptions);
|
|
3995
3999
|
};
|
|
3996
4000
|
TransportMetadata.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
3997
4001
|
if (typeUrlPrefix === void 0) {
|
|
@@ -4099,7 +4103,7 @@ var sesame = $root.sesame = (() => {
|
|
|
4099
4103
|
return object;
|
|
4100
4104
|
};
|
|
4101
4105
|
Callback.prototype.toJSON = function toJSON() {
|
|
4102
|
-
return this.constructor.toObject(this,
|
|
4106
|
+
return this.constructor.toObject(this, import_minimal.default.util.toJSONOptions);
|
|
4103
4107
|
};
|
|
4104
4108
|
Callback.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
4105
4109
|
if (typeUrlPrefix === void 0) {
|
|
@@ -4297,7 +4301,7 @@ var sesame = $root.sesame = (() => {
|
|
|
4297
4301
|
return object;
|
|
4298
4302
|
};
|
|
4299
4303
|
VideoProcessorParam.prototype.toJSON = function toJSON() {
|
|
4300
|
-
return this.constructor.toObject(this,
|
|
4304
|
+
return this.constructor.toObject(this, import_minimal.default.util.toJSONOptions);
|
|
4301
4305
|
};
|
|
4302
4306
|
VideoProcessorParam.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
4303
4307
|
if (typeUrlPrefix === void 0) {
|
|
@@ -4473,7 +4477,7 @@ var sesame = $root.sesame = (() => {
|
|
|
4473
4477
|
return object;
|
|
4474
4478
|
};
|
|
4475
4479
|
VideoProcessor.prototype.toJSON = function toJSON() {
|
|
4476
|
-
return this.constructor.toObject(this,
|
|
4480
|
+
return this.constructor.toObject(this, import_minimal.default.util.toJSONOptions);
|
|
4477
4481
|
};
|
|
4478
4482
|
VideoProcessor.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
4479
4483
|
if (typeUrlPrefix === void 0) {
|
|
@@ -4500,7 +4504,6 @@ var sesame = $root.sesame = (() => {
|
|
|
4500
4504
|
SourceCommonConfig.prototype.playState = 0;
|
|
4501
4505
|
SourceCommonConfig.prototype.mipMap = false;
|
|
4502
4506
|
SourceCommonConfig.prototype.textureSize = 0;
|
|
4503
|
-
SourceCommonConfig.prototype.decoderType = 0;
|
|
4504
4507
|
SourceCommonConfig.prototype.deinterlace = 0;
|
|
4505
4508
|
SourceCommonConfig.prototype.videoProcessors = $util.emptyArray;
|
|
4506
4509
|
SourceCommonConfig.create = function create(properties) {
|
|
@@ -4549,11 +4552,6 @@ var sesame = $root.sesame = (() => {
|
|
|
4549
4552
|
/* id 8, wireType 0 =*/
|
|
4550
4553
|
64
|
|
4551
4554
|
).int32(message.textureSize);
|
|
4552
|
-
if (message.decoderType != null && Object.hasOwnProperty.call(message, "decoderType"))
|
|
4553
|
-
writer.uint32(
|
|
4554
|
-
/* id 9, wireType 0 =*/
|
|
4555
|
-
72
|
|
4556
|
-
).int32(message.decoderType);
|
|
4557
4555
|
if (message.deinterlace != null && Object.hasOwnProperty.call(message, "deinterlace"))
|
|
4558
4556
|
writer.uint32(
|
|
4559
4557
|
/* id 10, wireType 0 =*/
|
|
@@ -4611,10 +4609,6 @@ var sesame = $root.sesame = (() => {
|
|
|
4611
4609
|
message.textureSize = reader.int32();
|
|
4612
4610
|
break;
|
|
4613
4611
|
}
|
|
4614
|
-
case 9: {
|
|
4615
|
-
message.decoderType = reader.int32();
|
|
4616
|
-
break;
|
|
4617
|
-
}
|
|
4618
4612
|
case 10: {
|
|
4619
4613
|
message.deinterlace = reader.int32();
|
|
4620
4614
|
break;
|
|
@@ -4684,16 +4678,6 @@ var sesame = $root.sesame = (() => {
|
|
|
4684
4678
|
case 2:
|
|
4685
4679
|
break;
|
|
4686
4680
|
}
|
|
4687
|
-
if (message.decoderType != null && message.hasOwnProperty("decoderType"))
|
|
4688
|
-
switch (message.decoderType) {
|
|
4689
|
-
default:
|
|
4690
|
-
return "decoderType: enum value expected";
|
|
4691
|
-
case 0:
|
|
4692
|
-
case 1:
|
|
4693
|
-
case 2:
|
|
4694
|
-
case 3:
|
|
4695
|
-
break;
|
|
4696
|
-
}
|
|
4697
4681
|
if (message.deinterlace != null && message.hasOwnProperty("deinterlace"))
|
|
4698
4682
|
switch (message.deinterlace) {
|
|
4699
4683
|
default:
|
|
@@ -4779,30 +4763,6 @@ var sesame = $root.sesame = (() => {
|
|
|
4779
4763
|
message.textureSize = 2;
|
|
4780
4764
|
break;
|
|
4781
4765
|
}
|
|
4782
|
-
switch (object.decoderType) {
|
|
4783
|
-
default:
|
|
4784
|
-
if (typeof object.decoderType === "number") {
|
|
4785
|
-
message.decoderType = object.decoderType;
|
|
4786
|
-
break;
|
|
4787
|
-
}
|
|
4788
|
-
break;
|
|
4789
|
-
case "DECODER_TYPE_UNSPECIFIED":
|
|
4790
|
-
case 0:
|
|
4791
|
-
message.decoderType = 0;
|
|
4792
|
-
break;
|
|
4793
|
-
case "DECODER_TYPE_H264":
|
|
4794
|
-
case 1:
|
|
4795
|
-
message.decoderType = 1;
|
|
4796
|
-
break;
|
|
4797
|
-
case "DECODER_TYPE_HEVC":
|
|
4798
|
-
case 2:
|
|
4799
|
-
message.decoderType = 2;
|
|
4800
|
-
break;
|
|
4801
|
-
case "DECODER_TYPE_AV1":
|
|
4802
|
-
case 3:
|
|
4803
|
-
message.decoderType = 3;
|
|
4804
|
-
break;
|
|
4805
|
-
}
|
|
4806
4766
|
switch (object.deinterlace) {
|
|
4807
4767
|
default:
|
|
4808
4768
|
if (typeof object.deinterlace === "number") {
|
|
@@ -4854,7 +4814,6 @@ var sesame = $root.sesame = (() => {
|
|
|
4854
4814
|
object.playState = options.enums === String ? "SOURCE_TRANSPORT_STATE_STOPPED" : 0;
|
|
4855
4815
|
object.mipMap = false;
|
|
4856
4816
|
object.textureSize = options.enums === String ? "SOURCE_TEXTURE_SIZE_UNSPECIFIED" : 0;
|
|
4857
|
-
object.decoderType = options.enums === String ? "DECODER_TYPE_UNSPECIFIED" : 0;
|
|
4858
4817
|
object.deinterlace = options.enums === String ? "DEINTERLACE_TYPE_PROGRESSIVE" : 0;
|
|
4859
4818
|
}
|
|
4860
4819
|
if (message.userId != null && message.hasOwnProperty("userId"))
|
|
@@ -4873,8 +4832,6 @@ var sesame = $root.sesame = (() => {
|
|
|
4873
4832
|
object.mipMap = message.mipMap;
|
|
4874
4833
|
if (message.textureSize != null && message.hasOwnProperty("textureSize"))
|
|
4875
4834
|
object.textureSize = options.enums === String ? $root.sesame.v1.sources.SourceTextureSize[message.textureSize] === void 0 ? message.textureSize : $root.sesame.v1.sources.SourceTextureSize[message.textureSize] : message.textureSize;
|
|
4876
|
-
if (message.decoderType != null && message.hasOwnProperty("decoderType"))
|
|
4877
|
-
object.decoderType = options.enums === String ? $root.sesame.v1.sources.DecoderType[message.decoderType] === void 0 ? message.decoderType : $root.sesame.v1.sources.DecoderType[message.decoderType] : message.decoderType;
|
|
4878
4835
|
if (message.deinterlace != null && message.hasOwnProperty("deinterlace"))
|
|
4879
4836
|
object.deinterlace = options.enums === String ? $root.sesame.v1.sources.DeinterlaceType[message.deinterlace] === void 0 ? message.deinterlace : $root.sesame.v1.sources.DeinterlaceType[message.deinterlace] : message.deinterlace;
|
|
4880
4837
|
if (message.videoProcessors && message.videoProcessors.length) {
|
|
@@ -4885,7 +4842,7 @@ var sesame = $root.sesame = (() => {
|
|
|
4885
4842
|
return object;
|
|
4886
4843
|
};
|
|
4887
4844
|
SourceCommonConfig.prototype.toJSON = function toJSON() {
|
|
4888
|
-
return this.constructor.toObject(this,
|
|
4845
|
+
return this.constructor.toObject(this, import_minimal.default.util.toJSONOptions);
|
|
4889
4846
|
};
|
|
4890
4847
|
SourceCommonConfig.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
4891
4848
|
if (typeUrlPrefix === void 0) {
|
|
@@ -4973,7 +4930,7 @@ var sesame = $root.sesame = (() => {
|
|
|
4973
4930
|
return object;
|
|
4974
4931
|
};
|
|
4975
4932
|
FileSourceConfig.prototype.toJSON = function toJSON() {
|
|
4976
|
-
return this.constructor.toObject(this,
|
|
4933
|
+
return this.constructor.toObject(this, import_minimal.default.util.toJSONOptions);
|
|
4977
4934
|
};
|
|
4978
4935
|
FileSourceConfig.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
4979
4936
|
if (typeUrlPrefix === void 0) {
|
|
@@ -4992,6 +4949,7 @@ var sesame = $root.sesame = (() => {
|
|
|
4992
4949
|
}
|
|
4993
4950
|
}
|
|
4994
4951
|
RecorderSourceConfig.prototype.recorderId = "";
|
|
4952
|
+
RecorderSourceConfig.prototype.decoderType = 0;
|
|
4995
4953
|
RecorderSourceConfig.create = function create(properties) {
|
|
4996
4954
|
return new RecorderSourceConfig(properties);
|
|
4997
4955
|
};
|
|
@@ -5003,6 +4961,11 @@ var sesame = $root.sesame = (() => {
|
|
|
5003
4961
|
/* id 1, wireType 2 =*/
|
|
5004
4962
|
10
|
|
5005
4963
|
).string(message.recorderId);
|
|
4964
|
+
if (message.decoderType != null && Object.hasOwnProperty.call(message, "decoderType"))
|
|
4965
|
+
writer.uint32(
|
|
4966
|
+
/* id 2, wireType 0 =*/
|
|
4967
|
+
16
|
|
4968
|
+
).int32(message.decoderType);
|
|
5006
4969
|
return writer;
|
|
5007
4970
|
};
|
|
5008
4971
|
RecorderSourceConfig.encodeDelimited = function encodeDelimited(message, writer) {
|
|
@@ -5021,6 +4984,10 @@ var sesame = $root.sesame = (() => {
|
|
|
5021
4984
|
message.recorderId = reader.string();
|
|
5022
4985
|
break;
|
|
5023
4986
|
}
|
|
4987
|
+
case 2: {
|
|
4988
|
+
message.decoderType = reader.int32();
|
|
4989
|
+
break;
|
|
4990
|
+
}
|
|
5024
4991
|
default:
|
|
5025
4992
|
reader.skipType(tag & 7);
|
|
5026
4993
|
break;
|
|
@@ -5040,6 +5007,16 @@ var sesame = $root.sesame = (() => {
|
|
|
5040
5007
|
if (!$util.isString(message.recorderId))
|
|
5041
5008
|
return "recorderId: string expected";
|
|
5042
5009
|
}
|
|
5010
|
+
if (message.decoderType != null && message.hasOwnProperty("decoderType"))
|
|
5011
|
+
switch (message.decoderType) {
|
|
5012
|
+
default:
|
|
5013
|
+
return "decoderType: enum value expected";
|
|
5014
|
+
case 0:
|
|
5015
|
+
case 1:
|
|
5016
|
+
case 2:
|
|
5017
|
+
case 3:
|
|
5018
|
+
break;
|
|
5019
|
+
}
|
|
5043
5020
|
return null;
|
|
5044
5021
|
};
|
|
5045
5022
|
RecorderSourceConfig.fromObject = function fromObject(object) {
|
|
@@ -5048,20 +5025,48 @@ var sesame = $root.sesame = (() => {
|
|
|
5048
5025
|
let message = new $root.sesame.v1.sources.RecorderSourceConfig();
|
|
5049
5026
|
if (object.recorderId != null)
|
|
5050
5027
|
message.recorderId = String(object.recorderId);
|
|
5028
|
+
switch (object.decoderType) {
|
|
5029
|
+
default:
|
|
5030
|
+
if (typeof object.decoderType === "number") {
|
|
5031
|
+
message.decoderType = object.decoderType;
|
|
5032
|
+
break;
|
|
5033
|
+
}
|
|
5034
|
+
break;
|
|
5035
|
+
case "DECODER_TYPE_UNSPECIFIED":
|
|
5036
|
+
case 0:
|
|
5037
|
+
message.decoderType = 0;
|
|
5038
|
+
break;
|
|
5039
|
+
case "DECODER_TYPE_H264":
|
|
5040
|
+
case 1:
|
|
5041
|
+
message.decoderType = 1;
|
|
5042
|
+
break;
|
|
5043
|
+
case "DECODER_TYPE_HEVC":
|
|
5044
|
+
case 2:
|
|
5045
|
+
message.decoderType = 2;
|
|
5046
|
+
break;
|
|
5047
|
+
case "DECODER_TYPE_AV1":
|
|
5048
|
+
case 3:
|
|
5049
|
+
message.decoderType = 3;
|
|
5050
|
+
break;
|
|
5051
|
+
}
|
|
5051
5052
|
return message;
|
|
5052
5053
|
};
|
|
5053
5054
|
RecorderSourceConfig.toObject = function toObject(message, options) {
|
|
5054
5055
|
if (!options)
|
|
5055
5056
|
options = {};
|
|
5056
5057
|
let object = {};
|
|
5057
|
-
if (options.defaults)
|
|
5058
|
+
if (options.defaults) {
|
|
5058
5059
|
object.recorderId = "";
|
|
5060
|
+
object.decoderType = options.enums === String ? "DECODER_TYPE_UNSPECIFIED" : 0;
|
|
5061
|
+
}
|
|
5059
5062
|
if (message.recorderId != null && message.hasOwnProperty("recorderId"))
|
|
5060
5063
|
object.recorderId = message.recorderId;
|
|
5064
|
+
if (message.decoderType != null && message.hasOwnProperty("decoderType"))
|
|
5065
|
+
object.decoderType = options.enums === String ? $root.sesame.v1.sources.DecoderType[message.decoderType] === void 0 ? message.decoderType : $root.sesame.v1.sources.DecoderType[message.decoderType] : message.decoderType;
|
|
5061
5066
|
return object;
|
|
5062
5067
|
};
|
|
5063
5068
|
RecorderSourceConfig.prototype.toJSON = function toJSON() {
|
|
5064
|
-
return this.constructor.toObject(this,
|
|
5069
|
+
return this.constructor.toObject(this, import_minimal.default.util.toJSONOptions);
|
|
5065
5070
|
};
|
|
5066
5071
|
RecorderSourceConfig.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
5067
5072
|
if (typeUrlPrefix === void 0) {
|
|
@@ -5188,7 +5193,7 @@ var sesame = $root.sesame = (() => {
|
|
|
5188
5193
|
return object;
|
|
5189
5194
|
};
|
|
5190
5195
|
BrowserSourceConfig.prototype.toJSON = function toJSON() {
|
|
5191
|
-
return this.constructor.toObject(this,
|
|
5196
|
+
return this.constructor.toObject(this, import_minimal.default.util.toJSONOptions);
|
|
5192
5197
|
};
|
|
5193
5198
|
BrowserSourceConfig.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
5194
5199
|
if (typeUrlPrefix === void 0) {
|
|
@@ -5331,7 +5336,7 @@ var sesame = $root.sesame = (() => {
|
|
|
5331
5336
|
return object;
|
|
5332
5337
|
};
|
|
5333
5338
|
RTTSourceConfig.prototype.toJSON = function toJSON() {
|
|
5334
|
-
return this.constructor.toObject(this,
|
|
5339
|
+
return this.constructor.toObject(this, import_minimal.default.util.toJSONOptions);
|
|
5335
5340
|
};
|
|
5336
5341
|
RTTSourceConfig.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
5337
5342
|
if (typeUrlPrefix === void 0) {
|
|
@@ -5500,7 +5505,7 @@ var sesame = $root.sesame = (() => {
|
|
|
5500
5505
|
return object;
|
|
5501
5506
|
};
|
|
5502
5507
|
DecklinkSourceConfig.prototype.toJSON = function toJSON() {
|
|
5503
|
-
return this.constructor.toObject(this,
|
|
5508
|
+
return this.constructor.toObject(this, import_minimal.default.util.toJSONOptions);
|
|
5504
5509
|
};
|
|
5505
5510
|
DecklinkSourceConfig.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
5506
5511
|
if (typeUrlPrefix === void 0) {
|
|
@@ -5564,7 +5569,7 @@ var sesame = $root.sesame = (() => {
|
|
|
5564
5569
|
return {};
|
|
5565
5570
|
};
|
|
5566
5571
|
SignalGeneratorSourceConfig.prototype.toJSON = function toJSON() {
|
|
5567
|
-
return this.constructor.toObject(this,
|
|
5572
|
+
return this.constructor.toObject(this, import_minimal.default.util.toJSONOptions);
|
|
5568
5573
|
};
|
|
5569
5574
|
SignalGeneratorSourceConfig.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
5570
5575
|
if (typeUrlPrefix === void 0) {
|
|
@@ -5652,7 +5657,7 @@ var sesame = $root.sesame = (() => {
|
|
|
5652
5657
|
return object;
|
|
5653
5658
|
};
|
|
5654
5659
|
SystemAudioSourceConfig.prototype.toJSON = function toJSON() {
|
|
5655
|
-
return this.constructor.toObject(this,
|
|
5660
|
+
return this.constructor.toObject(this, import_minimal.default.util.toJSONOptions);
|
|
5656
5661
|
};
|
|
5657
5662
|
SystemAudioSourceConfig.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
5658
5663
|
if (typeUrlPrefix === void 0) {
|
|
@@ -5760,7 +5765,7 @@ var sesame = $root.sesame = (() => {
|
|
|
5760
5765
|
return object;
|
|
5761
5766
|
};
|
|
5762
5767
|
SrtSourceConfig.prototype.toJSON = function toJSON() {
|
|
5763
|
-
return this.constructor.toObject(this,
|
|
5768
|
+
return this.constructor.toObject(this, import_minimal.default.util.toJSONOptions);
|
|
5764
5769
|
};
|
|
5765
5770
|
SrtSourceConfig.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
5766
5771
|
if (typeUrlPrefix === void 0) {
|
|
@@ -5868,7 +5873,7 @@ var sesame = $root.sesame = (() => {
|
|
|
5868
5873
|
return object;
|
|
5869
5874
|
};
|
|
5870
5875
|
WebsocketSourceConfig.prototype.toJSON = function toJSON() {
|
|
5871
|
-
return this.constructor.toObject(this,
|
|
5876
|
+
return this.constructor.toObject(this, import_minimal.default.util.toJSONOptions);
|
|
5872
5877
|
};
|
|
5873
5878
|
WebsocketSourceConfig.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
5874
5879
|
if (typeUrlPrefix === void 0) {
|
|
@@ -6014,7 +6019,7 @@ var sesame = $root.sesame = (() => {
|
|
|
6014
6019
|
return object;
|
|
6015
6020
|
};
|
|
6016
6021
|
MoqSourceConfig.prototype.toJSON = function toJSON() {
|
|
6017
|
-
return this.constructor.toObject(this,
|
|
6022
|
+
return this.constructor.toObject(this, import_minimal.default.util.toJSONOptions);
|
|
6018
6023
|
};
|
|
6019
6024
|
MoqSourceConfig.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
6020
6025
|
if (typeUrlPrefix === void 0) {
|
|
@@ -6410,7 +6415,7 @@ var sesame = $root.sesame = (() => {
|
|
|
6410
6415
|
return object;
|
|
6411
6416
|
};
|
|
6412
6417
|
SourceConfig.prototype.toJSON = function toJSON() {
|
|
6413
|
-
return this.constructor.toObject(this,
|
|
6418
|
+
return this.constructor.toObject(this, import_minimal.default.util.toJSONOptions);
|
|
6414
6419
|
};
|
|
6415
6420
|
SourceConfig.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
6416
6421
|
if (typeUrlPrefix === void 0) {
|
|
@@ -6522,7 +6527,7 @@ var sesame = $root.sesame = (() => {
|
|
|
6522
6527
|
return object;
|
|
6523
6528
|
};
|
|
6524
6529
|
SourceAddRequest.prototype.toJSON = function toJSON() {
|
|
6525
|
-
return this.constructor.toObject(this,
|
|
6530
|
+
return this.constructor.toObject(this, import_minimal.default.util.toJSONOptions);
|
|
6526
6531
|
};
|
|
6527
6532
|
SourceAddRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
6528
6533
|
if (typeUrlPrefix === void 0) {
|
|
@@ -6634,7 +6639,7 @@ var sesame = $root.sesame = (() => {
|
|
|
6634
6639
|
return object;
|
|
6635
6640
|
};
|
|
6636
6641
|
SourceUpdateRequest.prototype.toJSON = function toJSON() {
|
|
6637
|
-
return this.constructor.toObject(this,
|
|
6642
|
+
return this.constructor.toObject(this, import_minimal.default.util.toJSONOptions);
|
|
6638
6643
|
};
|
|
6639
6644
|
SourceUpdateRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
6640
6645
|
if (typeUrlPrefix === void 0) {
|
|
@@ -6722,7 +6727,7 @@ var sesame = $root.sesame = (() => {
|
|
|
6722
6727
|
return object;
|
|
6723
6728
|
};
|
|
6724
6729
|
SourceRemoveRequest.prototype.toJSON = function toJSON() {
|
|
6725
|
-
return this.constructor.toObject(this,
|
|
6730
|
+
return this.constructor.toObject(this, import_minimal.default.util.toJSONOptions);
|
|
6726
6731
|
};
|
|
6727
6732
|
SourceRemoveRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
6728
6733
|
if (typeUrlPrefix === void 0) {
|
|
@@ -7401,7 +7406,7 @@ var sesame = $root.sesame = (() => {
|
|
|
7401
7406
|
return object;
|
|
7402
7407
|
};
|
|
7403
7408
|
SourceStatus.prototype.toJSON = function toJSON() {
|
|
7404
|
-
return this.constructor.toObject(this,
|
|
7409
|
+
return this.constructor.toObject(this, import_minimal.default.util.toJSONOptions);
|
|
7405
7410
|
};
|
|
7406
7411
|
SourceStatus.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
7407
7412
|
if (typeUrlPrefix === void 0) {
|
|
@@ -7513,7 +7518,7 @@ var sesame = $root.sesame = (() => {
|
|
|
7513
7518
|
return object;
|
|
7514
7519
|
};
|
|
7515
7520
|
SourceMetadataSetRequest.prototype.toJSON = function toJSON() {
|
|
7516
|
-
return this.constructor.toObject(this,
|
|
7521
|
+
return this.constructor.toObject(this, import_minimal.default.util.toJSONOptions);
|
|
7517
7522
|
};
|
|
7518
7523
|
SourceMetadataSetRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
7519
7524
|
if (typeUrlPrefix === void 0) {
|
|
@@ -7625,7 +7630,7 @@ var sesame = $root.sesame = (() => {
|
|
|
7625
7630
|
return object;
|
|
7626
7631
|
};
|
|
7627
7632
|
SourceMetadataEvent.prototype.toJSON = function toJSON() {
|
|
7628
|
-
return this.constructor.toObject(this,
|
|
7633
|
+
return this.constructor.toObject(this, import_minimal.default.util.toJSONOptions);
|
|
7629
7634
|
};
|
|
7630
7635
|
SourceMetadataEvent.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
7631
7636
|
if (typeUrlPrefix === void 0) {
|
|
@@ -7844,7 +7849,7 @@ var sesame = $root.sesame = (() => {
|
|
|
7844
7849
|
return object;
|
|
7845
7850
|
};
|
|
7846
7851
|
SourceTransportCommand.prototype.toJSON = function toJSON() {
|
|
7847
|
-
return this.constructor.toObject(this,
|
|
7852
|
+
return this.constructor.toObject(this, import_minimal.default.util.toJSONOptions);
|
|
7848
7853
|
};
|
|
7849
7854
|
SourceTransportCommand.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
7850
7855
|
if (typeUrlPrefix === void 0) {
|
|
@@ -8105,7 +8110,7 @@ var sesame = $root.sesame = (() => {
|
|
|
8105
8110
|
return object;
|
|
8106
8111
|
};
|
|
8107
8112
|
LoadPlaylistRequest.prototype.toJSON = function toJSON() {
|
|
8108
|
-
return this.constructor.toObject(this,
|
|
8113
|
+
return this.constructor.toObject(this, import_minimal.default.util.toJSONOptions);
|
|
8109
8114
|
};
|
|
8110
8115
|
LoadPlaylistRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
8111
8116
|
if (typeUrlPrefix === void 0) {
|
|
@@ -8193,7 +8198,7 @@ var sesame = $root.sesame = (() => {
|
|
|
8193
8198
|
return object;
|
|
8194
8199
|
};
|
|
8195
8200
|
EjectPlaylistRequest.prototype.toJSON = function toJSON() {
|
|
8196
|
-
return this.constructor.toObject(this,
|
|
8201
|
+
return this.constructor.toObject(this, import_minimal.default.util.toJSONOptions);
|
|
8197
8202
|
};
|
|
8198
8203
|
EjectPlaylistRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
8199
8204
|
if (typeUrlPrefix === void 0) {
|
|
@@ -8231,7 +8236,7 @@ var sesame = $root.sesame = (() => {
|
|
|
8231
8236
|
RecorderClip.prototype.endTimeUs = $util.Long ? $util.Long.fromBits(0, 0, false) : 0;
|
|
8232
8237
|
RecorderClip.prototype.lockedStartUs = $util.Long ? $util.Long.fromBits(0, 0, false) : 0;
|
|
8233
8238
|
RecorderClip.prototype.lockedEndUs = $util.Long ? $util.Long.fromBits(0, 0, false) : 0;
|
|
8234
|
-
RecorderClip.prototype.
|
|
8239
|
+
RecorderClip.prototype.userTimeMs = $util.Long ? $util.Long.fromBits(0, 0, false) : 0;
|
|
8235
8240
|
RecorderClip.create = function create(properties) {
|
|
8236
8241
|
return new RecorderClip(properties);
|
|
8237
8242
|
};
|
|
@@ -8278,11 +8283,11 @@ var sesame = $root.sesame = (() => {
|
|
|
8278
8283
|
/* id 8, wireType 0 =*/
|
|
8279
8284
|
64
|
|
8280
8285
|
).int64(message.lockedEndUs);
|
|
8281
|
-
if (message.
|
|
8286
|
+
if (message.userTimeMs != null && Object.hasOwnProperty.call(message, "userTimeMs"))
|
|
8282
8287
|
writer.uint32(
|
|
8283
8288
|
/* id 9, wireType 0 =*/
|
|
8284
8289
|
72
|
|
8285
|
-
).int64(message.
|
|
8290
|
+
).int64(message.userTimeMs);
|
|
8286
8291
|
return writer;
|
|
8287
8292
|
};
|
|
8288
8293
|
RecorderClip.encodeDelimited = function encodeDelimited(message, writer) {
|
|
@@ -8330,7 +8335,7 @@ var sesame = $root.sesame = (() => {
|
|
|
8330
8335
|
break;
|
|
8331
8336
|
}
|
|
8332
8337
|
case 9: {
|
|
8333
|
-
message.
|
|
8338
|
+
message.userTimeMs = reader.int64();
|
|
8334
8339
|
break;
|
|
8335
8340
|
}
|
|
8336
8341
|
default:
|
|
@@ -8380,9 +8385,9 @@ var sesame = $root.sesame = (() => {
|
|
|
8380
8385
|
if (!$util.isInteger(message.lockedEndUs) && !(message.lockedEndUs && $util.isInteger(message.lockedEndUs.low) && $util.isInteger(message.lockedEndUs.high)))
|
|
8381
8386
|
return "lockedEndUs: integer|Long expected";
|
|
8382
8387
|
}
|
|
8383
|
-
if (message.
|
|
8384
|
-
if (!$util.isInteger(message.
|
|
8385
|
-
return "
|
|
8388
|
+
if (message.userTimeMs != null && message.hasOwnProperty("userTimeMs")) {
|
|
8389
|
+
if (!$util.isInteger(message.userTimeMs) && !(message.userTimeMs && $util.isInteger(message.userTimeMs.low) && $util.isInteger(message.userTimeMs.high)))
|
|
8390
|
+
return "userTimeMs: integer|Long expected";
|
|
8386
8391
|
}
|
|
8387
8392
|
return null;
|
|
8388
8393
|
};
|
|
@@ -8454,15 +8459,15 @@ var sesame = $root.sesame = (() => {
|
|
|
8454
8459
|
else if (typeof object.lockedEndUs === "object")
|
|
8455
8460
|
message.lockedEndUs = new $util.LongBits(object.lockedEndUs.low >>> 0, object.lockedEndUs.high >>> 0).toNumber();
|
|
8456
8461
|
}
|
|
8457
|
-
if (object.
|
|
8462
|
+
if (object.userTimeMs != null) {
|
|
8458
8463
|
if ($util.Long)
|
|
8459
|
-
(message.
|
|
8460
|
-
else if (typeof object.
|
|
8461
|
-
message.
|
|
8462
|
-
else if (typeof object.
|
|
8463
|
-
message.
|
|
8464
|
-
else if (typeof object.
|
|
8465
|
-
message.
|
|
8464
|
+
(message.userTimeMs = $util.Long.fromValue(object.userTimeMs)).unsigned = false;
|
|
8465
|
+
else if (typeof object.userTimeMs === "string")
|
|
8466
|
+
message.userTimeMs = parseInt(object.userTimeMs, 10);
|
|
8467
|
+
else if (typeof object.userTimeMs === "number")
|
|
8468
|
+
message.userTimeMs = object.userTimeMs;
|
|
8469
|
+
else if (typeof object.userTimeMs === "object")
|
|
8470
|
+
message.userTimeMs = new $util.LongBits(object.userTimeMs.low >>> 0, object.userTimeMs.high >>> 0).toNumber();
|
|
8466
8471
|
}
|
|
8467
8472
|
return message;
|
|
8468
8473
|
};
|
|
@@ -8505,9 +8510,9 @@ var sesame = $root.sesame = (() => {
|
|
|
8505
8510
|
object.lockedEndUs = options.longs === String ? "0" : 0;
|
|
8506
8511
|
if ($util.Long) {
|
|
8507
8512
|
let long = new $util.Long(0, 0, false);
|
|
8508
|
-
object.
|
|
8513
|
+
object.userTimeMs = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
8509
8514
|
} else
|
|
8510
|
-
object.
|
|
8515
|
+
object.userTimeMs = options.longs === String ? "0" : 0;
|
|
8511
8516
|
}
|
|
8512
8517
|
if (message.id != null && message.hasOwnProperty("id"))
|
|
8513
8518
|
if (typeof message.id === "number")
|
|
@@ -8543,15 +8548,15 @@ var sesame = $root.sesame = (() => {
|
|
|
8543
8548
|
object.lockedEndUs = options.longs === String ? String(message.lockedEndUs) : message.lockedEndUs;
|
|
8544
8549
|
else
|
|
8545
8550
|
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;
|
|
8546
|
-
if (message.
|
|
8547
|
-
if (typeof message.
|
|
8548
|
-
object.
|
|
8551
|
+
if (message.userTimeMs != null && message.hasOwnProperty("userTimeMs"))
|
|
8552
|
+
if (typeof message.userTimeMs === "number")
|
|
8553
|
+
object.userTimeMs = options.longs === String ? String(message.userTimeMs) : message.userTimeMs;
|
|
8549
8554
|
else
|
|
8550
|
-
object.
|
|
8555
|
+
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;
|
|
8551
8556
|
return object;
|
|
8552
8557
|
};
|
|
8553
8558
|
RecorderClip.prototype.toJSON = function toJSON() {
|
|
8554
|
-
return this.constructor.toObject(this,
|
|
8559
|
+
return this.constructor.toObject(this, import_minimal.default.util.toJSONOptions);
|
|
8555
8560
|
};
|
|
8556
8561
|
RecorderClip.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
8557
8562
|
if (typeUrlPrefix === void 0) {
|
|
@@ -8959,7 +8964,7 @@ var sesame = $root.sesame = (() => {
|
|
|
8959
8964
|
return object;
|
|
8960
8965
|
};
|
|
8961
8966
|
PlaylistItem.prototype.toJSON = function toJSON() {
|
|
8962
|
-
return this.constructor.toObject(this,
|
|
8967
|
+
return this.constructor.toObject(this, import_minimal.default.util.toJSONOptions);
|
|
8963
8968
|
};
|
|
8964
8969
|
PlaylistItem.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
8965
8970
|
if (typeUrlPrefix === void 0) {
|
|
@@ -9097,7 +9102,7 @@ var sesame = $root.sesame = (() => {
|
|
|
9097
9102
|
return object;
|
|
9098
9103
|
};
|
|
9099
9104
|
RecorderClipRange.prototype.toJSON = function toJSON() {
|
|
9100
|
-
return this.constructor.toObject(this,
|
|
9105
|
+
return this.constructor.toObject(this, import_minimal.default.util.toJSONOptions);
|
|
9101
9106
|
};
|
|
9102
9107
|
RecorderClipRange.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
9103
9108
|
if (typeUrlPrefix === void 0) {
|
|
@@ -9161,7 +9166,7 @@ var sesame = $root.sesame = (() => {
|
|
|
9161
9166
|
return {};
|
|
9162
9167
|
};
|
|
9163
9168
|
RecorderClipsGetRequest.prototype.toJSON = function toJSON() {
|
|
9164
|
-
return this.constructor.toObject(this,
|
|
9169
|
+
return this.constructor.toObject(this, import_minimal.default.util.toJSONOptions);
|
|
9165
9170
|
};
|
|
9166
9171
|
RecorderClipsGetRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
9167
9172
|
if (typeUrlPrefix === void 0) {
|
|
@@ -9269,7 +9274,7 @@ var sesame = $root.sesame = (() => {
|
|
|
9269
9274
|
return object;
|
|
9270
9275
|
};
|
|
9271
9276
|
RecorderClipsGetResponse.prototype.toJSON = function toJSON() {
|
|
9272
|
-
return this.constructor.toObject(this,
|
|
9277
|
+
return this.constructor.toObject(this, import_minimal.default.util.toJSONOptions);
|
|
9273
9278
|
};
|
|
9274
9279
|
RecorderClipsGetResponse.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
9275
9280
|
if (typeUrlPrefix === void 0) {
|
|
@@ -9361,7 +9366,7 @@ var sesame = $root.sesame = (() => {
|
|
|
9361
9366
|
return object;
|
|
9362
9367
|
};
|
|
9363
9368
|
RecorderClipAddRequest.prototype.toJSON = function toJSON() {
|
|
9364
|
-
return this.constructor.toObject(this,
|
|
9369
|
+
return this.constructor.toObject(this, import_minimal.default.util.toJSONOptions);
|
|
9365
9370
|
};
|
|
9366
9371
|
RecorderClipAddRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
9367
9372
|
if (typeUrlPrefix === void 0) {
|
|
@@ -9499,7 +9504,7 @@ var sesame = $root.sesame = (() => {
|
|
|
9499
9504
|
return object;
|
|
9500
9505
|
};
|
|
9501
9506
|
RecorderClipCopyRequest.prototype.toJSON = function toJSON() {
|
|
9502
|
-
return this.constructor.toObject(this,
|
|
9507
|
+
return this.constructor.toObject(this, import_minimal.default.util.toJSONOptions);
|
|
9503
9508
|
};
|
|
9504
9509
|
RecorderClipCopyRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
9505
9510
|
if (typeUrlPrefix === void 0) {
|
|
@@ -9602,7 +9607,7 @@ var sesame = $root.sesame = (() => {
|
|
|
9602
9607
|
return object;
|
|
9603
9608
|
};
|
|
9604
9609
|
RecorderClipRemoveRequest.prototype.toJSON = function toJSON() {
|
|
9605
|
-
return this.constructor.toObject(this,
|
|
9610
|
+
return this.constructor.toObject(this, import_minimal.default.util.toJSONOptions);
|
|
9606
9611
|
};
|
|
9607
9612
|
RecorderClipRemoveRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
9608
9613
|
if (typeUrlPrefix === void 0) {
|
|
@@ -9780,7 +9785,7 @@ var sesame = $root.sesame = (() => {
|
|
|
9780
9785
|
return object;
|
|
9781
9786
|
};
|
|
9782
9787
|
RecorderClipsClearRequest.prototype.toJSON = function toJSON() {
|
|
9783
|
-
return this.constructor.toObject(this,
|
|
9788
|
+
return this.constructor.toObject(this, import_minimal.default.util.toJSONOptions);
|
|
9784
9789
|
};
|
|
9785
9790
|
RecorderClipsClearRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
9786
9791
|
if (typeUrlPrefix === void 0) {
|
|
@@ -9872,7 +9877,7 @@ var sesame = $root.sesame = (() => {
|
|
|
9872
9877
|
return object;
|
|
9873
9878
|
};
|
|
9874
9879
|
RecorderMetadataSetRequest.prototype.toJSON = function toJSON() {
|
|
9875
|
-
return this.constructor.toObject(this,
|
|
9880
|
+
return this.constructor.toObject(this, import_minimal.default.util.toJSONOptions);
|
|
9876
9881
|
};
|
|
9877
9882
|
RecorderMetadataSetRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
9878
9883
|
if (typeUrlPrefix === void 0) {
|
|
@@ -10029,7 +10034,7 @@ var sesame = $root.sesame = (() => {
|
|
|
10029
10034
|
return object;
|
|
10030
10035
|
};
|
|
10031
10036
|
RecorderClipFlagSetRequest.prototype.toJSON = function toJSON() {
|
|
10032
|
-
return this.constructor.toObject(this,
|
|
10037
|
+
return this.constructor.toObject(this, import_minimal.default.util.toJSONOptions);
|
|
10033
10038
|
};
|
|
10034
10039
|
RecorderClipFlagSetRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
10035
10040
|
if (typeUrlPrefix === void 0) {
|
|
@@ -10093,7 +10098,7 @@ var sesame = $root.sesame = (() => {
|
|
|
10093
10098
|
return {};
|
|
10094
10099
|
};
|
|
10095
10100
|
RecorderClipsVerifyRequest.prototype.toJSON = function toJSON() {
|
|
10096
|
-
return this.constructor.toObject(this,
|
|
10101
|
+
return this.constructor.toObject(this, import_minimal.default.util.toJSONOptions);
|
|
10097
10102
|
};
|
|
10098
10103
|
RecorderClipsVerifyRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
10099
10104
|
if (typeUrlPrefix === void 0) {
|
|
@@ -10196,7 +10201,7 @@ var sesame = $root.sesame = (() => {
|
|
|
10196
10201
|
return object;
|
|
10197
10202
|
};
|
|
10198
10203
|
RecorderClipsVerifyResponse.prototype.toJSON = function toJSON() {
|
|
10199
|
-
return this.constructor.toObject(this,
|
|
10204
|
+
return this.constructor.toObject(this, import_minimal.default.util.toJSONOptions);
|
|
10200
10205
|
};
|
|
10201
10206
|
RecorderClipsVerifyResponse.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
10202
10207
|
if (typeUrlPrefix === void 0) {
|
|
@@ -10284,7 +10289,7 @@ var sesame = $root.sesame = (() => {
|
|
|
10284
10289
|
return object;
|
|
10285
10290
|
};
|
|
10286
10291
|
RecorderLockedDurationSetRequest.prototype.toJSON = function toJSON() {
|
|
10287
|
-
return this.constructor.toObject(this,
|
|
10292
|
+
return this.constructor.toObject(this, import_minimal.default.util.toJSONOptions);
|
|
10288
10293
|
};
|
|
10289
10294
|
RecorderLockedDurationSetRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
10290
10295
|
if (typeUrlPrefix === void 0) {
|
|
@@ -10348,7 +10353,7 @@ var sesame = $root.sesame = (() => {
|
|
|
10348
10353
|
return {};
|
|
10349
10354
|
};
|
|
10350
10355
|
RecorderOkResponse.prototype.toJSON = function toJSON() {
|
|
10351
|
-
return this.constructor.toObject(this,
|
|
10356
|
+
return this.constructor.toObject(this, import_minimal.default.util.toJSONOptions);
|
|
10352
10357
|
};
|
|
10353
10358
|
RecorderOkResponse.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
10354
10359
|
if (typeUrlPrefix === void 0) {
|
|
@@ -10710,7 +10715,7 @@ var sesame = $root.sesame = (() => {
|
|
|
10710
10715
|
return object;
|
|
10711
10716
|
};
|
|
10712
10717
|
RecorderRequest.prototype.toJSON = function toJSON() {
|
|
10713
|
-
return this.constructor.toObject(this,
|
|
10718
|
+
return this.constructor.toObject(this, import_minimal.default.util.toJSONOptions);
|
|
10714
10719
|
};
|
|
10715
10720
|
RecorderRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
10716
10721
|
if (typeUrlPrefix === void 0) {
|
|
@@ -10872,7 +10877,7 @@ var sesame = $root.sesame = (() => {
|
|
|
10872
10877
|
return object;
|
|
10873
10878
|
};
|
|
10874
10879
|
RecorderResponse.prototype.toJSON = function toJSON() {
|
|
10875
|
-
return this.constructor.toObject(this,
|
|
10880
|
+
return this.constructor.toObject(this, import_minimal.default.util.toJSONOptions);
|
|
10876
10881
|
};
|
|
10877
10882
|
RecorderResponse.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
10878
10883
|
if (typeUrlPrefix === void 0) {
|
|
@@ -10960,7 +10965,7 @@ var sesame = $root.sesame = (() => {
|
|
|
10960
10965
|
return object;
|
|
10961
10966
|
};
|
|
10962
10967
|
RecorderStatus.prototype.toJSON = function toJSON() {
|
|
10963
|
-
return this.constructor.toObject(this,
|
|
10968
|
+
return this.constructor.toObject(this, import_minimal.default.util.toJSONOptions);
|
|
10964
10969
|
};
|
|
10965
10970
|
RecorderStatus.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
10966
10971
|
if (typeUrlPrefix === void 0) {
|
|
@@ -11096,7 +11101,7 @@ var sesame = $root.sesame = (() => {
|
|
|
11096
11101
|
return object;
|
|
11097
11102
|
};
|
|
11098
11103
|
RecorderEvent.prototype.toJSON = function toJSON() {
|
|
11099
|
-
return this.constructor.toObject(this,
|
|
11104
|
+
return this.constructor.toObject(this, import_minimal.default.util.toJSONOptions);
|
|
11100
11105
|
};
|
|
11101
11106
|
RecorderEvent.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
11102
11107
|
if (typeUrlPrefix === void 0) {
|
|
@@ -11246,7 +11251,7 @@ var sesame = $root.sesame = (() => {
|
|
|
11246
11251
|
return object;
|
|
11247
11252
|
};
|
|
11248
11253
|
FrameTiming.prototype.toJSON = function toJSON() {
|
|
11249
|
-
return this.constructor.toObject(this,
|
|
11254
|
+
return this.constructor.toObject(this, import_minimal.default.util.toJSONOptions);
|
|
11250
11255
|
};
|
|
11251
11256
|
FrameTiming.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
11252
11257
|
if (typeUrlPrefix === void 0) {
|
|
@@ -11551,7 +11556,7 @@ var sesame = $root.sesame = (() => {
|
|
|
11551
11556
|
return object;
|
|
11552
11557
|
};
|
|
11553
11558
|
SRTReceiveStatistics.prototype.toJSON = function toJSON() {
|
|
11554
|
-
return this.constructor.toObject(this,
|
|
11559
|
+
return this.constructor.toObject(this, import_minimal.default.util.toJSONOptions);
|
|
11555
11560
|
};
|
|
11556
11561
|
SRTReceiveStatistics.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
11557
11562
|
if (typeUrlPrefix === void 0) {
|
|
@@ -11875,7 +11880,7 @@ var sesame = $root.sesame = (() => {
|
|
|
11875
11880
|
return object;
|
|
11876
11881
|
};
|
|
11877
11882
|
SRTSendStatistics.prototype.toJSON = function toJSON() {
|
|
11878
|
-
return this.constructor.toObject(this,
|
|
11883
|
+
return this.constructor.toObject(this, import_minimal.default.util.toJSONOptions);
|
|
11879
11884
|
};
|
|
11880
11885
|
SRTSendStatistics.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
11881
11886
|
if (typeUrlPrefix === void 0) {
|
|
@@ -12047,7 +12052,7 @@ var sesame = $root.sesame = (() => {
|
|
|
12047
12052
|
return object;
|
|
12048
12053
|
};
|
|
12049
12054
|
MemoryDomainStats.prototype.toJSON = function toJSON() {
|
|
12050
|
-
return this.constructor.toObject(this,
|
|
12055
|
+
return this.constructor.toObject(this, import_minimal.default.util.toJSONOptions);
|
|
12051
12056
|
};
|
|
12052
12057
|
MemoryDomainStats.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
12053
12058
|
if (typeUrlPrefix === void 0) {
|
|
@@ -12546,7 +12551,7 @@ var sesame = $root.sesame = (() => {
|
|
|
12546
12551
|
return object;
|
|
12547
12552
|
};
|
|
12548
12553
|
SystemStatus.prototype.toJSON = function toJSON() {
|
|
12549
|
-
return this.constructor.toObject(this,
|
|
12554
|
+
return this.constructor.toObject(this, import_minimal.default.util.toJSONOptions);
|
|
12550
12555
|
};
|
|
12551
12556
|
SystemStatus.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
12552
12557
|
if (typeUrlPrefix === void 0) {
|
|
@@ -12634,7 +12639,7 @@ var sesame = $root.sesame = (() => {
|
|
|
12634
12639
|
return object;
|
|
12635
12640
|
};
|
|
12636
12641
|
CompositorStatus.prototype.toJSON = function toJSON() {
|
|
12637
|
-
return this.constructor.toObject(this,
|
|
12642
|
+
return this.constructor.toObject(this, import_minimal.default.util.toJSONOptions);
|
|
12638
12643
|
};
|
|
12639
12644
|
CompositorStatus.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
12640
12645
|
if (typeUrlPrefix === void 0) {
|
|
@@ -12803,7 +12808,7 @@ var sesame = $root.sesame = (() => {
|
|
|
12803
12808
|
return object;
|
|
12804
12809
|
};
|
|
12805
12810
|
IODeviceItem.prototype.toJSON = function toJSON() {
|
|
12806
|
-
return this.constructor.toObject(this,
|
|
12811
|
+
return this.constructor.toObject(this, import_minimal.default.util.toJSONOptions);
|
|
12807
12812
|
};
|
|
12808
12813
|
IODeviceItem.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
12809
12814
|
if (typeUrlPrefix === void 0) {
|
|
@@ -12911,7 +12916,7 @@ var sesame = $root.sesame = (() => {
|
|
|
12911
12916
|
return object;
|
|
12912
12917
|
};
|
|
12913
12918
|
IODeviceListResponse.prototype.toJSON = function toJSON() {
|
|
12914
|
-
return this.constructor.toObject(this,
|
|
12919
|
+
return this.constructor.toObject(this, import_minimal.default.util.toJSONOptions);
|
|
12915
12920
|
};
|
|
12916
12921
|
IODeviceListResponse.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
12917
12922
|
if (typeUrlPrefix === void 0) {
|
|
@@ -13247,7 +13252,7 @@ var sesame = $root.sesame = (() => {
|
|
|
13247
13252
|
return object;
|
|
13248
13253
|
};
|
|
13249
13254
|
Status.prototype.toJSON = function toJSON() {
|
|
13250
|
-
return this.constructor.toObject(this,
|
|
13255
|
+
return this.constructor.toObject(this, import_minimal.default.util.toJSONOptions);
|
|
13251
13256
|
};
|
|
13252
13257
|
Status.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
13253
13258
|
if (typeUrlPrefix === void 0) {
|
|
@@ -13335,7 +13340,7 @@ var sesame = $root.sesame = (() => {
|
|
|
13335
13340
|
return object;
|
|
13336
13341
|
};
|
|
13337
13342
|
ErrorEvent.prototype.toJSON = function toJSON() {
|
|
13338
|
-
return this.constructor.toObject(this,
|
|
13343
|
+
return this.constructor.toObject(this, import_minimal.default.util.toJSONOptions);
|
|
13339
13344
|
};
|
|
13340
13345
|
ErrorEvent.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
13341
13346
|
if (typeUrlPrefix === void 0) {
|
|
@@ -13722,7 +13727,7 @@ var sesame = $root.sesame = (() => {
|
|
|
13722
13727
|
return object;
|
|
13723
13728
|
};
|
|
13724
13729
|
TransportEvent.prototype.toJSON = function toJSON() {
|
|
13725
|
-
return this.constructor.toObject(this,
|
|
13730
|
+
return this.constructor.toObject(this, import_minimal.default.util.toJSONOptions);
|
|
13726
13731
|
};
|
|
13727
13732
|
TransportEvent.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
13728
13733
|
if (typeUrlPrefix === void 0) {
|
|
@@ -13974,7 +13979,7 @@ var sesame = $root.sesame = (() => {
|
|
|
13974
13979
|
return object;
|
|
13975
13980
|
};
|
|
13976
13981
|
Event2.prototype.toJSON = function toJSON() {
|
|
13977
|
-
return this.constructor.toObject(this,
|
|
13982
|
+
return this.constructor.toObject(this, import_minimal.default.util.toJSONOptions);
|
|
13978
13983
|
};
|
|
13979
13984
|
Event2.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
13980
13985
|
if (typeUrlPrefix === void 0) {
|
|
@@ -14164,7 +14169,7 @@ var sesame = $root.sesame = (() => {
|
|
|
14164
14169
|
return object;
|
|
14165
14170
|
};
|
|
14166
14171
|
SubscriptionRequest.prototype.toJSON = function toJSON() {
|
|
14167
|
-
return this.constructor.toObject(this,
|
|
14172
|
+
return this.constructor.toObject(this, import_minimal.default.util.toJSONOptions);
|
|
14168
14173
|
};
|
|
14169
14174
|
SubscriptionRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
14170
14175
|
if (typeUrlPrefix === void 0) {
|
|
@@ -14217,6 +14222,9 @@ var sesame = $root.sesame = (() => {
|
|
|
14217
14222
|
EncoderConfig.prototype.preset = 0;
|
|
14218
14223
|
EncoderConfig.prototype.bitrateKbps = 0;
|
|
14219
14224
|
EncoderConfig.prototype.keyframeInterval = 0;
|
|
14225
|
+
EncoderConfig.prototype.width = 0;
|
|
14226
|
+
EncoderConfig.prototype.height = 0;
|
|
14227
|
+
EncoderConfig.prototype.fps = 0;
|
|
14220
14228
|
EncoderConfig.create = function create(properties) {
|
|
14221
14229
|
return new EncoderConfig(properties);
|
|
14222
14230
|
};
|
|
@@ -14243,6 +14251,21 @@ var sesame = $root.sesame = (() => {
|
|
|
14243
14251
|
/* id 4, wireType 0 =*/
|
|
14244
14252
|
32
|
|
14245
14253
|
).uint32(message.keyframeInterval);
|
|
14254
|
+
if (message.width != null && Object.hasOwnProperty.call(message, "width"))
|
|
14255
|
+
writer.uint32(
|
|
14256
|
+
/* id 5, wireType 0 =*/
|
|
14257
|
+
40
|
|
14258
|
+
).uint32(message.width);
|
|
14259
|
+
if (message.height != null && Object.hasOwnProperty.call(message, "height"))
|
|
14260
|
+
writer.uint32(
|
|
14261
|
+
/* id 6, wireType 0 =*/
|
|
14262
|
+
48
|
|
14263
|
+
).uint32(message.height);
|
|
14264
|
+
if (message.fps != null && Object.hasOwnProperty.call(message, "fps"))
|
|
14265
|
+
writer.uint32(
|
|
14266
|
+
/* id 7, wireType 5 =*/
|
|
14267
|
+
61
|
|
14268
|
+
).float(message.fps);
|
|
14246
14269
|
return writer;
|
|
14247
14270
|
};
|
|
14248
14271
|
EncoderConfig.encodeDelimited = function encodeDelimited(message, writer) {
|
|
@@ -14273,6 +14296,18 @@ var sesame = $root.sesame = (() => {
|
|
|
14273
14296
|
message.keyframeInterval = reader.uint32();
|
|
14274
14297
|
break;
|
|
14275
14298
|
}
|
|
14299
|
+
case 5: {
|
|
14300
|
+
message.width = reader.uint32();
|
|
14301
|
+
break;
|
|
14302
|
+
}
|
|
14303
|
+
case 6: {
|
|
14304
|
+
message.height = reader.uint32();
|
|
14305
|
+
break;
|
|
14306
|
+
}
|
|
14307
|
+
case 7: {
|
|
14308
|
+
message.fps = reader.float();
|
|
14309
|
+
break;
|
|
14310
|
+
}
|
|
14276
14311
|
default:
|
|
14277
14312
|
reader.skipType(tag & 7);
|
|
14278
14313
|
break;
|
|
@@ -14319,6 +14354,18 @@ var sesame = $root.sesame = (() => {
|
|
|
14319
14354
|
if (!$util.isInteger(message.keyframeInterval))
|
|
14320
14355
|
return "keyframeInterval: integer expected";
|
|
14321
14356
|
}
|
|
14357
|
+
if (message.width != null && message.hasOwnProperty("width")) {
|
|
14358
|
+
if (!$util.isInteger(message.width))
|
|
14359
|
+
return "width: integer expected";
|
|
14360
|
+
}
|
|
14361
|
+
if (message.height != null && message.hasOwnProperty("height")) {
|
|
14362
|
+
if (!$util.isInteger(message.height))
|
|
14363
|
+
return "height: integer expected";
|
|
14364
|
+
}
|
|
14365
|
+
if (message.fps != null && message.hasOwnProperty("fps")) {
|
|
14366
|
+
if (typeof message.fps !== "number")
|
|
14367
|
+
return "fps: number expected";
|
|
14368
|
+
}
|
|
14322
14369
|
return null;
|
|
14323
14370
|
};
|
|
14324
14371
|
EncoderConfig.fromObject = function fromObject(object) {
|
|
@@ -14389,6 +14436,12 @@ var sesame = $root.sesame = (() => {
|
|
|
14389
14436
|
message.bitrateKbps = object.bitrateKbps >>> 0;
|
|
14390
14437
|
if (object.keyframeInterval != null)
|
|
14391
14438
|
message.keyframeInterval = object.keyframeInterval >>> 0;
|
|
14439
|
+
if (object.width != null)
|
|
14440
|
+
message.width = object.width >>> 0;
|
|
14441
|
+
if (object.height != null)
|
|
14442
|
+
message.height = object.height >>> 0;
|
|
14443
|
+
if (object.fps != null)
|
|
14444
|
+
message.fps = Number(object.fps);
|
|
14392
14445
|
return message;
|
|
14393
14446
|
};
|
|
14394
14447
|
EncoderConfig.toObject = function toObject(message, options) {
|
|
@@ -14400,6 +14453,9 @@ var sesame = $root.sesame = (() => {
|
|
|
14400
14453
|
object.preset = options.enums === String ? "ENCODER_PRESET_UNSPECIFIED" : 0;
|
|
14401
14454
|
object.bitrateKbps = 0;
|
|
14402
14455
|
object.keyframeInterval = 0;
|
|
14456
|
+
object.width = 0;
|
|
14457
|
+
object.height = 0;
|
|
14458
|
+
object.fps = 0;
|
|
14403
14459
|
}
|
|
14404
14460
|
if (message.codecId != null && message.hasOwnProperty("codecId"))
|
|
14405
14461
|
object.codecId = options.enums === String ? $root.sesame.v1.common.CodecId[message.codecId] === void 0 ? message.codecId : $root.sesame.v1.common.CodecId[message.codecId] : message.codecId;
|
|
@@ -14409,168 +14465,24 @@ var sesame = $root.sesame = (() => {
|
|
|
14409
14465
|
object.bitrateKbps = message.bitrateKbps;
|
|
14410
14466
|
if (message.keyframeInterval != null && message.hasOwnProperty("keyframeInterval"))
|
|
14411
14467
|
object.keyframeInterval = message.keyframeInterval;
|
|
14412
|
-
return object;
|
|
14413
|
-
};
|
|
14414
|
-
EncoderConfig.prototype.toJSON = function toJSON() {
|
|
14415
|
-
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
14416
|
-
};
|
|
14417
|
-
EncoderConfig.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
14418
|
-
if (typeUrlPrefix === void 0) {
|
|
14419
|
-
typeUrlPrefix = "type.googleapis.com";
|
|
14420
|
-
}
|
|
14421
|
-
return typeUrlPrefix + "/sesame.v1.outputs.EncoderConfig";
|
|
14422
|
-
};
|
|
14423
|
-
return EncoderConfig;
|
|
14424
|
-
}();
|
|
14425
|
-
outputs.OutputEncodedConfig = function() {
|
|
14426
|
-
function OutputEncodedConfig(properties) {
|
|
14427
|
-
if (properties) {
|
|
14428
|
-
for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
14429
|
-
if (properties[keys[i]] != null)
|
|
14430
|
-
this[keys[i]] = properties[keys[i]];
|
|
14431
|
-
}
|
|
14432
|
-
}
|
|
14433
|
-
OutputEncodedConfig.prototype.width = 0;
|
|
14434
|
-
OutputEncodedConfig.prototype.height = 0;
|
|
14435
|
-
OutputEncodedConfig.prototype.fps = 0;
|
|
14436
|
-
OutputEncodedConfig.prototype.encoderConfig = null;
|
|
14437
|
-
OutputEncodedConfig.create = function create(properties) {
|
|
14438
|
-
return new OutputEncodedConfig(properties);
|
|
14439
|
-
};
|
|
14440
|
-
OutputEncodedConfig.encode = function encode(message, writer) {
|
|
14441
|
-
if (!writer)
|
|
14442
|
-
writer = $Writer.create();
|
|
14443
|
-
if (message.width != null && Object.hasOwnProperty.call(message, "width"))
|
|
14444
|
-
writer.uint32(
|
|
14445
|
-
/* id 1, wireType 0 =*/
|
|
14446
|
-
8
|
|
14447
|
-
).uint32(message.width);
|
|
14448
|
-
if (message.height != null && Object.hasOwnProperty.call(message, "height"))
|
|
14449
|
-
writer.uint32(
|
|
14450
|
-
/* id 2, wireType 0 =*/
|
|
14451
|
-
16
|
|
14452
|
-
).uint32(message.height);
|
|
14453
|
-
if (message.fps != null && Object.hasOwnProperty.call(message, "fps"))
|
|
14454
|
-
writer.uint32(
|
|
14455
|
-
/* id 3, wireType 5 =*/
|
|
14456
|
-
29
|
|
14457
|
-
).float(message.fps);
|
|
14458
|
-
if (message.encoderConfig != null && Object.hasOwnProperty.call(message, "encoderConfig"))
|
|
14459
|
-
$root.sesame.v1.outputs.EncoderConfig.encode(message.encoderConfig, writer.uint32(
|
|
14460
|
-
/* id 4, wireType 2 =*/
|
|
14461
|
-
34
|
|
14462
|
-
).fork()).ldelim();
|
|
14463
|
-
return writer;
|
|
14464
|
-
};
|
|
14465
|
-
OutputEncodedConfig.encodeDelimited = function encodeDelimited(message, writer) {
|
|
14466
|
-
return this.encode(message, writer).ldelim();
|
|
14467
|
-
};
|
|
14468
|
-
OutputEncodedConfig.decode = function decode(reader, length, error) {
|
|
14469
|
-
if (!(reader instanceof $Reader))
|
|
14470
|
-
reader = $Reader.create(reader);
|
|
14471
|
-
let end = length === void 0 ? reader.len : reader.pos + length, message = new $root.sesame.v1.outputs.OutputEncodedConfig();
|
|
14472
|
-
while (reader.pos < end) {
|
|
14473
|
-
let tag = reader.uint32();
|
|
14474
|
-
if (tag === error)
|
|
14475
|
-
break;
|
|
14476
|
-
switch (tag >>> 3) {
|
|
14477
|
-
case 1: {
|
|
14478
|
-
message.width = reader.uint32();
|
|
14479
|
-
break;
|
|
14480
|
-
}
|
|
14481
|
-
case 2: {
|
|
14482
|
-
message.height = reader.uint32();
|
|
14483
|
-
break;
|
|
14484
|
-
}
|
|
14485
|
-
case 3: {
|
|
14486
|
-
message.fps = reader.float();
|
|
14487
|
-
break;
|
|
14488
|
-
}
|
|
14489
|
-
case 4: {
|
|
14490
|
-
message.encoderConfig = $root.sesame.v1.outputs.EncoderConfig.decode(reader, reader.uint32());
|
|
14491
|
-
break;
|
|
14492
|
-
}
|
|
14493
|
-
default:
|
|
14494
|
-
reader.skipType(tag & 7);
|
|
14495
|
-
break;
|
|
14496
|
-
}
|
|
14497
|
-
}
|
|
14498
|
-
return message;
|
|
14499
|
-
};
|
|
14500
|
-
OutputEncodedConfig.decodeDelimited = function decodeDelimited(reader) {
|
|
14501
|
-
if (!(reader instanceof $Reader))
|
|
14502
|
-
reader = new $Reader(reader);
|
|
14503
|
-
return this.decode(reader, reader.uint32());
|
|
14504
|
-
};
|
|
14505
|
-
OutputEncodedConfig.verify = function verify(message) {
|
|
14506
|
-
if (typeof message !== "object" || message === null)
|
|
14507
|
-
return "object expected";
|
|
14508
|
-
if (message.width != null && message.hasOwnProperty("width")) {
|
|
14509
|
-
if (!$util.isInteger(message.width))
|
|
14510
|
-
return "width: integer expected";
|
|
14511
|
-
}
|
|
14512
|
-
if (message.height != null && message.hasOwnProperty("height")) {
|
|
14513
|
-
if (!$util.isInteger(message.height))
|
|
14514
|
-
return "height: integer expected";
|
|
14515
|
-
}
|
|
14516
|
-
if (message.fps != null && message.hasOwnProperty("fps")) {
|
|
14517
|
-
if (typeof message.fps !== "number")
|
|
14518
|
-
return "fps: number expected";
|
|
14519
|
-
}
|
|
14520
|
-
if (message.encoderConfig != null && message.hasOwnProperty("encoderConfig")) {
|
|
14521
|
-
let error = $root.sesame.v1.outputs.EncoderConfig.verify(message.encoderConfig);
|
|
14522
|
-
if (error)
|
|
14523
|
-
return "encoderConfig." + error;
|
|
14524
|
-
}
|
|
14525
|
-
return null;
|
|
14526
|
-
};
|
|
14527
|
-
OutputEncodedConfig.fromObject = function fromObject(object) {
|
|
14528
|
-
if (object instanceof $root.sesame.v1.outputs.OutputEncodedConfig)
|
|
14529
|
-
return object;
|
|
14530
|
-
let message = new $root.sesame.v1.outputs.OutputEncodedConfig();
|
|
14531
|
-
if (object.width != null)
|
|
14532
|
-
message.width = object.width >>> 0;
|
|
14533
|
-
if (object.height != null)
|
|
14534
|
-
message.height = object.height >>> 0;
|
|
14535
|
-
if (object.fps != null)
|
|
14536
|
-
message.fps = Number(object.fps);
|
|
14537
|
-
if (object.encoderConfig != null) {
|
|
14538
|
-
if (typeof object.encoderConfig !== "object")
|
|
14539
|
-
throw TypeError(".sesame.v1.outputs.OutputEncodedConfig.encoderConfig: object expected");
|
|
14540
|
-
message.encoderConfig = $root.sesame.v1.outputs.EncoderConfig.fromObject(object.encoderConfig);
|
|
14541
|
-
}
|
|
14542
|
-
return message;
|
|
14543
|
-
};
|
|
14544
|
-
OutputEncodedConfig.toObject = function toObject(message, options) {
|
|
14545
|
-
if (!options)
|
|
14546
|
-
options = {};
|
|
14547
|
-
let object = {};
|
|
14548
|
-
if (options.defaults) {
|
|
14549
|
-
object.width = 0;
|
|
14550
|
-
object.height = 0;
|
|
14551
|
-
object.fps = 0;
|
|
14552
|
-
object.encoderConfig = null;
|
|
14553
|
-
}
|
|
14554
14468
|
if (message.width != null && message.hasOwnProperty("width"))
|
|
14555
14469
|
object.width = message.width;
|
|
14556
14470
|
if (message.height != null && message.hasOwnProperty("height"))
|
|
14557
14471
|
object.height = message.height;
|
|
14558
14472
|
if (message.fps != null && message.hasOwnProperty("fps"))
|
|
14559
14473
|
object.fps = options.json && !isFinite(message.fps) ? String(message.fps) : message.fps;
|
|
14560
|
-
if (message.encoderConfig != null && message.hasOwnProperty("encoderConfig"))
|
|
14561
|
-
object.encoderConfig = $root.sesame.v1.outputs.EncoderConfig.toObject(message.encoderConfig, options);
|
|
14562
14474
|
return object;
|
|
14563
14475
|
};
|
|
14564
|
-
|
|
14565
|
-
return this.constructor.toObject(this,
|
|
14476
|
+
EncoderConfig.prototype.toJSON = function toJSON() {
|
|
14477
|
+
return this.constructor.toObject(this, import_minimal.default.util.toJSONOptions);
|
|
14566
14478
|
};
|
|
14567
|
-
|
|
14479
|
+
EncoderConfig.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
14568
14480
|
if (typeUrlPrefix === void 0) {
|
|
14569
14481
|
typeUrlPrefix = "type.googleapis.com";
|
|
14570
14482
|
}
|
|
14571
|
-
return typeUrlPrefix + "/sesame.v1.outputs.
|
|
14483
|
+
return typeUrlPrefix + "/sesame.v1.outputs.EncoderConfig";
|
|
14572
14484
|
};
|
|
14573
|
-
return
|
|
14485
|
+
return EncoderConfig;
|
|
14574
14486
|
}();
|
|
14575
14487
|
outputs.DecklinkOutputConfig = function() {
|
|
14576
14488
|
function DecklinkOutputConfig(properties) {
|
|
@@ -14722,7 +14634,7 @@ var sesame = $root.sesame = (() => {
|
|
|
14722
14634
|
return object;
|
|
14723
14635
|
};
|
|
14724
14636
|
DecklinkOutputConfig.prototype.toJSON = function toJSON() {
|
|
14725
|
-
return this.constructor.toObject(this,
|
|
14637
|
+
return this.constructor.toObject(this, import_minimal.default.util.toJSONOptions);
|
|
14726
14638
|
};
|
|
14727
14639
|
DecklinkOutputConfig.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
14728
14640
|
if (typeUrlPrefix === void 0) {
|
|
@@ -14741,7 +14653,7 @@ var sesame = $root.sesame = (() => {
|
|
|
14741
14653
|
}
|
|
14742
14654
|
}
|
|
14743
14655
|
EncodedWebSocketOutputConfig.prototype.channel = "";
|
|
14744
|
-
EncodedWebSocketOutputConfig.prototype.
|
|
14656
|
+
EncodedWebSocketOutputConfig.prototype.encoder = null;
|
|
14745
14657
|
EncodedWebSocketOutputConfig.create = function create(properties) {
|
|
14746
14658
|
return new EncodedWebSocketOutputConfig(properties);
|
|
14747
14659
|
};
|
|
@@ -14753,8 +14665,8 @@ var sesame = $root.sesame = (() => {
|
|
|
14753
14665
|
/* id 1, wireType 2 =*/
|
|
14754
14666
|
10
|
|
14755
14667
|
).string(message.channel);
|
|
14756
|
-
if (message.
|
|
14757
|
-
$root.sesame.v1.outputs.
|
|
14668
|
+
if (message.encoder != null && Object.hasOwnProperty.call(message, "encoder"))
|
|
14669
|
+
$root.sesame.v1.outputs.EncoderConfig.encode(message.encoder, writer.uint32(
|
|
14758
14670
|
/* id 2, wireType 2 =*/
|
|
14759
14671
|
18
|
|
14760
14672
|
).fork()).ldelim();
|
|
@@ -14777,7 +14689,7 @@ var sesame = $root.sesame = (() => {
|
|
|
14777
14689
|
break;
|
|
14778
14690
|
}
|
|
14779
14691
|
case 2: {
|
|
14780
|
-
message.
|
|
14692
|
+
message.encoder = $root.sesame.v1.outputs.EncoderConfig.decode(reader, reader.uint32());
|
|
14781
14693
|
break;
|
|
14782
14694
|
}
|
|
14783
14695
|
default:
|
|
@@ -14799,10 +14711,10 @@ var sesame = $root.sesame = (() => {
|
|
|
14799
14711
|
if (!$util.isString(message.channel))
|
|
14800
14712
|
return "channel: string expected";
|
|
14801
14713
|
}
|
|
14802
|
-
if (message.
|
|
14803
|
-
let error = $root.sesame.v1.outputs.
|
|
14714
|
+
if (message.encoder != null && message.hasOwnProperty("encoder")) {
|
|
14715
|
+
let error = $root.sesame.v1.outputs.EncoderConfig.verify(message.encoder);
|
|
14804
14716
|
if (error)
|
|
14805
|
-
return "
|
|
14717
|
+
return "encoder." + error;
|
|
14806
14718
|
}
|
|
14807
14719
|
return null;
|
|
14808
14720
|
};
|
|
@@ -14812,10 +14724,10 @@ var sesame = $root.sesame = (() => {
|
|
|
14812
14724
|
let message = new $root.sesame.v1.outputs.EncodedWebSocketOutputConfig();
|
|
14813
14725
|
if (object.channel != null)
|
|
14814
14726
|
message.channel = String(object.channel);
|
|
14815
|
-
if (object.
|
|
14816
|
-
if (typeof object.
|
|
14817
|
-
throw TypeError(".sesame.v1.outputs.EncodedWebSocketOutputConfig.
|
|
14818
|
-
message.
|
|
14727
|
+
if (object.encoder != null) {
|
|
14728
|
+
if (typeof object.encoder !== "object")
|
|
14729
|
+
throw TypeError(".sesame.v1.outputs.EncodedWebSocketOutputConfig.encoder: object expected");
|
|
14730
|
+
message.encoder = $root.sesame.v1.outputs.EncoderConfig.fromObject(object.encoder);
|
|
14819
14731
|
}
|
|
14820
14732
|
return message;
|
|
14821
14733
|
};
|
|
@@ -14825,16 +14737,16 @@ var sesame = $root.sesame = (() => {
|
|
|
14825
14737
|
let object = {};
|
|
14826
14738
|
if (options.defaults) {
|
|
14827
14739
|
object.channel = "";
|
|
14828
|
-
object.
|
|
14740
|
+
object.encoder = null;
|
|
14829
14741
|
}
|
|
14830
14742
|
if (message.channel != null && message.hasOwnProperty("channel"))
|
|
14831
14743
|
object.channel = message.channel;
|
|
14832
|
-
if (message.
|
|
14833
|
-
object.
|
|
14744
|
+
if (message.encoder != null && message.hasOwnProperty("encoder"))
|
|
14745
|
+
object.encoder = $root.sesame.v1.outputs.EncoderConfig.toObject(message.encoder, options);
|
|
14834
14746
|
return object;
|
|
14835
14747
|
};
|
|
14836
14748
|
EncodedWebSocketOutputConfig.prototype.toJSON = function toJSON() {
|
|
14837
|
-
return this.constructor.toObject(this,
|
|
14749
|
+
return this.constructor.toObject(this, import_minimal.default.util.toJSONOptions);
|
|
14838
14750
|
};
|
|
14839
14751
|
EncodedWebSocketOutputConfig.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
14840
14752
|
if (typeUrlPrefix === void 0) {
|
|
@@ -14852,7 +14764,7 @@ var sesame = $root.sesame = (() => {
|
|
|
14852
14764
|
this[keys[i]] = properties[keys[i]];
|
|
14853
14765
|
}
|
|
14854
14766
|
}
|
|
14855
|
-
EncodedRecorderOutputConfig.prototype.
|
|
14767
|
+
EncodedRecorderOutputConfig.prototype.encoder = null;
|
|
14856
14768
|
EncodedRecorderOutputConfig.prototype.filename = "";
|
|
14857
14769
|
EncodedRecorderOutputConfig.prototype.sizeGb = 0;
|
|
14858
14770
|
EncodedRecorderOutputConfig.prototype.groupId = "";
|
|
@@ -14863,8 +14775,8 @@ var sesame = $root.sesame = (() => {
|
|
|
14863
14775
|
EncodedRecorderOutputConfig.encode = function encode(message, writer) {
|
|
14864
14776
|
if (!writer)
|
|
14865
14777
|
writer = $Writer.create();
|
|
14866
|
-
if (message.
|
|
14867
|
-
$root.sesame.v1.outputs.
|
|
14778
|
+
if (message.encoder != null && Object.hasOwnProperty.call(message, "encoder"))
|
|
14779
|
+
$root.sesame.v1.outputs.EncoderConfig.encode(message.encoder, writer.uint32(
|
|
14868
14780
|
/* id 1, wireType 2 =*/
|
|
14869
14781
|
10
|
|
14870
14782
|
).fork()).ldelim();
|
|
@@ -14903,7 +14815,7 @@ var sesame = $root.sesame = (() => {
|
|
|
14903
14815
|
break;
|
|
14904
14816
|
switch (tag >>> 3) {
|
|
14905
14817
|
case 1: {
|
|
14906
|
-
message.
|
|
14818
|
+
message.encoder = $root.sesame.v1.outputs.EncoderConfig.decode(reader, reader.uint32());
|
|
14907
14819
|
break;
|
|
14908
14820
|
}
|
|
14909
14821
|
case 2: {
|
|
@@ -14937,10 +14849,10 @@ var sesame = $root.sesame = (() => {
|
|
|
14937
14849
|
EncodedRecorderOutputConfig.verify = function verify(message) {
|
|
14938
14850
|
if (typeof message !== "object" || message === null)
|
|
14939
14851
|
return "object expected";
|
|
14940
|
-
if (message.
|
|
14941
|
-
let error = $root.sesame.v1.outputs.
|
|
14852
|
+
if (message.encoder != null && message.hasOwnProperty("encoder")) {
|
|
14853
|
+
let error = $root.sesame.v1.outputs.EncoderConfig.verify(message.encoder);
|
|
14942
14854
|
if (error)
|
|
14943
|
-
return "
|
|
14855
|
+
return "encoder." + error;
|
|
14944
14856
|
}
|
|
14945
14857
|
if (message.filename != null && message.hasOwnProperty("filename")) {
|
|
14946
14858
|
if (!$util.isString(message.filename))
|
|
@@ -14969,10 +14881,10 @@ var sesame = $root.sesame = (() => {
|
|
|
14969
14881
|
if (object instanceof $root.sesame.v1.outputs.EncodedRecorderOutputConfig)
|
|
14970
14882
|
return object;
|
|
14971
14883
|
let message = new $root.sesame.v1.outputs.EncodedRecorderOutputConfig();
|
|
14972
|
-
if (object.
|
|
14973
|
-
if (typeof object.
|
|
14974
|
-
throw TypeError(".sesame.v1.outputs.EncodedRecorderOutputConfig.
|
|
14975
|
-
message.
|
|
14884
|
+
if (object.encoder != null) {
|
|
14885
|
+
if (typeof object.encoder !== "object")
|
|
14886
|
+
throw TypeError(".sesame.v1.outputs.EncodedRecorderOutputConfig.encoder: object expected");
|
|
14887
|
+
message.encoder = $root.sesame.v1.outputs.EncoderConfig.fromObject(object.encoder);
|
|
14976
14888
|
}
|
|
14977
14889
|
if (object.filename != null)
|
|
14978
14890
|
message.filename = String(object.filename);
|
|
@@ -15007,14 +14919,14 @@ var sesame = $root.sesame = (() => {
|
|
|
15007
14919
|
options = {};
|
|
15008
14920
|
let object = {};
|
|
15009
14921
|
if (options.defaults) {
|
|
15010
|
-
object.
|
|
14922
|
+
object.encoder = null;
|
|
15011
14923
|
object.filename = "";
|
|
15012
14924
|
object.sizeGb = 0;
|
|
15013
14925
|
object.groupId = "";
|
|
15014
14926
|
object.recorderType = options.enums === String ? "RECORDER_TYPE_UNSPECIFIED" : 0;
|
|
15015
14927
|
}
|
|
15016
|
-
if (message.
|
|
15017
|
-
object.
|
|
14928
|
+
if (message.encoder != null && message.hasOwnProperty("encoder"))
|
|
14929
|
+
object.encoder = $root.sesame.v1.outputs.EncoderConfig.toObject(message.encoder, options);
|
|
15018
14930
|
if (message.filename != null && message.hasOwnProperty("filename"))
|
|
15019
14931
|
object.filename = message.filename;
|
|
15020
14932
|
if (message.sizeGb != null && message.hasOwnProperty("sizeGb"))
|
|
@@ -15026,7 +14938,7 @@ var sesame = $root.sesame = (() => {
|
|
|
15026
14938
|
return object;
|
|
15027
14939
|
};
|
|
15028
14940
|
EncodedRecorderOutputConfig.prototype.toJSON = function toJSON() {
|
|
15029
|
-
return this.constructor.toObject(this,
|
|
14941
|
+
return this.constructor.toObject(this, import_minimal.default.util.toJSONOptions);
|
|
15030
14942
|
};
|
|
15031
14943
|
EncodedRecorderOutputConfig.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
15032
14944
|
if (typeUrlPrefix === void 0) {
|
|
@@ -15046,7 +14958,7 @@ var sesame = $root.sesame = (() => {
|
|
|
15046
14958
|
this[keys[i]] = properties[keys[i]];
|
|
15047
14959
|
}
|
|
15048
14960
|
}
|
|
15049
|
-
EncodedSuperSlowMoRecorderOutputConfig.prototype.
|
|
14961
|
+
EncodedSuperSlowMoRecorderOutputConfig.prototype.encoder = null;
|
|
15050
14962
|
EncodedSuperSlowMoRecorderOutputConfig.prototype.filename = "";
|
|
15051
14963
|
EncodedSuperSlowMoRecorderOutputConfig.prototype.sizeGb = 0;
|
|
15052
14964
|
EncodedSuperSlowMoRecorderOutputConfig.prototype.groupId = "";
|
|
@@ -15059,8 +14971,8 @@ var sesame = $root.sesame = (() => {
|
|
|
15059
14971
|
EncodedSuperSlowMoRecorderOutputConfig.encode = function encode(message, writer) {
|
|
15060
14972
|
if (!writer)
|
|
15061
14973
|
writer = $Writer.create();
|
|
15062
|
-
if (message.
|
|
15063
|
-
$root.sesame.v1.outputs.
|
|
14974
|
+
if (message.encoder != null && Object.hasOwnProperty.call(message, "encoder"))
|
|
14975
|
+
$root.sesame.v1.outputs.EncoderConfig.encode(message.encoder, writer.uint32(
|
|
15064
14976
|
/* id 1, wireType 2 =*/
|
|
15065
14977
|
10
|
|
15066
14978
|
).fork()).ldelim();
|
|
@@ -15111,7 +15023,7 @@ var sesame = $root.sesame = (() => {
|
|
|
15111
15023
|
break;
|
|
15112
15024
|
switch (tag >>> 3) {
|
|
15113
15025
|
case 1: {
|
|
15114
|
-
message.
|
|
15026
|
+
message.encoder = $root.sesame.v1.outputs.EncoderConfig.decode(reader, reader.uint32());
|
|
15115
15027
|
break;
|
|
15116
15028
|
}
|
|
15117
15029
|
case 2: {
|
|
@@ -15157,10 +15069,10 @@ var sesame = $root.sesame = (() => {
|
|
|
15157
15069
|
EncodedSuperSlowMoRecorderOutputConfig.verify = function verify(message) {
|
|
15158
15070
|
if (typeof message !== "object" || message === null)
|
|
15159
15071
|
return "object expected";
|
|
15160
|
-
if (message.
|
|
15161
|
-
let error = $root.sesame.v1.outputs.
|
|
15072
|
+
if (message.encoder != null && message.hasOwnProperty("encoder")) {
|
|
15073
|
+
let error = $root.sesame.v1.outputs.EncoderConfig.verify(message.encoder);
|
|
15162
15074
|
if (error)
|
|
15163
|
-
return "
|
|
15075
|
+
return "encoder." + error;
|
|
15164
15076
|
}
|
|
15165
15077
|
if (message.filename != null && message.hasOwnProperty("filename")) {
|
|
15166
15078
|
if (!$util.isString(message.filename))
|
|
@@ -15203,10 +15115,10 @@ var sesame = $root.sesame = (() => {
|
|
|
15203
15115
|
if (object instanceof $root.sesame.v1.outputs.EncodedSuperSlowMoRecorderOutputConfig)
|
|
15204
15116
|
return object;
|
|
15205
15117
|
let message = new $root.sesame.v1.outputs.EncodedSuperSlowMoRecorderOutputConfig();
|
|
15206
|
-
if (object.
|
|
15207
|
-
if (typeof object.
|
|
15208
|
-
throw TypeError(".sesame.v1.outputs.EncodedSuperSlowMoRecorderOutputConfig.
|
|
15209
|
-
message.
|
|
15118
|
+
if (object.encoder != null) {
|
|
15119
|
+
if (typeof object.encoder !== "object")
|
|
15120
|
+
throw TypeError(".sesame.v1.outputs.EncodedSuperSlowMoRecorderOutputConfig.encoder: object expected");
|
|
15121
|
+
message.encoder = $root.sesame.v1.outputs.EncoderConfig.fromObject(object.encoder);
|
|
15210
15122
|
}
|
|
15211
15123
|
if (object.filename != null)
|
|
15212
15124
|
message.filename = String(object.filename);
|
|
@@ -15259,14 +15171,14 @@ var sesame = $root.sesame = (() => {
|
|
|
15259
15171
|
object.sourceIds = [];
|
|
15260
15172
|
}
|
|
15261
15173
|
if (options.defaults) {
|
|
15262
|
-
object.
|
|
15174
|
+
object.encoder = null;
|
|
15263
15175
|
object.filename = "";
|
|
15264
15176
|
object.sizeGb = 0;
|
|
15265
15177
|
object.groupId = "";
|
|
15266
15178
|
object.recorderType = options.enums === String ? "RECORDER_TYPE_UNSPECIFIED" : 0;
|
|
15267
15179
|
}
|
|
15268
|
-
if (message.
|
|
15269
|
-
object.
|
|
15180
|
+
if (message.encoder != null && message.hasOwnProperty("encoder"))
|
|
15181
|
+
object.encoder = $root.sesame.v1.outputs.EncoderConfig.toObject(message.encoder, options);
|
|
15270
15182
|
if (message.filename != null && message.hasOwnProperty("filename"))
|
|
15271
15183
|
object.filename = message.filename;
|
|
15272
15184
|
if (message.sizeGb != null && message.hasOwnProperty("sizeGb"))
|
|
@@ -15288,7 +15200,7 @@ var sesame = $root.sesame = (() => {
|
|
|
15288
15200
|
return object;
|
|
15289
15201
|
};
|
|
15290
15202
|
EncodedSuperSlowMoRecorderOutputConfig.prototype.toJSON = function toJSON() {
|
|
15291
|
-
return this.constructor.toObject(this,
|
|
15203
|
+
return this.constructor.toObject(this, import_minimal.default.util.toJSONOptions);
|
|
15292
15204
|
};
|
|
15293
15205
|
EncodedSuperSlowMoRecorderOutputConfig.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
15294
15206
|
if (typeUrlPrefix === void 0) {
|
|
@@ -15307,7 +15219,7 @@ var sesame = $root.sesame = (() => {
|
|
|
15307
15219
|
}
|
|
15308
15220
|
}
|
|
15309
15221
|
EncodedSrtOutputConfig.prototype.url = "";
|
|
15310
|
-
EncodedSrtOutputConfig.prototype.
|
|
15222
|
+
EncodedSrtOutputConfig.prototype.encoder = null;
|
|
15311
15223
|
EncodedSrtOutputConfig.create = function create(properties) {
|
|
15312
15224
|
return new EncodedSrtOutputConfig(properties);
|
|
15313
15225
|
};
|
|
@@ -15319,8 +15231,8 @@ var sesame = $root.sesame = (() => {
|
|
|
15319
15231
|
/* id 1, wireType 2 =*/
|
|
15320
15232
|
10
|
|
15321
15233
|
).string(message.url);
|
|
15322
|
-
if (message.
|
|
15323
|
-
$root.sesame.v1.outputs.
|
|
15234
|
+
if (message.encoder != null && Object.hasOwnProperty.call(message, "encoder"))
|
|
15235
|
+
$root.sesame.v1.outputs.EncoderConfig.encode(message.encoder, writer.uint32(
|
|
15324
15236
|
/* id 2, wireType 2 =*/
|
|
15325
15237
|
18
|
|
15326
15238
|
).fork()).ldelim();
|
|
@@ -15343,7 +15255,7 @@ var sesame = $root.sesame = (() => {
|
|
|
15343
15255
|
break;
|
|
15344
15256
|
}
|
|
15345
15257
|
case 2: {
|
|
15346
|
-
message.
|
|
15258
|
+
message.encoder = $root.sesame.v1.outputs.EncoderConfig.decode(reader, reader.uint32());
|
|
15347
15259
|
break;
|
|
15348
15260
|
}
|
|
15349
15261
|
default:
|
|
@@ -15365,10 +15277,10 @@ var sesame = $root.sesame = (() => {
|
|
|
15365
15277
|
if (!$util.isString(message.url))
|
|
15366
15278
|
return "url: string expected";
|
|
15367
15279
|
}
|
|
15368
|
-
if (message.
|
|
15369
|
-
let error = $root.sesame.v1.outputs.
|
|
15280
|
+
if (message.encoder != null && message.hasOwnProperty("encoder")) {
|
|
15281
|
+
let error = $root.sesame.v1.outputs.EncoderConfig.verify(message.encoder);
|
|
15370
15282
|
if (error)
|
|
15371
|
-
return "
|
|
15283
|
+
return "encoder." + error;
|
|
15372
15284
|
}
|
|
15373
15285
|
return null;
|
|
15374
15286
|
};
|
|
@@ -15378,10 +15290,10 @@ var sesame = $root.sesame = (() => {
|
|
|
15378
15290
|
let message = new $root.sesame.v1.outputs.EncodedSrtOutputConfig();
|
|
15379
15291
|
if (object.url != null)
|
|
15380
15292
|
message.url = String(object.url);
|
|
15381
|
-
if (object.
|
|
15382
|
-
if (typeof object.
|
|
15383
|
-
throw TypeError(".sesame.v1.outputs.EncodedSrtOutputConfig.
|
|
15384
|
-
message.
|
|
15293
|
+
if (object.encoder != null) {
|
|
15294
|
+
if (typeof object.encoder !== "object")
|
|
15295
|
+
throw TypeError(".sesame.v1.outputs.EncodedSrtOutputConfig.encoder: object expected");
|
|
15296
|
+
message.encoder = $root.sesame.v1.outputs.EncoderConfig.fromObject(object.encoder);
|
|
15385
15297
|
}
|
|
15386
15298
|
return message;
|
|
15387
15299
|
};
|
|
@@ -15391,16 +15303,16 @@ var sesame = $root.sesame = (() => {
|
|
|
15391
15303
|
let object = {};
|
|
15392
15304
|
if (options.defaults) {
|
|
15393
15305
|
object.url = "";
|
|
15394
|
-
object.
|
|
15306
|
+
object.encoder = null;
|
|
15395
15307
|
}
|
|
15396
15308
|
if (message.url != null && message.hasOwnProperty("url"))
|
|
15397
15309
|
object.url = message.url;
|
|
15398
|
-
if (message.
|
|
15399
|
-
object.
|
|
15310
|
+
if (message.encoder != null && message.hasOwnProperty("encoder"))
|
|
15311
|
+
object.encoder = $root.sesame.v1.outputs.EncoderConfig.toObject(message.encoder, options);
|
|
15400
15312
|
return object;
|
|
15401
15313
|
};
|
|
15402
15314
|
EncodedSrtOutputConfig.prototype.toJSON = function toJSON() {
|
|
15403
|
-
return this.constructor.toObject(this,
|
|
15315
|
+
return this.constructor.toObject(this, import_minimal.default.util.toJSONOptions);
|
|
15404
15316
|
};
|
|
15405
15317
|
EncodedSrtOutputConfig.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
15406
15318
|
if (typeUrlPrefix === void 0) {
|
|
@@ -15418,7 +15330,7 @@ var sesame = $root.sesame = (() => {
|
|
|
15418
15330
|
this[keys[i]] = properties[keys[i]];
|
|
15419
15331
|
}
|
|
15420
15332
|
}
|
|
15421
|
-
EncodedMoqOutputConfig.prototype.
|
|
15333
|
+
EncodedMoqOutputConfig.prototype.encoder = null;
|
|
15422
15334
|
EncodedMoqOutputConfig.prototype.url = "";
|
|
15423
15335
|
EncodedMoqOutputConfig.prototype.broadcast = "";
|
|
15424
15336
|
EncodedMoqOutputConfig.prototype.key = "";
|
|
@@ -15428,8 +15340,8 @@ var sesame = $root.sesame = (() => {
|
|
|
15428
15340
|
EncodedMoqOutputConfig.encode = function encode(message, writer) {
|
|
15429
15341
|
if (!writer)
|
|
15430
15342
|
writer = $Writer.create();
|
|
15431
|
-
if (message.
|
|
15432
|
-
$root.sesame.v1.outputs.
|
|
15343
|
+
if (message.encoder != null && Object.hasOwnProperty.call(message, "encoder"))
|
|
15344
|
+
$root.sesame.v1.outputs.EncoderConfig.encode(message.encoder, writer.uint32(
|
|
15433
15345
|
/* id 1, wireType 2 =*/
|
|
15434
15346
|
10
|
|
15435
15347
|
).fork()).ldelim();
|
|
@@ -15463,7 +15375,7 @@ var sesame = $root.sesame = (() => {
|
|
|
15463
15375
|
break;
|
|
15464
15376
|
switch (tag >>> 3) {
|
|
15465
15377
|
case 1: {
|
|
15466
|
-
message.
|
|
15378
|
+
message.encoder = $root.sesame.v1.outputs.EncoderConfig.decode(reader, reader.uint32());
|
|
15467
15379
|
break;
|
|
15468
15380
|
}
|
|
15469
15381
|
case 2: {
|
|
@@ -15493,10 +15405,10 @@ var sesame = $root.sesame = (() => {
|
|
|
15493
15405
|
EncodedMoqOutputConfig.verify = function verify(message) {
|
|
15494
15406
|
if (typeof message !== "object" || message === null)
|
|
15495
15407
|
return "object expected";
|
|
15496
|
-
if (message.
|
|
15497
|
-
let error = $root.sesame.v1.outputs.
|
|
15408
|
+
if (message.encoder != null && message.hasOwnProperty("encoder")) {
|
|
15409
|
+
let error = $root.sesame.v1.outputs.EncoderConfig.verify(message.encoder);
|
|
15498
15410
|
if (error)
|
|
15499
|
-
return "
|
|
15411
|
+
return "encoder." + error;
|
|
15500
15412
|
}
|
|
15501
15413
|
if (message.url != null && message.hasOwnProperty("url")) {
|
|
15502
15414
|
if (!$util.isString(message.url))
|
|
@@ -15516,10 +15428,10 @@ var sesame = $root.sesame = (() => {
|
|
|
15516
15428
|
if (object instanceof $root.sesame.v1.outputs.EncodedMoqOutputConfig)
|
|
15517
15429
|
return object;
|
|
15518
15430
|
let message = new $root.sesame.v1.outputs.EncodedMoqOutputConfig();
|
|
15519
|
-
if (object.
|
|
15520
|
-
if (typeof object.
|
|
15521
|
-
throw TypeError(".sesame.v1.outputs.EncodedMoqOutputConfig.
|
|
15522
|
-
message.
|
|
15431
|
+
if (object.encoder != null) {
|
|
15432
|
+
if (typeof object.encoder !== "object")
|
|
15433
|
+
throw TypeError(".sesame.v1.outputs.EncodedMoqOutputConfig.encoder: object expected");
|
|
15434
|
+
message.encoder = $root.sesame.v1.outputs.EncoderConfig.fromObject(object.encoder);
|
|
15523
15435
|
}
|
|
15524
15436
|
if (object.url != null)
|
|
15525
15437
|
message.url = String(object.url);
|
|
@@ -15534,13 +15446,13 @@ var sesame = $root.sesame = (() => {
|
|
|
15534
15446
|
options = {};
|
|
15535
15447
|
let object = {};
|
|
15536
15448
|
if (options.defaults) {
|
|
15537
|
-
object.
|
|
15449
|
+
object.encoder = null;
|
|
15538
15450
|
object.url = "";
|
|
15539
15451
|
object.broadcast = "";
|
|
15540
15452
|
object.key = "";
|
|
15541
15453
|
}
|
|
15542
|
-
if (message.
|
|
15543
|
-
object.
|
|
15454
|
+
if (message.encoder != null && message.hasOwnProperty("encoder"))
|
|
15455
|
+
object.encoder = $root.sesame.v1.outputs.EncoderConfig.toObject(message.encoder, options);
|
|
15544
15456
|
if (message.url != null && message.hasOwnProperty("url"))
|
|
15545
15457
|
object.url = message.url;
|
|
15546
15458
|
if (message.broadcast != null && message.hasOwnProperty("broadcast"))
|
|
@@ -15550,7 +15462,7 @@ var sesame = $root.sesame = (() => {
|
|
|
15550
15462
|
return object;
|
|
15551
15463
|
};
|
|
15552
15464
|
EncodedMoqOutputConfig.prototype.toJSON = function toJSON() {
|
|
15553
|
-
return this.constructor.toObject(this,
|
|
15465
|
+
return this.constructor.toObject(this, import_minimal.default.util.toJSONOptions);
|
|
15554
15466
|
};
|
|
15555
15467
|
EncodedMoqOutputConfig.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
15556
15468
|
if (typeUrlPrefix === void 0) {
|
|
@@ -15638,7 +15550,7 @@ var sesame = $root.sesame = (() => {
|
|
|
15638
15550
|
return object;
|
|
15639
15551
|
};
|
|
15640
15552
|
SystemAudioOutputConfig.prototype.toJSON = function toJSON() {
|
|
15641
|
-
return this.constructor.toObject(this,
|
|
15553
|
+
return this.constructor.toObject(this, import_minimal.default.util.toJSONOptions);
|
|
15642
15554
|
};
|
|
15643
15555
|
SystemAudioOutputConfig.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
15644
15556
|
if (typeUrlPrefix === void 0) {
|
|
@@ -16014,7 +15926,7 @@ var sesame = $root.sesame = (() => {
|
|
|
16014
15926
|
return object;
|
|
16015
15927
|
};
|
|
16016
15928
|
OutputAddRequest.prototype.toJSON = function toJSON() {
|
|
16017
|
-
return this.constructor.toObject(this,
|
|
15929
|
+
return this.constructor.toObject(this, import_minimal.default.util.toJSONOptions);
|
|
16018
15930
|
};
|
|
16019
15931
|
OutputAddRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
16020
15932
|
if (typeUrlPrefix === void 0) {
|
|
@@ -16390,7 +16302,7 @@ var sesame = $root.sesame = (() => {
|
|
|
16390
16302
|
return object;
|
|
16391
16303
|
};
|
|
16392
16304
|
OutputUpdateRequest.prototype.toJSON = function toJSON() {
|
|
16393
|
-
return this.constructor.toObject(this,
|
|
16305
|
+
return this.constructor.toObject(this, import_minimal.default.util.toJSONOptions);
|
|
16394
16306
|
};
|
|
16395
16307
|
OutputUpdateRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
16396
16308
|
if (typeUrlPrefix === void 0) {
|
|
@@ -16478,7 +16390,7 @@ var sesame = $root.sesame = (() => {
|
|
|
16478
16390
|
return object;
|
|
16479
16391
|
};
|
|
16480
16392
|
OutputRemoveRequest.prototype.toJSON = function toJSON() {
|
|
16481
|
-
return this.constructor.toObject(this,
|
|
16393
|
+
return this.constructor.toObject(this, import_minimal.default.util.toJSONOptions);
|
|
16482
16394
|
};
|
|
16483
16395
|
OutputRemoveRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
16484
16396
|
if (typeUrlPrefix === void 0) {
|
|
@@ -16566,7 +16478,7 @@ var sesame = $root.sesame = (() => {
|
|
|
16566
16478
|
return object;
|
|
16567
16479
|
};
|
|
16568
16480
|
KeyframeRequest.prototype.toJSON = function toJSON() {
|
|
16569
|
-
return this.constructor.toObject(this,
|
|
16481
|
+
return this.constructor.toObject(this, import_minimal.default.util.toJSONOptions);
|
|
16570
16482
|
};
|
|
16571
16483
|
KeyframeRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
16572
16484
|
if (typeUrlPrefix === void 0) {
|
|
@@ -16882,7 +16794,7 @@ var sesame = $root.sesame = (() => {
|
|
|
16882
16794
|
return object;
|
|
16883
16795
|
};
|
|
16884
16796
|
OutputStatus.prototype.toJSON = function toJSON() {
|
|
16885
|
-
return this.constructor.toObject(this,
|
|
16797
|
+
return this.constructor.toObject(this, import_minimal.default.util.toJSONOptions);
|
|
16886
16798
|
};
|
|
16887
16799
|
OutputStatus.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
16888
16800
|
if (typeUrlPrefix === void 0) {
|
|
@@ -17071,7 +16983,7 @@ var sesame = $root.sesame = (() => {
|
|
|
17071
16983
|
return object;
|
|
17072
16984
|
};
|
|
17073
16985
|
KeyFrame.prototype.toJSON = function toJSON() {
|
|
17074
|
-
return this.constructor.toObject(this,
|
|
16986
|
+
return this.constructor.toObject(this, import_minimal.default.util.toJSONOptions);
|
|
17075
16987
|
};
|
|
17076
16988
|
KeyFrame.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
17077
16989
|
if (typeUrlPrefix === void 0) {
|
|
@@ -17217,7 +17129,7 @@ var sesame = $root.sesame = (() => {
|
|
|
17217
17129
|
return object;
|
|
17218
17130
|
};
|
|
17219
17131
|
CompositorAddRequest.prototype.toJSON = function toJSON() {
|
|
17220
|
-
return this.constructor.toObject(this,
|
|
17132
|
+
return this.constructor.toObject(this, import_minimal.default.util.toJSONOptions);
|
|
17221
17133
|
};
|
|
17222
17134
|
CompositorAddRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
17223
17135
|
if (typeUrlPrefix === void 0) {
|
|
@@ -17305,7 +17217,7 @@ var sesame = $root.sesame = (() => {
|
|
|
17305
17217
|
return object;
|
|
17306
17218
|
};
|
|
17307
17219
|
CompositorRemoveRequest.prototype.toJSON = function toJSON() {
|
|
17308
|
-
return this.constructor.toObject(this,
|
|
17220
|
+
return this.constructor.toObject(this, import_minimal.default.util.toJSONOptions);
|
|
17309
17221
|
};
|
|
17310
17222
|
CompositorRemoveRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
17311
17223
|
if (typeUrlPrefix === void 0) {
|
|
@@ -17393,7 +17305,7 @@ var sesame = $root.sesame = (() => {
|
|
|
17393
17305
|
return object;
|
|
17394
17306
|
};
|
|
17395
17307
|
CompositorClearRequest.prototype.toJSON = function toJSON() {
|
|
17396
|
-
return this.constructor.toObject(this,
|
|
17308
|
+
return this.constructor.toObject(this, import_minimal.default.util.toJSONOptions);
|
|
17397
17309
|
};
|
|
17398
17310
|
CompositorClearRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
17399
17311
|
if (typeUrlPrefix === void 0) {
|
|
@@ -17587,7 +17499,7 @@ var sesame = $root.sesame = (() => {
|
|
|
17587
17499
|
return object;
|
|
17588
17500
|
};
|
|
17589
17501
|
NodeAddRequest.prototype.toJSON = function toJSON() {
|
|
17590
|
-
return this.constructor.toObject(this,
|
|
17502
|
+
return this.constructor.toObject(this, import_minimal.default.util.toJSONOptions);
|
|
17591
17503
|
};
|
|
17592
17504
|
NodeAddRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
17593
17505
|
if (typeUrlPrefix === void 0) {
|
|
@@ -17695,7 +17607,7 @@ var sesame = $root.sesame = (() => {
|
|
|
17695
17607
|
return object;
|
|
17696
17608
|
};
|
|
17697
17609
|
NodeRemoveRequest.prototype.toJSON = function toJSON() {
|
|
17698
|
-
return this.constructor.toObject(this,
|
|
17610
|
+
return this.constructor.toObject(this, import_minimal.default.util.toJSONOptions);
|
|
17699
17611
|
};
|
|
17700
17612
|
NodeRemoveRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
17701
17613
|
if (typeUrlPrefix === void 0) {
|
|
@@ -17849,7 +17761,7 @@ var sesame = $root.sesame = (() => {
|
|
|
17849
17761
|
return object;
|
|
17850
17762
|
};
|
|
17851
17763
|
PropertySetRequest.prototype.toJSON = function toJSON() {
|
|
17852
|
-
return this.constructor.toObject(this,
|
|
17764
|
+
return this.constructor.toObject(this, import_minimal.default.util.toJSONOptions);
|
|
17853
17765
|
};
|
|
17854
17766
|
PropertySetRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
17855
17767
|
if (typeUrlPrefix === void 0) {
|
|
@@ -18114,7 +18026,7 @@ var sesame = $root.sesame = (() => {
|
|
|
18114
18026
|
return object;
|
|
18115
18027
|
};
|
|
18116
18028
|
PropertyAnimateRequest.prototype.toJSON = function toJSON() {
|
|
18117
|
-
return this.constructor.toObject(this,
|
|
18029
|
+
return this.constructor.toObject(this, import_minimal.default.util.toJSONOptions);
|
|
18118
18030
|
};
|
|
18119
18031
|
PropertyAnimateRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
18120
18032
|
if (typeUrlPrefix === void 0) {
|
|
@@ -18292,7 +18204,7 @@ var sesame = $root.sesame = (() => {
|
|
|
18292
18204
|
return object;
|
|
18293
18205
|
};
|
|
18294
18206
|
TimingInfo.prototype.toJSON = function toJSON() {
|
|
18295
|
-
return this.constructor.toObject(this,
|
|
18207
|
+
return this.constructor.toObject(this, import_minimal.default.util.toJSONOptions);
|
|
18296
18208
|
};
|
|
18297
18209
|
TimingInfo.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
18298
18210
|
if (typeUrlPrefix === void 0) {
|
|
@@ -18542,7 +18454,7 @@ var sesame = $root.sesame = (() => {
|
|
|
18542
18454
|
return object;
|
|
18543
18455
|
};
|
|
18544
18456
|
JobStatusResponse.prototype.toJSON = function toJSON() {
|
|
18545
|
-
return this.constructor.toObject(this,
|
|
18457
|
+
return this.constructor.toObject(this, import_minimal.default.util.toJSONOptions);
|
|
18546
18458
|
};
|
|
18547
18459
|
JobStatusResponse.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
18548
18460
|
if (typeUrlPrefix === void 0) {
|
|
@@ -18650,7 +18562,7 @@ var sesame = $root.sesame = (() => {
|
|
|
18650
18562
|
return object;
|
|
18651
18563
|
};
|
|
18652
18564
|
JobListResponse.prototype.toJSON = function toJSON() {
|
|
18653
|
-
return this.constructor.toObject(this,
|
|
18565
|
+
return this.constructor.toObject(this, import_minimal.default.util.toJSONOptions);
|
|
18654
18566
|
};
|
|
18655
18567
|
JobListResponse.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
18656
18568
|
if (typeUrlPrefix === void 0) {
|
|
@@ -18894,7 +18806,7 @@ var sesame = $root.sesame = (() => {
|
|
|
18894
18806
|
return object;
|
|
18895
18807
|
};
|
|
18896
18808
|
JobEvent.prototype.toJSON = function toJSON() {
|
|
18897
|
-
return this.constructor.toObject(this,
|
|
18809
|
+
return this.constructor.toObject(this, import_minimal.default.util.toJSONOptions);
|
|
18898
18810
|
};
|
|
18899
18811
|
JobEvent.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
18900
18812
|
if (typeUrlPrefix === void 0) {
|
|
@@ -19581,7 +19493,7 @@ var sesame = $root.sesame = (() => {
|
|
|
19581
19493
|
return object;
|
|
19582
19494
|
};
|
|
19583
19495
|
ExportConfiguration.prototype.toJSON = function toJSON() {
|
|
19584
|
-
return this.constructor.toObject(this,
|
|
19496
|
+
return this.constructor.toObject(this, import_minimal.default.util.toJSONOptions);
|
|
19585
19497
|
};
|
|
19586
19498
|
ExportConfiguration.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
19587
19499
|
if (typeUrlPrefix === void 0) {
|
|
@@ -19713,7 +19625,7 @@ var sesame = $root.sesame = (() => {
|
|
|
19713
19625
|
return object;
|
|
19714
19626
|
};
|
|
19715
19627
|
ExportStartRequest.prototype.toJSON = function toJSON() {
|
|
19716
|
-
return this.constructor.toObject(this,
|
|
19628
|
+
return this.constructor.toObject(this, import_minimal.default.util.toJSONOptions);
|
|
19717
19629
|
};
|
|
19718
19630
|
ExportStartRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
19719
19631
|
if (typeUrlPrefix === void 0) {
|
|
@@ -19801,7 +19713,7 @@ var sesame = $root.sesame = (() => {
|
|
|
19801
19713
|
return object;
|
|
19802
19714
|
};
|
|
19803
19715
|
ExportAbortRequest.prototype.toJSON = function toJSON() {
|
|
19804
|
-
return this.constructor.toObject(this,
|
|
19716
|
+
return this.constructor.toObject(this, import_minimal.default.util.toJSONOptions);
|
|
19805
19717
|
};
|
|
19806
19718
|
ExportAbortRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
19807
19719
|
if (typeUrlPrefix === void 0) {
|
|
@@ -19889,7 +19801,7 @@ var sesame = $root.sesame = (() => {
|
|
|
19889
19801
|
return object;
|
|
19890
19802
|
};
|
|
19891
19803
|
ExportStatusRequest.prototype.toJSON = function toJSON() {
|
|
19892
|
-
return this.constructor.toObject(this,
|
|
19804
|
+
return this.constructor.toObject(this, import_minimal.default.util.toJSONOptions);
|
|
19893
19805
|
};
|
|
19894
19806
|
ExportStatusRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
19895
19807
|
if (typeUrlPrefix === void 0) {
|
|
@@ -19953,7 +19865,7 @@ var sesame = $root.sesame = (() => {
|
|
|
19953
19865
|
return {};
|
|
19954
19866
|
};
|
|
19955
19867
|
ExportListRequest.prototype.toJSON = function toJSON() {
|
|
19956
|
-
return this.constructor.toObject(this,
|
|
19868
|
+
return this.constructor.toObject(this, import_minimal.default.util.toJSONOptions);
|
|
19957
19869
|
};
|
|
19958
19870
|
ExportListRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
19959
19871
|
if (typeUrlPrefix === void 0) {
|
|
@@ -20176,7 +20088,7 @@ var sesame = $root.sesame = (() => {
|
|
|
20176
20088
|
return object;
|
|
20177
20089
|
};
|
|
20178
20090
|
ImportConfiguration.prototype.toJSON = function toJSON() {
|
|
20179
|
-
return this.constructor.toObject(this,
|
|
20091
|
+
return this.constructor.toObject(this, import_minimal.default.util.toJSONOptions);
|
|
20180
20092
|
};
|
|
20181
20093
|
ImportConfiguration.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
20182
20094
|
if (typeUrlPrefix === void 0) {
|
|
@@ -20268,7 +20180,7 @@ var sesame = $root.sesame = (() => {
|
|
|
20268
20180
|
return object;
|
|
20269
20181
|
};
|
|
20270
20182
|
ImportStartRequest.prototype.toJSON = function toJSON() {
|
|
20271
|
-
return this.constructor.toObject(this,
|
|
20183
|
+
return this.constructor.toObject(this, import_minimal.default.util.toJSONOptions);
|
|
20272
20184
|
};
|
|
20273
20185
|
ImportStartRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
20274
20186
|
if (typeUrlPrefix === void 0) {
|
|
@@ -20356,7 +20268,7 @@ var sesame = $root.sesame = (() => {
|
|
|
20356
20268
|
return object;
|
|
20357
20269
|
};
|
|
20358
20270
|
ImportAbortRequest.prototype.toJSON = function toJSON() {
|
|
20359
|
-
return this.constructor.toObject(this,
|
|
20271
|
+
return this.constructor.toObject(this, import_minimal.default.util.toJSONOptions);
|
|
20360
20272
|
};
|
|
20361
20273
|
ImportAbortRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
20362
20274
|
if (typeUrlPrefix === void 0) {
|
|
@@ -20444,7 +20356,7 @@ var sesame = $root.sesame = (() => {
|
|
|
20444
20356
|
return object;
|
|
20445
20357
|
};
|
|
20446
20358
|
ImportStatusRequest.prototype.toJSON = function toJSON() {
|
|
20447
|
-
return this.constructor.toObject(this,
|
|
20359
|
+
return this.constructor.toObject(this, import_minimal.default.util.toJSONOptions);
|
|
20448
20360
|
};
|
|
20449
20361
|
ImportStatusRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
20450
20362
|
if (typeUrlPrefix === void 0) {
|
|
@@ -20508,7 +20420,7 @@ var sesame = $root.sesame = (() => {
|
|
|
20508
20420
|
return {};
|
|
20509
20421
|
};
|
|
20510
20422
|
ImportListRequest.prototype.toJSON = function toJSON() {
|
|
20511
|
-
return this.constructor.toObject(this,
|
|
20423
|
+
return this.constructor.toObject(this, import_minimal.default.util.toJSONOptions);
|
|
20512
20424
|
};
|
|
20513
20425
|
ImportListRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
20514
20426
|
if (typeUrlPrefix === void 0) {
|
|
@@ -20521,8 +20433,8 @@ var sesame = $root.sesame = (() => {
|
|
|
20521
20433
|
return jobs;
|
|
20522
20434
|
}();
|
|
20523
20435
|
v1.rpc = function() {
|
|
20524
|
-
const
|
|
20525
|
-
|
|
20436
|
+
const rpc = {};
|
|
20437
|
+
rpc.Message = function() {
|
|
20526
20438
|
function Message2(properties) {
|
|
20527
20439
|
if (properties) {
|
|
20528
20440
|
for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
@@ -20674,7 +20586,7 @@ var sesame = $root.sesame = (() => {
|
|
|
20674
20586
|
return object;
|
|
20675
20587
|
};
|
|
20676
20588
|
Message2.prototype.toJSON = function toJSON() {
|
|
20677
|
-
return this.constructor.toObject(this,
|
|
20589
|
+
return this.constructor.toObject(this, import_minimal.default.util.toJSONOptions);
|
|
20678
20590
|
};
|
|
20679
20591
|
Message2.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
20680
20592
|
if (typeUrlPrefix === void 0) {
|
|
@@ -20684,7 +20596,7 @@ var sesame = $root.sesame = (() => {
|
|
|
20684
20596
|
};
|
|
20685
20597
|
return Message2;
|
|
20686
20598
|
}();
|
|
20687
|
-
|
|
20599
|
+
rpc.Request = function() {
|
|
20688
20600
|
function Request2(properties) {
|
|
20689
20601
|
if (properties) {
|
|
20690
20602
|
for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
@@ -20811,7 +20723,7 @@ var sesame = $root.sesame = (() => {
|
|
|
20811
20723
|
return object;
|
|
20812
20724
|
};
|
|
20813
20725
|
Request2.prototype.toJSON = function toJSON() {
|
|
20814
|
-
return this.constructor.toObject(this,
|
|
20726
|
+
return this.constructor.toObject(this, import_minimal.default.util.toJSONOptions);
|
|
20815
20727
|
};
|
|
20816
20728
|
Request2.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
20817
20729
|
if (typeUrlPrefix === void 0) {
|
|
@@ -20821,7 +20733,7 @@ var sesame = $root.sesame = (() => {
|
|
|
20821
20733
|
};
|
|
20822
20734
|
return Request2;
|
|
20823
20735
|
}();
|
|
20824
|
-
|
|
20736
|
+
rpc.Response = function() {
|
|
20825
20737
|
function Response2(properties) {
|
|
20826
20738
|
if (properties) {
|
|
20827
20739
|
for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
@@ -20967,7 +20879,7 @@ var sesame = $root.sesame = (() => {
|
|
|
20967
20879
|
return object;
|
|
20968
20880
|
};
|
|
20969
20881
|
Response2.prototype.toJSON = function toJSON() {
|
|
20970
|
-
return this.constructor.toObject(this,
|
|
20882
|
+
return this.constructor.toObject(this, import_minimal.default.util.toJSONOptions);
|
|
20971
20883
|
};
|
|
20972
20884
|
Response2.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
20973
20885
|
if (typeUrlPrefix === void 0) {
|
|
@@ -20977,7 +20889,7 @@ var sesame = $root.sesame = (() => {
|
|
|
20977
20889
|
};
|
|
20978
20890
|
return Response2;
|
|
20979
20891
|
}();
|
|
20980
|
-
|
|
20892
|
+
rpc.Event = function() {
|
|
20981
20893
|
function Event2(properties) {
|
|
20982
20894
|
if (properties) {
|
|
20983
20895
|
for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
@@ -21128,7 +21040,7 @@ var sesame = $root.sesame = (() => {
|
|
|
21128
21040
|
return object;
|
|
21129
21041
|
};
|
|
21130
21042
|
Event2.prototype.toJSON = function toJSON() {
|
|
21131
|
-
return this.constructor.toObject(this,
|
|
21043
|
+
return this.constructor.toObject(this, import_minimal.default.util.toJSONOptions);
|
|
21132
21044
|
};
|
|
21133
21045
|
Event2.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
21134
21046
|
if (typeUrlPrefix === void 0) {
|
|
@@ -21138,11 +21050,11 @@ var sesame = $root.sesame = (() => {
|
|
|
21138
21050
|
};
|
|
21139
21051
|
return Event2;
|
|
21140
21052
|
}();
|
|
21141
|
-
|
|
21053
|
+
rpc.SesameAPIService = function() {
|
|
21142
21054
|
function SesameAPIService(rpcImpl, requestDelimited, responseDelimited) {
|
|
21143
|
-
|
|
21055
|
+
import_minimal.default.rpc.Service.call(this, rpcImpl, requestDelimited, responseDelimited);
|
|
21144
21056
|
}
|
|
21145
|
-
(SesameAPIService.prototype = Object.create(
|
|
21057
|
+
(SesameAPIService.prototype = Object.create(import_minimal.default.rpc.Service.prototype)).constructor = SesameAPIService;
|
|
21146
21058
|
SesameAPIService.create = function create(rpcImpl, requestDelimited, responseDelimited) {
|
|
21147
21059
|
return new this(rpcImpl, requestDelimited, responseDelimited);
|
|
21148
21060
|
};
|
|
@@ -21196,7 +21108,7 @@ var sesame = $root.sesame = (() => {
|
|
|
21196
21108
|
}, "name", { value: "RequestIODeviceList" });
|
|
21197
21109
|
return SesameAPIService;
|
|
21198
21110
|
}();
|
|
21199
|
-
return
|
|
21111
|
+
return rpc;
|
|
21200
21112
|
}();
|
|
21201
21113
|
return v1;
|
|
21202
21114
|
}();
|
|
@@ -21212,7 +21124,7 @@ var CommandList = class {
|
|
|
21212
21124
|
add(item, timeOffsetMs, transaction) {
|
|
21213
21125
|
item.timeOffsetUs = (timeOffsetMs || 0) * 1e3;
|
|
21214
21126
|
if (transaction) {
|
|
21215
|
-
item.transactionDeps =
|
|
21127
|
+
item.transactionDeps = transaction?.dependencies || [];
|
|
21216
21128
|
item.transactionId = transaction.transactionId;
|
|
21217
21129
|
}
|
|
21218
21130
|
this.cl.commandList.push(item);
|
|
@@ -21249,174 +21161,40 @@ var CommandList = class {
|
|
|
21249
21161
|
this.cl.commandList.splice(this.cl.commandList.indexOf(item.del), 1);
|
|
21250
21162
|
});
|
|
21251
21163
|
}
|
|
21252
|
-
|
|
21164
|
+
getCommandListMsg() {
|
|
21253
21165
|
return this.cl;
|
|
21254
21166
|
}
|
|
21255
|
-
buildSourceConfig(cfg) {
|
|
21256
|
-
var _a;
|
|
21257
|
-
const config = {
|
|
21258
|
-
common: {
|
|
21259
|
-
userId: cfg.userId,
|
|
21260
|
-
useAsClock: cfg.useAsClock,
|
|
21261
|
-
audioOnly: cfg.audioOnly,
|
|
21262
|
-
audioChannels: cfg.audioChannels,
|
|
21263
|
-
loop: cfg.loop,
|
|
21264
|
-
playState: cfg.playState,
|
|
21265
|
-
mipMap: cfg.mipMap,
|
|
21266
|
-
textureSize: cfg.textureSize,
|
|
21267
|
-
decoderType: cfg.decoderType,
|
|
21268
|
-
deinterlace: cfg.deinterlace,
|
|
21269
|
-
videoProcessors: cfg.videoProcessors || []
|
|
21270
|
-
}
|
|
21271
|
-
};
|
|
21272
|
-
switch (cfg.sourceType) {
|
|
21273
|
-
case sesame.v1.sources.SourceType.SOURCE_TYPE_FILE:
|
|
21274
|
-
config.file = { url: ((_a = cfg.fileConfig) == null ? void 0 : _a.filename) || cfg.url || "" };
|
|
21275
|
-
break;
|
|
21276
|
-
case sesame.v1.sources.SourceType.SOURCE_TYPE_RECORDER:
|
|
21277
|
-
if (cfg.recorderConfig == null) throw new Error("No recorder source config found");
|
|
21278
|
-
config.recorder = cfg.recorderConfig;
|
|
21279
|
-
break;
|
|
21280
|
-
case sesame.v1.sources.SourceType.SOURCE_TYPE_BROWSER:
|
|
21281
|
-
if (!cfg.url) throw new Error("No browser URL found");
|
|
21282
|
-
config.browser = { url: cfg.url };
|
|
21283
|
-
break;
|
|
21284
|
-
case sesame.v1.sources.SourceType.SOURCE_TYPE_RTT:
|
|
21285
|
-
if (cfg.rttConfig == null) throw new Error("No RTT config found");
|
|
21286
|
-
config.rtt = cfg.rttConfig;
|
|
21287
|
-
break;
|
|
21288
|
-
case sesame.v1.sources.SourceType.SOURCE_TYPE_DECKLINK:
|
|
21289
|
-
if (cfg.decklinkConfig == null) throw new Error("No decklink source config found");
|
|
21290
|
-
config.decklink = cfg.decklinkConfig;
|
|
21291
|
-
break;
|
|
21292
|
-
case sesame.v1.sources.SourceType.SOURCE_TYPE_SIGNAL_GENERATOR:
|
|
21293
|
-
config.signalGenerator = {};
|
|
21294
|
-
break;
|
|
21295
|
-
case sesame.v1.sources.SourceType.SOURCE_TYPE_SYSTEM_AUDIO:
|
|
21296
|
-
config.systemAudio = { deviceName: cfg.url || "" };
|
|
21297
|
-
break;
|
|
21298
|
-
case sesame.v1.sources.SourceType.SOURCE_TYPE_SRT_STREAM:
|
|
21299
|
-
config.srtStream = cfg.srtConfig || (cfg.url ? { url: cfg.url } : void 0);
|
|
21300
|
-
if (config.srtStream == null) throw new Error("No SRT source config found");
|
|
21301
|
-
if (cfg.decodeBufferFrames) config.srtStream.decodeBufferFrames = cfg.decodeBufferFrames;
|
|
21302
|
-
break;
|
|
21303
|
-
case sesame.v1.sources.SourceType.SOURCE_TYPE_WEBSOCKET:
|
|
21304
|
-
if (!cfg.url) throw new Error("No websocket channel found");
|
|
21305
|
-
config.websocket = { channel: cfg.url };
|
|
21306
|
-
if (cfg.decodeBufferFrames) config.websocket.decodeBufferFrames = cfg.decodeBufferFrames;
|
|
21307
|
-
break;
|
|
21308
|
-
case sesame.v1.sources.SourceType.SOURCE_TYPE_MOQ:
|
|
21309
|
-
if (cfg.moqConfig == null) throw new Error("No MoQ source config found");
|
|
21310
|
-
config.moq = cfg.moqConfig;
|
|
21311
|
-
if (cfg.decodeBufferFrames) config.moq.decodeBufferFrames = cfg.decodeBufferFrames;
|
|
21312
|
-
break;
|
|
21313
|
-
default:
|
|
21314
|
-
throw new Error(`Unsupported source type: ${cfg.sourceType}`);
|
|
21315
|
-
}
|
|
21316
|
-
return config;
|
|
21317
|
-
}
|
|
21318
|
-
buildOutputEncodedConfig(cfg) {
|
|
21319
|
-
return {
|
|
21320
|
-
width: cfg.width,
|
|
21321
|
-
height: cfg.height,
|
|
21322
|
-
fps: cfg.fps,
|
|
21323
|
-
encoderConfig: cfg.encoderConfig
|
|
21324
|
-
};
|
|
21325
|
-
}
|
|
21326
|
-
buildOutputConfig(id, cfg) {
|
|
21327
|
-
const outputConfig = {
|
|
21328
|
-
id,
|
|
21329
|
-
audioMixIds: cfg.audioMixIds,
|
|
21330
|
-
compositionId: cfg.compositionId,
|
|
21331
|
-
useAsClock: !!cfg.useAsClock
|
|
21332
|
-
};
|
|
21333
|
-
switch (cfg.outputType) {
|
|
21334
|
-
case sesame.v1.outputs.OutputType.OUTPUT_TYPE_DECKLINK:
|
|
21335
|
-
if (cfg.decklinkConfig == null) throw new Error("No decklink config found");
|
|
21336
|
-
outputConfig.decklink = cfg.decklinkConfig;
|
|
21337
|
-
break;
|
|
21338
|
-
case sesame.v1.outputs.OutputType.OUTPUT_TYPE_ENCODED_RECORDER:
|
|
21339
|
-
if (cfg.recorderConfig == null) throw new Error("No recorder config found");
|
|
21340
|
-
if (cfg.encodedConfig == null) throw new Error("No output config found");
|
|
21341
|
-
outputConfig.recorder = {
|
|
21342
|
-
encoded: this.buildOutputEncodedConfig(cfg.encodedConfig),
|
|
21343
|
-
filename: cfg.recorderConfig.filename,
|
|
21344
|
-
sizeGb: cfg.recorderConfig.sizeGb,
|
|
21345
|
-
groupId: cfg.recorderConfig.groupId
|
|
21346
|
-
};
|
|
21347
|
-
break;
|
|
21348
|
-
case sesame.v1.outputs.OutputType.OUTPUT_TYPE_ENCODED_SUPER_SLOWMO_RECORDER:
|
|
21349
|
-
if (cfg.recorderConfig == null) throw new Error("No recorder config found");
|
|
21350
|
-
if (cfg.encodedConfig == null) throw new Error("No output config found");
|
|
21351
|
-
outputConfig.superSlowmoRecorder = {
|
|
21352
|
-
encoded: this.buildOutputEncodedConfig(cfg.encodedConfig),
|
|
21353
|
-
filename: cfg.recorderConfig.filename,
|
|
21354
|
-
sizeGb: cfg.recorderConfig.sizeGb,
|
|
21355
|
-
groupId: cfg.recorderConfig.groupId
|
|
21356
|
-
};
|
|
21357
|
-
break;
|
|
21358
|
-
case sesame.v1.outputs.OutputType.OUTPUT_TYPE_SYSTEM_AUDIO:
|
|
21359
|
-
if (cfg.systemAudioConfig == null) throw new Error("No system audio config found");
|
|
21360
|
-
outputConfig.systemAudio = cfg.systemAudioConfig;
|
|
21361
|
-
break;
|
|
21362
|
-
case sesame.v1.outputs.OutputType.OUTPUT_TYPE_ENCODED_SRT:
|
|
21363
|
-
if (cfg.encodedConfig == null) throw new Error("No output config found");
|
|
21364
|
-
outputConfig.srt = {
|
|
21365
|
-
url: cfg.encodedConfig.url,
|
|
21366
|
-
encoded: this.buildOutputEncodedConfig(cfg.encodedConfig)
|
|
21367
|
-
};
|
|
21368
|
-
break;
|
|
21369
|
-
case sesame.v1.outputs.OutputType.OUTPUT_TYPE_ENCODED_WEBSOCKET:
|
|
21370
|
-
if (cfg.encodedConfig == null) throw new Error("No output config found");
|
|
21371
|
-
outputConfig.websocket = {
|
|
21372
|
-
channel: cfg.encodedConfig.url,
|
|
21373
|
-
encoded: this.buildOutputEncodedConfig(cfg.encodedConfig)
|
|
21374
|
-
};
|
|
21375
|
-
break;
|
|
21376
|
-
case sesame.v1.outputs.OutputType.OUTPUT_TYPE_ENCODED_MOQ:
|
|
21377
|
-
if (cfg.moqConfig == null) throw new Error("No MoQ config found");
|
|
21378
|
-
if (cfg.encodedConfig == null) throw new Error("No output config found");
|
|
21379
|
-
outputConfig.moq = {
|
|
21380
|
-
...cfg.moqConfig,
|
|
21381
|
-
encoded: this.buildOutputEncodedConfig(cfg.encodedConfig)
|
|
21382
|
-
};
|
|
21383
|
-
break;
|
|
21384
|
-
default:
|
|
21385
|
-
throw new Error(`Unsupported output type: ${cfg.outputType}`);
|
|
21386
|
-
}
|
|
21387
|
-
return outputConfig;
|
|
21388
|
-
}
|
|
21389
21167
|
callback(event, data, timeOffsetMs) {
|
|
21390
21168
|
let item = new sesame.v1.commands.CommandListItem();
|
|
21391
21169
|
item.callback = { event, data };
|
|
21392
21170
|
return this.add(item, timeOffsetMs);
|
|
21393
21171
|
}
|
|
21394
|
-
|
|
21172
|
+
compositorAdd(id, width, height, multisample, timeOffsetMs) {
|
|
21395
21173
|
let item = new sesame.v1.commands.CommandListItem();
|
|
21396
21174
|
item.addCompositor = { id, multisample, width, height };
|
|
21397
21175
|
return this.add(item, timeOffsetMs);
|
|
21398
21176
|
}
|
|
21399
|
-
|
|
21177
|
+
compositorRemove(id, timeOffsetMs) {
|
|
21400
21178
|
let item = new sesame.v1.commands.CommandListItem();
|
|
21401
21179
|
item.removeCompositor = { id };
|
|
21402
21180
|
return this.add(item, timeOffsetMs);
|
|
21403
21181
|
}
|
|
21404
|
-
|
|
21182
|
+
compositorClear(id, timeOffsetMs) {
|
|
21405
21183
|
let item = new sesame.v1.commands.CommandListItem();
|
|
21406
21184
|
item.clearCompositor = { id };
|
|
21407
21185
|
return this.add(item, timeOffsetMs);
|
|
21408
21186
|
}
|
|
21409
|
-
|
|
21187
|
+
sourceAdd(id, cfg, timeOffsetMs) {
|
|
21410
21188
|
let item = new sesame.v1.commands.CommandListItem();
|
|
21411
|
-
item.addSource = { id, config:
|
|
21189
|
+
item.addSource = { id, config: cfg };
|
|
21412
21190
|
return this.add(item, timeOffsetMs);
|
|
21413
21191
|
}
|
|
21414
|
-
|
|
21192
|
+
sourceRemove(id, timeOffsetMs) {
|
|
21415
21193
|
let item = new sesame.v1.commands.CommandListItem();
|
|
21416
21194
|
item.removeSource = { id };
|
|
21417
21195
|
return this.add(item, timeOffsetMs);
|
|
21418
21196
|
}
|
|
21419
|
-
|
|
21197
|
+
nodeAdd(id, cfg, timeOffsetMs) {
|
|
21420
21198
|
let item = new sesame.v1.commands.CommandListItem();
|
|
21421
21199
|
item.addNode = {
|
|
21422
21200
|
compositorId: cfg.compositorId,
|
|
@@ -21426,12 +21204,12 @@ var CommandList = class {
|
|
|
21426
21204
|
};
|
|
21427
21205
|
return this.add(item, timeOffsetMs);
|
|
21428
21206
|
}
|
|
21429
|
-
|
|
21207
|
+
nodeRemove(compositorId, address, timeOffsetMs) {
|
|
21430
21208
|
let item = new sesame.v1.commands.CommandListItem();
|
|
21431
21209
|
item.removeNode = { compositorId, address };
|
|
21432
21210
|
return this.add(item, timeOffsetMs);
|
|
21433
21211
|
}
|
|
21434
|
-
|
|
21212
|
+
propertySet(propertyDomain, addr, prop, val, timeOffsetMs) {
|
|
21435
21213
|
let item = new sesame.v1.commands.CommandListItem();
|
|
21436
21214
|
item.setProperty = {
|
|
21437
21215
|
address: addr,
|
|
@@ -21441,17 +21219,17 @@ var CommandList = class {
|
|
|
21441
21219
|
};
|
|
21442
21220
|
return this.add(item, timeOffsetMs);
|
|
21443
21221
|
}
|
|
21444
|
-
|
|
21222
|
+
playlistLoad(sourceId, playlist) {
|
|
21445
21223
|
const item = new sesame.v1.commands.CommandListItem();
|
|
21446
21224
|
const loadPlaylistCmd = {
|
|
21447
21225
|
items: playlist.clips.map((clip) => ({
|
|
21448
21226
|
id: clip.id,
|
|
21449
21227
|
recorderId: clip.recorderId,
|
|
21450
|
-
transitionTimeUs:
|
|
21228
|
+
transitionTimeUs: clip.transitionTimeUs,
|
|
21451
21229
|
speed: clip.speed || 1,
|
|
21452
21230
|
audioRouting: clip.audioRouting,
|
|
21453
|
-
startTimeUs: clip.
|
|
21454
|
-
endTimeUs: clip.
|
|
21231
|
+
startTimeUs: clip.startTimeUs,
|
|
21232
|
+
endTimeUs: clip.endTimeUs,
|
|
21455
21233
|
transitionType: clip.transitionType ?? sesame.v1.recorder.TransitionType.TRANSITION_TYPE_MIX,
|
|
21456
21234
|
transitionFadeColor: clip.transitionFadeColor ?? { x: 0, y: 0, z: 0, w: 0 }
|
|
21457
21235
|
})),
|
|
@@ -21464,13 +21242,13 @@ var CommandList = class {
|
|
|
21464
21242
|
item.loadPlaylist = loadPlaylistCmd;
|
|
21465
21243
|
return this.add(item, 0);
|
|
21466
21244
|
}
|
|
21467
|
-
|
|
21245
|
+
playlistEject(sourceId) {
|
|
21468
21246
|
const item = new sesame.v1.commands.CommandListItem();
|
|
21469
21247
|
const ejectPlaylistCmd = { sourceId };
|
|
21470
21248
|
item.ejectPlaylist = ejectPlaylistCmd;
|
|
21471
21249
|
return this.add(item, 0);
|
|
21472
21250
|
}
|
|
21473
|
-
|
|
21251
|
+
transportCommand(id, msg, timeOffsetMs) {
|
|
21474
21252
|
let item = new sesame.v1.commands.CommandListItem();
|
|
21475
21253
|
let transportCmd = { sourceId: id };
|
|
21476
21254
|
let cmd;
|
|
@@ -21543,17 +21321,17 @@ var CommandList = class {
|
|
|
21543
21321
|
item.updateSourceTransport = transportCmd;
|
|
21544
21322
|
return this.add(item, timeOffsetMs, { transactionId: msg.transactionId, dependencies: [] });
|
|
21545
21323
|
}
|
|
21546
|
-
|
|
21324
|
+
sourceUpdate(id, cfg, timeOffsetMs) {
|
|
21547
21325
|
let item = new sesame.v1.commands.CommandListItem();
|
|
21548
|
-
item.updateSource = { id, config:
|
|
21326
|
+
item.updateSource = { id, config: cfg };
|
|
21549
21327
|
return this.add(item, timeOffsetMs);
|
|
21550
21328
|
}
|
|
21551
|
-
|
|
21329
|
+
sourceUpdateMetadata(id, metadata, timeOffsetMs) {
|
|
21552
21330
|
let item = new sesame.v1.commands.CommandListItem();
|
|
21553
21331
|
item.setSourceMetadata = { sourceId: id, metadata };
|
|
21554
21332
|
return this.add(item, timeOffsetMs);
|
|
21555
21333
|
}
|
|
21556
|
-
|
|
21334
|
+
sourceUpdateTransport(id, cfg, timeOffsetMs) {
|
|
21557
21335
|
let item = new sesame.v1.commands.CommandListItem();
|
|
21558
21336
|
item.updateSourceTransport = {
|
|
21559
21337
|
sourceId: id,
|
|
@@ -21562,47 +21340,47 @@ var CommandList = class {
|
|
|
21562
21340
|
};
|
|
21563
21341
|
return this.add(item, timeOffsetMs);
|
|
21564
21342
|
}
|
|
21565
|
-
|
|
21343
|
+
outputAdd(id, cfg, timeOffsetMs) {
|
|
21566
21344
|
let item = new sesame.v1.commands.CommandListItem();
|
|
21567
|
-
item.addOutput =
|
|
21345
|
+
item.addOutput = { id, ...cfg };
|
|
21568
21346
|
return this.add(item, timeOffsetMs);
|
|
21569
21347
|
}
|
|
21570
|
-
|
|
21348
|
+
outputUpdate(id, cfg, timeOffsetMs) {
|
|
21571
21349
|
let item = new sesame.v1.commands.CommandListItem();
|
|
21572
|
-
item.updateOutput =
|
|
21350
|
+
item.updateOutput = { id, ...cfg };
|
|
21573
21351
|
return this.add(item, timeOffsetMs);
|
|
21574
21352
|
}
|
|
21575
|
-
|
|
21353
|
+
outputRemove(id, timeOffsetMs) {
|
|
21576
21354
|
let item = new sesame.v1.commands.CommandListItem();
|
|
21577
21355
|
item.removeOutput = { id };
|
|
21578
21356
|
return this.add(item, timeOffsetMs);
|
|
21579
21357
|
}
|
|
21580
|
-
|
|
21358
|
+
audioMixerAdd(id, cfg, timeOffsetMs) {
|
|
21581
21359
|
let item = new sesame.v1.commands.CommandListItem();
|
|
21582
21360
|
item.addAudioMixer = { id, config: cfg };
|
|
21583
21361
|
return this.add(item, timeOffsetMs);
|
|
21584
21362
|
}
|
|
21585
|
-
|
|
21363
|
+
audioMixerUpdate(id, cfg, timeOffsetMs) {
|
|
21586
21364
|
let item = new sesame.v1.commands.CommandListItem();
|
|
21587
21365
|
item.updateAudioMixer = { id, config: cfg };
|
|
21588
21366
|
return this.add(item, timeOffsetMs);
|
|
21589
21367
|
}
|
|
21590
|
-
|
|
21368
|
+
audioMixerChannelAdd(mixerId, cfg, timeOffsetMs) {
|
|
21591
21369
|
let item = new sesame.v1.commands.CommandListItem();
|
|
21592
21370
|
item.addAudioChannel = { mixerId, channelConfig: cfg };
|
|
21593
21371
|
return this.add(item, timeOffsetMs);
|
|
21594
21372
|
}
|
|
21595
|
-
|
|
21373
|
+
audioMixerRemove(mixerId, timeOffsetMs) {
|
|
21596
21374
|
let item = new sesame.v1.commands.CommandListItem();
|
|
21597
21375
|
item.removeAudioMixer = { id: mixerId };
|
|
21598
21376
|
return this.add(item, timeOffsetMs);
|
|
21599
21377
|
}
|
|
21600
|
-
|
|
21378
|
+
audioMixerChannelRemove(mixerId, channelId, timeOffsetMs) {
|
|
21601
21379
|
let item = new sesame.v1.commands.CommandListItem();
|
|
21602
21380
|
item.removeAudioChannel = { mixerId, channelId };
|
|
21603
21381
|
return this.add(item, timeOffsetMs);
|
|
21604
21382
|
}
|
|
21605
|
-
|
|
21383
|
+
propertyAnimate(propertyDomain, addr, prop, before, after, keyframes, timeOffsetMs) {
|
|
21606
21384
|
let item = new sesame.v1.commands.CommandListItem();
|
|
21607
21385
|
item.animateProperty = {
|
|
21608
21386
|
address: addr,
|
|
@@ -21618,7 +21396,6 @@ var CommandList = class {
|
|
|
21618
21396
|
|
|
21619
21397
|
// src/rpc-client.ts
|
|
21620
21398
|
var import_events = require("events");
|
|
21621
|
-
var WebSocket = __toESM(require("ws"));
|
|
21622
21399
|
|
|
21623
21400
|
// src/logger.ts
|
|
21624
21401
|
var ConsoleLogger = class {
|
|
@@ -21797,7 +21574,6 @@ var RPCClient = class extends import_events.EventEmitter {
|
|
|
21797
21574
|
|
|
21798
21575
|
// src/sesame-connection.ts
|
|
21799
21576
|
var import_events2 = require("events");
|
|
21800
|
-
var import_ws = __toESM(require("ws"));
|
|
21801
21577
|
|
|
21802
21578
|
// src/sesame-binary-protocol.ts
|
|
21803
21579
|
var PROTOCOL_MAGIC = 1297302867;
|
|
@@ -22048,6 +21824,13 @@ var SesameBinaryProtocol = class {
|
|
|
22048
21824
|
};
|
|
22049
21825
|
|
|
22050
21826
|
// src/sesame-connection.ts
|
|
21827
|
+
var ConnectionState = /* @__PURE__ */ ((ConnectionState2) => {
|
|
21828
|
+
ConnectionState2["Disconnected"] = "disconnected";
|
|
21829
|
+
ConnectionState2["Connecting"] = "connecting";
|
|
21830
|
+
ConnectionState2["Connected"] = "connected";
|
|
21831
|
+
ConnectionState2["Reconnecting"] = "reconnecting";
|
|
21832
|
+
return ConnectionState2;
|
|
21833
|
+
})(ConnectionState || {});
|
|
22051
21834
|
function waitForEvent(emitter, eventName) {
|
|
22052
21835
|
return new Promise((resolve) => {
|
|
22053
21836
|
emitter.once(eventName, resolve);
|
|
@@ -22060,30 +21843,61 @@ var SesameConnection = class extends import_events2.EventEmitter {
|
|
|
22060
21843
|
this.numRetries = 0;
|
|
22061
21844
|
this.url = "";
|
|
22062
21845
|
this.autoReconnect = true;
|
|
21846
|
+
this._state = "disconnected" /* Disconnected */;
|
|
21847
|
+
/* Bound listeners so we can removeEventListener later */
|
|
21848
|
+
this.boundMessageHandler = (event) => this.messageHandler(event);
|
|
21849
|
+
this.boundOpenHandler = () => this.openHandler();
|
|
21850
|
+
this.boundCloseHandler = () => this.closeHandler();
|
|
21851
|
+
this.boundErrorHandler = (event) => this.errorHandler(event);
|
|
22063
21852
|
this.openHandler = () => {
|
|
22064
21853
|
this.numRetries = 0;
|
|
21854
|
+
this.setState("connected" /* Connected */);
|
|
22065
21855
|
this.emit("open");
|
|
22066
21856
|
};
|
|
22067
21857
|
this.messageHandler = (event) => {
|
|
22068
|
-
var _a, _b, _c;
|
|
22069
21858
|
if (event.data instanceof ArrayBuffer) {
|
|
22070
21859
|
const parsed = SesameBinaryProtocol.parseData(new Uint8Array(event.data));
|
|
22071
21860
|
if (!parsed.valid) this.emit("error", new Error("Invalid packet received"));
|
|
22072
|
-
if (
|
|
21861
|
+
if (parsed.header?.type == 1 /* VIDEO_FRAME */) {
|
|
22073
21862
|
this.emit("video-packet", event.data);
|
|
22074
|
-
} else if (
|
|
21863
|
+
} else if (parsed.header?.type == 2 /* AUDIO_FRAME */) {
|
|
22075
21864
|
this.emit("audio-packet", event.data);
|
|
22076
|
-
} else if (
|
|
21865
|
+
} else if (parsed.header?.type == 3 /* RPC */) {
|
|
22077
21866
|
this.emit("rpc", parsed.payload);
|
|
22078
21867
|
}
|
|
22079
21868
|
}
|
|
22080
21869
|
};
|
|
22081
21870
|
this.url = options.url;
|
|
22082
21871
|
this.autoReconnect = options.autoReconnect;
|
|
22083
|
-
if (options.autoConnect) this.connect().catch(() =>
|
|
21872
|
+
if (options.autoConnect) this.connect().catch(() => {
|
|
21873
|
+
});
|
|
21874
|
+
}
|
|
21875
|
+
get state() {
|
|
21876
|
+
return this._state;
|
|
21877
|
+
}
|
|
21878
|
+
setState(newState) {
|
|
21879
|
+
if (this._state === newState) return;
|
|
21880
|
+
const prev = this._state;
|
|
21881
|
+
this._state = newState;
|
|
21882
|
+
switch (newState) {
|
|
21883
|
+
case "connected" /* Connected */:
|
|
21884
|
+
log.info("Connected to Sesame");
|
|
21885
|
+
break;
|
|
21886
|
+
case "reconnecting" /* Reconnecting */:
|
|
21887
|
+
if (prev === "connected" /* Connected */) {
|
|
21888
|
+
log.warn("Lost connection to Sesame, will try reconnect..");
|
|
21889
|
+
} else {
|
|
21890
|
+
log.warn("Failed to connect to Sesame, will try reconnect..");
|
|
21891
|
+
}
|
|
21892
|
+
break;
|
|
21893
|
+
case "disconnected" /* Disconnected */:
|
|
21894
|
+
log.info("Disconnected from Sesame");
|
|
21895
|
+
break;
|
|
21896
|
+
}
|
|
21897
|
+
this.emit("state", newState, prev);
|
|
22084
21898
|
}
|
|
22085
21899
|
isConnected() {
|
|
22086
|
-
return this.socket !== void 0 && this.socket.readyState ===
|
|
21900
|
+
return this.socket !== void 0 && this.socket.readyState === WebSocket.OPEN;
|
|
22087
21901
|
}
|
|
22088
21902
|
async send(data) {
|
|
22089
21903
|
if (!this.isConnected()) throw new Error("Not connected");
|
|
@@ -22095,11 +21909,14 @@ var SesameConnection = class extends import_events2.EventEmitter {
|
|
|
22095
21909
|
}
|
|
22096
21910
|
async connect() {
|
|
22097
21911
|
this.active = true;
|
|
22098
|
-
this.
|
|
22099
|
-
|
|
22100
|
-
|
|
22101
|
-
this.socket
|
|
22102
|
-
this.socket.addEventListener("
|
|
21912
|
+
if (this._state === "disconnected" /* Disconnected */) {
|
|
21913
|
+
this.setState("connecting" /* Connecting */);
|
|
21914
|
+
}
|
|
21915
|
+
this.socket = new WebSocket(this.url);
|
|
21916
|
+
this.socket.addEventListener("message", this.boundMessageHandler);
|
|
21917
|
+
this.socket.addEventListener("open", this.boundOpenHandler);
|
|
21918
|
+
this.socket.addEventListener("close", this.boundCloseHandler);
|
|
21919
|
+
this.socket.addEventListener("error", this.boundErrorHandler);
|
|
22103
21920
|
this.socket.binaryType = "arraybuffer";
|
|
22104
21921
|
await new Promise((resolve) => {
|
|
22105
21922
|
const done = () => {
|
|
@@ -22117,30 +21934,41 @@ var SesameConnection = class extends import_events2.EventEmitter {
|
|
|
22117
21934
|
async disconnect() {
|
|
22118
21935
|
this.active = false;
|
|
22119
21936
|
if (!this.socket) {
|
|
21937
|
+
this.setState("disconnected" /* Disconnected */);
|
|
22120
21938
|
return;
|
|
22121
21939
|
}
|
|
22122
|
-
|
|
22123
|
-
|
|
21940
|
+
const sock = this.socket;
|
|
21941
|
+
if (sock.readyState !== WebSocket.CLOSED) {
|
|
21942
|
+
sock.close();
|
|
22124
21943
|
await waitForEvent(this, "close");
|
|
22125
21944
|
}
|
|
22126
|
-
this.
|
|
21945
|
+
this.removeSocketListeners(sock);
|
|
21946
|
+
}
|
|
21947
|
+
removeSocketListeners(sock) {
|
|
21948
|
+
sock.removeEventListener("message", this.boundMessageHandler);
|
|
21949
|
+
sock.removeEventListener("open", this.boundOpenHandler);
|
|
21950
|
+
sock.removeEventListener("close", this.boundCloseHandler);
|
|
21951
|
+
sock.removeEventListener("error", this.boundErrorHandler);
|
|
22127
21952
|
}
|
|
22128
21953
|
retryHandler() {
|
|
22129
21954
|
if (this.active && this.autoReconnect) {
|
|
22130
|
-
this.connect().catch((
|
|
21955
|
+
this.connect().catch(() => {
|
|
21956
|
+
});
|
|
22131
21957
|
}
|
|
22132
21958
|
}
|
|
22133
21959
|
closeHandler() {
|
|
22134
21960
|
this.emit("close");
|
|
21961
|
+
if (this.socket) {
|
|
21962
|
+
this.removeSocketListeners(this.socket);
|
|
21963
|
+
}
|
|
22135
21964
|
this.socket = void 0;
|
|
22136
21965
|
if (this.active) {
|
|
22137
|
-
|
|
22138
|
-
|
|
22139
|
-
|
|
22140
|
-
|
|
22141
|
-
|
|
22142
|
-
|
|
22143
|
-
}
|
|
21966
|
+
this.setState("reconnecting" /* Reconnecting */);
|
|
21967
|
+
setTimeout(() => {
|
|
21968
|
+
this.retryHandler();
|
|
21969
|
+
}, defaultBackoff(++this.numRetries));
|
|
21970
|
+
} else {
|
|
21971
|
+
this.setState("disconnected" /* Disconnected */);
|
|
22144
21972
|
}
|
|
22145
21973
|
}
|
|
22146
21974
|
errorHandler(error) {
|
|
@@ -22153,6 +21981,131 @@ var defaultBackoff = (tries) => {
|
|
|
22153
21981
|
|
|
22154
21982
|
// src/sesame-api-client.ts
|
|
22155
21983
|
var import_events3 = require("events");
|
|
21984
|
+
|
|
21985
|
+
// src/status-api.ts
|
|
21986
|
+
var StatusApi = class {
|
|
21987
|
+
/** @internal */
|
|
21988
|
+
constructor(rpc) {
|
|
21989
|
+
this.rpc = rpc;
|
|
21990
|
+
}
|
|
21991
|
+
async getStatus() {
|
|
21992
|
+
return this.rpc.service.requestStatus(new sesame.v1.common.Empty());
|
|
21993
|
+
}
|
|
21994
|
+
async getIODevices() {
|
|
21995
|
+
return this.rpc.service.requestIODeviceList(new sesame.v1.common.Empty());
|
|
21996
|
+
}
|
|
21997
|
+
async requestKeyframe(outputId) {
|
|
21998
|
+
await this.rpc.service.requestKeyframe({ id: outputId });
|
|
21999
|
+
}
|
|
22000
|
+
};
|
|
22001
|
+
|
|
22002
|
+
// src/recorder-api.ts
|
|
22003
|
+
var RecorderApi = class {
|
|
22004
|
+
/** @internal */
|
|
22005
|
+
constructor(rpc) {
|
|
22006
|
+
this.rpc = rpc;
|
|
22007
|
+
}
|
|
22008
|
+
async addClip(recorderId, clip) {
|
|
22009
|
+
const msg = sesame.v1.recorder.RecorderClipAddRequest.create({ clip });
|
|
22010
|
+
await this.rpc.service.requestRecorderOperation({ recorderId, addClip: msg });
|
|
22011
|
+
}
|
|
22012
|
+
async copyClip(recorderId, clipId, newClipId) {
|
|
22013
|
+
const msg = sesame.v1.recorder.RecorderClipCopyRequest.create({ clipId, newClipId });
|
|
22014
|
+
await this.rpc.service.requestRecorderOperation({ recorderId, copyClip: msg });
|
|
22015
|
+
}
|
|
22016
|
+
async removeClip(recorderId, id) {
|
|
22017
|
+
const msg = sesame.v1.recorder.RecorderClipRemoveRequest.create({ clipId: id });
|
|
22018
|
+
await this.rpc.service.requestRecorderOperation({ recorderId, removeClip: msg });
|
|
22019
|
+
}
|
|
22020
|
+
async removeAllClips(recorderId, protect) {
|
|
22021
|
+
const msg = sesame.v1.recorder.RecorderClipsClearRequest.create();
|
|
22022
|
+
if (protect) msg.protectedRanges = protect;
|
|
22023
|
+
await this.rpc.service.requestRecorderOperation({ recorderId, clearClips: msg });
|
|
22024
|
+
}
|
|
22025
|
+
async verifyClips(recorderId) {
|
|
22026
|
+
const msg = sesame.v1.recorder.RecorderClipsVerifyRequest.create();
|
|
22027
|
+
const reply = await this.rpc.service.requestRecorderOperation({ recorderId, verifyClips: msg });
|
|
22028
|
+
return reply.verifyClipsResponse?.errors || [];
|
|
22029
|
+
}
|
|
22030
|
+
async getClips(recorderId) {
|
|
22031
|
+
const msg = sesame.v1.recorder.RecorderClipsGetRequest.create();
|
|
22032
|
+
const reply = await this.rpc.service.requestRecorderOperation({ recorderId, getClips: msg });
|
|
22033
|
+
if (reply.getClipsResponse?.clips) {
|
|
22034
|
+
return reply.getClipsResponse.clips;
|
|
22035
|
+
} else {
|
|
22036
|
+
throw new Error(`No clips returned: ${JSON.stringify(reply)}`);
|
|
22037
|
+
}
|
|
22038
|
+
}
|
|
22039
|
+
async setLockedDuration(frames) {
|
|
22040
|
+
const msg = sesame.v1.recorder.RecorderLockedDurationSetRequest.create({ frames });
|
|
22041
|
+
await this.rpc.service.requestRecorderOperation({ recorderId: "", setLockedDuration: msg });
|
|
22042
|
+
}
|
|
22043
|
+
async setMetadata(recorderId, metadata) {
|
|
22044
|
+
const msg = sesame.v1.recorder.RecorderMetadataSetRequest.create({ metadata });
|
|
22045
|
+
await this.rpc.service.requestRecorderOperation({ recorderId, setMetadata: msg });
|
|
22046
|
+
}
|
|
22047
|
+
};
|
|
22048
|
+
|
|
22049
|
+
// src/jobs-api.ts
|
|
22050
|
+
var JobsApi = class {
|
|
22051
|
+
/** @internal */
|
|
22052
|
+
constructor(rpc) {
|
|
22053
|
+
this.rpc = rpc;
|
|
22054
|
+
}
|
|
22055
|
+
async importClip(config) {
|
|
22056
|
+
const msg = sesame.v1.jobs.ImportStartRequest.create();
|
|
22057
|
+
msg.config = config;
|
|
22058
|
+
const res = await this.rpc.service.requestClipImportStart(msg);
|
|
22059
|
+
if (res.error) {
|
|
22060
|
+
throw new Error(res.error);
|
|
22061
|
+
}
|
|
22062
|
+
return res;
|
|
22063
|
+
}
|
|
22064
|
+
async getImportStatus() {
|
|
22065
|
+
const msg = sesame.v1.jobs.ImportListRequest.create();
|
|
22066
|
+
return this.rpc.service.requestClipImportList(msg);
|
|
22067
|
+
}
|
|
22068
|
+
async abortImport(jobId) {
|
|
22069
|
+
const msg = { jobId };
|
|
22070
|
+
return this.rpc.service.requestClipImportAbort(msg);
|
|
22071
|
+
}
|
|
22072
|
+
async exportPlaylist(playlist, config) {
|
|
22073
|
+
const msg = sesame.v1.jobs.ExportStartRequest.create();
|
|
22074
|
+
if (!config.filename) throw new Error("Filename is required");
|
|
22075
|
+
msg.config = {
|
|
22076
|
+
...config,
|
|
22077
|
+
filename: config.filename,
|
|
22078
|
+
videoCodec: config.videoCodec ?? sesame.v1.common.CodecId.CODEC_ID_H264,
|
|
22079
|
+
videoBitrateKbps: config.videoBitrateKbps ?? 1024,
|
|
22080
|
+
audioCodec: config.audioCodec ?? sesame.v1.jobs.AudioCodecId.AUDIO_CODEC_ID_AAC,
|
|
22081
|
+
audioBitrateKbps: config.audioBitrateKbps ?? 128,
|
|
22082
|
+
audioChannels: config.audioChannels ?? 4,
|
|
22083
|
+
audioRouting: config.audioRouting ?? [0, 1, 2, 3]
|
|
22084
|
+
};
|
|
22085
|
+
msg.items = playlist.clips.map((clip) => ({
|
|
22086
|
+
id: clip.id,
|
|
22087
|
+
recorderId: clip.recorderId,
|
|
22088
|
+
transitionTimeUs: clip.transitionTimeUs ?? 0,
|
|
22089
|
+
transitionType: clip.transitionType ?? sesame.v1.recorder.TransitionType.TRANSITION_TYPE_MIX,
|
|
22090
|
+
transitionFadeColor: clip.transitionFadeColor ?? { x: 0, y: 0, z: 0, w: 0 },
|
|
22091
|
+
speed: clip.speed ?? 1,
|
|
22092
|
+
audioRouting: clip.audioRouting,
|
|
22093
|
+
startTimeUs: clip.startTimeUs,
|
|
22094
|
+
endTimeUs: clip.endTimeUs
|
|
22095
|
+
}));
|
|
22096
|
+
await this.rpc.service.requestPlaylistExportStart(msg);
|
|
22097
|
+
}
|
|
22098
|
+
async getExportStatus() {
|
|
22099
|
+
const msg = sesame.v1.jobs.ExportListRequest.create();
|
|
22100
|
+
return this.rpc.service.requestPlaylistExportList(msg);
|
|
22101
|
+
}
|
|
22102
|
+
async abortExport(jobId) {
|
|
22103
|
+
const msg = { jobId };
|
|
22104
|
+
return this.rpc.service.requestPlaylistExportAbort(msg);
|
|
22105
|
+
}
|
|
22106
|
+
};
|
|
22107
|
+
|
|
22108
|
+
// src/sesame-api-client.ts
|
|
22156
22109
|
var EaseKind = /* @__PURE__ */ ((EaseKind2) => {
|
|
22157
22110
|
EaseKind2["STEPPED"] = "stepped";
|
|
22158
22111
|
EaseKind2["LINEAR"] = "linear";
|
|
@@ -22192,7 +22145,6 @@ var SesameClient = class extends import_events3.EventEmitter {
|
|
|
22192
22145
|
constructor(portOrUrl) {
|
|
22193
22146
|
super();
|
|
22194
22147
|
this.subscriptions = [];
|
|
22195
|
-
this.errorIsLogged = false;
|
|
22196
22148
|
this.onVideoPacket = () => {
|
|
22197
22149
|
};
|
|
22198
22150
|
this.onAudioPacket = () => {
|
|
@@ -22206,10 +22158,6 @@ var SesameClient = class extends import_events3.EventEmitter {
|
|
|
22206
22158
|
autoReconnect: true
|
|
22207
22159
|
});
|
|
22208
22160
|
this.conn.on("error", () => {
|
|
22209
|
-
if (!this.errorIsLogged) {
|
|
22210
|
-
log.warn("Could not connect to Sesame Engine, will keep trying..");
|
|
22211
|
-
this.errorIsLogged = true;
|
|
22212
|
-
}
|
|
22213
22161
|
});
|
|
22214
22162
|
let events = {
|
|
22215
22163
|
[sesame.v1.common.EventTopic.EVENT_TOPIC_ERROR]: sesame.v1.status.Event,
|
|
@@ -22223,6 +22171,9 @@ var SesameClient = class extends import_events3.EventEmitter {
|
|
|
22223
22171
|
eventTypes: events
|
|
22224
22172
|
};
|
|
22225
22173
|
this.rpc = new RPCClient(this.conn, sesame.v1.rpc.SesameAPIService, options);
|
|
22174
|
+
this.status = new StatusApi(this.rpc);
|
|
22175
|
+
this.recorder = new RecorderApi(this.rpc);
|
|
22176
|
+
this.jobs = new JobsApi(this.rpc);
|
|
22226
22177
|
this.rpc.on("event", (topic, msg) => {
|
|
22227
22178
|
for (const subscription of this.subscriptions) {
|
|
22228
22179
|
if (subscription.topic === topic) {
|
|
@@ -22231,175 +22182,61 @@ var SesameClient = class extends import_events3.EventEmitter {
|
|
|
22231
22182
|
}
|
|
22232
22183
|
});
|
|
22233
22184
|
this.rpc.on("error", (err) => {
|
|
22234
|
-
|
|
22185
|
+
if (this.isConnected()) {
|
|
22186
|
+
log.error(`RPC error: ${err.message}`);
|
|
22187
|
+
}
|
|
22235
22188
|
});
|
|
22236
22189
|
this.conn.on("open", async () => {
|
|
22237
|
-
this.
|
|
22238
|
-
this.errorIsLogged = false;
|
|
22190
|
+
this.sendSubscriptions();
|
|
22239
22191
|
this.emit("connected");
|
|
22240
22192
|
});
|
|
22241
22193
|
this.conn.on("close", () => {
|
|
22242
22194
|
this.emit("disconnected");
|
|
22243
22195
|
});
|
|
22244
|
-
this.conn.on("video-packet", (data) => this.onVideoPacket(this.
|
|
22245
|
-
this.conn.on("audio-packet", (data) => this.onAudioPacket(this.
|
|
22196
|
+
this.conn.on("video-packet", (data) => this.onVideoPacket(this.videoSubscriptionId, data));
|
|
22197
|
+
this.conn.on("audio-packet", (data) => this.onAudioPacket(this.videoSubscriptionId, data));
|
|
22246
22198
|
this.subscriptions = [];
|
|
22247
22199
|
}
|
|
22248
22200
|
isConnected() {
|
|
22249
22201
|
return this.conn.isConnected();
|
|
22250
22202
|
}
|
|
22251
|
-
|
|
22203
|
+
sendSubscriptions() {
|
|
22252
22204
|
if (!this.isConnected()) return;
|
|
22253
22205
|
const eventTopics = this.subscriptions.map((subscription) => subscription.topic);
|
|
22254
22206
|
const channels = [];
|
|
22255
|
-
if (this.
|
|
22207
|
+
if (this.videoSubscriptionId) channels.push(`video/${this.videoSubscriptionId}`);
|
|
22256
22208
|
let subs = { eventTopics, channels };
|
|
22257
22209
|
this.rpc.service.updateSubscriptions(subs).catch((err) => {
|
|
22258
22210
|
log.error(`Failed to update subscriptions: ${err.message}`);
|
|
22259
22211
|
});
|
|
22260
22212
|
}
|
|
22261
|
-
|
|
22262
|
-
|
|
22263
|
-
|
|
22213
|
+
addVideoSubscription(id) {
|
|
22214
|
+
this.videoSubscriptionId = id;
|
|
22215
|
+
this.sendSubscriptions();
|
|
22264
22216
|
}
|
|
22265
|
-
|
|
22266
|
-
const reply = await this.rpc.service.requestIODeviceList(new sesame.v1.common.Empty());
|
|
22267
|
-
return reply;
|
|
22268
|
-
}
|
|
22269
|
-
async request_keyframe(outputId) {
|
|
22270
|
-
await this.rpc.service.requestKeyframe({ id: outputId });
|
|
22271
|
-
}
|
|
22272
|
-
add_video_subscription(id) {
|
|
22273
|
-
this.video_subscription = id;
|
|
22274
|
-
this.send_subscriptions();
|
|
22275
|
-
}
|
|
22276
|
-
add_subscription(topic, callback) {
|
|
22217
|
+
addSubscription(topic, callback) {
|
|
22277
22218
|
for (let i = 0; i < this.subscriptions.length; i++) {
|
|
22278
22219
|
if (this.subscriptions[i].callback === callback && this.subscriptions[i].topic === topic) {
|
|
22279
22220
|
return;
|
|
22280
22221
|
}
|
|
22281
22222
|
}
|
|
22282
22223
|
this.subscriptions.push({ topic, callback });
|
|
22283
|
-
this.
|
|
22224
|
+
this.sendSubscriptions();
|
|
22284
22225
|
}
|
|
22285
|
-
|
|
22226
|
+
removeSubscription(topic, callback) {
|
|
22286
22227
|
this.subscriptions = this.subscriptions.filter((s) => !(s.topic === topic && s.callback === callback));
|
|
22287
|
-
this.
|
|
22228
|
+
this.sendSubscriptions();
|
|
22288
22229
|
}
|
|
22289
22230
|
getService() {
|
|
22290
22231
|
return this.rpc;
|
|
22291
22232
|
}
|
|
22292
22233
|
async execute(cl) {
|
|
22293
22234
|
cl.filterCreatedAndDestroyedSources();
|
|
22294
|
-
if (cl.
|
|
22295
|
-
await this.rpc.service.executeCommandList(cl.
|
|
22235
|
+
if (cl.getCommandListMsg().commandList.length > 0) {
|
|
22236
|
+
await this.rpc.service.executeCommandList(cl.getCommandListMsg());
|
|
22296
22237
|
}
|
|
22297
22238
|
}
|
|
22298
|
-
async addClip(recorderId, clip) {
|
|
22299
|
-
const msg = sesame.v1.recorder.RecorderClipAddRequest.create({ clip });
|
|
22300
|
-
await this.rpc.service.requestRecorderOperation({ recorderId, addClip: msg });
|
|
22301
|
-
}
|
|
22302
|
-
async copyClip(recorderId, clipId, newClipId) {
|
|
22303
|
-
const msg = sesame.v1.recorder.RecorderClipCopyRequest.create({ clipId, newClipId });
|
|
22304
|
-
await this.rpc.service.requestRecorderOperation({ recorderId, copyClip: msg });
|
|
22305
|
-
}
|
|
22306
|
-
async removeClip(recorderId, id) {
|
|
22307
|
-
const msg = sesame.v1.recorder.RecorderClipRemoveRequest.create({ clipId: id });
|
|
22308
|
-
await this.rpc.service.requestRecorderOperation({ recorderId, removeClip: msg });
|
|
22309
|
-
}
|
|
22310
|
-
async removeAllClips(recorderId, protect) {
|
|
22311
|
-
const msg = sesame.v1.recorder.RecorderClipsClearRequest.create();
|
|
22312
|
-
if (protect) msg.protectedRanges = protect;
|
|
22313
|
-
await this.rpc.service.requestRecorderOperation({ recorderId, clearClips: msg });
|
|
22314
|
-
}
|
|
22315
|
-
async verifyClips(recorderId) {
|
|
22316
|
-
var _a;
|
|
22317
|
-
const msg = sesame.v1.recorder.RecorderClipsVerifyRequest.create();
|
|
22318
|
-
const reply = await this.rpc.service.requestRecorderOperation({ recorderId, verifyClips: msg });
|
|
22319
|
-
return ((_a = reply.verifyClipsResponse) == null ? void 0 : _a.errors) || [];
|
|
22320
|
-
}
|
|
22321
|
-
async setLockedDuration(frames) {
|
|
22322
|
-
const msg = sesame.v1.recorder.RecorderLockedDurationSetRequest.create({ frames });
|
|
22323
|
-
await this.rpc.service.requestRecorderOperation({ recorderId: "", setLockedDuration: msg });
|
|
22324
|
-
}
|
|
22325
|
-
async setMetadata(recorderId, metadata) {
|
|
22326
|
-
const msg = sesame.v1.recorder.RecorderMetadataSetRequest.create({ metadata });
|
|
22327
|
-
await this.rpc.service.requestRecorderOperation({ recorderId, setMetadata: msg });
|
|
22328
|
-
}
|
|
22329
|
-
async getClips(recorderId) {
|
|
22330
|
-
const msg = sesame.v1.recorder.RecorderClipsGetRequest.create();
|
|
22331
|
-
const reply = await this.rpc.service.requestRecorderOperation({ recorderId, getClips: msg });
|
|
22332
|
-
if (reply.getClipsResponse && reply.getClipsResponse.clips) {
|
|
22333
|
-
return reply.getClipsResponse.clips.map((c) => {
|
|
22334
|
-
return {
|
|
22335
|
-
id: Number(c.id),
|
|
22336
|
-
startTime: Number(c.startTimeUs),
|
|
22337
|
-
endTime: Number(c.endTimeUs),
|
|
22338
|
-
lockedStart: Number(c.lockedStartUs),
|
|
22339
|
-
lockedEnd: Number(c.lockedEndUs),
|
|
22340
|
-
userTime: c.userTimeUs ? Number(c.userTimeUs) : void 0,
|
|
22341
|
-
name: c.name ?? "",
|
|
22342
|
-
userData: c.userData
|
|
22343
|
-
};
|
|
22344
|
-
});
|
|
22345
|
-
} else {
|
|
22346
|
-
throw new Error(`No clips returned: ${JSON.stringify(reply)}`);
|
|
22347
|
-
}
|
|
22348
|
-
}
|
|
22349
|
-
async getImportClipStatus() {
|
|
22350
|
-
const msg = sesame.v1.jobs.ImportListRequest.create();
|
|
22351
|
-
return await this.rpc.service.requestClipImportList(msg);
|
|
22352
|
-
}
|
|
22353
|
-
async getExportPlaylistStatus() {
|
|
22354
|
-
const msg = sesame.v1.jobs.ExportListRequest.create();
|
|
22355
|
-
return await this.rpc.service.requestPlaylistExportList(msg);
|
|
22356
|
-
}
|
|
22357
|
-
async exportPlaylist(playlist, config) {
|
|
22358
|
-
const msg = sesame.v1.jobs.ExportStartRequest.create();
|
|
22359
|
-
if (!config.filename) throw new Error("Filename is required");
|
|
22360
|
-
msg.config = {
|
|
22361
|
-
...config,
|
|
22362
|
-
filename: config.filename,
|
|
22363
|
-
videoCodec: config.videoCodec ?? sesame.v1.common.CodecId.CODEC_ID_H264,
|
|
22364
|
-
videoBitrateKbps: config.videoBitrateKbps ?? 1024,
|
|
22365
|
-
audioCodec: config.audioCodec ?? sesame.v1.jobs.AudioCodecId.AUDIO_CODEC_ID_AAC,
|
|
22366
|
-
audioBitrateKbps: config.audioBitrateKbps ?? 128,
|
|
22367
|
-
audioChannels: config.audioChannels ?? 4,
|
|
22368
|
-
audioRouting: config.audioRouting ?? [0, 1, 2, 3]
|
|
22369
|
-
};
|
|
22370
|
-
msg.items = playlist.clips.map((clip) => ({
|
|
22371
|
-
id: clip.id,
|
|
22372
|
-
recorderId: clip.recorderId,
|
|
22373
|
-
transitionTimeUs: (clip.transitionTime ?? 0) * 1e3,
|
|
22374
|
-
transitionType: clip.transitionType ?? sesame.v1.recorder.TransitionType.TRANSITION_TYPE_MIX,
|
|
22375
|
-
transitionFadeColor: clip.transitionFadeColor ?? { x: 0, y: 0, z: 0, w: 0 },
|
|
22376
|
-
speed: clip.speed ?? 1,
|
|
22377
|
-
audioRouting: clip.audioRouting,
|
|
22378
|
-
startTimeUs: clip.startTime,
|
|
22379
|
-
endTimeUs: clip.endTime
|
|
22380
|
-
}));
|
|
22381
|
-
await this.rpc.service.requestPlaylistExportStart(msg);
|
|
22382
|
-
}
|
|
22383
|
-
async importClip(config) {
|
|
22384
|
-
const msg = sesame.v1.jobs.ImportStartRequest.create();
|
|
22385
|
-
msg.config = config;
|
|
22386
|
-
const res = await this.rpc.service.requestClipImportStart(msg);
|
|
22387
|
-
if (res.error) {
|
|
22388
|
-
throw new Error(res.error);
|
|
22389
|
-
} else {
|
|
22390
|
-
return res;
|
|
22391
|
-
}
|
|
22392
|
-
}
|
|
22393
|
-
async abortExportJob(jobId) {
|
|
22394
|
-
const msg = { jobId };
|
|
22395
|
-
return this.rpc.service.requestPlaylistExportAbort(msg);
|
|
22396
|
-
}
|
|
22397
|
-
async abortImportJob(jobId) {
|
|
22398
|
-
const msg = { jobId };
|
|
22399
|
-
return this.rpc.service.requestClipImportAbort(msg);
|
|
22400
|
-
}
|
|
22401
22239
|
disconnect() {
|
|
22402
|
-
this.conn.removeAllListeners();
|
|
22403
22240
|
this.conn.disconnect();
|
|
22404
22241
|
}
|
|
22405
22242
|
};
|
|
@@ -22413,16 +22250,20 @@ var Event = sesame.v1.rpc.Event;
|
|
|
22413
22250
|
0 && (module.exports = {
|
|
22414
22251
|
CodecType,
|
|
22415
22252
|
CommandList,
|
|
22253
|
+
ConnectionState,
|
|
22416
22254
|
EaseKind,
|
|
22417
22255
|
Event,
|
|
22256
|
+
JobsApi,
|
|
22418
22257
|
Message,
|
|
22419
22258
|
PacketType,
|
|
22420
22259
|
RPCClient,
|
|
22260
|
+
RecorderApi,
|
|
22421
22261
|
Request,
|
|
22422
22262
|
Response,
|
|
22423
22263
|
SesameBinaryProtocol,
|
|
22424
22264
|
SesameClient,
|
|
22425
22265
|
SesameConnection,
|
|
22266
|
+
StatusApi,
|
|
22426
22267
|
getLogger,
|
|
22427
22268
|
log,
|
|
22428
22269
|
sesame,
|