github.com/livekit/protocol@v1.39.3/CHANGELOG.md (about) 1 # github.com/livekit/protocol 2 3 ## 1.39.3 4 5 ## 1.39.2 6 7 ## 1.39.1 8 9 ### Patch Changes 10 11 - adding detailed responses to the trunk match logic which can help with decisions on blocking - [#1101](https://github.com/livekit/protocol/pull/1101) ([@nishadmusthafa](https://github.com/nishadmusthafa)) 12 13 - E2E reliability for data channel - [#1099](https://github.com/livekit/protocol/pull/1099) ([@cnderrauber](https://github.com/cnderrauber)) 14 15 - ensure access token do not contain sensitive credentials - [#1097](https://github.com/livekit/protocol/pull/1097) ([@davidzhao](https://github.com/davidzhao)) 16 17 - WHIP internal signalling to be able to support WHIP in OSS. - [#1091](https://github.com/livekit/protocol/pull/1091) ([@boks1971](https://github.com/boks1971)) 18 19 ## 1.39.0 20 21 ### Patch Changes 22 23 - Add a MEDIA_FAILURE disconnect reason. - [#1085](https://github.com/livekit/protocol/pull/1085) ([@dennwc](https://github.com/dennwc)) 24 25 ## 1.38.0 26 27 ### Minor Changes 28 29 - feat: MoveParticipant API - [#1065](https://github.com/livekit/protocol/pull/1065) ([@cnderrauber](https://github.com/cnderrauber)) 30 31 ## 1.37.1 32 33 ### Patch Changes 34 35 - Deprecate explicit AddTrackRequest fields that can be read from AudioTrackFeatures - [#1058](https://github.com/livekit/protocol/pull/1058) ([@lukasIO](https://github.com/lukasIO)) 36 37 - Add PreconnectBuffer to AudioTrackFeatures, add AudioTrackFeatures to AddTrackRequest - [#1057](https://github.com/livekit/protocol/pull/1057) ([@lukasIO](https://github.com/lukasIO)) 38 39 ## 1.37.0 40 41 ### Minor Changes 42 43 - Allow updating SIP media encryption. - [#1047](https://github.com/livekit/protocol/pull/1047) ([@dennwc](https://github.com/dennwc)) 44 45 - Add helper to get SIP call status from an error. - [#1028](https://github.com/livekit/protocol/pull/1028) ([@dennwc](https://github.com/dennwc)) 46 47 - Add timeout parameter to SIP transfer API. - [#1036](https://github.com/livekit/protocol/pull/1036) ([@dennwc](https://github.com/dennwc)) 48 49 - Fix SIP update when replacing array fields. - [#1038](https://github.com/livekit/protocol/pull/1038) ([@dennwc](https://github.com/dennwc)) 50 51 ### Patch Changes 52 53 - Add CONNECTION_TIMEOUT disconnect reason - [#1037](https://github.com/livekit/protocol/pull/1037) ([@boks1971](https://github.com/boks1971)) 54 55 - Add rate for memory use and total. - [#1030](https://github.com/livekit/protocol/pull/1030) ([@boks1971](https://github.com/boks1971)) 56 57 - Revert cid changes. - [#1029](https://github.com/livekit/protocol/pull/1029) ([@boks1971](https://github.com/boks1971)) 58 59 - Use cgroup for memory stats. - [#1031](https://github.com/livekit/protocol/pull/1031) ([@boks1971](https://github.com/boks1971)) 60 61 - Allow '\_' in SIP headers. - [#1048](https://github.com/livekit/protocol/pull/1048) ([@dennwc](https://github.com/dennwc)) 62 63 - Add more fields to CodecInfo. - [#1024](https://github.com/livekit/protocol/pull/1024) ([@boks1971](https://github.com/boks1971)) 64 65 - Add client info enum value for unreal - [#1032](https://github.com/livekit/protocol/pull/1032) ([@bcherry](https://github.com/bcherry)) 66 67 - Rework node stats to split out rate metrics into its own shape. - [#1023](https://github.com/livekit/protocol/pull/1023) ([@boks1971](https://github.com/boks1971)) 68 69 ## 1.36.1 70 71 ### Patch Changes 72 73 - Remove unused kinds - [#1020](https://github.com/livekit/protocol/pull/1020) ([@cnderrauber](https://github.com/cnderrauber)) 74 75 - Refine backup codec policy - [#1022](https://github.com/livekit/protocol/pull/1022) ([@cnderrauber](https://github.com/cnderrauber)) 76 77 ## 1.36.0 78 79 ### Minor Changes 80 81 - add cloud agents - [#1010](https://github.com/livekit/protocol/pull/1010) ([@real-danm](https://github.com/real-danm)) 82 83 - sdp.go: add helper functions for simulcast and trackId - [#1018](https://github.com/livekit/protocol/pull/1018) ([@anunaym14](https://github.com/anunaym14)) 84 85 - Update API for SIP. - [#869](https://github.com/livekit/protocol/pull/869) ([@dennwc](https://github.com/dennwc)) 86 87 ### Patch Changes 88 89 - Fix incremental SIP dispatch rule update. - [#1014](https://github.com/livekit/protocol/pull/1014) ([@dennwc](https://github.com/dennwc)) 90 91 ## 1.35.0 92 93 ### Minor Changes 94 95 - Add ForwardParticipant to room service - [#1011](https://github.com/livekit/protocol/pull/1011) ([@cnderrauber](https://github.com/cnderrauber)) 96 97 - Move SIP call dispatch info into s separate type. - [#989](https://github.com/livekit/protocol/pull/989) ([@dennwc](https://github.com/dennwc)) 98 99 - Handle SIP hostname in address filters. Expose attribute. - [#987](https://github.com/livekit/protocol/pull/987) ([@dennwc](https://github.com/dennwc)) 100 101 - Expose and improve SIP number normalization. - [#986](https://github.com/livekit/protocol/pull/986) ([@dennwc](https://github.com/dennwc)) 102 103 - More analytics fields for SIPCallInfo. - [#984](https://github.com/livekit/protocol/pull/984) ([@dennwc](https://github.com/dennwc)) 104 105 ## 1.34.0 106 107 ### Minor Changes 108 109 - Allow passing all SIP trunk options in CreateSIPParticipant. - [#961](https://github.com/livekit/protocol/pull/961) ([@dennwc](https://github.com/dennwc)) 110 111 - Add egress audio mixing options - [#978](https://github.com/livekit/protocol/pull/978) ([@frostbyte73](https://github.com/frostbyte73)) 112 113 - Expose hooks for SIP trunk and rule matching. - [#983](https://github.com/livekit/protocol/pull/983) ([@dennwc](https://github.com/dennwc)) 114 115 ### Patch Changes 116 117 - Fix iteration over empty and unsorted records. - [#971](https://github.com/livekit/protocol/pull/971) ([@dennwc](https://github.com/dennwc)) 118 119 - Remove SIP outbound number normalization for Telnyx. - [#969](https://github.com/livekit/protocol/pull/969) ([@dennwc](https://github.com/dennwc)) 120 121 - Remove SIP outbound number normalization for Telnyx. - [#982](https://github.com/livekit/protocol/pull/982) ([@dennwc](https://github.com/dennwc)) 122 123 ## 1.33.0 124 125 ### Minor Changes 126 127 - Use SIP statuses as Go and gRPC errors. - [#960](https://github.com/livekit/protocol/pull/960) ([@dennwc](https://github.com/dennwc)) 128 129 - Add flag to make CreateSIPParticipant synchronous. - [#952](https://github.com/livekit/protocol/pull/952) ([@dennwc](https://github.com/dennwc)) 130 131 - Add Twirp options to preserve error details and client timeouts. - [#963](https://github.com/livekit/protocol/pull/963) ([@dennwc](https://github.com/dennwc)) 132 133 ### Patch Changes 134 135 - Add a workaround for invalid IP masks in SIP. - [#956](https://github.com/livekit/protocol/pull/956) ([@dennwc](https://github.com/dennwc)) 136 137 - Add backup codec policy to AddTrackRequest - [#947](https://github.com/livekit/protocol/pull/947) ([@cnderrauber](https://github.com/cnderrauber)) 138 139 ## 1.32.1 140 141 ### Patch Changes 142 143 - Add nonce to SendDataRequest #953 - [#954](https://github.com/livekit/protocol/pull/954) ([@lukasIO](https://github.com/lukasIO)) 144 145 ## 1.32.0 146 147 ### Minor Changes 148 149 - Use iterators in SIP. - [#943](https://github.com/livekit/protocol/pull/943) ([@dennwc](https://github.com/dennwc)) 150 151 ## 1.31.0 152 153 ### Minor Changes 154 155 - Add media encryption options for SIP. - [#892](https://github.com/livekit/protocol/pull/892) ([@dennwc](https://github.com/dennwc)) 156 157 ### Patch Changes 158 159 - include room preset/config in SIP tokens - [#932](https://github.com/livekit/protocol/pull/932) ([@davidzhao](https://github.com/davidzhao)) 160 161 ## 1.30.0 162 163 ### Minor Changes 164 165 - Add filters to SIP list APIs. - [#913](https://github.com/livekit/protocol/pull/913) ([@dennwc](https://github.com/dennwc)) 166 167 - Add headers for SIP call transfer. - [#926](https://github.com/livekit/protocol/pull/926) ([@dennwc](https://github.com/dennwc)) 168 169 - Add headers for CreateSipParticipant - [#911](https://github.com/livekit/protocol/pull/911) ([@s-hamdananwar](https://github.com/s-hamdananwar)) 170 171 - Allow mapping all SIP headers to attributes. - [#920](https://github.com/livekit/protocol/pull/920) ([@dennwc](https://github.com/dennwc)) 172 173 ### Patch Changes 174 175 - Allow SIP inbound to specify room configuration - [#923](https://github.com/livekit/protocol/pull/923) ([@davidzhao](https://github.com/davidzhao)) 176 177 - Relax SIP header validation. - [#925](https://github.com/livekit/protocol/pull/925) ([@dennwc](https://github.com/dennwc)) 178 179 ## 1.29.4 180 181 ## 1.29.3 182 183 ## 1.29.2 184 185 ### Patch Changes 186 187 - Revert back to Go 1.22 - [#905](https://github.com/livekit/protocol/pull/905) ([@davidzhao](https://github.com/davidzhao)) 188 189 ## 1.29.1 190 191 ## 1.29.0 192 193 ### Minor Changes 194 195 - Add DataStream support - [#871](https://github.com/livekit/protocol/pull/871) ([@lukasIO](https://github.com/lukasIO)) 196 197 ## 1.28.1 198 199 ## 1.28.0 200 201 ### Minor Changes 202 203 - Add disconnect reason for SIP failures. - [#845](https://github.com/livekit/protocol/pull/845) ([@dennwc](https://github.com/dennwc)) 204 205 - Map participant attributes to SIP headers. - [#893](https://github.com/livekit/protocol/pull/893) ([@dennwc](https://github.com/dennwc)) 206 207 - Allow setting number for SIP outbound. - [#891](https://github.com/livekit/protocol/pull/891) ([@dennwc](https://github.com/dennwc)) 208 209 ### Patch Changes 210 211 - Annotate SIP errors with Twirp codes. - [#879](https://github.com/livekit/protocol/pull/879) ([@dennwc](https://github.com/dennwc)) 212 213 - Fix port type for SIPUri. - [#882](https://github.com/livekit/protocol/pull/882) ([@dennwc](https://github.com/dennwc)) 214 215 - Require number, CIDR or auth for SIP inbound. - [#890](https://github.com/livekit/protocol/pull/890) ([@dennwc](https://github.com/dennwc)) 216 217 ## 1.27.1 218 219 ### Patch Changes 220 221 - Add extra fields to SIP analytics events - [#872](https://github.com/livekit/protocol/pull/872) ([@biglittlebigben](https://github.com/biglittlebigben)) 222 223 ## 1.27.0 224 225 ### Minor Changes 226 227 - Support for room configuration and agent dispatches - [#864](https://github.com/livekit/protocol/pull/864) ([@davidzhao](https://github.com/davidzhao)) 228 229 ### Patch Changes 230 231 - added manifest details to egress info - [#862](https://github.com/livekit/protocol/pull/862) ([@frostbyte73](https://github.com/frostbyte73)) 232 233 - Type safe IP checks for SIP Trunks. - [#857](https://github.com/livekit/protocol/pull/857) ([@dennwc](https://github.com/dennwc)) 234 235 - enable krisp SIP setting - [#866](https://github.com/livekit/protocol/pull/866) ([@frostbyte73](https://github.com/frostbyte73)) 236 237 ## 1.26.0 238 239 ### Minor Changes 240 241 - allow Agents to pass through initial attributes - [#852](https://github.com/livekit/protocol/pull/852) ([@davidzhao](https://github.com/davidzhao)) 242 243 ## 1.25.0 244 245 ### Minor Changes 246 247 - Add ringing timeout and max call duration setting for SIP. - [#844](https://github.com/livekit/protocol/pull/844) ([@dennwc](https://github.com/dennwc)) 248 249 ## 1.24.0 250 251 ### Minor Changes 252 253 - Add disconnect reasons for SIP. - [#828](https://github.com/livekit/protocol/pull/828) ([@dennwc](https://github.com/dennwc)) 254 255 ### Patch Changes 256 257 - Add missing SIP status attribute. - [#833](https://github.com/livekit/protocol/pull/833) ([@dennwc](https://github.com/dennwc)) 258 259 - Validate SipCallTo in CreateSIPParticipantRequest. - [#823](https://github.com/livekit/protocol/pull/823) ([@dennwc](https://github.com/dennwc)) 260 261 ## 1.23.0 262 263 ### Patch Changes 264 265 - Add protocols for client metrics - [#821](https://github.com/livekit/protocol/pull/821) ([@davidliu](https://github.com/davidliu)) 266 267 - Add other_sdks field to ClientInfo - [#804](https://github.com/livekit/protocol/pull/804) ([@bcherry](https://github.com/bcherry)) 268 269 ## 1.22.0 270 271 ### Minor Changes 272 273 - Update SIP protocol. Pass headers, project ID and hostname. - [#805](https://github.com/livekit/protocol/pull/805) ([@dennwc](https://github.com/dennwc)) 274 275 ### Patch Changes 276 277 - Add generated flag to ChatMessage - [#813](https://github.com/livekit/protocol/pull/813) ([@lukasIO](https://github.com/lukasIO)) 278 279 - Add dedicated chat message definition - [#785](https://github.com/livekit/protocol/pull/785) ([@lukasIO](https://github.com/lukasIO)) 280 281 - Update @bufbuild/protobuf dependency - [#800](https://github.com/livekit/protocol/pull/800) ([@lukasIO](https://github.com/lukasIO)) 282 283 - Metrics server side timestamp - [#806](https://github.com/livekit/protocol/pull/806) ([@boks1971](https://github.com/boks1971)) 284 285 ## 1.21.0 286 287 ### Minor Changes 288 289 - Add Callee dispatch rule type for SIP. - [#798](https://github.com/livekit/protocol/pull/798) ([@dennwc](https://github.com/dennwc)) 290 291 ### Patch Changes 292 293 - Add SDK values for Unity-Web and NodeJS. - [#797](https://github.com/livekit/protocol/pull/797) ([@bcherry](https://github.com/bcherry)) 294 295 ## 1.20.1 296 297 ### Patch Changes 298 299 - Add fast_publish option to JoinResponse - [#796](https://github.com/livekit/protocol/pull/796) ([@cnderrauber](https://github.com/cnderrauber)) 300 301 ## 1.20.0 302 303 ### Minor Changes 304 305 - Send non-error responses also as part of RequestResponse - [#787](https://github.com/livekit/protocol/pull/787) ([@lukasIO](https://github.com/lukasIO)) 306 307 ### Patch Changes 308 309 - Add disconnect reason in participant info. - [#788](https://github.com/livekit/protocol/pull/788) ([@boks1971](https://github.com/boks1971)) 310 311 - Use multiple webhook workers for each URL to improve parallelism - [#784](https://github.com/livekit/protocol/pull/784) ([@davidzhao](https://github.com/davidzhao)) 312 313 ## 1.19.3 314 315 ## 1.19.2 316 317 ### Patch Changes 318 319 - Add FilenamePrefix to ImagesInfo - [#751](https://github.com/livekit/protocol/pull/751) ([@frostbyte73](https://github.com/frostbyte73)) 320 321 - Add experimental replay api - [#755](https://github.com/livekit/protocol/pull/755) ([@frostbyte73](https://github.com/frostbyte73)) 322 323 - Implement a custom YAML unmarshaller for RoomConfiguration - [#765](https://github.com/livekit/protocol/pull/765) ([@biglittlebigben](https://github.com/biglittlebigben)) 324 325 - Add AgentDispatchPrefix to guid - [#757](https://github.com/livekit/protocol/pull/757) ([@biglittlebigben](https://github.com/biglittlebigben)) 326 327 - Ability to set attributes upon job acceptance - [#769](https://github.com/livekit/protocol/pull/769) ([@davidzhao](https://github.com/davidzhao)) 328 329 - Remove unused fields from RegisterWorkerRequest - [#761](https://github.com/livekit/protocol/pull/761) ([@biglittlebigben](https://github.com/biglittlebigben)) 330 331 - Integrate feedback on the agents protocol: - [#750](https://github.com/livekit/protocol/pull/750) ([@biglittlebigben](https://github.com/biglittlebigben)) 332 333 - Rename JobDescription to AgentDispatch 334 - Remove participant_identity entry in the dispatch 335 - Deprecate namespace 336 - Add an agent_name field to specify what agent workers a job should be dispatched to 337 338 Also allow setting a room configuration in the token. 339 340 - add srt output for egress - [#766](https://github.com/livekit/protocol/pull/766) ([@frostbyte73](https://github.com/frostbyte73)) 341 342 - Internal agent protocol improvements - [#764](https://github.com/livekit/protocol/pull/764) ([@biglittlebigben](https://github.com/biglittlebigben)) 343 344 - Implement MarshalYAML on RoomConfiguration and related types - [#771](https://github.com/livekit/protocol/pull/771) ([@biglittlebigben](https://github.com/biglittlebigben)) 345 346 - Use consistent json field name for room configuration grant - [#762](https://github.com/livekit/protocol/pull/762) ([@biglittlebigben](https://github.com/biglittlebigben)) 347 348 - Added RoomClosed as a DisconnectReason - [#778](https://github.com/livekit/protocol/pull/778) ([@davidzhao](https://github.com/davidzhao)) 349 350 ## 1.19.1 351 352 ## 1.19.0 353 354 ### Minor Changes 355 356 - Add SIP grants. - [#745](https://github.com/livekit/protocol/pull/745) ([@dennwc](https://github.com/dennwc)) 357 358 ### Patch Changes 359 360 - Fix typo in SIP Trunk conversion. - [#744](https://github.com/livekit/protocol/pull/744) ([@dennwc](https://github.com/dennwc)) 361 362 ## 1.18.0 363 364 ### Minor Changes 365 366 - Split SIP Trunk configuration to inbound and outbound parts. - [#738](https://github.com/livekit/protocol/pull/738) ([@dennwc](https://github.com/dennwc)) 367 368 - add Participant attributes key/val storage - [#733](https://github.com/livekit/protocol/pull/733) ([@davidzhao](https://github.com/davidzhao)) 369 370 ### Patch Changes 371 372 - Simplify number matching rules for SIP. - [#737](https://github.com/livekit/protocol/pull/737) ([@dennwc](https://github.com/dennwc)) 373 374 - Added session token option for s3 uploads - [#734](https://github.com/livekit/protocol/pull/734) ([@frostbyte73](https://github.com/frostbyte73)) 375 376 - Include analytics event ids - [#739](https://github.com/livekit/protocol/pull/739) ([@davidzhao](https://github.com/davidzhao)) 377 378 ## 1.17.0 379 380 ### Minor Changes 381 382 - Add support for additional SIP transports. - [#719](https://github.com/livekit/protocol/pull/719) ([@dennwc](https://github.com/dennwc)) 383 384 - Add ICERestartWHIPResource to RPC - [#716](https://github.com/livekit/protocol/pull/716) ([@Sean-Der](https://github.com/Sean-Der)) 385 386 ### Patch Changes 387 388 - Added error code field to EgressInfo - [#714](https://github.com/livekit/protocol/pull/714) ([@frostbyte73](https://github.com/frostbyte73)) 389 390 - Include node_id with analytics events - [#727](https://github.com/livekit/protocol/pull/727) ([@davidzhao](https://github.com/davidzhao)) 391 392 - Match SIP Trunks by source IP or mask. - [#724](https://github.com/livekit/protocol/pull/724) ([@dennwc](https://github.com/dennwc)) 393 394 - Add notice to use participant identity from DataPacket for transcriptions. - [#706](https://github.com/livekit/protocol/pull/706) ([@dennwc](https://github.com/dennwc)) 395 396 ## 1.16.0 397 398 ### Minor Changes 399 400 - - Add RedactAutoEncodedOutput to support redacting auto egress types - [#712](https://github.com/livekit/protocol/pull/712) ([@biglittlebigben](https://github.com/biglittlebigben)) 401 - Redact image outputs 402 - Support AliOSS uploads for auto egress 403 404 - Allow inbound number filtering on SIP Dispatch Rules - [#707](https://github.com/livekit/protocol/pull/707) ([@dennwc](https://github.com/dennwc)) 405 406 - Move egress request redacting routines to protocol - [#711](https://github.com/livekit/protocol/pull/711) ([@biglittlebigben](https://github.com/biglittlebigben)) 407 408 ## 1.15.0 409 410 ### Minor Changes 411 412 - Expose Logger constructor for Zap. - [#701](https://github.com/livekit/protocol/pull/701) ([@dennwc](https://github.com/dennwc)) 413 414 - 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)) 415 416 - Move language into TranscriptionSegment #703 - [#704](https://github.com/livekit/protocol/pull/704) ([@lukasIO](https://github.com/lukasIO)) 417 418 ## 1.14.0 419 420 ### Minor Changes 421 422 - Added real-time Transcription protocol - [#686](https://github.com/livekit/protocol/pull/686) ([@davidzhao](https://github.com/davidzhao)) 423 424 - WHIP protocol change - [#680](https://github.com/livekit/protocol/pull/680) ([@biglittlebigben](https://github.com/biglittlebigben)) 425 426 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. 427 428 ### Patch Changes 429 430 - Add SIP participant name. - [#687](https://github.com/livekit/protocol/pull/687) ([@dennwc](https://github.com/dennwc)) 431 432 ## 1.13.0 433 434 ### Minor Changes 435 436 - Add and option to play ringtone for SIP outbound calls. - [#671](https://github.com/livekit/protocol/pull/671) ([@dennwc](https://github.com/dennwc)) 437 438 ### Patch Changes 439 440 - Add initial support for slog. - [#668](https://github.com/livekit/protocol/pull/668) ([@dennwc](https://github.com/dennwc)) 441 442 ## 1.12.0 443 444 ### Minor Changes 445 446 - Moved CPU stats to a separate hwstats package, removing cgo dependency. - [#660](https://github.com/livekit/protocol/pull/660) ([@dennwc](https://github.com/dennwc)) 447 448 ### Patch Changes 449 450 - Fixed bounds check when masking short SIP numbers. - [#650](https://github.com/livekit/protocol/pull/650) ([@dennwc](https://github.com/dennwc)) 451 452 - Add signal requests for local track updates - [#651](https://github.com/livekit/protocol/pull/651) ([@lukasIO](https://github.com/lukasIO)) 453 454 - Allow sending DTMF when creating SIP participant. - [#658](https://github.com/livekit/protocol/pull/658) ([@dennwc](https://github.com/dennwc)) 455 456 ## 1.11.0 457 458 ### Minor Changes 459 460 - Align package version with manually tagged golang module - [#646](https://github.com/livekit/protocol/pull/646) ([@lukasIO](https://github.com/lukasIO)) 461 462 ## 1.10.4 463 464 ## 1.10.3 465 466 ## 1.10.2