Commit Graph

1207 Commits

Author SHA1 Message Date
Raja Subramanian
7313a8195a Add last processed remote message id when adding to cache also as the… (#1144)
* Add last processed remote message id when adding to cache also as the returned message could be sent on the wire

* generated protobuf

* clean up

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2025-07-25 14:03:35 +05:30
Raja Subramanian
afef3ef967 HTTP DELETE to delete a participant session - relay signal message for (#1143)
* HTTP DELETE to delete a participant session - relay signal message for
that.

Also, doing a basic signal cache and building server message and client
message cache on top of it.

* generated protobuf

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2025-07-24 22:52:57 +05:30
Denys Smirnov
8cf93fe6ac Allow adding, removing items and clearing list fields. (#1142) 2025-07-24 12:37:41 +03:00
Raja Subramanian
34c7a0eb63 More v2 stuff (#1141)
* More v2 stuff

- Adding `Trickle` to client -> server message. There should not be any
  tricklw from server -> client in v2. So, not adding it. Will add if
  needed later.
- Some utils to parse envelopes as we are moving in the direction of
  having an envelope of messages in the initial connect request to keep
  it modular. May change again later, but today's state is this.
- change relay signal to pass wire message back and forth.

* generated protobuf

* add utils

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2025-07-24 10:02:30 +05:30
Paul Wells
ecfb508036 set worker kind for agent jobs (#1140)
* set worker kind for agent jobs

* generated protobuf

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2025-07-23 11:42:07 -07:00
ac
becd101bc6 Adding the inference grant to the Claim (#1139)
* adding the inference grant to the Claim

* Added gateway guid values. These are used when connecting to the PSQL db with metrics and app name

* renamed the permission from Admin to Perform

* remove gateway guids since the gateway is no longer using a connection to the db
2025-07-22 10:51:39 -07:00
Raja Subramanian
52633eee69 Move signalling utils to protocol so that both server and Go SDK can use (#1138)
it.
2025-07-21 17:12:33 +05:30
Raja Subramanian
93319bf9e3 Filling out some messages that are unlikely to change in v2. (#1137)
* Filling out some messages that are unlikely to change in v2.

* generated protobuf

* comment

* mage

* generated protobuf

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2025-07-21 12:04:19 +05:30
Raja Subramanian
c700929d2b Relay signal protocol for processing messages after ConnectRequest (#1136) 2025-07-20 22:20:53 +05:30
Steve Yoon
5934235d53 add restart api to cloud-agents (#1135)
* add restart api to cloud-agents

* generated protobuf

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2025-07-18 14:03:28 -04:00
Raja Subramanian
86b0892a5d Use Wrapper format for wire format messages. (#1133)
* Use Wrapper format for wire format messages.

* generated protobuf

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2025-07-18 12:42:09 +05:30
Benjamin Pracht
7cbc8b7a65 Add latest CreateRoomRequest fields to RoomConfiguration (#1132)
---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2025-07-17 17:32:35 -07:00
Raja Subramanian
9922dc4967 Signalling v2 draft proposal (#1094)
* Signalling v2 draft proposal

* new files

* generated protobuf

* replay request

* generated protobuf

* ack

* generated protobuf

* protocol

* generated protobuf

* protocol is in ClientInfo

* generated protobuf

* add attributes to connect request

* generated protobuf

* CreateParticipantSession

* generated protobuf

* WIP

* WIP

* WIP

* WIP

* generated protobuf

* WIP

* generated protobuf

* subscriber allow pause optional

* generated protobuf

* connect response

* generated protobuf

* make envelope as oneOf

* generated protobuf

* clean up

* generated protobuf

* fragmentation

* generated protobuf

* Drop errors and add metadata.

* generated protobuf

* correct comments

* generated protobuf

* split out signalv2 internal types into separate file

* generated protobuf

* js export

* generated protobuf

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2025-07-17 19:14:38 +05:30
Paul Wells
924eb8b30d update agent reporter for cloud agents (#1128)
* update agent reporter for cloud agents

* generated protobuf

* Create twelve-teachers-sleep.md

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2025-07-16 06:26:25 -07:00
Nishad
a8834c0778 Normalize trunk filtering (#1126)
* Normalizing the comparison of numbers in the ListSIPInboundTrunkRequest Filter
1. Added normalization to the comparison of trunk and caller number in ListSIPInboundTrunkRequest
2. Moved NormalizeNumber to a utils number to prevent import cycle

* Fixing another import cycle caused by utils importing livekit

* Adding changeset

* PR feedback
2025-07-12 22:27:55 -07:00
Benjamin Pracht
4aaee1f6c6 Fix changeset (#1125) 2025-07-03 10:03:02 +08:00
Benjamin Pracht
2e032c725d Add fields to support AssumeRole in egress S3 uploads (#1124)
---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2025-07-02 13:18:01 +08:00
Tobias Fried
ea7ec44ada chore: rename agent reporter fn (#1121) 2025-06-26 10:59:22 -06:00
Nishad
256d969480 Adding a new filed in the SipCall message to store the SIP call id (#1119)
* Adding a new filed in the SipCall message to store the SIP protocol generated call id.
This can be used in the sip code base whenever the sip call id needs to be fetched at a later stage

* generated protobuf

* adding changeset

* Ensuring that the generated protobufs from replay folder are also added to the CI commit

* generated protobuf

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2025-06-25 17:16:05 -07:00
Steve Yoon
e3c136ec3d feat: generate analytics interfaces for agents obs (#1102)
* generate schema for cloud-agents

* add agents to reporter interface

* feat(obs): add agent obs helpers

* update cpu/mem to int64

* add resource limits

* add agent sdk version

* add agent worker state

* use anyLast instead of avg for cpu/mem

---------

Co-authored-by: rektdeckard <friedtm@gmail.com>
2025-06-25 12:02:47 -06:00
github-actions[bot]
7276243574 Version Packages (#1109)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
@livekit/protocol@1.39.3 v1.39.3
2025-06-25 06:32:00 -07:00
Paul Wells
766efae532 normalize common os names (#1118)
* normalize common os names

* Create lemon-yaks-rescue.md

* update schema
2025-06-23 14:33:04 -07:00
lukasIO
c18f054805 Override minimatch version (#1114)
* override minimatch version

* fix pnpm workflow
2025-06-23 09:31:09 +02:00
Paul Wells
cbd3f74a2e add close to reporter interface (#1117) 2025-06-21 09:48:07 -07:00
Nishad
cbe6299a84 Revert "Move uploader code from Egress (#1108)" (#1116)
This reverts commit 6871633f90.
2025-06-20 14:54:55 -07:00
Dan McFaul
022f52ebc5 add cpu and memory limit to the agent deployment info (#1115)
* add the cpu and memory limit to the agent deployment info

* generated protobuf

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2025-06-20 15:02:32 -06:00
renovate[bot]
d56c691fe6 chore(deps): update npm deps (#1090)
Generated by renovateBot

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-06-20 17:38:12 +02:00
Jacob Gelman
a8a7c84b2b Add client info case for ESP32 (#1113)
* Add client info enum value for ESP32

* Generate proto

* Changeset
2025-06-19 08:37:18 +10:00
Paul Wells
871243c790 add exponential backoff utility (#1112)
* add exponential backoff utility

* unwrap
2025-06-18 05:11:28 -07:00
Tobias Fried
c32731d9f5 chore: add workerid to jobstate (#1110)
* chore: add workerid to jobstate

* generated protobuf

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2025-06-16 14:55:41 -06:00
Benjamin Pracht
6871633f90 Move uploader code from Egress (#1108) 2025-06-13 19:32:18 -07:00
Raja Subramanian
7b9c3ae9e3 Store rid along with video layer. (#1107)
* Store rid along with video layer.

Makes the mapping easier to access.

* generated protobuf

* store spatial layer also

* generated protobuf

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2025-06-12 18:05:14 -07:00
github-actions[bot]
e038e79445 Version Packages (#1106)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
@livekit/protocol@1.39.2 v1.39.2
2025-06-12 22:07:37 +02:00
lukasIO
de4c760d0e Add id field to SessionDescription message (#1105)
* Add id field to SessionDescription message

* generated protobuf

* Create tricky-worms-sleep.md

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2025-06-12 18:22:13 +02:00
Raja Subramanian
821e6560db SDP utilities to get simulcast RIDs and media stream track. (#1104)
* SDP utilities to get simulcast RIDs and media stream track.

Some slight variations from this PR (https://github.com/livekit/protocol/pull/1018)

* test
2025-06-11 19:16:23 -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
github-actions[bot]
3918986b03 Version Packages (#1093)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
@livekit/protocol@1.39.1 v1.39.1
2025-06-11 12:04:56 +08:00
Nishad
31c2c88286 Detailed responses in trunk iter (#1101)
* Detailed responses in trunk iter
    This will help discern between cases when
1. No trunks are configured
2. Trunks are configured but none matched.(This can happen when there is no default trunk)
3. There is a default trunk that got applied
4. A specific trunk matched

* Dropping the Iter from the function name

* Adding changeset
2025-06-10 15:07:42 -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
Raja Subramanian
a3f43340ec Use custom histogram buckets. (#1098)
Setting 4 buckets with exponential in range 1, 100 meant the boundaries
were at 1, 4.64, 21.53, 100. Because of that, the p99 looked
misleadingly large.
2025-06-07 23:01:33 -07:00
David Zhao
299737ae4d ensure access token do not contain sensitive credentials (#1097)
* ensure access token do not contain sensitive credentials

* changeset
2025-06-06 22:36:06 -07:00
Raja Subramanian
7b3cb6db8d Log qLen when processing webhook. (#1096) 2025-06-05 18:37:05 -07:00
Raja Subramanian
2227c44329 Add prom metrics for webhook dispatch. (#1095)
* Add prom metrics for webhook dispatch.

1. success/failure/drop counter.
2. queue length histogram.
   - doing this only for resource_url_notifier which does a per room
     queue as queue length is easily available. This is the one
     currently in use.
   - worker pool based notifier will need a change in `core` package to
     return a queue length when enqueuing.

* promauto goodness
2025-06-04 13:57:15 -07:00
Denys Smirnov
c8f416a2e6 Do not import testing in the package context. (#1079) 2025-06-04 12:12:46 +03:00
Raja Subramanian
3ea1acd38b WHIP internal signalling to be able to support WHIP in OSS. (#1091)
* WHIP internal signalling to be able to support WHIP in OSS.

* generated protobuf

* Create wicked-numbers-warn.md

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2025-06-03 08:13:35 -07:00
Raja Subramanian
d8f6ff55bb Webhook events stale after 30 seconds by default (#1092) 2025-06-03 02:55:53 -07:00
Steve Yoon
5421d08102 Deprecate resource fields for cloud-agents (#1089)
* deprecate hosted agent fields

* generated protobuf

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2025-06-02 17:51:22 -04:00
github-actions[bot]
8dee9df237 Version Packages (#1067)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
@livekit/protocol@1.39.0 v1.39.0
2025-05-26 19:02:56 -07:00
Paul Wells
06e66743c8 add terminate to agent AvailabilityResponse (#1088)
* add terminate to agent AvailabilityResponse

* generated protobuf

* Create cold-buckets-press.md

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2025-05-26 11:45:32 -07:00