Commit Graph

506 Commits

Author SHA1 Message Date
Paul Wells
e647e89877 add tags to agent recording proto (#1328)
* add tags to agent recording proto

* Create wet-stingrays-yell.md

* generated protobuf

* tidy

* generated protobuf

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2025-12-03 21:13:08 -08:00
Raja Subramanian
21f6904952 Data tracks initial protocol definition. (#1327)
* Data tracks initial protocol definition.

Just cutting and pasting protocol changes in this PR
(https://github.com/livekit/protocol/pull/1229) from @ladvoc. As
merging/generating code has been a challenge, just copying over protocol
changes and re-building.

* Create fair-candles-repeat.md

* generated protobuf

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2025-12-04 09:25:22 +05:30
lukasIO
8ece06e3a4 Add ai coustics feature usage (#1324)
* Add ai coustics feature usage

* changeset

* generated protobuf

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2025-12-02 16:05:40 +01:00
Nishad
08846e86a9 List phone number updates (#1323)
* Updates to the list phone number api
1. Adding new status for phone number called offline
2. Adding offline count in list phone number response
3. Adding dispatch rules ids as a property for phone number so we can return it via the api instead of a single dispatch rule id

* generated protobuf

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2025-12-01 21:11:53 -08:00
Raja Subramanian
3bc7a74d3d Cancellation counts for join/publish/subscribe. (#1321)
* Cancellation counts for join/publish/subscribe.

To get a better estimate of errors.

* generated protobuf

* Create friendly-jobs-flash.md

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2025-11-25 13:54:37 +05:30
Paul Wells
24a1d98c66 add missing proto import (#1317)
* add missing proto import

* generated protobuf

* Create mighty-ants-whisper.md

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2025-11-19 23:35:29 -08:00
Raja Subramanian
4c2f9b22da Utility to clone a proto with redaction. (#1316)
* Utility to clone a proto with redaction.

Would be nice to set size of redacted field back into the message, but
that does not work for all types.

* generated protobuf

* Recursive proto redact.

* generated protobuf

* remove redact_format from TrackInfo name

* generated protobuf

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2025-11-20 12:55:00 +05:30
Raja Subramanian
f5993a2691 Redact metadata, attribute, participant name from logs. (#1309)
* Redact metadata, attribute, participant name from logs.

Add size option to those.

* generated protobuf

* redact from connector protos

* generated protobuf

* Update changeset to redact log metadata

Redacts sensitive information from logs.

* Redact SIP fields.

* generated protobuf

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Denys Smirnov <dennwc@pm.me>
2025-11-18 14:05:15 +05:30
Milos Pesic
c050ae0f86 Update egress stream info to expose retry details (#1304)
* Update egress stream info to expose retry details

* generated protobuf

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2025-11-17 22:19:22 +01:00
Paul Wells
2c70a99e71 add redact format option (#1308)
* add redact format option

* tidy

* generated protobuf

* Create yellow-apples-punch.md

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2025-11-15 22:57:52 -08:00
Alex
16b9a98ef1 Sip to grpc error code mapping update (#1305) 2025-11-14 10:29:13 -08:00
Alex
2f76678507 Cement SIP header validation (#1279) 2025-11-14 10:16:11 -08:00
Paul Wells
73cfde4ebe update psrpc (#1303)
* update psrpc

* Create tasty-jokes-move.md

* generated protobuf

* tidy

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2025-11-13 01:12:56 -08:00
Benjamin Pracht
37a42281bc Add redacted field options to egress fields (#1286)
Makes sure RPC systems that use the livekit logger wrappers do not log these fields.

This also makes indenting and spaces more consistent by using passing the file through clang-format. Happy to revert this if we want to avoid large cosmetic PRs

This also changes the go_package location for logger/options.proto to github.com/livekit/protocol/livekit/logger" since github.com/livekit/protocol/logger already exists and has some non generated go code inside.

Also add a unit test for the egress redaction. The unit test lives in github.com/livekit/protocol/livekit because protocol/livekit/sip.go imports github.com/livekit/protocol/logger, so putting the test in github.com/livekit/protocol/logger would create an import loop.
2025-11-12 13:44:21 -08:00
Steve Yoon
8bdcb749c4 support deleting existing secrets (#1302)
* support deleting existing secrets

* generated protobuf

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2025-11-12 14:20:40 -05:00
cnderrauber
49506e1944 kind details for connector (#1299)
* kind details for connector

* generated protobuf

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2025-11-11 16:32:36 +08:00
David Zhao
d8c3c6371b remove observability field (#1294) 2025-11-07 23:29:16 -08:00
Anunay Maheshwari
8a8a54f407 fix(connector): redact api key in disconnect req (#1292)
* fix(connector): redact api key in disconnect req

* generated protobuf

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2025-11-07 01:55:48 +05:30
Anunay Maheshwari
c1d7065360 fix(connector): redact whatsapp api key from rpc logs (#1288)
* fix(connector): redact whatsapp api key from rpc logs

* Create yellow-clocks-join.md

* fix: imports

* generated protobuf

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2025-11-06 15:38:03 +05:30
Paul Wells
0338cf3a92 add option to redact protobuf fields (#1284)
* add option to redact protobuf fields

* Create sharp-dolphins-help.md

* generated protobuf

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2025-11-05 13:52:58 -08:00
Anunay Maheshwari
af2f164ce5 feat(connector): add connector type enum (#1282)
* feat(connector): add connector type enum

* generated protobuf

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2025-11-05 04:57:37 +05:30
Anunay Maheshwari
971b960bbf fix(connector): remove livekit prefix (#1281)
* fix(connector): remove livekit prefix

* generated protobuf

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2025-11-05 00:29:19 +05:30
Anunay Maheshwari
0cba9a217d fix(connector): update protos for api version, errors, cleanup (#1277)
* fix(connector): update protos for api version, errors, cleanup

* pr feedback

* More errors, PR feedback

* generated protobuf

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2025-11-04 04:09:43 +05:30
Tyler Barrus
4e56a139a2 Recording Duration and StartTime (#1280)
* recording header duration and start time

* generated protobuf

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2025-10-31 16:57:38 -04:00
Steve Yoon
45a0f58f19 display owner for cloud-agents version (#1274)
* display owner for cloud-agents version

* generated protobuf

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2025-10-27 16:22:58 -04:00
Alex
070839e4ca Added more scrutinizing SIP header validation warnings (#1238) 2025-10-22 17:25:54 -07:00
Nishad
d691833930 Destination region in create sip participant (#1268)
* Adding a destinationRegion field in the CreateSipParticipant request

* generated protobuf

* Using a destination struct instead

* generated protobuf

* Adding validation for the destination field

* Making destination field optional

* generated protobuf

* Tidy

* Using the language package

* Fixing comment

* Fixing return for destination validate

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2025-10-22 19:54:59 +05:30
Nishad
a0c8a9e7be Adding multiple statuses in ListPhoneNumbersRequest (#1261)
* Adding multiple statuses in ListPhoneNumbersRequest
Adding optional keywords to the right fields and cleaning up commenting

* fix syntax error

* generated protobuf

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2025-10-17 14:07:56 +05:30
cnderrauber
e2cdc9c47b Add comment for twilio call direction (#1260)
* Add comment for twilio call direction

* generated protobuf

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2025-10-17 09:33:58 +08:00
Nishad
bc6809b5bd Adding a field prevent transfer to provider info (#1259)
* Adding a field prevent transfer to provider info

* generated protobuf

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2025-10-16 17:50:26 +05:30
cnderrauber
8cf58ff15a Add twilio connector (#1254)
* Add twilio connector

* empty lines

* solve comments

* Make optional field consistent with whatsapp connector

* Remove stream direction, add call direction

* generated protobuf

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2025-10-16 10:41:55 +08:00
Raja Subramanian
0236ffc17f Include mid -> trackID in SDP. (#1256)
* Include mid -> trackID in SDP.

And send it in subscriber peer connection offer also. It can be useful
to clients even in dual peer connection case.

* generated protobuf

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2025-10-15 23:01:18 +05:30
Raja Subramanian
bfdbffc082 Use mapped SDP answer when using single peer connection mode. (#1255)
* Use mapped SDP answer when using single peer connection mode.

In single peer connection mode, the client does not get the
TR_ ids for tracks. That is because the transceiver is created with a
receiver when the offer is generated and a random id assigned. Once the
id is assigned, it is not updated. So, when client gets `onTrack`, the
id of the associated MediaStreamTrack is not the TR_ variety.

So, send the mapping of mid -> trackID in signalling when sending
answer. And used that on client side to find LK track ID for given mid.

Side note: Probably worth doing it for dual peer connection also when
subscriber sends offer so that we do not have to deduce it on client
side using some rules.

* generated protobuf

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2025-10-15 18:18:54 +05:30
Steve Yoon
16ec4db9f6 Track agent version status (#1253)
* track agent version status

* generated protobuf

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2025-10-14 13:31:06 -04:00
Anunay Maheshwari
7baf62b9d8 feat(connectors): initial impl (#1221)
* feat(connectors): initial impl

* cleanup

* cleanup

* fix: remove affinity func

* add license headers

* split connector proto files

* generated protobuf

* cleanup

* add sdp helper to extract IP

* generated protobuf

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2025-10-13 16:00:54 +05:30
Nishad
c84cf2c280 Adding a trunk info field that will give us more details (#1250)
* Adding TrunkInfo to SipCallInfo as well as GetSIPTrunkAuthenticationResponse

* generated protobuf

* Directly using provider info instead of deprecated SipTrunkInfo

* generated protobuf

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2025-10-12 15:01:53 +05:30
Alex
0475e67b4d Only applying angled brackets to sip: uris. (#1247) 2025-10-08 14:41:24 -07:00
Tyler Barrus
5552d643f8 filter webhook (#1243)
* add webhook filter to protobuf and ensure IsAllowed checked
* generated protobuf

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2025-10-08 15:12:15 -04:00
Théo Monnom
b1e564f85d add ChatContext proto (#1246) 2025-10-08 11:35:37 -07:00
Steve Yoon
49a136864c Add presigned post request for cloud-agents api (#1245)
* add presigned post request for cloud-agents api

* generated protobuf

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2025-10-08 14:14:54 -04:00
Paul Wells
d3262301ba add setting service (#1240)
* add setting service

* generated protobuf

* Create perfect-hounds-heal.md

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2025-10-05 16:41:02 -07:00
Raja Subramanian
99e83f9ba9 Marking width and height as not deprecated. (#1239)
* Marking width and height as not deprecated.

Those fields reflect the capture dimensions.

* generated protobuf

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2025-10-04 22:38:10 +05:30
Dan McFaul
1c8cbd7cbb add server region to agent info and create for log handling (#1235)
* add server region to agent info and create for log handling

* generated protobuf

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2025-10-01 12:16:43 -06:00
Paul Wells
7ce7550cfa Enable recording (#1233)
* add enable recording option to agent jobs

* generated protobuf

* Create pretty-baboons-join.md

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2025-09-29 13:53:34 -07:00
Nishad
a4aabbeb26 Making the sip refer to compliant to the RFC (#1232)
* Making the sip refer to compliant to the RFC and adding validation/tests for the same

* avoiding regex for performance reasons
2025-09-29 18:02:23 +05:30
Ryan Gaus
0070381ef6 Add TokenSourceRequest / TokenSourceResponse messages (#1224)
* feat: add TokenSourceRequest / TokenSourceResponse

* generated protobuf

* feat: add changeset

* refactor: move TokenSourceRequest / TokenSourceResponse to new proto file

* Revert "generated protobuf"

This reverts commit 597f885122841dc697f03146857865652052f5a0.

* generated protobuf

* feat: add livekit token source file to javascript package

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2025-09-23 13:40:36 -04:00
Milos Pesic
3d859a5bf0 Extending models to support MP3 audio encoding in egress (#1220)
Extending models to support MP3 audio encoding in egress
---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2025-09-22 11:51:39 +02:00
Alex
3476f457ed Ading configurable SIP display name (#1216) 2025-09-19 09:26:24 -07:00
Paul Wells
641bae4c29 add recording store request header (#1197)
* add recording store request header

* generated protobuf

* wip

* tidy

* generated protobuf

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2025-09-15 21:31:36 -07:00
Steve Yoon
e86c60693b Add cloud-agents build identifier (#1209)
* add cloud-agents build identifier

* generated protobuf

* pre-generate tag to ensure build uniqueness

* generated protobuf

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2025-09-12 17:52:32 -04:00