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
Denys Smirnov
e29da3c74e
Fix test deadlock on failure. ( #834 )
2024-10-04 18:33:55 +03:00
Paul Wells
b216a9275d
add unlikely logger ( #829 )
2024-10-02 22:29:59 -07:00
Paul Wells
be21ccf7da
add closers util ( #827 )
2024-09-27 09:27:25 -07:00
Paul Wells
1ac3b74d03
clean up unused utils ( #819 )
...
* clean up unused utils
* cleanup
2024-09-20 23:07:11 -07:00
Raja Subramanian
1874ac0679
Error util to check one of. ( #815 )
2024-09-19 10:55:04 +05:30
Paul Wells
822e90187c
add callback functions to event emitter ( #810 )
2024-09-17 23:26:11 -07:00
Paul Wells
a7b1ab8bde
add utilities for applying options and copying protobufs ( #809 )
2024-09-17 23:25:30 -07:00
Raja Subramanian
9675e0cf33
Add uint8 to Bitmap ( #808 )
2024-09-15 00:01:02 +05:30
Paul Wells
fbe514b3fa
return error for max hedge attempts ( #793 )
...
* return error for max hedge attempts
* cleanup
2024-08-24 05:41:32 -07:00
Paul Wells
f5a53f8566
unblock blocked event emitters when stopped ( #790 )
2024-08-14 01:39:41 -07:00
Paul Wells
45b9751aaf
add atomic config helpers ( #772 )
...
* add atomic config helpers
* generated protobuf
* copy
* disable grpc generation for protos
* copy
* deps
* tidy
---------
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-07-29 19:55:40 -07:00
Paul Wells
47a1eaca35
add blocking event emitter mode ( #768 )
2024-07-26 01:35:24 -07:00
Benjamin Pracht
f187d838fc
Add AgentDispatchPrefix to guid ( #757 )
2024-07-10 19:21:40 -07:00
Paul Wells
425cb974f7
update yaml config tags ( #741 )
2024-06-13 23:08:01 -07:00
Paul Wells
d5e9f0a2f9
refactor guid out of utils ( #730 )
...
* refactor guid out of utils
* cleanup
2024-06-05 19:07:23 -07:00
Paul Wells
c721a3ed39
add message bytes to psrpc metrics observer ( #723 )
...
* add message bytes to psrpc metrics observer
* deps
2024-05-26 12:36:38 -07:00