@livekit/protocol 1.32.1 → 1.33.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@livekit/protocol",
3
- "version": "1.32.1",
3
+ "version": "1.33.0",
4
4
  "description": "",
5
5
  "type": "module",
6
6
  "require": "dist/index.cjs",
@@ -28,7 +28,7 @@
28
28
  "devDependencies": {
29
29
  "@bufbuild/protoc-gen-es": "^1.10.0",
30
30
  "genversion": "^3.2.0",
31
- "typescript": "5.5.4",
31
+ "typescript": "5.7.3",
32
32
  "unbuild": "^2.0.0"
33
33
  },
34
34
  "dependencies": {
@@ -232,6 +232,11 @@ export declare enum AnalyticsEventType {
232
232
  * @generated from enum value: SIP_CALL_ENDED = 39;
233
233
  */
234
234
  SIP_CALL_ENDED = 39,
235
+
236
+ /**
237
+ * @generated from enum value: REPORT = 40;
238
+ */
239
+ REPORT = 40,
235
240
  }
236
241
 
237
242
  /**
@@ -721,6 +726,11 @@ export declare class AnalyticsEvent extends Message<AnalyticsEvent> {
721
726
  */
722
727
  sipDispatchRule?: SIPDispatchRuleInfo;
723
728
 
729
+ /**
730
+ * @generated from field: livekit.ReportInfo report = 33;
731
+ */
732
+ report?: ReportInfo;
733
+
724
734
  constructor(data?: PartialMessage<AnalyticsEvent>);
725
735
 
726
736
  static readonly runtime: typeof proto3;
@@ -887,3 +897,140 @@ export declare class AnalyticsNodeRooms extends Message<AnalyticsNodeRooms> {
887
897
  static equals(a: AnalyticsNodeRooms | PlainMessage<AnalyticsNodeRooms> | undefined, b: AnalyticsNodeRooms | PlainMessage<AnalyticsNodeRooms> | undefined): boolean;
888
898
  }
889
899
 
900
+ /**
901
+ * @generated from message livekit.ReportInfo
902
+ */
903
+ export declare class ReportInfo extends Message<ReportInfo> {
904
+ /**
905
+ * @generated from oneof livekit.ReportInfo.message
906
+ */
907
+ message: {
908
+ /**
909
+ * @generated from field: livekit.FeatureUsageInfo feature_usage = 1;
910
+ */
911
+ value: FeatureUsageInfo;
912
+ case: "featureUsage";
913
+ } | { case: undefined; value?: undefined };
914
+
915
+ constructor(data?: PartialMessage<ReportInfo>);
916
+
917
+ static readonly runtime: typeof proto3;
918
+ static readonly typeName = "livekit.ReportInfo";
919
+ static readonly fields: FieldList;
920
+
921
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ReportInfo;
922
+
923
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ReportInfo;
924
+
925
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ReportInfo;
926
+
927
+ static equals(a: ReportInfo | PlainMessage<ReportInfo> | undefined, b: ReportInfo | PlainMessage<ReportInfo> | undefined): boolean;
928
+ }
929
+
930
+ /**
931
+ * @generated from message livekit.TimeRange
932
+ */
933
+ export declare class TimeRange extends Message<TimeRange> {
934
+ /**
935
+ * @generated from field: google.protobuf.Timestamp started_at = 1;
936
+ */
937
+ startedAt?: Timestamp;
938
+
939
+ /**
940
+ * @generated from field: google.protobuf.Timestamp ended_at = 2;
941
+ */
942
+ endedAt?: Timestamp;
943
+
944
+ constructor(data?: PartialMessage<TimeRange>);
945
+
946
+ static readonly runtime: typeof proto3;
947
+ static readonly typeName = "livekit.TimeRange";
948
+ static readonly fields: FieldList;
949
+
950
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): TimeRange;
951
+
952
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): TimeRange;
953
+
954
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): TimeRange;
955
+
956
+ static equals(a: TimeRange | PlainMessage<TimeRange> | undefined, b: TimeRange | PlainMessage<TimeRange> | undefined): boolean;
957
+ }
958
+
959
+ /**
960
+ * @generated from message livekit.FeatureUsageInfo
961
+ */
962
+ export declare class FeatureUsageInfo extends Message<FeatureUsageInfo> {
963
+ /**
964
+ * @generated from field: livekit.FeatureUsageInfo.Feature feature = 1;
965
+ */
966
+ feature: FeatureUsageInfo_Feature;
967
+
968
+ /**
969
+ * @generated from field: string project_id = 2;
970
+ */
971
+ projectId: string;
972
+
973
+ /**
974
+ * @generated from field: string room_name = 3;
975
+ */
976
+ roomName: string;
977
+
978
+ /**
979
+ * @generated from field: string room_id = 4;
980
+ */
981
+ roomId: string;
982
+
983
+ /**
984
+ * @generated from field: string participant_identity = 5;
985
+ */
986
+ participantIdentity: string;
987
+
988
+ /**
989
+ * @generated from field: string participant_id = 6;
990
+ */
991
+ participantId: string;
992
+
993
+ /**
994
+ * @generated from field: string track_id = 7;
995
+ */
996
+ trackId: string;
997
+
998
+ /**
999
+ * time ranges during which the feature was enabled.
1000
+ * for e. g., noise cancellation may not be applied when a media track is paused/muted,
1001
+ * this allows reporting only periods during which a feature is avtive.
1002
+ *
1003
+ * @generated from field: repeated livekit.TimeRange time_ranges = 8;
1004
+ */
1005
+ timeRanges: TimeRange[];
1006
+
1007
+ constructor(data?: PartialMessage<FeatureUsageInfo>);
1008
+
1009
+ static readonly runtime: typeof proto3;
1010
+ static readonly typeName = "livekit.FeatureUsageInfo";
1011
+ static readonly fields: FieldList;
1012
+
1013
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): FeatureUsageInfo;
1014
+
1015
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): FeatureUsageInfo;
1016
+
1017
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): FeatureUsageInfo;
1018
+
1019
+ static equals(a: FeatureUsageInfo | PlainMessage<FeatureUsageInfo> | undefined, b: FeatureUsageInfo | PlainMessage<FeatureUsageInfo> | undefined): boolean;
1020
+ }
1021
+
1022
+ /**
1023
+ * @generated from enum livekit.FeatureUsageInfo.Feature
1024
+ */
1025
+ export declare enum FeatureUsageInfo_Feature {
1026
+ /**
1027
+ * @generated from enum value: KRISP_NOISE_CANCELLATION = 0;
1028
+ */
1029
+ KRISP_NOISE_CANCELLATION = 0,
1030
+
1031
+ /**
1032
+ * @generated from enum value: KRISP_BACKGROUND_VOICE_CANCELLATION = 1;
1033
+ */
1034
+ KRISP_BACKGROUND_VOICE_CANCELLATION = 1,
1035
+ }
1036
+
@@ -78,6 +78,7 @@ export const AnalyticsEventType = /*@__PURE__*/ proto3.makeEnum(
78
78
  {no: 37, name: "SIP_CALL_INCOMING"},
79
79
  {no: 38, name: "SIP_CALL_STARTED"},
80
80
  {no: 39, name: "SIP_CALL_ENDED"},
81
+ {no: 40, name: "REPORT"},
81
82
  ],
