Commit Graph

247 Commits

Author SHA1 Message Date
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
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
cnderrauber
1dd20b5c77 Add room service token to connector room join info (#1287)
* Add room service token to connector room join info

To update participant visible when twilio participant connected

* generated protobuf

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2025-11-06 21:19:10 +08:00
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
Nishad
672acf9e6a Adding Error codes to GetSipTrunkAuthentication response (#1275)
* Adding Error codes to GetSipTrunkAuthentication response

* generated protobuf

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2025-10-28 19:08:09 +05:30
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
Nishad
1e3becbff5 Adding destination to InternalCreateSIPParticipantRequest (#1272)
* Adding destination to InternalCreateSIPParticipantRequest

* generated protobuf

* Update protobufs/rpc/sip.proto

Co-authored-by: Denys Smirnov <denys@livekit.io>

* generated protobuf

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Denys Smirnov <denys@livekit.io>
2025-10-24 16:43:01 +05:30
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
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
Benjamin Pracht
2e3e54eec5 Add InputVideo/AudioState to ICERestartWHIPResourceResponse (#1237)
---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2025-10-06 09:56:05 -07: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
David Colburn
2ddfb3ee7f update api (#1230)
* update api

* generated protobuf

* updates

* generated protobuf

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2025-09-29 13:52:50 -04:00
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
Benjamin Pracht
539194425c Add feature flags to GetIngressInfoResponse (#1218)
---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2025-09-22 18:08:07 -07: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
Raja Subramanian
7e8f7f1f94 Suport for simulcast codec of audio. (#1207)
* Suport for simulcast codec of audio.

Note that a disable should be a mute on client side and not a track
stop to allow re-enabling the track again.

* generated protobuf

* name change

* generated protobuf

* Create young-mayflies-wash.md

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2025-09-12 03:15:55 +05:30
Nishad
1818f02d7b Adding utilities for phonenumber functionality (#1206)
* Adding utilities for phonenumber functionality
1. DB prefixes
2. Helper utilities for area code and number type

* Adding changeset

* Adding enum for phone number type

* generated protobuf

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2025-09-11 18:11:33 +05:30
Tobias Fried
b424bc552d chore: rename ListUpdate field del -> remove (#1203)
* chore: rename ListUpdate field del -> remove

* generated protobuf

* chore: update ListUpdate helpfers and tests

* chore: add changeset

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2025-09-10 17:43:26 -06:00
Anunay Maheshwari
0a5e4da6af feat: add server rpc apis (#1191)
* feat: add server rpc apis

* generated protobuf

* fix: update rpc fakes

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2025-09-11 04:23:38 +05:30