Commit Graph

205 Commits

Author SHA1 Message Date
Paul Wells
1fedefa98b add generic list type (#1449)
* add generic list type

* Create chilled-rivers-dream.md
2026-03-11 21:39:43 -07:00
Paul Wells
ad12ca0874 fix flaky tests (#1445)
* fix flaky test

* Create grumpy-pigs-hammer.md

* fix rate limiter test

* update rate limiter test harness
2026-03-07 02:51:39 -08:00
Benjamin Pracht
3241c3b410 Store per sub-process memory stats for debugging @biglittlebigben biglittlebigben committed 25 minutes ago (#1443)
Also some refactoring to allow easier unit testing
2026-03-06 10:09:50 -08:00
Paul Wells
847cc2fb5d encode monotonic time in wall clock (#1439)
* encode monotonic time in wall clock

* Create mighty-beans-taste.md
2026-03-05 10:16:52 -08:00
Paul Wells
e05f7b7a61 add small stack type (#1422) 2026-02-22 21:55:51 -08:00
Steve Yoon
2504a42c8d add private link gateway prefix (#1409) 2026-02-10 18:30:35 -05:00
Steve Yoon
64ff3e8a9c add prefix for private link secret (#1406) 2026-02-09 13:52:38 -05:00
Neil Dwyer
c0987827b0 Introduce Private Link Protocol (#1401)
* Introduce Private Link Protocol

* Add TODO comment

* remove attachment

* generated protobuf

* more CRUD

* Agent private link prefix

* Cloud agent, not agent

* remove unused

* generated protobuf

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2026-02-09 09:49:48 -08:00
Milos Pesic
44536b2118 Make sure walking up process hierarchy happens before resource usage aggregation (#1396) 2026-01-31 02:02:26 +01:00
Milos Pesic
f89fa20a25 Make sure memory usage is not undercounted (#1394)
Previously memory usage for CPU idle process were not counted
2026-01-30 12:17:06 +01:00
Paul Wells
b954192625 update observability codegen (#1335)
* update observability codegen

* Create ninety-trainers-remember.md

* generated protobuf

* mark _gen files generated

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2025-12-15 11:50:58 -08:00
Raja Subramanian
aa4dc2f24b Adjust memory usage for inactive file. (#1332)
* Adjust memory usage for inactive file.

Inactive file can be reclaimed if necessary. But, croup
memory.usage_in_bytes shows a high value if the memory has grown and
does not need to be reclaimed. So, using that inflates the actual memory
usage.

Adjust usage by discounting reclaimable inactive file memory.

* generated protobuf

* clean up

* fix stupid mistakes, thank you @milos-lk

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2025-12-08 21:53:21 +05:30
Benjamin Pracht
042879d26c Use string constant as parameter to twirp.NewErrorf (#1326) 2025-12-04 08:46:00 +01: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
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
Denys Smirnov
8c21d2d372 Add a helper to tag Go functions in stack traces. (#1290) 2025-11-06 15:55:12 +02:00
Paul Wells
f19569a346 move rtp converter to separate util package (#1267)
* move rtp converter to separate util package

* Create pretty-weeks-behave.md

* tidy
2025-10-22 01:46:09 -07:00
Raja Subramanian
a1e0e55a5c Move rtpConverter from Go SDK for wider use. (#1266)
And add some simple tests.
2025-10-22 12:38:01 +05:30
Tobias Fried
6b0e8d8df0 feat: add agent builder guid prefixes (#1252) 2025-10-14 12:19:48 -06:00
Denys Smirnov
5901371c6e Document mono package, support Unix and Parse. (#1242) 2025-10-14 16:49:48 +03:00
Denys Smirnov
a7bc52ad97 Fix zero time handling in mono package. (#1241) 2025-10-06 20:32:30 +03:00
Anunay Maheshwari
3e4e117b04 fix(data_channel_rpc): avoid using DeadlineExceeded for PSRPC errors (#1223)
* fix(data_channel_rpc): avoid using DeadlineExceeded for PSRPC errors

* fix(data_channel_rpc): psrpc errorf template
2025-09-24 13:08:19 +05:30
Anunay Maheshwari
7ca55b4334 fix: data channel rpc (#1222) 2025-09-23 00:45:58 +05:30
Anunay Maheshwari
0cc456856e feat(utils): add RPC API utils for SFU and Go SDK (#1215)
* feat(utils): add RPC API utils for SFU and Go SDK

* rename with data channel prefix

* cleanup
2025-09-17 20:00:01 +05:30
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
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
Milos Pesic
3db07988ac Kv regex scan (#1195)
* Extract typed values from strings via regex

* more specific ctor name
2025-09-08 14:08:08 +02:00
ac
ab96b49ab6 Adding the agent gateway prefix. A node ID is required when creating a quota client, add the prefix here (#1186) 2025-09-03 09:36:56 -07:00
Benjamin Pracht
259723d112 Add SIPHostnamePrefix (#1155) 2025-08-19 15:48:42 -07:00
Paul Wells
730eec931b add hash function to generate common guid (#1163)
* add hash function to generate common guid

* Create nine-melons-appear.md
2025-08-11 14:05:06 -07:00
Nishad
cbe6299a84 Revert "Move uploader code from Egress (#1108)" (#1116)
This reverts commit 6871633f90.
2025-06-20 14:54:55 -07:00
Paul Wells
871243c790 add exponential backoff utility (#1112)
* add exponential backoff utility

* unwrap
2025-06-18 05:11:28 -07:00
Benjamin Pracht
6871633f90 Move uploader code from Egress (#1108) 2025-06-13 19:32:18 -07:00
Paul Wells
8fb09eb077 fix panic creating value for interface (#1103)
* fix panic creating value for interface

* tidy

* test
2025-06-10 22:38:25 -07:00
cnderrauber
4ba773363c e2e reliability for data channel (#1099)
* e2e reliability for data channel

* space

* generated protobuf

* changset

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2025-06-10 10:04:55 +08:00
Paul Wells
8af5761cac add observability interface (#1100) 2025-06-09 07:35:27 -07:00
Dan McFaul
77b7c44692 rename hosted to cloud agent (#1078) 2025-05-15 15:20:43 -06:00
Paul Wells
2b00a15c76 add agent jwt helper (#1075)
* add agent jwt helper

* Create chatty-apples-float.md

* tidy

* tidy

* tidy

* tidy

* tidy

* convert keys to jsonwebkey
2025-05-15 08:16:18 -07:00
Benjamin Pracht
3ee2664416 Fix SIP Transfer analytics (#1072)
---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2025-05-14 08:53:17 -07:00
Paul Wells
eb5e002fe0 update mageutil for license (#1068)
* update mageutil for license

* test timing

* test timing

* Create five-pumas-love.md
2025-05-10 22:13:27 -07:00
Raja Subramanian
781992d0c7 Fix paths and simplify. (#1062)
* debug memory v2

* more debug

* simplify

* clean up

* clean up

* Create young-clouds-pull.md
2025-05-05 18:56:18 +05:30
Raja Subramanian
8c4ed46b56 fix memory path for cgroups v2 (#1060)
* fix memory path for cgroups v2

* Create lazy-snails-happen.md
2025-05-05 16:14:41 +05:30
Paul Wells
9fce984fd0 allow calling promise.Resolve more than once (#1035)
* allow calling promise.Resolve more than once

* test

* Create blue-birds-add.md

* patch
2025-04-05 06:19:54 -07:00
Raja Subramanian
61cc1f628d Use cgroup for memory stats. (#1031)
* Use cgroup for memory stats.

This is not going to work well when limit is not set.
It falls back to go-osstat if limits are not set.

* generated protobuf

* fall back to osstat

* generated protobuf

* maxVal

* generated protobuf

* Create pretty-gifts-look.md

* static check

* generated protobuf

* static check

* generated protobuf

* static check

* generated protobuf

* static check

* generated protobuf

* comment

* generated protobuf

* leading slash

* use physical memory

* static check

* typo, thanks DZ

* generated protobuf

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2025-04-05 11:36:55 +05:30
Paul Wells
157eda585c refactor suppress errors (#1016)
* refactor suppress errors

* better name
2025-03-20 21:35:17 -07:00
Dan McFaul
fdacb1a293 add cloud agents (#1010)
* initial commit

* add agent hosting types

* generated protobuf

* Update auth/grants.go

Co-authored-by: David Zhao <dz@livekit.io>

* Update protobufs/livekit_cloud_agent.proto

Co-authored-by: David Zhao <dz@livekit.io>

* dz feedback

* rebase fixes

* match ListAgents func call

* generated protobuf

* update regional_agents to agent_deployments

* generated protobuf

* add client settings endpoint

* generated protobuf

* Create changeset

* fix changeset

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: David Zhao <dz@livekit.io>
2025-03-19 10:50:56 -06:00
Denys Smirnov
331f97dbf4 Add Twirp options to preserve error details and client timeouts (#963)
* Add Twirp client/server options to preserve gRPC error details.

* Pass Twirp client timeouts to the server.
2025-02-06 13:05:18 +02:00
Denys Smirnov
c909c95e07 Pass SIP statuses as RPC error details. (#958) 2025-01-29 23:08:30 +02:00
Paul Wells
7b5c5cd3dd add GetAndSet to bitmap (#942)
* add GetAndSet to bitmap

* cleanup

* benchmark GetAndSet
2025-01-11 11:13:11 -08:00