livekit-protocol 0.7.5

Livekit protocol and utilities for the Rust SDK
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
# @livekit/protocol

## 1.45.1

### Patch Changes

- add generic list type - [#1449]https://github.com/livekit/protocol/pull/1449 ([@paulwe]https://github.com/paulwe)

- add livekit_agent_simulation service, agent remote session proto & cli dev proto - [#1404]https://github.com/livekit/protocol/pull/1404 ([@theomonnom]https://github.com/theomonnom)

- fix flaky test - [#1445]https://github.com/livekit/protocol/pull/1445 ([@paulwe]https://github.com/paulwe)

- require logger name - [#1444]https://github.com/livekit/protocol/pull/1444 ([@paulwe]https://github.com/paulwe)

- normalize protobuf "id" log field names - [#1451]https://github.com/livekit/protocol/pull/1451 ([@paulwe]https://github.com/paulwe)

- encode monotonic time in wall clock - [#1439]https://github.com/livekit/protocol/pull/1439 ([@paulwe]https://github.com/paulwe)

- Allow sips: scheme in transfer URIs. - [#1446]https://github.com/livekit/protocol/pull/1446 ([@dennwc]https://github.com/dennwc)

- export discard logger - [#1457]https://github.com/livekit/protocol/pull/1457 ([@paulwe]https://github.com/paulwe)

- Rename log field pID to participantID - [#1452]https://github.com/livekit/protocol/pull/1452 ([@paulwe]https://github.com/paulwe)

## 1.45.0

### Minor Changes

- Add PayloadTrailerFeature to TrackInfo and AddTrackRequest - [#1438]https://github.com/livekit/protocol/pull/1438 ([@chenosaurus]https://github.com/chenosaurus)

### Patch Changes

- move out connector protos - [#1429]https://github.com/livekit/protocol/pull/1429 ([@paulwe]https://github.com/paulwe)

- add AGENT_ERROR disconnect reason - [#1434]https://github.com/livekit/protocol/pull/1434 ([@theomonnom]https://github.com/theomonnom)

## 1.44.1

### Patch Changes

- Redact ice server credentials in logs - [#1408]https://github.com/livekit/protocol/pull/1408 ([@biglittlebigben]https://github.com/biglittlebigben)

- remove cloud only methods from reporter interface - [#1423]https://github.com/livekit/protocol/pull/1423 ([@paulwe]https://github.com/paulwe)

- do not log sip auth field lengths - [#1421]https://github.com/livekit/protocol/pull/1421 ([@paulwe]https://github.com/paulwe)

- add stack utility - [#1422]https://github.com/livekit/protocol/pull/1422 ([@paulwe]https://github.com/paulwe)

- Changes for ingress observability support - [#1392]https://github.com/livekit/protocol/pull/1392 ([@biglittlebigben]https://github.com/biglittlebigben)

- remove last cloud only obs method - [#1425]https://github.com/livekit/protocol/pull/1425 ([@paulwe]https://github.com/paulwe)

- update room observability codegen - [#1395]https://github.com/livekit/protocol/pull/1395 ([@paulwe]https://github.com/paulwe)

- Sync schema versions - [#1385]https://github.com/livekit/protocol/pull/1385 ([@paulwe]https://github.com/paulwe)

## 1.44.0

### Patch Changes

- Add auto_subscribe_data_track to StartSession. - [#1366]https://github.com/livekit/protocol/pull/1366 ([@boks1971]https://github.com/boks1971)

- add helper to propagate psrpc request timeout - [#1361]https://github.com/livekit/protocol/pull/1361 ([@paulwe]https://github.com/paulwe)

- skip logging redacted fields with zero values - [#1338]https://github.com/livekit/protocol/pull/1338 ([@paulwe]https://github.com/paulwe)

- redact metadata in agent protos - [#1344]https://github.com/livekit/protocol/pull/1344 ([@paulwe]https://github.com/paulwe)

- Add featureinfo nested field for reporting noise cancellation feature specific metadata - [#1367]https://github.com/livekit/protocol/pull/1367 ([@1egoman]https://github.com/1egoman)

- update observability codegen - [#1335]https://github.com/livekit/protocol/pull/1335 ([@paulwe]https://github.com/paulwe)

- Option to control auto subscribe of data tracks. - [#1365]https://github.com/livekit/protocol/pull/1365 ([@boks1971]https://github.com/boks1971)

- Add project ID to internal SIPCall info. - [#1346]https://github.com/livekit/protocol/pull/1346 ([@dennwc]https://github.com/dennwc)

- feat(whatsapp): add disconnect reason field for disconnect request - [#1341]https://github.com/livekit/protocol/pull/1341 ([@anunaym14]https://github.com/anunaym14)

- redact egress assume_role_external_id in logs - [#1337]https://github.com/livekit/protocol/pull/1337 ([@paulwe]https://github.com/paulwe)

- temporarily move extension ids to avoid etcd conflict - [#1352]https://github.com/livekit/protocol/pull/1352 ([@paulwe]https://github.com/paulwe)

- Store repair ssrc in TrackInfo for migration purposes. - [#1348]https://github.com/livekit/protocol/pull/1348 ([@boks1971]https://github.com/boks1971)

## 1.43.4

### Patch Changes

- Use string constant as parameter to twirp.NewErrorf - [#1326]https://github.com/livekit/protocol/pull/1326 ([@biglittlebigben]https://github.com/biglittlebigben)

- add tags to agent recording proto - [#1328]https://github.com/livekit/protocol/pull/1328 ([@paulwe]https://github.com/paulwe)

## 1.43.3

### Patch Changes

- Data tracks initial protocol definition. - [#1327]https://github.com/livekit/protocol/pull/1327 ([@boks1971]https://github.com/boks1971)

- Cancellation counts for join/publish/subscribe. - [#1321]https://github.com/livekit/protocol/pull/1321 ([@boks1971]https://github.com/boks1971)

- Add ai coustics feature usage - [#1324]https://github.com/livekit/protocol/pull/1324 ([@lukasIO]https://github.com/lukasIO)

## 1.43.2

### Patch Changes

- fix call depth for override logger - [#1313]https://github.com/livekit/protocol/pull/1313 ([@paulwe]https://github.com/paulwe)

- Generate agent protos - [#1318]https://github.com/livekit/protocol/pull/1318 ([@toubatbrian]https://github.com/toubatbrian)

- add missing proto import - [#1317]https://github.com/livekit/protocol/pull/1317 ([@paulwe]https://github.com/paulwe)

## 1.43.1

### Patch Changes

- add session features to room observability - [#1298]https://github.com/livekit/protocol/pull/1298 ([@paulwe]https://github.com/paulwe)

- Redact metadata, attribute, participant name from logs. - [#1309]https://github.com/livekit/protocol/pull/1309 ([@boks1971]https://github.com/boks1971)

- update room observability codegen - [#1307]https://github.com/livekit/protocol/pull/1307 ([@paulwe]https://github.com/paulwe)

- Add redacted field options to egress fields - [#1286]https://github.com/livekit/protocol/pull/1286 ([@biglittlebigben]https://github.com/biglittlebigben)

- update psrpc - [#1303]https://github.com/livekit/protocol/pull/1303 ([@paulwe]https://github.com/paulwe)

- feat(connector): export protos from JS package - [#1311]https://github.com/livekit/protocol/pull/1311 ([@anunaym14]https://github.com/anunaym14)

- add test for client middleware options - [#1306]https://github.com/livekit/protocol/pull/1306 ([@paulwe]https://github.com/paulwe)

- add redact format option - [#1308]https://github.com/livekit/protocol/pull/1308 ([@paulwe]https://github.com/paulwe)

## 1.43.0

### Minor Changes

- feat: initial connector implementation - [#1288]https://github.com/livekit/protocol/pull/1288 ([@anunaym14]https://github.com/anunaym14)

### Patch Changes

- removed observability field - [#1294]https://github.com/livekit/protocol/pull/1294 ([@davidzhao]https://github.com/davidzhao)

- fix pretty-weeks-behave.md - [#1269]https://github.com/livekit/protocol/pull/1269 ([@paulwe]https://github.com/paulwe)

- move rtp converter to separate util package - [#1267]https://github.com/livekit/protocol/pull/1267 ([@paulwe]https://github.com/paulwe)

- add option to redact protobuf fields - [#1284]https://github.com/livekit/protocol/pull/1284 ([@paulwe]https://github.com/paulwe)

## 1.42.2

### Patch Changes

- Include mid in SessionDescription - [#1257]https://github.com/livekit/protocol/pull/1257 ([@lukasIO]https://github.com/lukasIO)

## 1.42.1

### Patch Changes

- Add InputVideo/AudioState to ICERestartWHIPResourceResponse - [#1237]https://github.com/livekit/protocol/pull/1237 ([@biglittlebigben]https://github.com/biglittlebigben)

- Document mono package, support Unix and Parse. - [#1242]https://github.com/livekit/protocol/pull/1242 ([@dennwc]https://github.com/dennwc)

- Fix zero time handling in mono package. - [#1241]https://github.com/livekit/protocol/pull/1241 ([@dennwc]https://github.com/dennwc)

- Setting service - [#1240]https://github.com/livekit/protocol/pull/1240 ([@paulwe]https://github.com/paulwe)

- Enable recording - [#1233]https://github.com/livekit/protocol/pull/1233 ([@paulwe]https://github.com/paulwe)

- handle session timer skips >1 min - [#1227]https://github.com/livekit/protocol/pull/1227 ([@paulwe]https://github.com/paulwe)

## 1.42.0

### Minor Changes

- rename ListUpdate "del" field to "rename" - [#1203]https://github.com/livekit/protocol/pull/1203 ([@rektdeckard]https://github.com/rektdeckard)

### Patch Changes

- update psrpc - [#1204]https://github.com/livekit/protocol/pull/1204 ([@paulwe]https://github.com/paulwe)

- add observability grant setter - [#1214]https://github.com/livekit/protocol/pull/1214 ([@paulwe]https://github.com/paulwe)

- Add feature flags to GetIngressInfoResponse - [#1218]https://github.com/livekit/protocol/pull/1218 ([@biglittlebigben]https://github.com/biglittlebigben)

- Add fields needed for WHIP to SFU support - [#1183]https://github.com/livekit/protocol/pull/1183 ([@biglittlebigben]https://github.com/biglittlebigben)

- Add new TokenSourceRequest / TokenSourceResponse message types - [#1224]https://github.com/livekit/protocol/pull/1224 ([@1egoman]https://github.com/1egoman)

- Suport for simulcast codec of audio. - [#1207]https://github.com/livekit/protocol/pull/1207 ([@boks1971]https://github.com/boks1971)

## 1.41.0

### Minor Changes

- Add encryption metadata for data packets - [#1127]https://github.com/livekit/protocol/pull/1127 ([@lukasIO]https://github.com/lukasIO)

### Patch Changes

- Add SIPHostnamePrefix - [#1155]https://github.com/livekit/protocol/pull/1155 ([@biglittlebigben]https://github.com/biglittlebigben)

- update agents observability codegen - [#1173]https://github.com/livekit/protocol/pull/1173 ([@paulwe]https://github.com/paulwe)

## 1.40.0

### Patch Changes

- Add fields to support AssumeRole in egress S3 uploads - [#1124]https://github.com/livekit/protocol/pull/1124 ([@biglittlebigben]https://github.com/biglittlebigben)

- Store SDP cid in TrackInfo. - [#1164]https://github.com/livekit/protocol/pull/1164 ([@boks1971]https://github.com/boks1971)

- Support per simulcast codec layers. - [#1157]https://github.com/livekit/protocol/pull/1157 ([@boks1971]https://github.com/boks1971)

- Add webhook for aborted participant connection. - [#1166]https://github.com/livekit/protocol/pull/1166 ([@boks1971]https://github.com/boks1971)

- add hash function to generate common guid - [#1163]https://github.com/livekit/protocol/pull/1163 ([@paulwe]https://github.com/paulwe)

- Redact external_id field - [#1152]https://github.com/livekit/protocol/pull/1152 ([@biglittlebigben]https://github.com/biglittlebigben)

- Allow adding, removing items and clearing list fields. - [#1142]https://github.com/livekit/protocol/pull/1142 ([@dennwc]https://github.com/dennwc)

- Add latest CreateRoomRequest fields to RoomConfiguration - [#1132]https://github.com/livekit/protocol/pull/1132 ([@biglittlebigben]https://github.com/biglittlebigben)

- update agent reporter for cloud agents - [#1128]https://github.com/livekit/protocol/pull/1128 ([@paulwe]https://github.com/paulwe)

- Allow clients to specify video layers mode. - [#1158]https://github.com/livekit/protocol/pull/1158 ([@boks1971]https://github.com/boks1971)

## 1.39.3

### Patch Changes

- normalize common os names - [#1118]https://github.com/livekit/protocol/pull/1118 ([@paulwe]https://github.com/paulwe)

- Add client info case for ESP32 - [#1113]https://github.com/livekit/protocol/pull/1113 ([@ladvoc]https://github.com/ladvoc)

## 1.39.2

### Patch Changes

- Add id field to SessionDescription message - [#1105]https://github.com/livekit/protocol/pull/1105 ([@lukasIO]https://github.com/lukasIO)

## 1.39.1

### Patch Changes

- E2E reliability for data channel - [#1099]https://github.com/livekit/protocol/pull/1099 ([@cnderrauber]https://github.com/cnderrauber)

- WHIP internal signalling to be able to support WHIP in OSS. - [#1091]https://github.com/livekit/protocol/pull/1091 ([@boks1971]https://github.com/boks1971)

## 1.39.0

### Minor Changes

- Add destination_country field to CreateSIPParticipant - [#1084]https://github.com/livekit/protocol/pull/1084 ([@biglittlebigben]https://github.com/biglittlebigben)

### Patch Changes

- merge deferred log fields - [#1070]https://github.com/livekit/protocol/pull/1070 ([@paulwe]https://github.com/paulwe)

- add agent jwt helper - [#1075]https://github.com/livekit/protocol/pull/1075 ([@paulwe]https://github.com/paulwe)

- add terminate to agent AvailabilityResponse - [#1088]https://github.com/livekit/protocol/pull/1088 ([@paulwe]https://github.com/paulwe)

- remove agent token - [#1077]https://github.com/livekit/protocol/pull/1077 ([@paulwe]https://github.com/paulwe)

- Add a MEDIA_FAILURE disconnect reason. - [#1085]https://github.com/livekit/protocol/pull/1085 ([@dennwc]https://github.com/dennwc)

- Allow updating trunk destination country - [#1087]https://github.com/livekit/protocol/pull/1087 ([@biglittlebigben]https://github.com/biglittlebigben)

- update mageutil for license - [#1068]https://github.com/livekit/protocol/pull/1068 ([@paulwe]https://github.com/paulwe)

- Add SIPTransferInfo to analytics - [#1063]https://github.com/livekit/protocol/pull/1063 ([@biglittlebigben]https://github.com/biglittlebigben)

- This adds a transfer_id as an easier to implement way to deduplicate transfer requests. It also adds a transfer_status to indicate if the event is for the start of end of a transfer, and if it's been successful. - [#1072]https://github.com/livekit/protocol/pull/1072 ([@biglittlebigben]https://github.com/biglittlebigben)

## 1.38.0

### Minor Changes

- feat: MoveParticipant API - [#1065]https://github.com/livekit/protocol/pull/1065 ([@cnderrauber]https://github.com/cnderrauber)

### Patch Changes

- fix memory path for cgroups v2 - [#1060]https://github.com/livekit/protocol/pull/1060 ([@boks1971]https://github.com/boks1971)

- Fix paths and simplify. - [#1062]https://github.com/livekit/protocol/pull/1062 ([@boks1971]https://github.com/boks1971)

## 1.37.1

### Patch Changes

- allow rewriting deferred logger values - [#1053]https://github.com/livekit/protocol/pull/1053 ([@paulwe]https://github.com/paulwe)

- Deprecate explicit AddTrackRequest fields that can be read from AudioTrackFeatures - [#1058]https://github.com/livekit/protocol/pull/1058 ([@lukasIO]https://github.com/lukasIO)

- Add PreconnectBuffer to AudioTrackFeatures, add AudioTrackFeatures to AddTrackRequest - [#1057]https://github.com/livekit/protocol/pull/1057 ([@lukasIO]https://github.com/lukasIO)

## 1.37.0

### Minor Changes

- Allow specifying extra webhooks in egress start requests - [#1040]https://github.com/livekit/protocol/pull/1040 ([@biglittlebigben]https://github.com/biglittlebigben)

- Allow updating SIP media encryption. - [#1047]https://github.com/livekit/protocol/pull/1047 ([@dennwc]https://github.com/dennwc)

- Add timeout parameter to SIP transfer API. - [#1036]https://github.com/livekit/protocol/pull/1036 ([@dennwc]https://github.com/dennwc)

### Patch Changes

- allow calling promise.Resolve more than once - [#1035]https://github.com/livekit/protocol/pull/1035 ([@paulwe]https://github.com/paulwe)

- Add CONNECTION_TIMEOUT disconnect reason - [#1037]https://github.com/livekit/protocol/pull/1037 ([@boks1971]https://github.com/boks1971)

- Add IMAGE_SUFFIX_NONE_OVERWRITE - [#1052]https://github.com/livekit/protocol/pull/1052 ([@biglittlebigben]https://github.com/biglittlebigben)

- Add rate for memory use and total. - [#1030]https://github.com/livekit/protocol/pull/1030 ([@boks1971]https://github.com/boks1971)

- Add IngressID and ResourceID attributes for the ingress participants - [#1042]https://github.com/livekit/protocol/pull/1042 ([@biglittlebigben]https://github.com/biglittlebigben)

- Revert cid changes. - [#1029]https://github.com/livekit/protocol/pull/1029 ([@boks1971]https://github.com/boks1971)

- Export GetEgressNotifyOptions - [#1045]https://github.com/livekit/protocol/pull/1045 ([@biglittlebigben]https://github.com/biglittlebigben)

- Add more fields to CodecInfo. - [#1024]https://github.com/livekit/protocol/pull/1024 ([@boks1971]https://github.com/boks1971)

- Add client info enum value for unreal - [#1032]https://github.com/livekit/protocol/pull/1032 ([@bcherry]https://github.com/bcherry)

## 1.36.1

### Patch Changes

- Refine backup codec policy - [#1022]https://github.com/livekit/protocol/pull/1022 ([@cnderrauber]https://github.com/cnderrauber)

## 1.36.0

### Minor Changes

- add cloud agents - [#1010]https://github.com/livekit/protocol/pull/1010 ([@real-danm]https://github.com/real-danm)

- Update API for SIP. - [#869]https://github.com/livekit/protocol/pull/869 ([@dennwc]https://github.com/dennwc)

### Patch Changes

- Add KindDetails enum on ParticipantInfo - [#1019]https://github.com/livekit/protocol/pull/1019 ([@lukasIO]https://github.com/lukasIO)

## 1.35.0

### Minor Changes

- Add ForwardParticipant to room service - [#1011]https://github.com/livekit/protocol/pull/1011 ([@cnderrauber]https://github.com/cnderrauber)

- Move SIP call dispatch info into s separate type. - [#989]https://github.com/livekit/protocol/pull/989 ([@dennwc]https://github.com/dennwc)

- Handle SIP hostname in address filters. Expose attribute. - [#987]https://github.com/livekit/protocol/pull/987 ([@dennwc]https://github.com/dennwc)

- More analytics fields for SIPCallInfo. - [#984]https://github.com/livekit/protocol/pull/984 ([@dennwc]https://github.com/dennwc)

### Patch Changes

- Move media related logging utilities from egress to protocol - [#990]https://github.com/livekit/protocol/pull/990 ([@biglittlebigben]https://github.com/biglittlebigben)

- Allow selecting the base logger used by the OverrideLogger - [#991]https://github.com/livekit/protocol/pull/991 ([@biglittlebigben]https://github.com/biglittlebigben)

## 1.34.0

### Minor Changes

- Allow passing all SIP trunk options in CreateSIPParticipant. - [#961]https://github.com/livekit/protocol/pull/961 ([@dennwc]https://github.com/dennwc)

### Patch Changes

- Proto for sending API call details to telemetry. - [#964]https://github.com/livekit/protocol/pull/964 ([@boks1971]https://github.com/boks1971)

## 1.33.0

### Minor Changes

- Add flag to make CreateSIPParticipant synchronous. - [#952]https://github.com/livekit/protocol/pull/952 ([@dennwc]https://github.com/dennwc)

### Patch Changes

- Proto to "report" different kinds of data. - [#962]https://github.com/livekit/protocol/pull/962 ([@boks1971]https://github.com/boks1971)

- Add backup codec policy to AddTrackRequest - [#947]https://github.com/livekit/protocol/pull/947 ([@cnderrauber]https://github.com/cnderrauber)

- Add Ingress OutOfNetwork attribute keys. Add the CanUpdateOwnMetadata claim to the ingress token - [#965]https://github.com/livekit/protocol/pull/965 ([@biglittlebigben]https://github.com/biglittlebigben)

## 1.32.1

### Patch Changes

- Add nonce to SendDataRequest #953 - [#954]https://github.com/livekit/protocol/pull/954 ([@lukasIO]https://github.com/lukasIO)

## 1.32.0

### Minor Changes

- Use iterators in SIP. - [#943]https://github.com/livekit/protocol/pull/943 ([@dennwc]https://github.com/dennwc)

### Patch Changes

- Rename File* related DataStream messages to Byte* - [#948]https://github.com/livekit/protocol/pull/948 ([@lukasIO]https://github.com/lukasIO)

## 1.31.0

### Minor Changes

- Add media encryption options for SIP. - [#892]https://github.com/livekit/protocol/pull/892 ([@dennwc]https://github.com/dennwc)

### Patch Changes

- Add "Enabled" flag to ingresses to allow preventing an ingress to become active without deleting it. - [#937]https://github.com/livekit/protocol/pull/937 ([@biglittlebigben]https://github.com/biglittlebigben)

- Add DataStream.Trailer for finalizing streams - [#940]https://github.com/livekit/protocol/pull/940 ([@lukasIO]https://github.com/lukasIO)

- Add SIPCallDirection to SIPCallInfo - [#938]https://github.com/livekit/protocol/pull/938 ([@biglittlebigben]https://github.com/biglittlebigben)

## 1.30.0

### Minor Changes

- Add filters to SIP list APIs. - [#913]https://github.com/livekit/protocol/pull/913 ([@dennwc]https://github.com/dennwc)

- Add headers for SIP call transfer. - [#926]https://github.com/livekit/protocol/pull/926 ([@dennwc]https://github.com/dennwc)

- Add headers for CreateSipParticipant - [#911]https://github.com/livekit/protocol/pull/911 ([@s-hamdananwar]https://github.com/s-hamdananwar)

- Allow mapping all SIP headers to attributes. - [#920]https://github.com/livekit/protocol/pull/920 ([@dennwc]https://github.com/dennwc)

### Patch Changes

- Allow SIP inbound to specify room configuration - [#923]https://github.com/livekit/protocol/pull/923 ([@davidzhao]https://github.com/davidzhao)

- Add EgressSourceType to EgressInfo - [#894]https://github.com/livekit/protocol/pull/894 ([@biglittlebigben]https://github.com/biglittlebigben)

## 1.29.4

### Patch Changes

- Add version declaration file - [#916]https://github.com/livekit/protocol/pull/916 ([@lukasIO]https://github.com/lukasIO)

## 1.29.3

### Patch Changes

- Fix treehaking possibility of individual imports - [#907]https://github.com/livekit/protocol/pull/907 ([@lukasIO]https://github.com/lukasIO)

## 1.29.2

## 1.29.1

### Patch Changes

- Actually downgrade TypeScript - [#902]https://github.com/livekit/protocol/pull/902 ([@lukasIO]https://github.com/lukasIO)

## 1.29.0

### Minor Changes

- Add DataStream support - [#871]https://github.com/livekit/protocol/pull/871 ([@lukasIO]https://github.com/lukasIO)

### Patch Changes

- Downgrade TypeScript to fix incorrect generated typings - [#901]https://github.com/livekit/protocol/pull/901 ([@lukasIO]https://github.com/lukasIO)

## 1.28.1

### Patch Changes

- fix CJS require importing .js - [#897]https://github.com/livekit/protocol/pull/897 ([@nbsp]https://github.com/nbsp)

## 1.28.0

### Minor Changes

- Add disconnect reason for SIP failures. - [#845]https://github.com/livekit/protocol/pull/845 ([@dennwc]https://github.com/dennwc)

- add native CommonJS support (#883) - [#895]https://github.com/livekit/protocol/pull/895 ([@nbsp]https://github.com/nbsp)

- Map participant attributes to SIP headers. - [#893]https://github.com/livekit/protocol/pull/893 ([@dennwc]https://github.com/dennwc)

- Allow setting number for SIP outbound. - [#891]https://github.com/livekit/protocol/pull/891 ([@dennwc]https://github.com/dennwc)

### Patch Changes

- Report call enabled features in SIPCallInfo - [#884]https://github.com/livekit/protocol/pull/884 ([@biglittlebigben]https://github.com/biglittlebigben)

- Fix port type for SIPUri. - [#882]https://github.com/livekit/protocol/pull/882 ([@dennwc]https://github.com/dennwc)

## 1.27.1

### Patch Changes

- Include room agent dispatch protobufs in JS export - [#875]https://github.com/livekit/protocol/pull/875 ([@davidzhao]https://github.com/davidzhao)

## 1.27.0

### Minor Changes

- Support for room configuration and agent dispatches - [#864]https://github.com/livekit/protocol/pull/864 ([@davidzhao]https://github.com/davidzhao)

### Patch Changes

- Allow requesting a ringtone during SIP call transfers - [#865]https://github.com/livekit/protocol/pull/865 ([@biglittlebigben]https://github.com/biglittlebigben)

## 1.26.0

## 1.25.0

### Minor Changes

- Add SIP analytics events - [#831]https://github.com/livekit/protocol/pull/831 ([@biglittlebigben]https://github.com/biglittlebigben)

- Add ringing timeout and max call duration setting for SIP. - [#844]https://github.com/livekit/protocol/pull/844 ([@dennwc]https://github.com/dennwc)

## 1.24.0

### Minor Changes

- Add disconnect reasons for SIP. - [#828]https://github.com/livekit/protocol/pull/828 ([@dennwc]https://github.com/dennwc)

### Patch Changes

- Expose metrics on javascript package - [#843]https://github.com/livekit/protocol/pull/843 ([@lukasIO]https://github.com/lukasIO)

## 1.23.0

### Minor Changes

- Add RPC types - [#814]https://github.com/livekit/protocol/pull/814 ([@bcherry]https://github.com/bcherry)

- Add TransferParticipant to sip and sip internal services - [#816]https://github.com/livekit/protocol/pull/816 ([@biglittlebigben]https://github.com/biglittlebigben)

### Patch Changes

- Add protocols for client metrics - [#821]https://github.com/livekit/protocol/pull/821 ([@davidliu]https://github.com/davidliu)

- Implement Validate on TransferSIPParticipantRequest - [#818]https://github.com/livekit/protocol/pull/818 ([@biglittlebigben]https://github.com/biglittlebigben)

- Add other_sdks field to ClientInfo - [#804]https://github.com/livekit/protocol/pull/804 ([@bcherry]https://github.com/bcherry)

## 1.22.0

### Minor Changes

- Update SIP protocol. Pass headers, project ID and hostname. - [#805]https://github.com/livekit/protocol/pull/805 ([@dennwc]https://github.com/dennwc)

### Patch Changes

- Add generated flag to ChatMessage - [#813]https://github.com/livekit/protocol/pull/813 ([@lukasIO]https://github.com/lukasIO)

- Add dedicated chat message definition - [#785]https://github.com/livekit/protocol/pull/785 ([@lukasIO]https://github.com/lukasIO)

- Update @bufbuild/protobuf dependency - [#800]https://github.com/livekit/protocol/pull/800 ([@lukasIO]https://github.com/lukasIO)

- Metrics server side timestamp - [#806]https://github.com/livekit/protocol/pull/806 ([@boks1971]https://github.com/boks1971)

## 1.21.0

### Minor Changes

- Add Callee dispatch rule type for SIP. - [#798]https://github.com/livekit/protocol/pull/798 ([@dennwc]https://github.com/dennwc)

### Patch Changes

- Add SDK values for Unity-Web and NodeJS. - [#797]https://github.com/livekit/protocol/pull/797 ([@bcherry]https://github.com/bcherry)

## 1.20.1

### Patch Changes

- Add EnabledCodecs to JoinResponse - [#791]https://github.com/livekit/protocol/pull/791 ([@cnderrauber]https://github.com/cnderrauber)

- Add fast_publish option to JoinResponse - [#796]https://github.com/livekit/protocol/pull/796 ([@cnderrauber]https://github.com/cnderrauber)

## 1.20.0

### Minor Changes

- Send non-error responses also as part of RequestResponse - [#787]https://github.com/livekit/protocol/pull/787 ([@lukasIO]https://github.com/lukasIO)

### Patch Changes

- Add disconnect reason in participant info. - [#788]https://github.com/livekit/protocol/pull/788 ([@boks1971]https://github.com/boks1971)

- Add AgentDispatchInternal service. Add JobTerminate to AgentService - [#782]https://github.com/livekit/protocol/pull/782 ([@biglittlebigben]https://github.com/biglittlebigben)

## 1.19.3

### Patch Changes

- Use glob for generating JS proto definitions - [#779]https://github.com/livekit/protocol/pull/779 ([@lukasIO]https://github.com/lukasIO)

## 1.19.2

### Patch Changes

- Ability to set attributes upon job acceptance - [#769]https://github.com/livekit/protocol/pull/769 ([@davidzhao]https://github.com/davidzhao)

- Add track subscribed first time notification - [#752]https://github.com/livekit/protocol/pull/752 ([@cnderrauber]https://github.com/cnderrauber)

- Rename ErrorResponse Reason INVALID_ARGUMENT to LIMIT_EXCEEDED - [#758]https://github.com/livekit/protocol/pull/758 ([@lukasIO]https://github.com/lukasIO)

- Added RoomClosed as a DisconnectReason - [#778]https://github.com/livekit/protocol/pull/778 ([@davidzhao]https://github.com/davidzhao)

## 1.19.1

### Patch Changes

- Add ErrorResponse - [#743]https://github.com/livekit/protocol/pull/743 ([@lukasIO]https://github.com/lukasIO)

## 1.19.0

### Minor Changes

- Add SIP grants. - [#745]https://github.com/livekit/protocol/pull/745 ([@dennwc]https://github.com/dennwc)

## 1.18.0

### Minor Changes

- Split SIP Trunk configuration to inbound and outbound parts. - [#738]https://github.com/livekit/protocol/pull/738 ([@dennwc]https://github.com/dennwc)

- add Participant attributes key/val storage - [#733]https://github.com/livekit/protocol/pull/733 ([@davidzhao]https://github.com/davidzhao)

## 1.17.0

### Minor Changes

- Add support for additional SIP transports. - [#719]https://github.com/livekit/protocol/pull/719 ([@dennwc]https://github.com/dennwc)

- Add ICERestartWHIPResource to RPC - [#716]https://github.com/livekit/protocol/pull/716 ([@Sean-Der]https://github.com/Sean-Der)

### Patch Changes

- Added error code field to EgressInfo - [#714]https://github.com/livekit/protocol/pull/714 ([@frostbyte73]https://github.com/frostbyte73)

- Include node_id with analytics events - [#727]https://github.com/livekit/protocol/pull/727 ([@davidzhao]https://github.com/davidzhao)

- Add notice to use participant identity from DataPacket for transcriptions. - [#706]https://github.com/livekit/protocol/pull/706 ([@dennwc]https://github.com/dennwc)

## 1.16.0

### Minor Changes

- - Add RedactAutoEncodedOutput to support redacting auto egress types - [#712]https://github.com/livekit/protocol/pull/712 ([@biglittlebigben]https://github.com/biglittlebigben)
  - Redact image outputs
  - Support AliOSS uploads for auto egress

- Allow inbound number filtering on SIP Dispatch Rules - [#707]https://github.com/livekit/protocol/pull/707 ([@dennwc]https://github.com/dennwc)

- Move egress request redacting routines to protocol - [#711]https://github.com/livekit/protocol/pull/711 ([@biglittlebigben]https://github.com/biglittlebigben)

## 1.15.0

### Minor Changes

- Add metadata to SIP trunks, dispatch rules and participants. Change SIP participant identity prefix to `sip_`. - [#696]https://github.com/livekit/protocol/pull/696 ([@dennwc]https://github.com/dennwc)

- Move language into TranscriptionSegment #703 - [#704]https://github.com/livekit/protocol/pull/704 ([@lukasIO]https://github.com/lukasIO)

## 1.14.0

### Minor Changes

- Added real-time Transcription protocol - [#686]https://github.com/livekit/protocol/pull/686 ([@davidzhao]https://github.com/davidzhao)

- WHIP protocol change - [#680]https://github.com/livekit/protocol/pull/680 ([@biglittlebigben]https://github.com/biglittlebigben)

  Deprecate the bypass_transcoding property in all ingress APIs and introduce the optional enable_transcoding property. This property will default to false for WHIP and to true for all other ingress types.

### Patch Changes

- Add SIP participant name. - [#687]https://github.com/livekit/protocol/pull/687 ([@dennwc]https://github.com/dennwc)

## 1.13.0

### Minor Changes

- Add and option to play ringtone for SIP outbound calls. - [#671]https://github.com/livekit/protocol/pull/671 ([@dennwc]https://github.com/dennwc)

## 1.12.0

### Patch Changes

- Fixed bounds check when masking short SIP numbers. - [#650]https://github.com/livekit/protocol/pull/650 ([@dennwc]https://github.com/dennwc)

- Add signal requests for local track updates - [#651]https://github.com/livekit/protocol/pull/651 ([@lukasIO]https://github.com/lukasIO)

- Allow sending DTMF when creating SIP participant. - [#658]https://github.com/livekit/protocol/pull/658 ([@dennwc]https://github.com/dennwc)

## 1.11.0

### Minor Changes

- Align package version with manually tagged golang module - [#646]https://github.com/livekit/protocol/pull/646 ([@lukasIO]https://github.com/lukasIO)

## 1.10.4

### Patch Changes

- Fix granular export paths - [#642]https://github.com/livekit/protocol/pull/642 ([@lukasIO]https://github.com/lukasIO)

## 1.10.3

### Patch Changes

- Export room stubs from package - [#640]https://github.com/livekit/protocol/pull/640 ([@lukasIO]https://github.com/lukasIO)

## 1.10.2

### Patch Changes

- Fix import paths - [#635]https://github.com/livekit/protocol/pull/635 ([@lukasIO]https://github.com/lukasIO)