@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.cjs
CHANGED
|
@@ -2,6 +2,190 @@
|
|
|
2
2
|
|
|
3
3
|
const protobuf = require('@bufbuild/protobuf');
|
|
4
4
|
|
|
5
|
+
const ChatRole = /* @__PURE__ */ protobuf.proto3.makeEnum(
|
|
6
|
+
"livekit.agent.ChatRole",
|
|
7
|
+
[
|
|
8
|
+
{ no: 0, name: "DEVELOPER" },
|
|
9
|
+
{ no: 1, name: "SYSTEM" },
|
|
10
|
+
{ no: 2, name: "USER" },
|
|
11
|
+
{ no: 3, name: "ASSISTANT" }
|
|
12
|
+
]
|
|
13
|
+
);
|
|
14
|
+
const MetricsReport = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
15
|
+
"livekit.agent.MetricsReport",
|
|
16
|
+
() => [
|
|
17
|
+
{ no: 1, name: "started_speaking_at", kind: "message", T: protobuf.Timestamp },
|
|
18
|
+
{ no: 2, name: "stopped_speaking_at", kind: "message", T: protobuf.Timestamp },
|
|
19
|
+
{ no: 3, name: "transcription_delay", kind: "scalar", T: 1, opt: true },
|
|
20
|
+
{ no: 4, name: "end_of_turn_delay", kind: "scalar", T: 1, opt: true },
|
|
21
|
+
{ no: 5, name: "on_user_turn_completed_delay", kind: "scalar", T: 1, opt: true },
|
|
22
|
+
{ no: 6, name: "llm_node_ttft", kind: "scalar", T: 1, opt: true },
|
|
23
|
+
{ no: 7, name: "tts_node_ttfb", kind: "scalar", T: 1, opt: true },
|
|
24
|
+
{ no: 8, name: "e2e_latency", kind: "scalar", T: 1, opt: true }
|
|
25
|
+
]
|
|
26
|
+
);
|
|
27
|
+
const ChatMessage$1 = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
28
|
+
"livekit.agent.ChatMessage",
|
|
29
|
+
() => [
|
|
30
|
+
{
|
|
31
|
+
no: 1,
|
|
32
|
+
name: "id",
|
|
33
|
+
kind: "scalar",
|
|
34
|
+
T: 9
|
|
35
|
+
/* ScalarType.STRING */
|
|
36
|
+
},
|
|
37
|
+
{ no: 2, name: "role", kind: "enum", T: protobuf.proto3.getEnumType(ChatRole) },
|
|
38
|
+
{ no: 3, name: "content", kind: "message", T: ChatMessage_ChatContent, repeated: true },
|
|
39
|
+
{
|
|
40
|
+
no: 4,
|
|
41
|
+
name: "interrupted",
|
|
42
|
+
kind: "scalar",
|
|
43
|
+
T: 8
|
|
44
|
+
/* ScalarType.BOOL */
|
|
45
|
+
},
|
|
46
|
+
{ no: 5, name: "transcript_confidence", kind: "scalar", T: 1, opt: true },
|
|
47
|
+
{ no: 6, name: "extra", kind: "map", K: 9, V: {
|
|
48
|
+
kind: "scalar",
|
|
49
|
+
T: 9
|
|
50
|
+
/* ScalarType.STRING */
|
|
51
|
+
} },
|
|
52
|
+
{ no: 7, name: "metrics", kind: "message", T: MetricsReport },
|
|
53
|
+
{ no: 8, name: "created_at", kind: "message", T: protobuf.Timestamp }
|
|
54
|
+
]
|
|
55
|
+
);
|
|
56
|
+
const ChatMessage_ChatContent = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
57
|
+
"livekit.agent.ChatMessage.ChatContent",
|
|
58
|
+
() => [
|
|
59
|
+
{ no: 1, name: "text", kind: "scalar", T: 9, oneof: "payload" }
|
|
60
|
+
],
|
|
61
|
+
{ localName: "ChatMessage_ChatContent" }
|
|
62
|
+
);
|
|
63
|
+
const FunctionCall = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
64
|
+
"livekit.agent.FunctionCall",
|
|
65
|
+
() => [
|
|
66
|
+
{
|
|
67
|
+
no: 1,
|
|
68
|
+
name: "id",
|
|
69
|
+
kind: "scalar",
|
|
70
|
+
T: 9
|
|
71
|
+
/* ScalarType.STRING */
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
no: 2,
|
|
75
|
+
name: "call_id",
|
|
76
|
+
kind: "scalar",
|
|
77
|
+
T: 9
|
|
78
|
+
/* ScalarType.STRING */
|
|
79
|
+
},
|
|
80
|
+
{
|
|
81
|
+
no: 3,
|
|
82
|
+
name: "arguments",
|
|
83
|
+
kind: "scalar",
|
|
84
|
+
T: 9
|
|
85
|
+
/* ScalarType.STRING */
|
|
86
|
+
},
|
|
87
|
+
{
|
|
88
|
+
no: 4,
|
|
89
|
+
name: "name",
|
|
90
|
+
kind: "scalar",
|
|
91
|
+
T: 9
|
|
92
|
+
/* ScalarType.STRING */
|
|
93
|
+
},
|
|
94
|
+
{ no: 5, name: "created_at", kind: "message", T: protobuf.Timestamp }
|
|
95
|
+
]
|
|
96
|
+
);
|
|
97
|
+
const FunctionCallOutput = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
98
|
+
"livekit.agent.FunctionCallOutput",
|
|
99
|
+
() => [
|
|
100
|
+
{
|
|
101
|
+
no: 1,
|
|
102
|
+
name: "id",
|
|
103
|
+
kind: "scalar",
|
|
104
|
+
T: 9
|
|
105
|
+
/* ScalarType.STRING */
|
|
106
|
+
},
|
|
107
|
+
{
|
|
108
|
+
no: 2,
|
|
109
|
+
name: "name",
|
|
110
|
+
kind: "scalar",
|
|
111
|
+
T: 9
|
|
112
|
+
/* ScalarType.STRING */
|
|
113
|
+
},
|
|
114
|
+
{
|
|
115
|
+
no: 3,
|
|
116
|
+
name: "call_id",
|
|
117
|
+
kind: "scalar",
|
|
118
|
+
T: 9
|
|
119
|
+
/* ScalarType.STRING */
|
|
120
|
+
},
|
|
121
|
+
{
|
|
122
|
+
no: 4,
|
|
123
|
+
name: "output",
|
|
124
|
+
kind: "scalar",
|
|
125
|
+
T: 9
|
|
126
|
+
/* ScalarType.STRING */
|
|
127
|
+
},
|
|
128
|
+
{
|
|
129
|
+
no: 5,
|
|
130
|
+
name: "is_error",
|
|
131
|
+
kind: "scalar",
|
|
132
|
+
T: 8
|
|
133
|
+
/* ScalarType.BOOL */
|
|
134
|
+
},
|
|
135
|
+
{ no: 6, name: "created_at", kind: "message", T: protobuf.Timestamp }
|
|
136
|
+
]
|
|
137
|
+
);
|
|
138
|
+
const AgentHandoff = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
139
|
+
"livekit.agent.AgentHandoff",
|
|
140
|
+
() => [
|
|
141
|
+
{
|
|
142
|
+
no: 1,
|
|
143
|
+
name: "id",
|
|
144
|
+
kind: "scalar",
|
|
145
|
+
T: 9
|
|
146
|
+
/* ScalarType.STRING */
|
|
147
|
+
},
|
|
148
|
+
{ no: 2, name: "old_agent_id", kind: "scalar", T: 9, opt: true },
|
|
149
|
+
{
|
|
150
|
+
no: 3,
|
|
151
|
+
name: "new_agent_id",
|
|
152
|
+
kind: "scalar",
|
|
153
|
+
T: 9
|
|
154
|
+
/* ScalarType.STRING */
|
|
155
|
+
},
|
|
156
|
+
{ no: 4, name: "created_at", kind: "message", T: protobuf.Timestamp }
|
|
157
|
+
]
|
|
158
|
+
);
|
|
159
|
+
const ChatContext = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
160
|
+
"livekit.agent.ChatContext",
|
|
161
|
+
() => [
|
|
162
|
+
{ no: 1, name: "items", kind: "message", T: ChatContext_ChatItem, repeated: true }
|
|
163
|
+
]
|
|
164
|
+
);
|
|
165
|
+
const ChatContext_ChatItem = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
166
|
+
"livekit.agent.ChatContext.ChatItem",
|
|
167
|
+
() => [
|
|
168
|
+
{ no: 1, name: "message", kind: "message", T: ChatMessage$1, oneof: "item" },
|
|
169
|
+
{ no: 2, name: "function_call", kind: "message", T: FunctionCall, oneof: "item" },
|
|
170
|
+
{ no: 3, name: "function_call_output", kind: "message", T: FunctionCallOutput, oneof: "item" },
|
|
171
|
+
{ no: 4, name: "agent_handoff", kind: "message", T: AgentHandoff, oneof: "item" }
|
|
172
|
+
],
|
|
173
|
+
{ localName: "ChatContext_ChatItem" }
|
|
174
|
+
);
|
|
175
|
+
|
|
176
|
+
const livekit_agent_session_pb = {
|
|
177
|
+
__proto__: null,
|
|
178
|
+
AgentHandoff: AgentHandoff,
|
|
179
|
+
ChatContext: ChatContext,
|
|
180
|
+
ChatContext_ChatItem: ChatContext_ChatItem,
|
|
181
|
+
ChatMessage: ChatMessage$1,
|
|
182
|
+
ChatMessage_ChatContent: ChatMessage_ChatContent,
|
|
183
|
+
ChatRole: ChatRole,
|
|
184
|
+
FunctionCall: FunctionCall,
|
|
185
|
+
FunctionCallOutput: FunctionCallOutput,
|
|
186
|
+
MetricsReport: MetricsReport
|
|
187
|
+
};
|
|
188
|
+
|
|
5
189
|
const MetricLabel = /* @__PURE__ */ protobuf.proto3.makeEnum(
|
|
6
190
|
"livekit.MetricLabel",
|
|
7
191
|
[
|
|
@@ -165,7 +349,12 @@ const MetricsRecordingHeader = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
|
165
349
|
T: 4
|
|
166
350
|
/* ScalarType.UINT64 */
|
|
167
351
|
},
|
|
168
|
-
{ no: 4, name: "start_time", kind: "message", T: protobuf.Timestamp }
|
|
352
|
+
{ no: 4, name: "start_time", kind: "message", T: protobuf.Timestamp },
|
|
353
|
+
{ no: 5, name: "room_tags", kind: "map", K: 9, V: {
|
|
354
|
+
kind: "scalar",
|
|
355
|
+
T: 9
|
|
356
|
+
/* ScalarType.STRING */
|
|
357
|
+
} }
|
|
169
358
|
]
|
|
170
359
|
);
|
|
171
360
|
|
|
@@ -221,6 +410,13 @@ const TrackSource = /* @__PURE__ */ protobuf.proto3.makeEnum(
|
|
|
221
410
|
{ no: 4, name: "SCREEN_SHARE_AUDIO" }
|
|
222
411
|
]
|
|
223
412
|
);
|
|
413
|
+
const DataTrackExtensionID = /* @__PURE__ */ protobuf.proto3.makeEnum(
|
|
414
|
+
"livekit.DataTrackExtensionID",
|
|
415
|
+
[
|
|
416
|
+
{ no: 0, name: "DTEI_INVALID" },
|
|
417
|
+
{ no: 1, name: "DTEI_PARTICIPANT_SID" }
|
|
418
|
+
]
|
|
419
|
+
);
|
|
224
420
|
const VideoQuality = /* @__PURE__ */ protobuf.proto3.makeEnum(
|
|
225
421
|
"livekit.VideoQuality",
|
|
226
422
|
[
|
|
@@ -618,7 +814,8 @@ const ParticipantInfo = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
|
618
814
|
/* ScalarType.STRING */
|
|
619
815
|
} },
|
|
620
816
|
{ no: 16, name: "disconnect_reason", kind: "enum", T: protobuf.proto3.getEnumType(DisconnectReason) },
|
|
621
|
-
{ no: 18, name: "kind_details", kind: "enum", T: protobuf.proto3.getEnumType(ParticipantInfo_KindDetail), repeated: true }
|
|
817
|
+
{ no: 18, name: "kind_details", kind: "enum", T: protobuf.proto3.getEnumType(ParticipantInfo_KindDetail), repeated: true },
|
|
818
|
+
{ no: 19, name: "data_tracks", kind: "message", T: DataTrackInfo, repeated: true }
|
|
622
819
|
]
|
|
623
820
|
);
|
|
624
821
|
const ParticipantInfo_State = /* @__PURE__ */ protobuf.proto3.makeEnum(
|
|
@@ -794,6 +991,52 @@ const TrackInfo = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
|
794
991
|
{ no: 20, name: "backup_codec_policy", kind: "enum", T: protobuf.proto3.getEnumType(BackupCodecPolicy) }
|
|
795
992
|
]
|
|
796
993
|
);
|
|
994
|
+
const DataTrackInfo = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
995
|
+
"livekit.DataTrackInfo",
|
|
996
|
+
() => [
|
|
997
|
+
{
|
|
998
|
+
no: 1,
|
|
999
|
+
name: "pub_handle",
|
|
1000
|
+
kind: "scalar",
|
|
1001
|
+
T: 13
|
|
1002
|
+
/* ScalarType.UINT32 */
|
|
1003
|
+
},
|
|
1004
|
+
{
|
|
1005
|
+
no: 2,
|
|
1006
|
+
name: "sid",
|
|
1007
|
+
kind: "scalar",
|
|
1008
|
+
T: 9
|
|
1009
|
+
/* ScalarType.STRING */
|
|
1010
|
+
},
|
|
1011
|
+
{
|
|
1012
|
+
no: 3,
|
|
1013
|
+
name: "name",
|
|
1014
|
+
kind: "scalar",
|
|
1015
|
+
T: 9
|
|
1016
|
+
/* ScalarType.STRING */
|
|
1017
|
+
},
|
|
1018
|
+
{ no: 4, name: "encryption", kind: "enum", T: protobuf.proto3.getEnumType(Encryption_Type) }
|
|
1019
|
+
]
|
|
1020
|
+
);
|
|
1021
|
+
const DataTrackExtensionParticipantSid = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
1022
|
+
"livekit.DataTrackExtensionParticipantSid",
|
|
1023
|
+
() => [
|
|
1024
|
+
{ no: 1, name: "id", kind: "enum", T: protobuf.proto3.getEnumType(DataTrackExtensionID) },
|
|
1025
|
+
{
|
|
1026
|
+
no: 2,
|
|
1027
|
+
name: "participant_sid",
|
|
1028
|
+
kind: "scalar",
|
|
1029
|
+
T: 9
|
|
1030
|
+
/* ScalarType.STRING */
|
|
1031
|
+
}
|
|
1032
|
+
]
|
|
1033
|
+
);
|
|
1034
|
+
const DataTrackSubscriptionOptions = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
1035
|
+
"livekit.DataTrackSubscriptionOptions",
|
|
1036
|
+
() => [
|
|
1037
|
+
{ no: 1, name: "target_fps", kind: "scalar", T: 13, opt: true }
|
|
1038
|
+
]
|
|
1039
|
+
);
|
|
797
1040
|
const VideoLayer = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
798
1041
|
"livekit.VideoLayer",
|
|
799
1042
|
() => [
|
|
@@ -2791,7 +3034,10 @@ const SignalRequest = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
|
2791
3034
|
{ no: 15, name: "update_metadata", kind: "message", T: UpdateParticipantMetadata, oneof: "message" },
|
|
2792
3035
|
{ no: 16, name: "ping_req", kind: "message", T: Ping, oneof: "message" },
|
|
2793
3036
|
{ no: 17, name: "update_audio_track", kind: "message", T: UpdateLocalAudioTrack, oneof: "message" },
|
|
2794
|
-
{ no: 18, name: "update_video_track", kind: "message", T: UpdateLocalVideoTrack, oneof: "message" }
|
|
3037
|
+
{ no: 18, name: "update_video_track", kind: "message", T: UpdateLocalVideoTrack, oneof: "message" },
|
|
3038
|
+
{ no: 19, name: "publish_data_track_request", kind: "message", T: PublishDataTrackRequest, oneof: "message" },
|
|
3039
|
+
{ no: 20, name: "unpublish_data_track_request", kind: "message", T: UnpublishDataTrackRequest, oneof: "message" },
|
|
3040
|
+
{ no: 21, name: "update_data_subscription", kind: "message", T: UpdateDataSubscription, oneof: "message" }
|
|
2795
3041
|
]
|
|
2796
3042
|
);
|
|
2797
3043
|
const SignalResponse = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
@@ -2821,7 +3067,10 @@ const SignalResponse = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
|
2821
3067
|
{ no: 23, name: "track_subscribed", kind: "message", T: TrackSubscribed, oneof: "message" },
|
|
2822
3068
|
{ no: 24, name: "room_moved", kind: "message", T: RoomMovedResponse, oneof: "message" },
|
|
2823
3069
|
{ no: 25, name: "media_sections_requirement", kind: "message", T: MediaSectionsRequirement, oneof: "message" },
|
|
2824
|
-
{ no: 26, name: "subscribed_audio_codec_update", kind: "message", T: SubscribedAudioCodecUpdate, oneof: "message" }
|
|
3070
|
+
{ no: 26, name: "subscribed_audio_codec_update", kind: "message", T: SubscribedAudioCodecUpdate, oneof: "message" },
|
|
3071
|
+
{ no: 27, name: "publish_data_track_response", kind: "message", T: PublishDataTrackResponse, oneof: "message" },
|
|
3072
|
+
{ no: 28, name: "unpublish_data_track_response", kind: "message", T: UnpublishDataTrackResponse, oneof: "message" },
|
|
3073
|
+
{ no: 29, name: "data_track_subscriber_handles", kind: "message", T: DataTrackSubscriberHandles, oneof: "message" }
|
|
2825
3074
|
]
|
|
2826
3075
|
);
|
|
2827
3076
|
const SimulcastCodec = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
@@ -2927,6 +3176,83 @@ const AddTrackRequest = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
|
2927
3176
|
{ no: 17, name: "audio_features", kind: "enum", T: protobuf.proto3.getEnumType(AudioTrackFeature), repeated: true }
|
|
2928
3177
|
]
|
|
2929
3178
|
);
|
|
3179
|
+
const PublishDataTrackRequest = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
3180
|
+
"livekit.PublishDataTrackRequest",
|
|
3181
|
+
() => [
|
|
3182
|
+
{
|
|
3183
|
+
no: 1,
|
|
3184
|
+
name: "pub_handle",
|
|
3185
|
+
kind: "scalar",
|
|
3186
|
+
T: 13
|
|
3187
|
+
/* ScalarType.UINT32 */
|
|
3188
|
+
},
|
|
3189
|
+
{
|
|
3190
|
+
no: 2,
|
|
3191
|
+
name: "name",
|
|
3192
|
+
kind: "scalar",
|
|
3193
|
+
T: 9
|
|
3194
|
+
/* ScalarType.STRING */
|
|
3195
|
+
},
|
|
3196
|
+
{ no: 3, name: "encryption", kind: "enum", T: protobuf.proto3.getEnumType(Encryption_Type) }
|
|
3197
|
+
]
|
|
3198
|
+
);
|
|
3199
|
+
const PublishDataTrackResponse = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
3200
|
+
"livekit.PublishDataTrackResponse",
|
|
3201
|
+
() => [
|
|
3202
|
+
{ no: 1, name: "info", kind: "message", T: DataTrackInfo }
|
|
3203
|
+
]
|
|
3204
|
+
);
|
|
3205
|
+
const UnpublishDataTrackRequest = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
3206
|
+
"livekit.UnpublishDataTrackRequest",
|
|
3207
|
+
() => [
|
|
3208
|
+
{
|
|
3209
|
+
no: 1,
|
|
3210
|
+
name: "pub_handle",
|
|
3211
|
+
kind: "scalar",
|
|
3212
|
+
T: 13
|
|
3213
|
+
/* ScalarType.UINT32 */
|
|
3214
|
+
}
|
|
3215
|
+
]
|
|
3216
|
+
);
|
|
3217
|
+
const UnpublishDataTrackResponse = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
3218
|
+
"livekit.UnpublishDataTrackResponse",
|
|
3219
|
+
() => [
|
|
3220
|
+
{ no: 1, name: "info", kind: "message", T: DataTrackInfo }
|
|
3221
|
+
]
|
|
3222
|
+
);
|
|
3223
|
+
const DataTrackSubscriberHandles = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
3224
|
+
"livekit.DataTrackSubscriberHandles",
|
|
3225
|
+
() => [
|
|
3226
|
+
{ no: 1, name: "sub_handles", kind: "map", K: 13, V: { kind: "message", T: DataTrackSubscriberHandles_PublishedDataTrack } }
|
|
3227
|
+
]
|
|
3228
|
+
);
|
|
3229
|
+
const DataTrackSubscriberHandles_PublishedDataTrack = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
3230
|
+
"livekit.DataTrackSubscriberHandles.PublishedDataTrack",
|
|
3231
|
+
() => [
|
|
3232
|
+
{
|
|
3233
|
+
no: 1,
|
|
3234
|
+
name: "publisher_identity",
|
|
3235
|
+
kind: "scalar",
|
|
3236
|
+
T: 9
|
|
3237
|
+
/* ScalarType.STRING */
|
|
3238
|
+
},
|
|
3239
|
+
{
|
|
3240
|
+
no: 2,
|
|
3241
|
+
name: "publisher_sid",
|
|
3242
|
+
kind: "scalar",
|
|
3243
|
+
T: 9
|
|
3244
|
+
/* ScalarType.STRING */
|
|
3245
|
+
},
|
|
3246
|
+
{
|
|
3247
|
+
no: 3,
|
|
3248
|
+
name: "track_sid",
|
|
3249
|
+
kind: "scalar",
|
|
3250
|
+
T: 9
|
|
3251
|
+
/* ScalarType.STRING */
|
|
3252
|
+
}
|
|
3253
|
+
],
|
|
3254
|
+
{ localName: "DataTrackSubscriberHandles_PublishedDataTrack" }
|
|
3255
|
+
);
|
|
2930
3256
|
const TrickleRequest = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
2931
3257
|
"livekit.TrickleRequest",
|
|
2932
3258
|
() => [
|
|
@@ -3125,6 +3451,33 @@ const UpdateSubscription = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
|
3125
3451
|
{ no: 3, name: "participant_tracks", kind: "message", T: ParticipantTracks, repeated: true }
|
|
3126
3452
|
]
|
|
3127
3453
|
);
|
|
3454
|
+
const UpdateDataSubscription = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
3455
|
+
"livekit.UpdateDataSubscription",
|
|
3456
|
+
() => [
|
|
3457
|
+
{ no: 1, name: "updates", kind: "message", T: UpdateDataSubscription_Update, repeated: true }
|
|
3458
|
+
]
|
|
3459
|
+
);
|
|
3460
|
+
const UpdateDataSubscription_Update = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
3461
|
+
"livekit.UpdateDataSubscription.Update",
|
|
3462
|
+
() => [
|
|
3463
|
+
{
|
|
3464
|
+
no: 1,
|
|
3465
|
+
name: "track_sid",
|
|
3466
|
+
kind: "scalar",
|
|
3467
|
+
T: 9
|
|
3468
|
+
/* ScalarType.STRING */
|
|
3469
|
+
},
|
|
3470
|
+
{
|
|
3471
|
+
no: 2,
|
|
3472
|
+
name: "subscribe",
|
|
3473
|
+
kind: "scalar",
|
|
3474
|
+
T: 8
|
|
3475
|
+
/* ScalarType.BOOL */
|
|
3476
|
+
},
|
|
3477
|
+
{ no: 3, name: "options", kind: "message", T: DataTrackSubscriptionOptions }
|
|
3478
|
+
],
|
|
3479
|
+
{ localName: "UpdateDataSubscription_Update" }
|
|
3480
|
+
);
|
|
3128
3481
|
const UpdateTrackSettings = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
3129
3482
|
"livekit.UpdateTrackSettings",
|
|
3130
3483
|
() => [
|
|
@@ -3500,7 +3853,8 @@ const SyncState = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
|
3500
3853
|
{ no: 4, name: "data_channels", kind: "message", T: DataChannelInfo, repeated: true },
|
|
3501
3854
|
{ no: 5, name: "offer", kind: "message", T: SessionDescription },
|
|
3502
3855
|
{ no: 6, name: "track_sids_disabled", kind: "scalar", T: 9, repeated: true },
|
|
3503
|
-
{ no: 7, name: "datachannel_receive_states", kind: "message", T: DataChannelReceiveState, repeated: true }
|
|
3856
|
+
{ no: 7, name: "datachannel_receive_states", kind: "message", T: DataChannelReceiveState, repeated: true },
|
|
3857
|
+
{ no: 8, name: "publish_data_tracks", kind: "message", T: PublishDataTrackResponse, repeated: true }
|
|
3504
3858
|
]
|
|
3505
3859
|
);
|
|
3506
3860
|
const DataChannelReceiveState = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
@@ -3662,7 +4016,9 @@ const RequestResponse = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
|
3662
4016
|
{ no: 6, name: "mute", kind: "message", T: MuteTrackRequest, oneof: "request" },
|
|
3663
4017
|
{ no: 7, name: "update_metadata", kind: "message", T: UpdateParticipantMetadata, oneof: "request" },
|
|
3664
4018
|
{ no: 8, name: "update_audio_track", kind: "message", T: UpdateLocalAudioTrack, oneof: "request" },
|
|
3665
|
-
{ no: 9, name: "update_video_track", kind: "message", T: UpdateLocalVideoTrack, oneof: "request" }
|
|
4019
|
+
{ no: 9, name: "update_video_track", kind: "message", T: UpdateLocalVideoTrack, oneof: "request" },
|
|
4020
|
+
{ no: 10, name: "publish_data_track", kind: "message", T: PublishDataTrackRequest, oneof: "request" },
|
|
4021
|
+
{ no: 11, name: "unpublish_data_track", kind: "message", T: UnpublishDataTrackRequest, oneof: "request" }
|
|
3666
4022
|
]
|
|
3667
4023
|
);
|
|
3668
4024
|
const RequestResponse_Reason = /* @__PURE__ */ protobuf.proto3.makeEnum(
|
|
@@ -3674,7 +4030,11 @@ const RequestResponse_Reason = /* @__PURE__ */ protobuf.proto3.makeEnum(
|
|
|
3674
4030
|
{ no: 3, name: "LIMIT_EXCEEDED" },
|
|
3675
4031
|
{ no: 4, name: "QUEUED" },
|
|
3676
4032
|
{ no: 5, name: "UNSUPPORTED_TYPE" },
|
|
3677
|
-
{ no: 6, name: "UNCLASSIFIED_ERROR" }
|
|
4033
|
+
{ no: 6, name: "UNCLASSIFIED_ERROR" },
|
|
4034
|
+
{ no: 7, name: "INVALID_HANDLE" },
|
|
4035
|
+
{ no: 8, name: "INVALID_NAME" },
|
|
4036
|
+
{ no: 9, name: "DUPLICATE_HANDLE" },
|
|
4037
|
+
{ no: 10, name: "DUPLICATE_NAME" }
|
|
3678
4038
|
]
|
|
3679
4039
|
);
|
|
3680
4040
|
const TrackSubscribed = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
@@ -7536,7 +7896,7 @@ const WebhookEvent = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
|
7536
7896
|
]
|
|
7537
7897
|
);
|
|
7538
7898
|
|
|
7539
|
-
const version = "1.43.
|
|
7899
|
+
const version = "1.43.4";
|
|
7540
7900
|
|
|
7541
7901
|
exports.protoInt64 = protobuf.protoInt64;
|
|
7542
7902
|
exports.AcceptWhatsAppCallRequest = AcceptWhatsAppCallRequest;
|
|
@@ -7545,6 +7905,7 @@ exports.ActiveSpeakerUpdate = ActiveSpeakerUpdate;
|
|
|
7545
7905
|
exports.AddTrackRequest = AddTrackRequest;
|
|
7546
7906
|
exports.AgentDispatch = AgentDispatch;
|
|
7547
7907
|
exports.AgentDispatchState = AgentDispatchState;
|
|
7908
|
+
exports.AgentSession = livekit_agent_session_pb;
|
|
7548
7909
|
exports.AliOSSUpload = AliOSSUpload;
|
|
7549
7910
|
exports.AudioCodec = AudioCodec;
|
|
7550
7911
|
exports.AudioMixing = AudioMixing;
|
|
@@ -7591,6 +7952,12 @@ exports.DataStream_Header = DataStream_Header;
|
|
|
7591
7952
|
exports.DataStream_OperationType = DataStream_OperationType;
|
|
7592
7953
|
exports.DataStream_TextHeader = DataStream_TextHeader;
|
|
7593
7954
|
exports.DataStream_Trailer = DataStream_Trailer;
|
|
7955
|
+
exports.DataTrackExtensionID = DataTrackExtensionID;
|
|
7956
|
+
exports.DataTrackExtensionParticipantSid = DataTrackExtensionParticipantSid;
|
|
7957
|
+
exports.DataTrackInfo = DataTrackInfo;
|
|
7958
|
+
exports.DataTrackSubscriberHandles = DataTrackSubscriberHandles;
|
|
7959
|
+
exports.DataTrackSubscriberHandles_PublishedDataTrack = DataTrackSubscriberHandles_PublishedDataTrack;
|
|
7960
|
+
exports.DataTrackSubscriptionOptions = DataTrackSubscriptionOptions;
|
|
7594
7961
|
exports.DeleteAgentDispatchRequest = DeleteAgentDispatchRequest;
|
|
7595
7962
|
exports.DeleteIngressRequest = DeleteIngressRequest;
|
|
7596
7963
|
exports.DeleteRoomRequest = DeleteRoomRequest;
|
|
@@ -7700,6 +8067,8 @@ exports.Pong = Pong;
|
|
|
7700
8067
|
exports.ProviderInfo = ProviderInfo;
|
|
7701
8068
|
exports.ProviderType = ProviderType;
|
|
7702
8069
|
exports.ProxyConfig = ProxyConfig;
|
|
8070
|
+
exports.PublishDataTrackRequest = PublishDataTrackRequest;
|
|
8071
|
+
exports.PublishDataTrackResponse = PublishDataTrackResponse;
|
|
7703
8072
|
exports.RTCPSenderReportState = RTCPSenderReportState;
|
|
7704
8073
|
exports.RTPDrift = RTPDrift;
|
|
7705
8074
|
exports.RTPForwarderState = RTPForwarderState;
|
|
@@ -7811,6 +8180,10 @@ exports.Transcription = Transcription;
|
|
|
7811
8180
|
exports.TranscriptionSegment = TranscriptionSegment;
|
|
7812
8181
|
exports.TransferSIPParticipantRequest = TransferSIPParticipantRequest;
|
|
7813
8182
|
exports.TrickleRequest = TrickleRequest;
|
|
8183
|
+
exports.UnpublishDataTrackRequest = UnpublishDataTrackRequest;
|
|
8184
|
+
exports.UnpublishDataTrackResponse = UnpublishDataTrackResponse;
|
|
8185
|
+
exports.UpdateDataSubscription = UpdateDataSubscription;
|
|
8186
|
+
exports.UpdateDataSubscription_Update = UpdateDataSubscription_Update;
|
|
7814
8187
|
exports.UpdateIngressRequest = UpdateIngressRequest;
|
|
7815
8188
|
exports.UpdateJobStatus = UpdateJobStatus;
|
|
7816
8189
|
exports.UpdateLayoutRequest = UpdateLayoutRequest;
|