Commit Graph

184 Commits

Author SHA1 Message Date
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
Raja Subramanian
442c0b901d Small optimisation to store the mask. (#941)
* Small optimisation to store the mask.

Have been chasing some optimisations and noticing getSlotAndOffset
taking up reasonable cycles because it is used in some per packet path.
Making a small optimisation to store the mask.

* generated protobuf

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2025-01-12 00:05:25 +05:30
David Colburn
83e359fc95 platform pagesize (#936) 2025-01-06 01:24:25 -05:00
Paul Wells
64b40bd3e5 wait for gc in lock tracker test (#934)
* wait for gc in lock tracker test

* cleanup

* generated protobuf

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-12-26 18:09:12 -08:00
Raja Subramanian
c87b1afc61 Update deque to 1.0.0 (#929)
* Update deque to 1.0.0

* generated protobuf

* keep pointer

* generated protobuf

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-12-19 17:43:50 -05:00
cnderrauber
bc388341b9 Check element cound in parallel execute (#924)
* Check element cound in parallel execute

* generated protobuf

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-12-17 09:33:17 +08:00
David Colburn
933b7ff014 monitor process memory usage (#914) 2024-12-10 12:20:52 -05:00
Paul Wells
5a1aa9f902 use events library for config observer (#912) 2024-12-04 23:58:46 -08:00
cnderrauber
b738aedbd8 upgrade to webrtc v4 (#899) 2024-11-28 15:28:30 +08:00
Raja Subramanian
792495362f Utility to build livekit.MetricsBatch (#889)
* mbb WIP

* generated protobuf

* tweaks

* generated protobuf

* merge

* filters

* add IsEmpty

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-11-25 09:59:26 +05:30
Paul Wells
8cab0f9e75 add pointer.To helper (#886) 2024-11-18 17:46:36 -08:00
Paul Wells
a328ced3d5 clone proto slice util (#870) 2024-10-25 05:26:48 -07:00
Paul Wells
caa595ed32 move emitter to separate package (#867) 2024-10-21 23:10:22 -07:00
David Zhao
1eb56d4243 Improve usability of room configuration (#864)
* Improve usability of room configuration

- allowing setting configuration parameters directly
- removes dispatch wrapper to simplify agents specification

* generated protobuf

* changeset

* rename to roomConfig to avoid confusion

* fix test

* export agent dispatch protobufs

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-10-21 22:37:24 -07:00
Paul Wells
226ac38b50 add license header to mono (#861) 2024-10-17 02:03:26 -07:00
Paul Wells
37cb4c8b25 add monotonic time util (#860)
* add monotonic time util

* unixmicro

* fromtime
2024-10-16 08:59:12 -07:00
Raja Subramanian
b7c4dc5f45 More precise proto proxy timing. (#859)
* More precise proto proxy timing.

It is possible that update function takes some time. Due to that the
next cycle could see less than refresh interval since refresh and skip a
cycle.

That could end up adding an extra cycle.

* clean up

* clean up
2024-10-16 17:59:19 +05:30
Raja Subramanian
a3ae28b3c5 utility to for connection quality higher (#851) 2024-10-14 16:22:16 +05:30
Paul Wells
38527a8685 fix unlikely logger call depth (#849)
* fix unlikely logger call depth

* mute test
2024-10-11 08:29:06 -07:00
Paul Wells
9081e9623c fix guid append write offset (#846) 2024-10-09 16:45:27 -07:00
Paul Wells
136dfa7a25 fix agents rpc enum typo (#838)
* fix agents rpc enum typo

* generated protobuf

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-10-07 04:03:47 -07:00
Paul Wells
8fd1f553fe add MarshalAppend for guid (#837)
* add MarshalAppend for guid

* wrong bytes
2024-10-05 03:58:42 -07:00