82
83
  );
83
84
 
@@ -208,6 +209,7 @@ export const AnalyticsEvent = /*@__PURE__*/ proto3.makeMessageType(
208
209
  { no: 30, name: "sip_outbound_trunk", kind: "message", T: SIPOutboundTrunkInfo },
209
210
  { no: 31, name: "sip_dispatch_rule_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
210
211
  { no: 32, name: "sip_dispatch_rule", kind: "message", T: SIPDispatchRuleInfo },
212
+ { no: 33, name: "report", kind: "message", T: ReportInfo },
211
213
  ],
212
214
  );
213
215
 
@@ -262,3 +264,52 @@ export const AnalyticsNodeRooms = /*@__PURE__*/ proto3.makeMessageType(
262
264
  ],
263
265
  );
264
266
 
267
+ /**
268
+ * @generated from message livekit.ReportInfo
269
+ */
270
+ export const ReportInfo = /*@__PURE__*/ proto3.makeMessageType(
271
+ "livekit.ReportInfo",
272
+ () => [
273
+ { no: 1, name: "feature_usage", kind: "message", T: FeatureUsageInfo, oneof: "message" },
274
+ ],
275
+ );
276
+
277
+ /**
278
+ * @generated from message livekit.TimeRange
279
+ */
280
+ export const TimeRange = /*@__PURE__*/ proto3.makeMessageType(
281
+ "livekit.TimeRange",
282
+ () => [
283
+ { no: 1, name: "started_at", kind: "message", T: Timestamp },
284
+ { no: 2, name: "ended_at", kind: "message", T: Timestamp },
285
+ ],
286
+ );
287
+
288
+ /**
289
+ * @generated from message livekit.FeatureUsageInfo
290
+ */
291
+ export const FeatureUsageInfo = /*@__PURE__*/ proto3.makeMessageType(
292
+ "livekit.FeatureUsageInfo",
293
+ () => [
294
+ { no: 1, name: "feature", kind: "enum", T: proto3.getEnumType(FeatureUsageInfo_Feature) },
295
+ { no: 2, name: "project_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
296
+ { no: 3, name: "room_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
297
+ { no: 4, name: "room_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
298
+ { no: 5, name: "participant_identity", kind: "scalar", T: 9 /* ScalarType.STRING */ },
299
+ { no: 6, name: "participant_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
300
+ { no: 7, name: "track_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
301
+ { no: 8, name: "time_ranges", kind: "message", T: TimeRange, repeated: true },
302
+ ],
303
+ );
304
+
305
+ /**
306
+ * @generated from enum livekit.FeatureUsageInfo.Feature
307
+ */
308
+ export const FeatureUsageInfo_Feature = /*@__PURE__*/ proto3.makeEnum(
309
+ "livekit.FeatureUsageInfo.Feature",
310
+ [
311
+ {no: 0, name: "KRISP_NOISE_CANCELLATION"},
312
+ {no: 1, name: "KRISP_BACKGROUND_VOICE_CANCELLATION"},
313
+ ],
314
+ );
315
+
@@ -86,6 +86,27 @@ export declare enum ImageCodec {
86
86
  IC_JPEG = 1,
87
87
  }
88
88
 
89
+ /**
90
+ * Policy for publisher to handle subscribers that are unable to support the primary codec of a track
91
+ *
92
+ * @generated from enum livekit.BackupCodecPolicy
93
+ */
94
+ export declare enum BackupCodecPolicy {
95
+ /**
96
+ * default behavior, regress to backup codec and all subscribers will receive the backup codec
97
+ *
98
+ * @generated from enum value: REGRESSION = 0;
99
+ */
100
+ REGRESSION = 0,
101
+
102
+ /**
103
+ * encoding/send the primary and backup codec simultaneously
104
+ *
105
+ * @generated from enum value: SIMULCAST = 1;
106
+ */
107
+ SIMULCAST = 1,
108
+ }
109
+
89
110
  /**
90
111
  * @generated from enum livekit.TrackType
91
112
  */
@@ -1027,6 +1048,11 @@ export declare class TrackInfo extends Message<TrackInfo> {
1027
1048
  */
1028
1049
  audioFeatures: AudioTrackFeature[];
1029
1050
 
1051
+ /**
1052
+ * @generated from field: livekit.BackupCodecPolicy backup_codec_policy = 20;
1053
+ */
1054
+ backupCodecPolicy: BackupCodecPolicy;
1055
+
1030
1056
  constructor(data?: PartialMessage<TrackInfo>);
1031
1057
 
1032
1058
  static readonly runtime: typeof proto3;
@@ -57,6 +57,19 @@ export const ImageCodec = /*@__PURE__*/ proto3.makeEnum(
57
57
  ],
58
58
  );
59
59
 
60
+ /**
61
+ * Policy for publisher to handle subscribers that are unable to support the primary codec of a track
62
+ *
63
+ * @generated from enum livekit.BackupCodecPolicy
64
+ */
65
+ export const BackupCodecPolicy = /*@__PURE__*/ proto3.makeEnum(
66
+ "livekit.BackupCodecPolicy",
67
+ [
68
+ {no: 0, name: "REGRESSION"},
69
+ {no: 1, name: "SIMULCAST"},
70
+ ],
71
+ );
72
+
60
73
  /**
61
74
  * @generated from enum livekit.TrackType
62
75
  */
@@ -369,6 +382,7 @@ export const TrackInfo = /*@__PURE__*/ proto3.makeMessageType(
369
382
  { no: 17, name: "stream", kind: "scalar", T: 9 /* ScalarType.STRING */ },
370
383
  { no: 18, name: "version", kind: "message", T: TimedVersion },
371
384
  { no: 19, name: "audio_features", kind: "enum", T: proto3.getEnumType(AudioTrackFeature), repeated: true },
385
+ { no: 20, name: "backup_codec_policy", kind: "enum", T: proto3.getEnumType(BackupCodecPolicy) },
372
386
  ],
373
387
  );
374
388
 
@@ -19,7 +19,7 @@
19
19
 
20
20
  import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf";
21
21
  import { Message, proto3 } from "@bufbuild/protobuf";
22
- import type { AudioTrackFeature, ClientConfiguration, Codec, ConnectionQuality, DisconnectReason, Encryption_Type, ParticipantInfo, ParticipantTracks, Room, ServerInfo, SpeakerInfo, SubscriptionError, TrackInfo, TrackSource, TrackType, VideoLayer, VideoQuality } from "./livekit_models_pb.js";
22
+ import type { AudioTrackFeature, BackupCodecPolicy, ClientConfiguration, Codec, ConnectionQuality, DisconnectReason, Encryption_Type, ParticipantInfo, ParticipantTracks, Room, ServerInfo, SpeakerInfo, SubscriptionError, TrackInfo, TrackSource, TrackType, VideoLayer, VideoQuality } from "./livekit_models_pb.js";
23
23
 
24
24
  /**
25
25
  * @generated from enum livekit.SignalTarget
@@ -555,6 +555,11 @@ export declare class AddTrackRequest extends Message<AddTrackRequest> {
555
555
  */
556
556
  stream: string;
557
557
 
558
+ /**
559
+ * @generated from field: livekit.BackupCodecPolicy backup_codec_policy = 16;
560
+ */
561
+ backupCodecPolicy: BackupCodecPolicy;
562
+
558
563
  constructor(data?: PartialMessage<AddTrackRequest>);
559
564
 
560
565
  static readonly runtime: typeof proto3;
@@ -18,7 +18,7 @@
18
18
  // @ts-nocheck
19
19
 
20
20
  import { proto3 } from "@bufbuild/protobuf";
21
- import { AudioTrackFeature, ClientConfiguration, Codec, ConnectionQuality, DisconnectReason, Encryption_Type, ParticipantInfo, ParticipantTracks, Room, ServerInfo, SpeakerInfo, SubscriptionError, TrackInfo, TrackSource, TrackType, VideoLayer, VideoQuality } from "./livekit_models_pb.js";
21
+ import { AudioTrackFeature, BackupCodecPolicy, ClientConfiguration, Codec, ConnectionQuality, DisconnectReason, Encryption_Type, ParticipantInfo, ParticipantTracks, Room, ServerInfo, SpeakerInfo, SubscriptionError, TrackInfo, TrackSource, TrackType, VideoLayer, VideoQuality } from "./livekit_models_pb.js";
22
22
 
23
23
  /**
24
24
  * @generated from enum livekit.SignalTarget
@@ -143,6 +143,7 @@ export const AddTrackRequest = /*@__PURE__*/ proto3.makeMessageType(
143
143
  { no: 13, name: "disable_red", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
144
144
  { no: 14, name: "encryption", kind: "enum", T: proto3.getEnumType(Encryption_Type) },
145
145
  { no: 15, name: "stream", kind: "scalar", T: 9 /* ScalarType.STRING */ },
146
+ { no: 16, name: "backup_codec_policy", kind: "enum", T: proto3.getEnumType(BackupCodecPolicy) },
146
147
  ],
147
148
  );
148
149
 
@@ -22,6 +22,256 @@ import { Message, proto3 } from "@bufbuild/protobuf";
22
22
  import type { DisconnectReason, Pagination } from "./livekit_models_pb.js";
23
23
  import type { RoomConfiguration } from "./livekit_room_pb.js";
24
24
 
25
+ /**
26
+ * @generated from enum livekit.SIPStatusCode
27
+ */
28
+ export declare enum SIPStatusCode {
29
+ /**
30
+ * @generated from enum value: SIP_STATUS_UNKNOWN = 0;
31
+ */
32
+ SIP_STATUS_UNKNOWN = 0,
33
+
34
+ /**
35
+ * @generated from enum value: SIP_STATUS_TRYING = 100;
36
+ */
37
+ SIP_STATUS_TRYING = 100,
38
+
39
+ /**
40
+ * @generated from enum value: SIP_STATUS_RINGING = 180;
41
+ */
42
+ SIP_STATUS_RINGING = 180,
43
+
44
+ /**
45
+ * @generated from enum value: SIP_STATUS_CALL_IS_FORWARDED = 181;
46
+ */
47
+ SIP_STATUS_CALL_IS_FORWARDED = 181,
48
+
49
+ /**
50
+ * @generated from enum value: SIP_STATUS_QUEUED = 182;
51
+ */
52
+ SIP_STATUS_QUEUED = 182,
53
+
54
+ /**
55
+ * @generated from enum value: SIP_STATUS_SESSION_PROGRESS = 183;
56
+ */
57
+ SIP_STATUS_SESSION_PROGRESS = 183,
58
+
59
+ /**
60
+ * @generated from enum value: SIP_STATUS_OK = 200;
61
+ */
62
+ SIP_STATUS_OK = 200,
63
+
64
+ /**
65
+ * @generated from enum value: SIP_STATUS_ACCEPTED = 202;
66
+ */
67
+ SIP_STATUS_ACCEPTED = 202,
68
+
69
+ /**
70
+ * @generated from enum value: SIP_STATUS_MOVED_PERMANENTLY = 301;
71
+ */
72
+ SIP_STATUS_MOVED_PERMANENTLY = 301,
73
+
74
+ /**
75
+ * @generated from enum value: SIP_STATUS_MOVED_TEMPORARILY = 302;
76
+ */
77
+ SIP_STATUS_MOVED_TEMPORARILY = 302,
78
+
79
+ /**
80
+ * @generated from enum value: SIP_STATUS_USE_PROXY = 305;
81
+ */
82
+ SIP_STATUS_USE_PROXY = 305,
83
+
84
+ /**
85
+ * @generated from enum value: SIP_STATUS_BAD_REQUEST = 400;
86
+ */
87
+ SIP_STATUS_BAD_REQUEST = 400,
88
+
89
+ /**
90
+ * @generated from enum value: SIP_STATUS_UNAUTHORIZED = 401;
91
+ */
92
+ SIP_STATUS_UNAUTHORIZED = 401,
93
+
94
+ /**
95
+ * @generated from enum value: SIP_STATUS_PAYMENT_REQUIRED = 402;
96
+ */
97
+ SIP_STATUS_PAYMENT_REQUIRED = 402,
98
+
99
+ /**
100
+ * @generated from enum value: SIP_STATUS_FORBIDDEN = 403;
101
+ */
102
+ SIP_STATUS_FORBIDDEN = 403,
103
+
104
+ /**
105
+ * @generated from enum value: SIP_STATUS_NOTFOUND = 404;
106
+ */
107
+ SIP_STATUS_NOTFOUND = 404,
108
+
109
+ /**
110
+ * @generated from enum value: SIP_STATUS_METHOD_NOT_ALLOWED = 405;
111
+ */
112
+ SIP_STATUS_METHOD_NOT_ALLOWED = 405,
113
+
114
+ /**
115
+ * @generated from enum value: SIP_STATUS_NOT_ACCEPTABLE = 406;
116
+ */
117
+ SIP_STATUS_NOT_ACCEPTABLE = 406,
118
+
119
+ /**
120
+ * @generated from enum value: SIP_STATUS_PROXY_AUTH_REQUIRED = 407;
121
+ */
122
+ SIP_STATUS_PROXY_AUTH_REQUIRED = 407,
123
+
124
+ /**
125
+ * @generated from enum value: SIP_STATUS_REQUEST_TIMEOUT = 408;
126
+ */
127
+ SIP_STATUS_REQUEST_TIMEOUT = 408,
128
+
129
+ /**
130
+ * @generated from enum value: SIP_STATUS_CONFLICT = 409;
131
+ */
132
+ SIP_STATUS_CONFLICT = 409,
133
+
134
+ /**
135
+ * @generated from enum value: SIP_STATUS_GONE = 410;
136
+ */
137
+ SIP_STATUS_GONE = 410,
138
+
139
+ /**
140
+ * @generated from enum value: SIP_STATUS_REQUEST_ENTITY_TOO_LARGE = 413;
141
+ */
142
+ SIP_STATUS_REQUEST_ENTITY_TOO_LARGE = 413,
143
+
144
+ /**
145
+ * @generated from enum value: SIP_STATUS_REQUEST_URI_TOO_LONG = 414;
146
+ */
147
+ SIP_STATUS_REQUEST_URI_TOO_LONG = 414,
148
+
149
+ /**
150
+ * @generated from enum value: SIP_STATUS_UNSUPPORTED_MEDIA_TYPE = 415;
151
+ */
152
+ SIP_STATUS_UNSUPPORTED_MEDIA_TYPE = 415,
153
+
154
+ /**
155
+ * @generated from enum value: SIP_STATUS_REQUESTED_RANGE_NOT_SATISFIABLE = 416;
156
+ */
157
+ SIP_STATUS_REQUESTED_RANGE_NOT_SATISFIABLE = 416,
158
+
159
+ /**
160
+ * @generated from enum value: SIP_STATUS_BAD_EXTENSION = 420;
161
+ */
162
+ SIP_STATUS_BAD_EXTENSION = 420,
163
+
164
+ /**
165
+ * @generated from enum value: SIP_STATUS_EXTENSION_REQUIRED = 421;
166
+ */
167
+ SIP_STATUS_EXTENSION_REQUIRED = 421,
168
+
169
+ /**
170
+ * @generated from enum value: SIP_STATUS_INTERVAL_TOO_BRIEF = 423;
171
+ */
172
+ SIP_STATUS_INTERVAL_TOO_BRIEF = 423,
173
+
174
+ /**
175
+ * @generated from enum value: SIP_STATUS_TEMPORARILY_UNAVAILABLE = 480;
176
+ */
177
+ SIP_STATUS_TEMPORARILY_UNAVAILABLE = 480,
178
+
179
+ /**
180
+ * @generated from enum value: SIP_STATUS_CALL_TRANSACTION_DOES_NOT_EXISTS = 481;
181
+ */
182
+ SIP_STATUS_CALL_TRANSACTION_DOES_NOT_EXISTS = 481,
183
+
184
+ /**
185
+ * @generated from enum value: SIP_STATUS_LOOP_DETECTED = 482;
186
+ */
187
+ SIP_STATUS_LOOP_DETECTED = 482,
188
+
189
+ /**
190
+ * @generated from enum value: SIP_STATUS_TOO_MANY_HOPS = 483;
191
+ */
192
+ SIP_STATUS_TOO_MANY_HOPS = 483,
193
+
194
+ /**
195
+ * @generated from enum value: SIP_STATUS_ADDRESS_INCOMPLETE = 484;
196
+ */
197
+ SIP_STATUS_ADDRESS_INCOMPLETE = 484,
198
+
199
+ /**
200
+ * @generated from enum value: SIP_STATUS_AMBIGUOUS = 485;
201
+ */
202
+ SIP_STATUS_AMBIGUOUS = 485,
203
+
204
+ /**
205
+ * @generated from enum value: SIP_STATUS_BUSY_HERE = 486;
206
+ */
207
+ SIP_STATUS_BUSY_HERE = 486,
208
+
209
+ /**
210
+ * @generated from enum value: SIP_STATUS_REQUEST_TERMINATED = 487;
211
+ */
212
+ SIP_STATUS_REQUEST_TERMINATED = 487,
213
+
214
+ /**
215
+ * @generated from enum value: SIP_STATUS_NOT_ACCEPTABLE_HERE = 488;
216
+ */
217
+ SIP_STATUS_NOT_ACCEPTABLE_HERE = 488,
218
+
219
+ /**
220
+ * @generated from enum value: SIP_STATUS_INTERNAL_SERVER_ERROR = 500;
221
+ */
222
+ SIP_STATUS_INTERNAL_SERVER_ERROR = 500,
223
+
224
+ /**
225
+ * @generated from enum value: SIP_STATUS_NOT_IMPLEMENTED = 501;
226
+ */
227
+ SIP_STATUS_NOT_IMPLEMENTED = 501,
228
+
229
+ /**
230
+ * @generated from enum value: SIP_STATUS_BAD_GATEWAY = 502;
231
+ */
232
+ SIP_STATUS_BAD_GATEWAY = 502,
233
+
234
+ /**
235
+ * @generated from enum value: SIP_STATUS_SERVICE_UNAVAILABLE = 503;
236
+ */
237
+ SIP_STATUS_SERVICE_UNAVAILABLE = 503,
238
+
239
+ /**
240
+ * @generated from enum value: SIP_STATUS_GATEWAY_TIMEOUT = 504;
241
+ */
242
+ SIP_STATUS_GATEWAY_TIMEOUT = 504,
243
+
244
+ /**
245
+ * @generated from enum value: SIP_STATUS_VERSION_NOT_SUPPORTED = 505;
246
+ */
247
+ SIP_STATUS_VERSION_NOT_SUPPORTED = 505,
248
+
249
+ /**
250
+ * @generated from enum value: SIP_STATUS_MESSAGE_TOO_LARGE = 513;
251
+ */
252
+ SIP_STATUS_MESSAGE_TOO_LARGE = 513,
253
+
254
+ /**
255
+ * @generated from enum value: SIP_STATUS_GLOBAL_BUSY_EVERYWHERE = 600;
256
+ */
257
+ SIP_STATUS_GLOBAL_BUSY_EVERYWHERE = 600,
258
+
259
+ /**
260
+ * @generated from enum value: SIP_STATUS_GLOBAL_DECLINE = 603;
261
+ */
262
+ SIP_STATUS_GLOBAL_DECLINE = 603,
263
+
264
+ /**
265
+ * @generated from enum value: SIP_STATUS_GLOBAL_DOES_NOT_EXIST_ANYWHERE = 604;
266
+ */
267
+ SIP_STATUS_GLOBAL_DOES_NOT_EXIST_ANYWHERE = 604,
268
+
269
+ /**
270
+ * @generated from enum value: SIP_STATUS_GLOBAL_NOT_ACCEPTABLE = 606;
271
+ */
272
+ SIP_STATUS_GLOBAL_NOT_ACCEPTABLE = 606,
273
+ }
274
+
25
275
  /**
26
276
  * @generated from enum livekit.SIPTransport
27
277
  */
@@ -174,6 +424,37 @@ export declare enum SIPCallDirection {
174
424
  SCD_OUTBOUND = 2,
175
425
  }
176
426
 
427
+ /**
428
+ * SIPStatus is returned as an error detail in CreateSIPParticipant.
429
+ *
430
+ * @generated from message livekit.SIPStatus
431
+ */
432
+ export declare class SIPStatus extends Message<SIPStatus> {
433
+ /**
434
+ * @generated from field: livekit.SIPStatusCode code = 1;
435
+ */
436
+ code: SIPStatusCode;
437
+
438
+ /**
439
+ * @generated from field: string status = 2;
440
+ */
441
+ status: string;
442
+
443
+ constructor(data?: PartialMessage<SIPStatus>);
444
+
445
+ static readonly runtime: typeof proto3;
446
+ static readonly typeName = "livekit.SIPStatus";
447
+ static readonly fields: FieldList;
448
+
449
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SIPStatus;
450
+
451
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SIPStatus;
452
+
453
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SIPStatus;
454
+
455
+ static equals(a: SIPStatus | PlainMessage<SIPStatus> | undefined, b: SIPStatus | PlainMessage<SIPStatus> | undefined): boolean;
456
+ }
457
+
177
458
  /**
178
459
  * @generated from message livekit.CreateSIPTrunkRequest
179
460
  * @deprecated
@@ -1555,12 +1836,19 @@ export declare class CreateSIPParticipantRequest extends Message<CreateSIPPartic
1555
1836
  krispEnabled: boolean;
1556
1837
 
1557
1838
  /**
1558
- * NEXT ID: 19
1559
- *
1560
1839
  * @generated from field: livekit.SIPMediaEncryption media_encryption = 18;
1561
1840
  */
1562
1841
  mediaEncryption: SIPMediaEncryption;
1563
1842
 
1843
+ /**
1844
+ * Wait for the answer for the call before returning.
1845
+ *
1846
+ * NEXT ID: 20
1847
+ *
1848
+ * @generated from field: bool wait_until_answered = 19;
1849
+ */
1850
+ waitUntilAnswered: boolean;
1851
+
1564
1852
  constructor(data?: PartialMessage<CreateSIPParticipantRequest>);
1565
1853
 
1566
1854
  static readonly runtime: typeof proto3;