@livekit/protocol 1.43.1 → 1.43.4
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 +381 -8
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +889 -31
- package/dist/index.d.mts +889 -31
- package/dist/index.d.ts +889 -31
- package/dist/index.mjs +369 -9
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -2
- package/src/gen/agent/livekit_agent_session_pb.d.ts +385 -0
- package/src/gen/agent/livekit_agent_session_pb.js +131 -0
- package/src/gen/livekit_analytics_pb.d.ts +5 -0
- package/src/gen/livekit_analytics_pb.js +1 -0
- package/src/gen/livekit_internal_pb.d.ts +30 -0
- package/src/gen/livekit_internal_pb.js +6 -0
- package/src/gen/livekit_metrics_pb.d.ts +5 -0
- package/src/gen/livekit_metrics_pb.js +1 -0
- package/src/gen/livekit_models_pb.d.ts +123 -0
- package/src/gen/livekit_models_pb.js +46 -0
- package/src/gen/livekit_phone_number_pb.d.ts +24 -2
- package/src/gen/livekit_phone_number_pb.js +3 -0
- package/src/gen/livekit_rtc_pb.d.ts +327 -1
- package/src/gen/livekit_rtc_pb.js +102 -1
- package/src/gen/version.js +1 -1
- package/src/index.d.ts +1 -0
- package/src/index.js +1 -0
package/dist/index.mjs
CHANGED
|
@@ -1,6 +1,190 @@
|
|
|
1
1
|
import { proto3, Timestamp, Duration, Any } from '@bufbuild/protobuf';
|
|
2
2
|
export { protoInt64 } from '@bufbuild/protobuf';
|
|
3
3
|
|
|
4
|
+
const ChatRole = /* @__PURE__ */ proto3.makeEnum(
|
|
5
|
+
"livekit.agent.ChatRole",
|
|
6
|
+
[
|
|
7
|
+
{ no: 0, name: "DEVELOPER" },
|
|
8
|
+
{ no: 1, name: "SYSTEM" },
|
|
9
|
+
{ no: 2, name: "USER" },
|
|
10
|
+
{ no: 3, name: "ASSISTANT" }
|
|
11
|
+
]
|
|
12
|
+
);
|
|
13
|
+
const MetricsReport = /* @__PURE__ */ proto3.makeMessageType(
|
|
14
|
+
"livekit.agent.MetricsReport",
|
|
15
|
+
() => [
|
|
16
|
+
{ no: 1, name: "started_speaking_at", kind: "message", T: Timestamp },
|
|
17
|
+
{ no: 2, name: "stopped_speaking_at", kind: "message", T: Timestamp },
|
|
18
|
+
{ no: 3, name: "transcription_delay", kind: "scalar", T: 1, opt: true },
|
|
19
|
+
{ no: 4, name: "end_of_turn_delay", kind: "scalar", T: 1, opt: true },
|
|
20
|
+
{ no: 5, name: "on_user_turn_completed_delay", kind: "scalar", T: 1, opt: true },
|
|
21
|
+
{ no: 6, name: "llm_node_ttft", kind: "scalar", T: 1, opt: true },
|
|
22
|
+
{ no: 7, name: "tts_node_ttfb", kind: "scalar", T: 1, opt: true },
|
|
23
|
+
{ no: 8, name: "e2e_latency", kind: "scalar", T: 1, opt: true }
|
|
24
|
+
]
|
|
25
|
+
);
|
|
26
|
+
const ChatMessage$1 = /* @__PURE__ */ proto3.makeMessageType(
|
|
27
|
+
"livekit.agent.ChatMessage",
|
|
28
|
+
() => [
|
|
29
|
+
{
|
|
30
|
+
no: 1,
|
|
31
|
+
name: "id",
|
|
32
|
+
kind: "scalar",
|
|
33
|
+
T: 9
|
|
34
|
+
/* ScalarType.STRING */
|
|
35
|
+
},
|
|
36
|
+
{ no: 2, name: "role", kind: "enum", T: proto3.getEnumType(ChatRole) },
|
|
37
|
+
{ no: 3, name: "content", kind: "message", T: ChatMessage_ChatContent, repeated: true },
|
|
38
|
+
{
|
|
39
|
+
no: 4,
|
|
40
|
+
name: "interrupted",
|
|
41
|
+
kind: "scalar",
|
|
42
|
+
T: 8
|
|
43
|
+
/* ScalarType.BOOL */
|
|
44
|
+
},
|
|
45
|
+
{ no: 5, name: "transcript_confidence", kind: "scalar", T: 1, opt: true },
|
|
46
|
+
{ no: 6, name: "extra", kind: "map", K: 9, V: {
|
|
47
|
+
kind: "scalar",
|
|
48
|
+
T: 9
|
|
49
|
+
/* ScalarType.STRING */
|
|
50
|
+
} },
|
|
51
|
+
{ no: 7, name: "metrics", kind: "message", T: MetricsReport },
|
|
52
|
+
{ no: 8, name: "created_at", kind: "message", T: Timestamp }
|
|
53
|
+
]
|
|
54
|
+
);
|
|
55
|
+
const ChatMessage_ChatContent = /* @__PURE__ */ proto3.makeMessageType(
|
|
56
|
+
"livekit.agent.ChatMessage.ChatContent",
|
|
57
|
+
() => [
|
|
58
|
+
{ no: 1, name: "text", kind: "scalar", T: 9, oneof: "payload" }
|
|
59
|
+
],
|
|
60
|
+
{ localName: "ChatMessage_ChatContent" }
|
|
61
|
+
);
|
|
62
|
+
const FunctionCall = /* @__PURE__ */ proto3.makeMessageType(
|
|
63
|
+
"livekit.agent.FunctionCall",
|
|
64
|
+
() => [
|
|
65
|
+
{
|
|
66
|
+
no: 1,
|
|
67
|
+
name: "id",
|
|
68
|
+
kind: "scalar",
|
|
69
|
+
T: 9
|
|
70
|
+
/* ScalarType.STRING */
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
no: 2,
|
|
74
|
+
name: "call_id",
|
|
75
|
+
kind: "scalar",
|
|
76
|
+
T: 9
|
|
77
|
+
/* ScalarType.STRING */
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
no: 3,
|
|
81
|
+
name: "arguments",
|
|
82
|
+
kind: "scalar",
|
|
83
|
+
T: 9
|
|
84
|
+
/* ScalarType.STRING */
|
|
85
|
+
},
|
|
86
|
+
{
|
|
87
|
+
no: 4,
|
|
88
|
+
name: "name",
|
|
89
|
+
kind: "scalar",
|
|
90
|
+
T: 9
|
|
91
|
+
/* ScalarType.STRING */
|
|
92
|
+
},
|
|
93
|
+
{ no: 5, name: "created_at", kind: "message", T: Timestamp }
|
|
94
|
+
]
|
|
95
|
+
);
|
|
96
|
+
const FunctionCallOutput = /* @__PURE__ */ proto3.makeMessageType(
|
|
97
|
+
"livekit.agent.FunctionCallOutput",
|
|
98
|
+
() => [
|
|
99
|
+
{
|
|
100
|
+
no: 1,
|
|
101
|
+
name: "id",
|
|
102
|
+
kind: "scalar",
|
|
103
|
+
T: 9
|
|
104
|
+
/* ScalarType.STRING */
|
|
105
|
+
},
|
|
106
|
+
{
|
|
107
|
+
no: 2,
|
|
108
|
+
name: "name",
|
|
109
|
+
kind: "scalar",
|
|
110
|
+
T: 9
|
|
111
|
+
/* ScalarType.STRING */
|
|
112
|
+
},
|
|
113
|
+
{
|
|
114
|
+
no: 3,
|
|
115
|
+
name: "call_id",
|
|
116
|
+
kind: "scalar",
|
|
117
|
+
T: 9
|
|
118
|
+
/* ScalarType.STRING */
|
|
119
|
+
},
|
|
120
|
+
{
|
|
121
|
+
no: 4,
|
|
122
|
+
name: "output",
|
|
123
|
+
kind: "scalar",
|
|
124
|
+
T: 9
|
|
125
|
+
/* ScalarType.STRING */
|
|
126
|
+
},
|
|
127
|
+
{
|
|
128
|
+
no: 5,
|
|
129
|
+
name: "is_error",
|
|
130
|
+
kind: "scalar",
|
|
131
|
+
T: 8
|
|
132
|
+
/* ScalarType.BOOL */
|
|
133
|
+
},
|
|
134
|
+
{ no: 6, name: "created_at", kind: "message", T: Timestamp }
|
|
135
|
+
]
|
|
136
|
+
);
|
|
137
|
+
const AgentHandoff = /* @__PURE__ */ proto3.makeMessageType(
|
|
138
|
+
"livekit.agent.AgentHandoff",
|
|
139
|
+
() => [
|
|
140
|
+
{
|
|
141
|
+
no: 1,
|
|
142
|
+
name: "id",
|
|
143
|
+
kind: "scalar",
|
|
144
|
+
T: 9
|
|
145
|
+
/* ScalarType.STRING */
|
|
146
|
+
},
|
|
147
|
+
{ no: 2, name: "old_agent_id", kind: "scalar", T: 9, opt: true },
|
|
148
|
+
{
|
|
149
|
+
no: 3,
|
|
150
|
+
name: "new_agent_id",
|
|
151
|
+
kind: "scalar",
|
|
152
|
+
T: 9
|
|
153
|
+
/* ScalarType.STRING */
|
|
154
|
+
},
|
|
155
|
+
{ no: 4, name: "created_at", kind: "message", T: Timestamp }
|
|
156
|
+
]
|
|
157
|
+
);
|
|
158
|
+
const ChatContext = /* @__PURE__ */ proto3.makeMessageType(
|
|
159
|
+
"livekit.agent.ChatContext",
|
|
160
|
+
() => [
|
|
161
|
+
{ no: 1, name: "items", kind: "message", T: ChatContext_ChatItem, repeated: true }
|
|
162
|
+
]
|
|
163
|
+
);
|
|
164
|
+
const ChatContext_ChatItem = /* @__PURE__ */ proto3.makeMessageType(
|
|
165
|
+
"livekit.agent.ChatContext.ChatItem",
|
|
166
|
+
() => [
|
|
167
|
+
{ no: 1, name: "message", kind: "message", T: ChatMessage$1, oneof: "item" },
|
|
168
|
+
{ no: 2, name: "function_call", kind: "message", T: FunctionCall, oneof: "item" },
|
|
169
|
+
{ no: 3, name: "function_call_output", kind: "message", T: FunctionCallOutput, oneof: "item" },
|
|
170
|
+
{ no: 4, name: "agent_handoff", kind: "message", T: AgentHandoff, oneof: "item" }
|
|
171
|
+
],
|
|
172
|
+
{ localName: "ChatContext_ChatItem" }
|
|
173
|
+
);
|
|
174
|
+
|
|
175
|
+
const livekit_agent_session_pb = {
|
|
176
|
+
__proto__: null,
|
|
177
|
+
AgentHandoff: AgentHandoff,
|
|
178
|
+
ChatContext: ChatContext,
|
|
179
|
+
ChatContext_ChatItem: ChatContext_ChatItem,
|
|
180
|
+
ChatMessage: ChatMessage$1,
|
|
181
|
+
ChatMessage_ChatContent: ChatMessage_ChatContent,
|
|
182
|
+
ChatRole: ChatRole,
|
|
183
|
+
FunctionCall: FunctionCall,
|
|
184
|
+
FunctionCallOutput: FunctionCallOutput,
|
|
185
|
+
MetricsReport: MetricsReport
|
|
186
|
+
};
|
|
187
|
+
|
|
4
188
|
const MetricLabel = /* @__PURE__ */ proto3.makeEnum(
|
|
5
189
|
"livekit.MetricLabel",
|
|
6
190
|
[
|
|
@@ -164,7 +348,12 @@ const MetricsRecordingHeader = /* @__PURE__ */ proto3.makeMessageType(
|
|
|
164
348
|
T: 4
|
|
165
349
|
/* ScalarType.UINT64 */
|
|
166
350
|
},
|
|
167
|
-
{ no: 4, name: "start_time", kind: "message", T: Timestamp }
|
|
351
|
+
{ no: 4, name: "start_time", kind: "message", T: Timestamp },
|
|
352
|
+
{ no: 5, name: "room_tags", kind: "map", K: 9, V: {
|
|
353
|
+
kind: "scalar",
|
|
354
|
+
T: 9
|
|
355
|
+
/* ScalarType.STRING */
|
|
356
|
+
} }
|
|
168
357
|
]
|
|
169
358
|
);
|
|
170
359
|
|
|
@@ -220,6 +409,13 @@ const TrackSource = /* @__PURE__ */ proto3.makeEnum(
|
|
|
220
409
|
{ no: 4, name: "SCREEN_SHARE_AUDIO" }
|
|
221
410
|
]
|
|
222
411
|
);
|
|
412
|
+
const DataTrackExtensionID = /* @__PURE__ */ proto3.makeEnum(
|
|
413
|
+
"livekit.DataTrackExtensionID",
|
|
414
|
+
[
|
|
415
|
+
{ no: 0, name: "DTEI_INVALID" },
|
|
416
|
+
{ no: 1, name: "DTEI_PARTICIPANT_SID" }
|
|
417
|
+
]
|
|
418
|
+
);
|
|
223
419
|
const VideoQuality = /* @__PURE__ */ proto3.makeEnum(
|
|
224
420
|
"livekit.VideoQuality",
|
|
225
421
|
[
|
|
@@ -617,7 +813,8 @@ const ParticipantInfo = /* @__PURE__ */ proto3.makeMessageType(
|
|
|
617
813
|
/* ScalarType.STRING */
|
|
618
814
|
} },
|
|
619
815
|
{ no: 16, name: "disconnect_reason", kind: "enum", T: proto3.getEnumType(DisconnectReason) },
|
|
620
|
-
{ no: 18, name: "kind_details", kind: "enum", T: proto3.getEnumType(ParticipantInfo_KindDetail), repeated: true }
|
|
816
|
+
{ no: 18, name: "kind_details", kind: "enum", T: proto3.getEnumType(ParticipantInfo_KindDetail), repeated: true },
|
|
817
|
+
{ no: 19, name: "data_tracks", kind: "message", T: DataTrackInfo, repeated: true }
|
|
621
818
|
]
|
|
622
819
|
);
|
|
623
820
|
const ParticipantInfo_State = /* @__PURE__ */ proto3.makeEnum(
|
|
@@ -793,6 +990,52 @@ const TrackInfo = /* @__PURE__ */ proto3.makeMessageType(
|
|
|
793
990
|
{ no: 20, name: "backup_codec_policy", kind: "enum", T: proto3.getEnumType(BackupCodecPolicy) }
|
|
794
991
|
]
|
|
795
992
|
);
|
|
993
|
+
const DataTrackInfo = /* @__PURE__ */ proto3.makeMessageType(
|
|
994
|
+
"livekit.DataTrackInfo",
|
|
995
|
+
() => [
|
|
996
|
+
{
|
|
997
|
+
no: 1,
|
|
998
|
+
name: "pub_handle",
|
|
999
|
+
kind: "scalar",
|
|
1000
|
+
T: 13
|
|
1001
|
+
/* ScalarType.UINT32 */
|
|
1002
|
+
},
|
|
1003
|
+
{
|
|
1004
|
+
no: 2,
|
|
1005
|
+
name: "sid",
|
|
1006
|
+
kind: "scalar",
|
|
1007
|
+
T: 9
|
|
1008
|
+
/* ScalarType.STRING */
|
|
1009
|
+
},
|
|
1010
|
+
{
|
|
1011
|
+
no: 3,
|
|
1012
|
+
name: "name",
|
|
1013
|
+
kind: "scalar",
|
|
1014
|
+
T: 9
|
|
1015
|
+
/* ScalarType.STRING */
|
|
1016
|
+
},
|
|
1017
|
+
{ no: 4, name: "encryption", kind: "enum", T: proto3.getEnumType(Encryption_Type) }
|
|
1018
|
+
]
|
|
1019
|
+
);
|
|
1020
|
+
const DataTrackExtensionParticipantSid = /* @__PURE__ */ proto3.makeMessageType(
|
|
1021
|
+
"livekit.DataTrackExtensionParticipantSid",
|
|
1022
|
+
() => [
|
|
1023
|
+
{ no: 1, name: "id", kind: "enum", T: proto3.getEnumType(DataTrackExtensionID) },
|
|
1024
|
+
{
|
|
1025
|
+
no: 2,
|
|
1026
|
+
name: "participant_sid",
|
|
1027
|
+
kind: "scalar",
|
|
1028
|
+
T: 9
|
|
1029
|
+
/* ScalarType.STRING */
|
|
1030
|
+
}
|
|
1031
|
+
]
|
|
1032
|
+
);
|
|
1033
|
+
const DataTrackSubscriptionOptions = /* @__PURE__ */ proto3.makeMessageType(
|
|
1034
|
+
"livekit.DataTrackSubscriptionOptions",
|
|
1035
|
+
() => [
|
|
1036
|
+
{ no: 1, name: "target_fps", kind: "scalar", T: 13, opt: true }
|
|
1037
|
+
]
|
|
1038
|
+
);
|
|
796
1039
|
const VideoLayer = /* @__PURE__ */ proto3.makeMessageType(
|
|
797
1040
|
"livekit.VideoLayer",
|
|
798
1041
|
() => [
|
|
@@ -2790,7 +3033,10 @@ const SignalRequest = /* @__PURE__ */ proto3.makeMessageType(
|
|
|
2790
3033
|
{ no: 15, name: "update_metadata", kind: "message", T: UpdateParticipantMetadata, oneof: "message" },
|
|
2791
3034
|
{ no: 16, name: "ping_req", kind: "message", T: Ping, oneof: "message" },
|
|
2792
3035
|
{ no: 17, name: "update_audio_track", kind: "message", T: UpdateLocalAudioTrack, oneof: "message" },
|
|
2793
|
-
{ no: 18, name: "update_video_track", kind: "message", T: UpdateLocalVideoTrack, oneof: "message" }
|
|
3036
|
+
{ no: 18, name: "update_video_track", kind: "message", T: UpdateLocalVideoTrack, oneof: "message" },
|
|
3037
|
+
{ no: 19, name: "publish_data_track_request", kind: "message", T: PublishDataTrackRequest, oneof: "message" },
|
|
3038
|
+
{ no: 20, name: "unpublish_data_track_request", kind: "message", T: UnpublishDataTrackRequest, oneof: "message" },
|
|
3039
|
+
{ no: 21, name: "update_data_subscription", kind: "message", T: UpdateDataSubscription, oneof: "message" }
|
|
2794
3040
|
]
|
|
2795
3041
|
);
|
|
2796
3042
|
const SignalResponse = /* @__PURE__ */ proto3.makeMessageType(
|
|
@@ -2820,7 +3066,10 @@ const SignalResponse = /* @__PURE__ */ proto3.makeMessageType(
|
|
|
2820
3066
|
{ no: 23, name: "track_subscribed", kind: "message", T: TrackSubscribed, oneof: "message" },
|
|
2821
3067
|
{ no: 24, name: "room_moved", kind: "message", T: RoomMovedResponse, oneof: "message" },
|
|
2822
3068
|
{ no: 25, name: "media_sections_requirement", kind: "message", T: MediaSectionsRequirement, oneof: "message" },
|
|
2823
|
-
{ no: 26, name: "subscribed_audio_codec_update", kind: "message", T: SubscribedAudioCodecUpdate, oneof: "message" }
|
|
3069
|
+
{ no: 26, name: "subscribed_audio_codec_update", kind: "message", T: SubscribedAudioCodecUpdate, oneof: "message" },
|
|
3070
|
+
{ no: 27, name: "publish_data_track_response", kind: "message", T: PublishDataTrackResponse, oneof: "message" },
|
|
3071
|
+
{ no: 28, name: "unpublish_data_track_response", kind: "message", T: UnpublishDataTrackResponse, oneof: "message" },
|
|
3072
|
+
{ no: 29, name: "data_track_subscriber_handles", kind: "message", T: DataTrackSubscriberHandles, oneof: "message" }
|
|
2824
3073
|
]
|
|
2825
3074
|
);
|
|
2826
3075
|
const SimulcastCodec = /* @__PURE__ */ proto3.makeMessageType(
|
|
@@ -2926,6 +3175,83 @@ const AddTrackRequest = /* @__PURE__ */ proto3.makeMessageType(
|
|
|
2926
3175
|
{ no: 17, name: "audio_features", kind: "enum", T: proto3.getEnumType(AudioTrackFeature), repeated: true }
|
|
2927
3176
|
]
|
|
2928
3177
|
);
|
|
3178
|
+
const PublishDataTrackRequest = /* @__PURE__ */ proto3.makeMessageType(
|
|
3179
|
+
"livekit.PublishDataTrackRequest",
|
|
3180
|
+
() => [
|
|
3181
|
+
{
|
|
3182
|
+
no: 1,
|
|
3183
|
+
name: "pub_handle",
|
|
3184
|
+
kind: "scalar",
|
|
3185
|
+
T: 13
|
|
3186
|
+
/* ScalarType.UINT32 */
|
|
3187
|
+
},
|
|
3188
|
+
{
|
|
3189
|
+
no: 2,
|
|
3190
|
+
name: "name",
|
|
3191
|
+
kind: "scalar",
|
|
3192
|
+
T: 9
|
|
3193
|
+
/* ScalarType.STRING */
|
|
3194
|
+
},
|
|
3195
|
+
{ no: 3, name: "encryption", kind: "enum", T: proto3.getEnumType(Encryption_Type) }
|
|
3196
|
+
]
|
|
3197
|
+
);
|
|
3198
|
+
const PublishDataTrackResponse = /* @__PURE__ */ proto3.makeMessageType(
|
|
3199
|
+
"livekit.PublishDataTrackResponse",
|
|
3200
|
+
() => [
|
|
3201
|
+
{ no: 1, name: "info", kind: "message", T: DataTrackInfo }
|
|
3202
|
+
]
|
|
3203
|
+
);
|
|
3204
|
+
const UnpublishDataTrackRequest = /* @__PURE__ */ proto3.makeMessageType(
|
|
3205
|
+
"livekit.UnpublishDataTrackRequest",
|
|
3206
|
+
() => [
|
|
3207
|
+
{
|
|
3208
|
+
no: 1,
|
|
3209
|
+
name: "pub_handle",
|
|
3210
|
+
kind: "scalar",
|
|
3211
|
+
T: 13
|
|
3212
|
+
/* ScalarType.UINT32 */
|
|
3213
|
+
}
|
|
3214
|
+
]
|
|
3215
|
+
);
|
|
3216
|
+
const UnpublishDataTrackResponse = /* @__PURE__ */ proto3.makeMessageType(
|
|
3217
|
+
"livekit.UnpublishDataTrackResponse",
|
|
3218
|
+
() => [
|
|
3219
|
+
{ no: 1, name: "info", kind: "message", T: DataTrackInfo }
|
|
3220
|
+
]
|
|
3221
|
+
);
|
|
3222
|
+
const DataTrackSubscriberHandles = /* @__PURE__ */ proto3.makeMessageType(
|
|
3223
|
+
"livekit.DataTrackSubscriberHandles",
|
|
3224
|
+
() => [
|
|
3225
|
+
{ no: 1, name: "sub_handles", kind: "map", K: 13, V: { kind: "message", T: DataTrackSubscriberHandles_PublishedDataTrack } }
|
|
3226
|
+
]
|
|
3227
|
+
);
|
|
3228
|
+
const DataTrackSubscriberHandles_PublishedDataTrack = /* @__PURE__ */ proto3.makeMessageType(
|
|
3229
|
+
"livekit.DataTrackSubscriberHandles.PublishedDataTrack",
|
|
3230
|
+
() => [
|
|
3231
|
+
{
|
|
3232
|
+
no: 1,
|
|
3233
|
+
name: "publisher_identity",
|
|
3234
|
+
kind: "scalar",
|
|
3235
|
+
T: 9
|
|
3236
|
+
/* ScalarType.STRING */
|
|
3237
|
+
},
|
|
3238
|
+
{
|
|
3239
|
+
no: 2,
|
|
3240
|
+
name: "publisher_sid",
|
|
3241
|
+
kind: "scalar",
|
|
3242
|
+
T: 9
|
|
3243
|
+
/* ScalarType.STRING */
|
|
3244
|
+
},
|
|
3245
|
+
{
|
|
3246
|
+
no: 3,
|
|
3247
|
+
name: "track_sid",
|
|
3248
|
+
kind: "scalar",
|
|
3249
|
+
T: 9
|
|
3250
|
+
/* ScalarType.STRING */
|
|
3251
|
+
}
|
|
3252
|
+
],
|
|
3253
|
+
{ localName: "DataTrackSubscriberHandles_PublishedDataTrack" }
|
|
3254
|
+
);
|
|
2929
3255
|
const TrickleRequest = /* @__PURE__ */ proto3.makeMessageType(
|
|
2930
3256
|
"livekit.TrickleRequest",
|
|
2931
3257
|
() => [
|
|
@@ -3124,6 +3450,33 @@ const UpdateSubscription = /* @__PURE__ */ proto3.makeMessageType(
|
|
|
3124
3450
|
{ no: 3, name: "participant_tracks", kind: "message", T: ParticipantTracks, repeated: true }
|
|
3125
3451
|
]
|
|
3126
3452
|
);
|
|
3453
|
+
const UpdateDataSubscription = /* @__PURE__ */ proto3.makeMessageType(
|
|
3454
|
+
"livekit.UpdateDataSubscription",
|
|
3455
|
+
() => [
|
|
3456
|
+
{ no: 1, name: "updates", kind: "message", T: UpdateDataSubscription_Update, repeated: true }
|
|
3457
|
+
]
|
|
3458
|
+
);
|
|
3459
|
+
const UpdateDataSubscription_Update = /* @__PURE__ */ proto3.makeMessageType(
|
|
3460
|
+
"livekit.UpdateDataSubscription.Update",
|
|
3461
|
+
() => [
|
|
3462
|
+
{
|
|
3463
|
+
no: 1,
|
|
3464
|
+
name: "track_sid",
|
|
3465
|
+
kind: "scalar",
|
|
3466
|
+
T: 9
|
|
3467
|
+
/* ScalarType.STRING */
|
|
3468
|
+
},
|
|
3469
|
+
{
|
|
3470
|
+
no: 2,
|
|
3471
|
+
name: "subscribe",
|
|
3472
|
+
kind: "scalar",
|
|
3473
|
+
T: 8
|
|
3474
|
+
/* ScalarType.BOOL */
|
|
3475
|
+
},
|
|
3476
|
+
{ no: 3, name: "options", kind: "message", T: DataTrackSubscriptionOptions }
|
|
3477
|
+
],
|
|
3478
|
+
{ localName: "UpdateDataSubscription_Update" }
|
|
3479
|
+
);
|
|
3127
3480
|
const UpdateTrackSettings = /* @__PURE__ */ proto3.makeMessageType(
|
|
3128
3481
|
"livekit.UpdateTrackSettings",
|
|
3129
3482
|
() => [
|
|
@@ -3499,7 +3852,8 @@ const SyncState = /* @__PURE__ */ proto3.makeMessageType(
|
|
|
3499
3852
|
{ no: 4, name: "data_channels", kind: "message", T: DataChannelInfo, repeated: true },
|
|
3500
3853
|
{ no: 5, name: "offer", kind: "message", T: SessionDescription },
|
|
3501
3854
|
{ no: 6, name: "track_sids_disabled", kind: "scalar", T: 9, repeated: true },
|
|
3502
|
-
{ no: 7, name: "datachannel_receive_states", kind: "message", T: DataChannelReceiveState, repeated: true }
|
|
3855
|
+
{ no: 7, name: "datachannel_receive_states", kind: "message", T: DataChannelReceiveState, repeated: true },
|
|
3856
|
+
{ no: 8, name: "publish_data_tracks", kind: "message", T: PublishDataTrackResponse, repeated: true }
|
|
3503
3857
|
]
|
|
3504
3858
|
);
|
|
3505
3859
|
const DataChannelReceiveState = /* @__PURE__ */ proto3.makeMessageType(
|
|
@@ -3661,7 +4015,9 @@ const RequestResponse = /* @__PURE__ */ proto3.makeMessageType(
|
|
|
3661
4015
|
{ no: 6, name: "mute", kind: "message", T: MuteTrackRequest, oneof: "request" },
|
|
3662
4016
|
{ no: 7, name: "update_metadata", kind: "message", T: UpdateParticipantMetadata, oneof: "request" },
|
|
3663
4017
|
{ no: 8, name: "update_audio_track", kind: "message", T: UpdateLocalAudioTrack, oneof: "request" },
|
|
3664
|
-
{ no: 9, name: "update_video_track", kind: "message", T: UpdateLocalVideoTrack, oneof: "request" }
|
|
4018
|
+
{ no: 9, name: "update_video_track", kind: "message", T: UpdateLocalVideoTrack, oneof: "request" },
|
|
4019
|
+
{ no: 10, name: "publish_data_track", kind: "message", T: PublishDataTrackRequest, oneof: "request" },
|
|
4020
|
+
{ no: 11, name: "unpublish_data_track", kind: "message", T: UnpublishDataTrackRequest, oneof: "request" }
|
|
3665
4021
|
]
|
|
3666
4022
|
);
|
|
3667
4023
|
const RequestResponse_Reason = /* @__PURE__ */ proto3.makeEnum(
|
|
@@ -3673,7 +4029,11 @@ const RequestResponse_Reason = /* @__PURE__ */ proto3.makeEnum(
|
|
|
3673
4029
|
{ no: 3, name: "LIMIT_EXCEEDED" },
|
|
3674
4030
|
{ no: 4, name: "QUEUED" },
|
|
3675
4031
|
{ no: 5, name: "UNSUPPORTED_TYPE" },
|
|
3676
|
-
{ no: 6, name: "UNCLASSIFIED_ERROR" }
|
|
4032
|
+
{ no: 6, name: "UNCLASSIFIED_ERROR" },
|
|
4033
|
+
{ no: 7, name: "INVALID_HANDLE" },
|
|
4034
|
+
{ no: 8, name: "INVALID_NAME" },
|
|
4035
|
+
{ no: 9, name: "DUPLICATE_HANDLE" },
|
|
4036
|
+
{ no: 10, name: "DUPLICATE_NAME" }
|
|
3677
4037
|
]
|
|
3678
4038
|
);
|
|
3679
4039
|
const TrackSubscribed = /* @__PURE__ */ proto3.makeMessageType(
|
|
@@ -7535,7 +7895,7 @@ const WebhookEvent = /* @__PURE__ */ proto3.makeMessageType(
|
|
|
7535
7895
|
]
|
|
7536
7896
|
);
|
|
7537
7897
|
|
|
7538
|
-
const version = "1.43.
|
|
7898
|
+
const version = "1.43.4";
|
|
7539
7899
|
|
|
7540
|
-
export { AcceptWhatsAppCallRequest, AcceptWhatsAppCallResponse, ActiveSpeakerUpdate, AddTrackRequest, AgentDispatch, AgentDispatchState, AliOSSUpload, AudioCodec, AudioMixing, AudioTrackFeature, AutoParticipantEgress, AutoTrackEgress, AvailabilityRequest, AvailabilityResponse, AzureBlobUpload, BackupCodecPolicy, CandidateProtocol, ChatMessage, ClientConfigSetting, ClientConfiguration, ClientInfo, ClientInfo_SDK, Codec, ConnectTwilioCallRequest, ConnectTwilioCallRequest_TwilioCallDirection, ConnectTwilioCallResponse, ConnectWhatsAppCallRequest, ConnectWhatsAppCallResponse, ConnectionQuality, ConnectionQualityInfo, ConnectionQualityUpdate, ConnectionSettings, ConnectorType, CreateAgentDispatchRequest, CreateIngressRequest, CreateRoomRequest, CreateSIPDispatchRuleRequest, CreateSIPInboundTrunkRequest, CreateSIPOutboundTrunkRequest, CreateSIPParticipantRequest, CreateSIPTrunkRequest, DataChannelInfo, DataChannelReceiveState, DataPacket, DataPacket_Kind, DataStream, DataStream_ByteHeader, DataStream_Chunk, DataStream_Header, DataStream_OperationType, DataStream_TextHeader, DataStream_Trailer, DeleteAgentDispatchRequest, DeleteIngressRequest, DeleteRoomRequest, DeleteRoomResponse, DeleteSIPDispatchRuleRequest, DeleteSIPTrunkRequest, Destination, DialWhatsAppCallRequest, DialWhatsAppCallResponse, DirectFileOutput, DisabledCodecs, DisconnectReason, DisconnectWhatsAppCallRequest, DisconnectWhatsAppCallResponse, EgressInfo, EgressSourceType, EgressStatus, EncodedFileOutput, EncodedFileType, EncodingOptions, EncodingOptionsPreset, EncryptedPacket, EncryptedPacketPayload, Encryption, Encryption_Type, EventMetric, FileInfo, FilterParams, ForwardParticipantRequest, ForwardParticipantResponse, GCPUpload, GetSIPInboundTrunkRequest, GetSIPInboundTrunkResponse, GetSIPOutboundTrunkRequest, GetSIPOutboundTrunkResponse, ICEServer, ImageCodec, ImageFileSuffix, ImageOutput, ImagesInfo, IngressAudioEncodingOptions, IngressAudioEncodingPreset, IngressAudioOptions, IngressInfo, IngressInput, IngressState, IngressState_Status, IngressVideoEncodingOptions, IngressVideoEncodingPreset, IngressVideoOptions, InputAudioState, InputVideoState, Job, JobAssignment, JobState, JobStatus, JobTermination, JobType, JoinRequest, JoinResponse, LeaveRequest, LeaveRequest_Action, ListAgentDispatchRequest, ListAgentDispatchResponse, ListEgressRequest, ListEgressResponse, ListIngressRequest, ListIngressResponse, ListParticipantsRequest, ListParticipantsResponse, ListRoomsRequest, ListRoomsResponse, ListSIPDispatchRuleRequest, ListSIPDispatchRuleResponse, ListSIPInboundTrunkRequest, ListSIPInboundTrunkResponse, ListSIPOutboundTrunkRequest, ListSIPOutboundTrunkResponse, ListSIPTrunkRequest, ListSIPTrunkResponse, ListUpdate, MediaSectionsRequirement, MetricLabel, MetricSample, MetricsBatch, MetricsRecordingHeader, MigrateJobRequest, MoveParticipantRequest, MoveParticipantResponse, MuteRoomTrackRequest, MuteRoomTrackResponse, MuteTrackRequest, Pagination, ParticipantEgressRequest, ParticipantInfo, ParticipantInfo_Kind, ParticipantInfo_KindDetail, ParticipantInfo_State, ParticipantPermission, ParticipantTracks, ParticipantUpdate, PerformRpcRequest, PerformRpcResponse, Ping, PlayoutDelay, Pong, ProviderInfo, ProviderType, ProxyConfig, RTCPSenderReportState, RTPDrift, RTPForwarderState, RTPMungerState, RTPStats, ReconnectReason, ReconnectResponse, RegionInfo, RegionSettings, RegisterWorkerRequest, RegisterWorkerResponse, RemoveParticipantResponse, RequestResponse, RequestResponse_Reason, Room, RoomAgent, RoomAgentDispatch, RoomCompositeEgressRequest, RoomConfiguration, RoomEgress, RoomMovedResponse, RoomParticipantIdentity, RoomUpdate, RpcAck, RpcError, RpcRequest, RpcResponse, S3Upload, SIPCallDirection, SIPCallInfo, SIPCallStatus, SIPDispatchRule, SIPDispatchRuleCallee, SIPDispatchRuleDirect, SIPDispatchRuleIndividual, SIPDispatchRuleInfo, SIPDispatchRuleUpdate, SIPFeature, SIPHeaderOptions, SIPInboundTrunkInfo, SIPInboundTrunkUpdate, SIPMediaEncryption, SIPOutboundConfig, SIPOutboundTrunkInfo, SIPOutboundTrunkUpdate, SIPParticipantInfo, SIPStatus, SIPStatusCode, SIPTransferInfo, SIPTransferStatus, SIPTransport, SIPTrunkInfo, SIPTrunkInfo_TrunkKind, SIPUri, SegmentedFileOutput, SegmentedFileProtocol, SegmentedFileSuffix, SegmentsInfo, SendDataRequest, SendDataResponse, ServerInfo, ServerInfo_Edition, ServerMessage, SessionDescription, SignalRequest, SignalResponse, SignalTarget, SimulateJobRequest, SimulateScenario, SimulcastCodec, SimulcastCodecInfo, SipDTMF, SpeakerInfo, SpeakersChanged, StopEgressRequest, StreamInfo, StreamInfoList, StreamInfo_Status, StreamOutput, StreamProtocol, StreamState, StreamStateInfo, StreamStateUpdate, SubscribedAudioCodec, SubscribedAudioCodecUpdate, SubscribedCodec, SubscribedQuality, SubscribedQualityUpdate, SubscriptionError, SubscriptionPermission, SubscriptionPermissionUpdate, SubscriptionResponse, SyncState, TimeSeriesMetric, TimedVersion, TokenPagination, TokenSourceRequest, TokenSourceResponse, TrackCompositeEgressRequest, TrackEgressRequest, TrackInfo, TrackPermission, TrackPublishedResponse, TrackSource, TrackSubscribed, TrackType, TrackUnpublishedResponse, Transcription, TranscriptionSegment, TransferSIPParticipantRequest, TrickleRequest, UpdateIngressRequest, UpdateJobStatus, UpdateLayoutRequest, UpdateLocalAudioTrack, UpdateLocalVideoTrack, UpdateParticipantMetadata, UpdateParticipantRequest, UpdateRoomMetadataRequest, UpdateSIPDispatchRuleRequest, UpdateSIPInboundTrunkRequest, UpdateSIPOutboundTrunkRequest, UpdateStreamRequest, UpdateSubscription, UpdateSubscriptionsRequest, UpdateSubscriptionsResponse, UpdateTrackSettings, UpdateVideoLayers, UpdateWorkerStatus, UserPacket, VP8MungerState, VideoCodec, VideoConfiguration, VideoLayer, VideoLayer_Mode, VideoQuality, WebEgressRequest, WebhookConfig, WebhookEvent, WhatsAppCall, WhatsAppCallDirection, WorkerMessage, WorkerPing, WorkerPong, WorkerStatus, WrappedJoinRequest, WrappedJoinRequest_Compression, version };
|
|
7900
|
+
export { AcceptWhatsAppCallRequest, AcceptWhatsAppCallResponse, ActiveSpeakerUpdate, AddTrackRequest, AgentDispatch, AgentDispatchState, livekit_agent_session_pb as AgentSession, AliOSSUpload, AudioCodec, AudioMixing, AudioTrackFeature, AutoParticipantEgress, AutoTrackEgress, AvailabilityRequest, AvailabilityResponse, AzureBlobUpload, BackupCodecPolicy, CandidateProtocol, ChatMessage, ClientConfigSetting, ClientConfiguration, ClientInfo, ClientInfo_SDK, Codec, ConnectTwilioCallRequest, ConnectTwilioCallRequest_TwilioCallDirection, ConnectTwilioCallResponse, ConnectWhatsAppCallRequest, ConnectWhatsAppCallResponse, ConnectionQuality, ConnectionQualityInfo, ConnectionQualityUpdate, ConnectionSettings, ConnectorType, CreateAgentDispatchRequest, CreateIngressRequest, CreateRoomRequest, CreateSIPDispatchRuleRequest, CreateSIPInboundTrunkRequest, CreateSIPOutboundTrunkRequest, CreateSIPParticipantRequest, CreateSIPTrunkRequest, DataChannelInfo, DataChannelReceiveState, DataPacket, DataPacket_Kind, DataStream, DataStream_ByteHeader, DataStream_Chunk, DataStream_Header, DataStream_OperationType, DataStream_TextHeader, DataStream_Trailer, DataTrackExtensionID, DataTrackExtensionParticipantSid, DataTrackInfo, DataTrackSubscriberHandles, DataTrackSubscriberHandles_PublishedDataTrack, DataTrackSubscriptionOptions, DeleteAgentDispatchRequest, DeleteIngressRequest, DeleteRoomRequest, DeleteRoomResponse, DeleteSIPDispatchRuleRequest, DeleteSIPTrunkRequest, Destination, DialWhatsAppCallRequest, DialWhatsAppCallResponse, DirectFileOutput, DisabledCodecs, DisconnectReason, DisconnectWhatsAppCallRequest, DisconnectWhatsAppCallResponse, EgressInfo, EgressSourceType, EgressStatus, EncodedFileOutput, EncodedFileType, EncodingOptions, EncodingOptionsPreset, EncryptedPacket, EncryptedPacketPayload, Encryption, Encryption_Type, EventMetric, FileInfo, FilterParams, ForwardParticipantRequest, ForwardParticipantResponse, GCPUpload, GetSIPInboundTrunkRequest, GetSIPInboundTrunkResponse, GetSIPOutboundTrunkRequest, GetSIPOutboundTrunkResponse, ICEServer, ImageCodec, ImageFileSuffix, ImageOutput, ImagesInfo, IngressAudioEncodingOptions, IngressAudioEncodingPreset, IngressAudioOptions, IngressInfo, IngressInput, IngressState, IngressState_Status, IngressVideoEncodingOptions, IngressVideoEncodingPreset, IngressVideoOptions, InputAudioState, InputVideoState, Job, JobAssignment, JobState, JobStatus, JobTermination, JobType, JoinRequest, JoinResponse, LeaveRequest, LeaveRequest_Action, ListAgentDispatchRequest, ListAgentDispatchResponse, ListEgressRequest, ListEgressResponse, ListIngressRequest, ListIngressResponse, ListParticipantsRequest, ListParticipantsResponse, ListRoomsRequest, ListRoomsResponse, ListSIPDispatchRuleRequest, ListSIPDispatchRuleResponse, ListSIPInboundTrunkRequest, ListSIPInboundTrunkResponse, ListSIPOutboundTrunkRequest, ListSIPOutboundTrunkResponse, ListSIPTrunkRequest, ListSIPTrunkResponse, ListUpdate, MediaSectionsRequirement, MetricLabel, MetricSample, MetricsBatch, MetricsRecordingHeader, MigrateJobRequest, MoveParticipantRequest, MoveParticipantResponse, MuteRoomTrackRequest, MuteRoomTrackResponse, MuteTrackRequest, Pagination, ParticipantEgressRequest, ParticipantInfo, ParticipantInfo_Kind, ParticipantInfo_KindDetail, ParticipantInfo_State, ParticipantPermission, ParticipantTracks, ParticipantUpdate, PerformRpcRequest, PerformRpcResponse, Ping, PlayoutDelay, Pong, ProviderInfo, ProviderType, ProxyConfig, PublishDataTrackRequest, PublishDataTrackResponse, RTCPSenderReportState, RTPDrift, RTPForwarderState, RTPMungerState, RTPStats, ReconnectReason, ReconnectResponse, RegionInfo, RegionSettings, RegisterWorkerRequest, RegisterWorkerResponse, RemoveParticipantResponse, RequestResponse, RequestResponse_Reason, Room, RoomAgent, RoomAgentDispatch, RoomCompositeEgressRequest, RoomConfiguration, RoomEgress, RoomMovedResponse, RoomParticipantIdentity, RoomUpdate, RpcAck, RpcError, RpcRequest, RpcResponse, S3Upload, SIPCallDirection, SIPCallInfo, SIPCallStatus, SIPDispatchRule, SIPDispatchRuleCallee, SIPDispatchRuleDirect, SIPDispatchRuleIndividual, SIPDispatchRuleInfo, SIPDispatchRuleUpdate, SIPFeature, SIPHeaderOptions, SIPInboundTrunkInfo, SIPInboundTrunkUpdate, SIPMediaEncryption, SIPOutboundConfig, SIPOutboundTrunkInfo, SIPOutboundTrunkUpdate, SIPParticipantInfo, SIPStatus, SIPStatusCode, SIPTransferInfo, SIPTransferStatus, SIPTransport, SIPTrunkInfo, SIPTrunkInfo_TrunkKind, SIPUri, SegmentedFileOutput, SegmentedFileProtocol, SegmentedFileSuffix, SegmentsInfo, SendDataRequest, SendDataResponse, ServerInfo, ServerInfo_Edition, ServerMessage, SessionDescription, SignalRequest, SignalResponse, SignalTarget, SimulateJobRequest, SimulateScenario, SimulcastCodec, SimulcastCodecInfo, SipDTMF, SpeakerInfo, SpeakersChanged, StopEgressRequest, StreamInfo, StreamInfoList, StreamInfo_Status, StreamOutput, StreamProtocol, StreamState, StreamStateInfo, StreamStateUpdate, SubscribedAudioCodec, SubscribedAudioCodecUpdate, SubscribedCodec, SubscribedQuality, SubscribedQualityUpdate, SubscriptionError, SubscriptionPermission, SubscriptionPermissionUpdate, SubscriptionResponse, SyncState, TimeSeriesMetric, TimedVersion, TokenPagination, TokenSourceRequest, TokenSourceResponse, TrackCompositeEgressRequest, TrackEgressRequest, TrackInfo, TrackPermission, TrackPublishedResponse, TrackSource, TrackSubscribed, TrackType, TrackUnpublishedResponse, Transcription, TranscriptionSegment, TransferSIPParticipantRequest, TrickleRequest, UnpublishDataTrackRequest, UnpublishDataTrackResponse, UpdateDataSubscription, UpdateDataSubscription_Update, UpdateIngressRequest, UpdateJobStatus, UpdateLayoutRequest, UpdateLocalAudioTrack, UpdateLocalVideoTrack, UpdateParticipantMetadata, UpdateParticipantRequest, UpdateRoomMetadataRequest, UpdateSIPDispatchRuleRequest, UpdateSIPInboundTrunkRequest, UpdateSIPOutboundTrunkRequest, UpdateStreamRequest, UpdateSubscription, UpdateSubscriptionsRequest, UpdateSubscriptionsResponse, UpdateTrackSettings, UpdateVideoLayers, UpdateWorkerStatus, UserPacket, VP8MungerState, VideoCodec, VideoConfiguration, VideoLayer, VideoLayer_Mode, VideoQuality, WebEgressRequest, WebhookConfig, WebhookEvent, WhatsAppCall, WhatsAppCallDirection, WorkerMessage, WorkerPing, WorkerPong, WorkerStatus, WrappedJoinRequest, WrappedJoinRequest_Compression, version };
|
|
7541
7901
|
//# sourceMappingURL=index.mjs.map
|