@livekit/protocol 1.52.1 → 1.53.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +544 -12
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1165 -21
- package/dist/index.d.mts +1165 -21
- package/dist/index.d.ts +1165 -21
- package/dist/index.mjs +534 -12
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/gen/agent/livekit_agent_session_pb.d.ts +9 -0
- package/src/gen/agent/livekit_agent_session_pb.js +1 -0
- package/src/gen/agent/livekit_agent_thread_pb.d.ts +653 -0
- package/src/gen/agent/livekit_agent_thread_pb.js +268 -0
- package/src/gen/livekit_agent_pb.d.ts +366 -6
- package/src/gen/livekit_agent_pb.js +153 -0
- package/src/gen/livekit_agent_simulation_pb.d.ts +12 -12
- package/src/gen/livekit_agent_simulation_pb.js +6 -6
- package/src/gen/livekit_agentdb_pb.d.ts +63 -36
- package/src/gen/livekit_agentdb_pb.js +28 -15
- package/src/gen/livekit_internal_pb.d.ts +2 -1
- package/src/gen/livekit_models_pb.d.ts +46 -2
- package/src/gen/livekit_models_pb.js +17 -1
- package/src/gen/livekit_rtc_pb.d.ts +25 -0
- package/src/gen/livekit_rtc_pb.js +13 -0
- package/src/gen/livekit_sip_pb.d.ts +7 -0
- package/src/gen/livekit_sip_pb.js +1 -0
- package/src/gen/version.js +1 -1
- package/src/index.d.ts +1 -0
- package/src/index.js +1 -0
|
@@ -180,9 +180,19 @@ export declare enum DataTrackExtensionID {
|
|
|
180
180
|
DTEI_INVALID = 0,
|
|
181
181
|
|
|
182
182
|
/**
|
|
183
|
-
* @generated from enum value:
|
|
183
|
+
* @generated from enum value: DTEI_E2EE = 1;
|
|
184
184
|
*/
|
|
185
|
-
|
|
185
|
+
DTEI_E2EE = 1,
|
|
186
|
+
|
|
187
|
+
/**
|
|
188
|
+
* @generated from enum value: DTEI_USER_TIMESTAMP = 2;
|
|
189
|
+
*/
|
|
190
|
+
DTEI_USER_TIMESTAMP = 2,
|
|
191
|
+
|
|
192
|
+
/**
|
|
193
|
+
* @generated from enum value: DTEI_PARTICIPANT_SID = 255;
|
|
194
|
+
*/
|
|
195
|
+
DTEI_PARTICIPANT_SID = 255,
|
|
186
196
|
}
|
|
187
197
|
|
|
188
198
|
/**
|
|
@@ -3510,6 +3520,11 @@ export declare class RTPForwarderState extends Message<RTPForwarderState> {
|
|
|
3510
3520
|
*/
|
|
3511
3521
|
senderReportState: RTCPSenderReportState[];
|
|
3512
3522
|
|
|
3523
|
+
/**
|
|
3524
|
+
* @generated from field: livekit.DependencyDescriptorForwarderState dependency_descriptor_forwarder = 9;
|
|
3525
|
+
*/
|
|
3526
|
+
dependencyDescriptorForwarder?: DependencyDescriptorForwarderState;
|
|
3527
|
+
|
|
3513
3528
|
constructor(data?: PartialMessage<RTPForwarderState>);
|
|
3514
3529
|
|
|
3515
3530
|
static readonly runtime: typeof proto3;
|
|
@@ -3525,6 +3540,35 @@ export declare class RTPForwarderState extends Message<RTPForwarderState> {
|
|
|
3525
3540
|
static equals(a: RTPForwarderState | PlainMessage<RTPForwarderState> | undefined, b: RTPForwarderState | PlainMessage<RTPForwarderState> | undefined): boolean;
|
|
3526
3541
|
}
|
|
3527
3542
|
|
|
3543
|
+
/**
|
|
3544
|
+
* State of a forwarder that writes the dependency descriptor for the subscriber, so
|
|
3545
|
+
* its frame numbers continue on a migrated subscriber.
|
|
3546
|
+
*
|
|
3547
|
+
* @generated from message livekit.DependencyDescriptorForwarderState
|
|
3548
|
+
*/
|
|
3549
|
+
export declare class DependencyDescriptorForwarderState extends Message<DependencyDescriptorForwarderState> {
|
|
3550
|
+
/**
|
|
3551
|
+
* highest extended frame number sent to the subscriber
|
|
3552
|
+
*
|
|
3553
|
+
* @generated from field: uint64 ext_last_frame_number = 1;
|
|
3554
|
+
*/
|
|
3555
|
+
extLastFrameNumber: bigint;
|
|
3556
|
+
|
|
3557
|
+
constructor(data?: PartialMessage<DependencyDescriptorForwarderState>);
|
|
3558
|
+
|
|
3559
|
+
static readonly runtime: typeof proto3;
|
|
3560
|
+
static readonly typeName = "livekit.DependencyDescriptorForwarderState";
|
|
3561
|
+
static readonly fields: FieldList;
|
|
3562
|
+
|
|
3563
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): DependencyDescriptorForwarderState;
|
|
3564
|
+
|
|
3565
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): DependencyDescriptorForwarderState;
|
|
3566
|
+
|
|
3567
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DependencyDescriptorForwarderState;
|
|
3568
|
+
|
|
3569
|
+
static equals(a: DependencyDescriptorForwarderState | PlainMessage<DependencyDescriptorForwarderState> | undefined, b: DependencyDescriptorForwarderState | PlainMessage<DependencyDescriptorForwarderState> | undefined): boolean;
|
|
3570
|
+
}
|
|
3571
|
+
|
|
3528
3572
|
/**
|
|
3529
3573
|
* @generated from message livekit.RTPMungerState
|
|
3530
3574
|
*/
|
|
@@ -105,7 +105,9 @@ export const DataTrackExtensionID = /*@__PURE__*/ proto3.makeEnum(
|
|
|
105
105
|
"livekit.DataTrackExtensionID",
|
|
106
106
|
[
|
|
107
107
|
{no: 0, name: "DTEI_INVALID"},
|
|
108
|
-
{no: 1, name: "
|
|
108
|
+
{no: 1, name: "DTEI_E2EE"},
|
|
109
|
+
{no: 2, name: "DTEI_USER_TIMESTAMP"},
|
|
110
|
+
{no: 255, name: "DTEI_PARTICIPANT_SID"},
|
|
109
111
|
],
|
|
110
112
|
);
|
|
111
113
|
|
|
@@ -1128,6 +1130,20 @@ export const RTPForwarderState = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
1128
1130
|
{ no: 6, name: "rtp_munger", kind: "message", T: RTPMungerState },
|
|
1129
1131
|
{ no: 7, name: "vp8_munger", kind: "message", T: VP8MungerState, oneof: "codec_munger" },
|
|
1130
1132
|
{ no: 8, name: "sender_report_state", kind: "message", T: RTCPSenderReportState, repeated: true },
|
|
1133
|
+
{ no: 9, name: "dependency_descriptor_forwarder", kind: "message", T: DependencyDescriptorForwarderState },
|
|
1134
|
+
],
|
|
1135
|
+
);
|
|
1136
|
+
|
|
1137
|
+
/**
|
|
1138
|
+
* State of a forwarder that writes the dependency descriptor for the subscriber, so
|
|
1139
|
+
* its frame numbers continue on a migrated subscriber.
|
|
1140
|
+
*
|
|
1141
|
+
* @generated from message livekit.DependencyDescriptorForwarderState
|
|
1142
|
+
*/
|
|
1143
|
+
export const DependencyDescriptorForwarderState = /*@__PURE__*/ proto3.makeMessageType(
|
|
1144
|
+
"livekit.DependencyDescriptorForwarderState",
|
|
1145
|
+
() => [
|
|
1146
|
+
{ no: 1, name: "ext_last_frame_number", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
1131
1147
|
],
|
|
1132
1148
|
);
|
|
1133
1149
|
|
|
@@ -51,6 +51,31 @@ export declare enum StreamState {
|
|
|
51
51
|
PAUSED = 1,
|
|
52
52
|
}
|
|
53
53
|
|
|
54
|
+
/**
|
|
55
|
+
* @generated from enum livekit.NegotiatedDataChannelID
|
|
56
|
+
*/
|
|
57
|
+
export declare enum NegotiatedDataChannelID {
|
|
58
|
+
/**
|
|
59
|
+
* @generated from enum value: NDCI_INVALID = 0;
|
|
60
|
+
*/
|
|
61
|
+
NDCI_INVALID = 0,
|
|
62
|
+
|
|
63
|
+
/**
|
|
64
|
+
* @generated from enum value: NDCI_RELIABLE = 100;
|
|
65
|
+
*/
|
|
66
|
+
NDCI_RELIABLE = 100,
|
|
67
|
+
|
|
68
|
+
/**
|
|
69
|
+
* @generated from enum value: NDCI_LOSSY = 101;
|
|
70
|
+
*/
|
|
71
|
+
NDCI_LOSSY = 101,
|
|
72
|
+
|
|
73
|
+
/**
|
|
74
|
+
* @generated from enum value: NDCI_DATA_TRACK = 102;
|
|
75
|
+
*/
|
|
76
|
+
NDCI_DATA_TRACK = 102,
|
|
77
|
+
}
|
|
78
|
+
|
|
54
79
|
/**
|
|
55
80
|
* @generated from enum livekit.CandidateProtocol
|
|
56
81
|
*/
|
|
@@ -42,6 +42,19 @@ export const StreamState = /*@__PURE__*/ proto3.makeEnum(
|
|
|
42
42
|
],
|
|
43
43
|
);
|
|
44
44
|
|
|
45
|
+
/**
|
|
46
|
+
* @generated from enum livekit.NegotiatedDataChannelID
|
|
47
|
+
*/
|
|
48
|
+
export const NegotiatedDataChannelID = /*@__PURE__*/ proto3.makeEnum(
|
|
49
|
+
"livekit.NegotiatedDataChannelID",
|
|
50
|
+
[
|
|
51
|
+
{no: 0, name: "NDCI_INVALID"},
|
|
52
|
+
{no: 100, name: "NDCI_RELIABLE"},
|
|
53
|
+
{no: 101, name: "NDCI_LOSSY"},
|
|
54
|
+
{no: 102, name: "NDCI_DATA_TRACK"},
|
|
55
|
+
],
|
|
56
|
+
);
|
|
57
|
+
|
|
45
58
|
/**
|
|
46
59
|
* @generated from enum livekit.CandidateProtocol
|
|
47
60
|
*/
|
|
@@ -1199,6 +1199,13 @@ export declare class SIPInboundTrunkInfo extends Message<SIPInboundTrunkInfo> {
|
|
|
1199
1199
|
*/
|
|
1200
1200
|
ringingTimeout?: Duration;
|
|
1201
1201
|
|
|
1202
|
+
/**
|
|
1203
|
+
* SIP status code if ringing_timeout elapses. Unset means using system default.
|
|
1204
|
+
*
|
|
1205
|
+
* @generated from field: livekit.SIPStatusCode ringing_timeout_status = 21;
|
|
1206
|
+
*/
|
|
1207
|
+
ringingTimeoutStatus: SIPStatusCode;
|
|
1208
|
+
|
|
1202
1209
|
/**
|
|
1203
1210
|
* Max call duration.
|
|
1204
1211
|
*
|
|
@@ -369,6 +369,7 @@ export const SIPInboundTrunkInfo = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
369
369
|
{ no: 14, name: "attributes_to_headers", kind: "map", K: 9 /* ScalarType.STRING */, V: {kind: "scalar", T: 9 /* ScalarType.STRING */} },
|
|
370
370
|
{ no: 15, name: "include_headers", kind: "enum", T: proto3.getEnumType(SIPHeaderOptions) },
|
|
371
371
|
{ no: 11, name: "ringing_timeout", kind: "message", T: Duration },
|
|
372
|
+
{ no: 21, name: "ringing_timeout_status", kind: "enum", T: proto3.getEnumType(SIPStatusCode) },
|
|
372
373
|
{ no: 12, name: "max_call_duration", kind: "message", T: Duration },
|
|
373
374
|
{ no: 13, name: "krisp_enabled", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
374
375
|
{ no: 16, name: "media_encryption", kind: "enum", T: proto3.getEnumType(SIPMediaEncryption) },
|
package/src/gen/version.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// Generated by genversion.
|
|
2
|
-
export const version = '1.
|
|
2
|
+
export const version = '1.53.0';
|
package/src/index.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { protoInt64, Timestamp } from "@bufbuild/protobuf";
|
|
2
2
|
export { protoInt64, Timestamp };
|
|
3
3
|
export * as AgentSession from "./gen/agent/livekit_agent_session_pb.js";
|
|
4
|
+
export * as AgentThread from "./gen/agent/livekit_agent_thread_pb.js";
|
|
4
5
|
export * as AgentInference from "./gen/agent/livekit_agent_inference_pb.js";
|
|
5
6
|
export * as AgentText from "./gen/agent/livekit_agent_text_pb.js";
|
|
6
7
|
export * as AgentDev from "./gen/agent/livekit_agent_dev_pb.js";
|
package/src/index.js
CHANGED
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
import { protoInt64, Timestamp } from "@bufbuild/protobuf";
|
|
3
3
|
export { protoInt64, Timestamp };
|
|
4
4
|
export * as AgentSession from "./gen/agent/livekit_agent_session_pb.js";
|
|
5
|
+
export * as AgentThread from "./gen/agent/livekit_agent_thread_pb.js";
|
|
5
6
|
export * as AgentInference from "./gen/agent/livekit_agent_inference_pb.js";
|
|
6
7
|
export * as AgentText from "./gen/agent/livekit_agent_text_pb.js";
|
|
7
8
|
export * as AgentDev from "./gen/agent/livekit_agent_dev_pb.js";
|