Commit Graph

161 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
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
Benjamin Pracht
fa4bb37c0c Allow updating trunk destination country (#1087)
---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2025-05-23 10:06:57 -07:00
Benjamin Pracht
0e51bd404a Add destination_country field to CreateSIPParticipant (#1084)
---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2025-05-21 16:44:04 -07:00
Denys Smirnov
573c85baf3 Add a MEDIA_FAILURE disconnect reason. (#1085)
* Add a MEDIA_FAILURE disconnect reason.

* generated protobuf

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2025-05-21 15:58:55 +03:00
cnderrauber
53d1afe260 Add ServerInfo to ReconnectResponse (#1082)
* Add ServerInfo to ReconnectResponse

* generated protobuf

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2025-05-19 10:16:05 +08: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
Benjamin Pracht
a786fd2e8a Add SIPTransferInfo to analytics (#1063)
---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2025-05-09 12:57:54 -07:00
David Zhao
677d114d56 feat: MoveParticipant API (#1051)
* feat: MoveParticipant API

This new API would move a participant from one cloud room to another.
It will support the following use cases:
- warm transfer in voice AI
- fast switching between different live streams
- prejoin room in meetings

* generated protobuf

* add RTC message

* repeat field number

* generated protobuf

* rpc

* generated protobuf

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: cnderrauber <zengjie9004@gmail.com>
2025-05-07 10:28:20 +08:00
lukasIO
d4fa8b9c4f Deprecate explicit AddTrackRequest fields that can be read from Audio… (#1058)
* Deprecate explicit AddTrackRequest fields that can be read from AudioTrackFeatures

* changeset
2025-04-30 14:18:16 +02:00
lukasIO
d5b5240751 Add PreconnectBuffer to AudioTrackFeatures (#1057)
* Add PreconnectBuffer to AudioTrackFeatures

* generated protobuf

* changeset

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2025-04-30 14:09:04 +02:00
Benjamin Pracht
62b2525e94 Add IMAGE_SUFFIX_NONE_OVERWRITE (#1052)
Add a ImageFileSuffix enum value to disable appending any image suffix and overwrite the generated image each time a new one is uploaded instead. Overwriting the image seems exclusive to having any suffix (particularly a timestamp suffix), so this seemed the best place to add it. OVERWRITE was added as part of the enum name to make it clear that data loss will occur with this option.
2025-04-21 10:36:46 -07:00
Denys Smirnov
d67a6a9f96 Allow updating SIP media encryption. (#1047) 2025-04-15 10:48:49 +03:00
Benjamin Pracht
9c8b99db90 Allow specifying extra webhooks in egress start requests (#1040) 2025-04-09 15:50:25 -07:00
cnderrauber
18e676b493 Forward grant (#1041)
* Revert "Require source|dest room admin when forwarding participant (#1027)"

This reverts commit 16e28eab22.

* Add ForwardDestRoom to VideoGrant

* rename & comments

* generated protobuf

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2025-04-09 14:33:48 +08:00
Denys Smirnov
28de829f0d Add timeout parameter to SIP transfer API. (#1036) 2025-04-07 22:24:48 +03:00
Raja Subramanian
218e13187e Add CONNECTION_TIMEOUT disconnect reason (#1037)
* Add CONNECTION_TIMEOUT disconnect reason

* generated protobuf

* Create clever-jars-invent.md

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2025-04-07 23:45:17 +05:30
Ben Cherry
da617d9683 Add client info enum value for unreal (#1032)
* Add client info enum value for unreal

* generated protobuf

* Create thirty-cougars-dream.md

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2025-04-04 14:07:59 -07:00
cnderrauber
16e28eab22 Require source|dest room admin when forwarding participant (#1027)
* Require `source|dest` room admin when forwarding participant

* Space

* generated protobuf

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2025-04-02 18:20:30 +08:00
Raja Subramanian
cdd4c1b197 Add rate for memory use and total. (#1030)
* Add rate for memory use and total.

Load and overage for memory is calculated differently in cloud.
Removing that distinction caused memory based load to show higher load
consistently which was unintentional.

* generated protobuf

* Create nervous-ways-yawn.md

* correct next ID

* generated protobuf

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2025-04-02 10:08:36 +05:30
Raja Subramanian
dbeeaa7e26 Revert cid changes. (#1029)
* Revert cid changes.

Need to re-think this one.

* generated protobuf

* Create popular-dodos-study.md

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2025-03-31 23:06:45 +05:30
Raja Subramanian
67af9b92e4 Add more fields to CodecInfo. (#1024)
* Add more fields to CodecInfo.

- Rename Cid -> SignalCid as this is what comes via signalling channel
- Add SdpCid and IsSimulcast

* generated protobuf

* Create thick-rivers-mate.md

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2025-03-31 18:09:11 +05:30
Raja Subramanian
fbbb1c3ae2 Reworking node stats a bit. (#1023)
* Reworking node stats a bit.

- Introducing a rate shape that captures rate of different metrics in a
  given interval. The interval is contained in that message.
- Stats can have multiple rates. This is akin to reporting different
  window load avg in unix systems.
- Clean up a few things
  o sys packets pct in rate (not sure what it was capturing)
  o associated prom metric (this is in server code which will come in a
    separate PR) (was not used anywhere internally, don't
    think external projects would be using it either)

* Create tricky-ties-marry.md

* generated protobuf

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2025-03-26 23:16:20 +05:30
cnderrauber
53e0c88edf Refine backup codec policy (#1022)
* Refine backup codec policy

Make the default behavior to be a `preferred` value that
the sfu will determine proper policy by room information.

* rename

* generated protobuf

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2025-03-26 15:53:25 +08:00
lukasIO
3d92d3e0b1 Add KindDetails to ParticipantInfo (#1019)
* Add cloud features enum

* Create cuddly-dryers-guess.md

* add next id

* generated protobuf

* rename to more specific KindDetail

* generated protobuf

* Update cuddly-dryers-guess.md

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2025-03-25 10:16:46 +01: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
ce72bd5bb7 Update API for SIP. (#869) 2025-03-19 14:49:48 +02:00
cnderrauber
368c3d6198 ForwardParticipant changes (#1008)
* ForwardParticipant changes

remove stop flag in the request
add new `forwarded` participant type

* generated protobuf

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2025-03-12 12:07:30 +08:00
cnderrauber
03867f6036 Add ForwardParticipant method to RoomService (#1002)
* Add ForwardParticipant method to RoomService

* faked rpc client

* generated protobuf

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2025-03-10 11:38:36 +08:00
Raja Subramanian
4102568c88 Per resource webhook queue. (#1000)
* Per resource webhook queue.

With a worker based approach, an event on a resource (like a room) not
being handled could affect other resources (other rooms or ingress or
egress).

To prevent that, do a per resource queue with two kinds of limits
- age of event: when queuing, if the event at the front of the queue
  exceeds a certain limit (default: 5 seconds), the event is dropped
- depth of queue: drop event if the number of queued events exceeds some
  level (default: 200)

To reap the per resource queue, specific end events are tracked and the
resource is added to the reap queue and reaped after a configurable
timeout (default: 5 min). This is to ensure that events happening just
after end event (for example: participant_left happening after
room_finished) are handled without re-creating a new resource.

Also, deprecating `num_dropped` from proto.

Some other bits of notes/challenges:
- Keeping the old URL notifier also. Also, the default notifier is that.
  Can change to the new one before merging this PR if this approach
  looks good.
- Using string compares of event name to detect end. Not great.
- Needs a sweeper to reap the resource queue. I think 5 min default
  timeout to reap should be okay, but maybe there are things that can
  cause re-creation of a resource queue after reaping and those could
  leak? Needs more analysis.
- Storing `context.Context` in resource queue so that it can be used
  during posting to webhook from resource queue go routine. Storing that
  is not great, but we need it for analytics key.

* generated protobuf

* missed files

* generated protobuf

* fix test in data race

* generate

* generated protobuf

* paul feedback

* fixes

* race

* more Paul feedback

* make resource notifier the default

* generated protobuf

* stop

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2025-03-07 22:39:59 +05:30
Denys Smirnov
e35a55f148 Move SIP call dispatch info into a separate type. (#989) 2025-03-01 14:47:08 +02:00
shishirng
5f4ba74900 deprecate older timestamp fields and add new ones (#993)
* deprecate older timestamp fields and add new ones

Signed-off-by: shishir gowda <shishir@livekit.io>

* generated protobuf

---------

Signed-off-by: shishir gowda <shishir@livekit.io>
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2025-02-27 22:22:10 +02:00
Denys Smirnov
715433bcb8 Add SIP hostname to auth request as well. (#988) 2025-02-25 19:20:22 +02:00
Denys Smirnov
d8a31f2b72 Handle SIP hostname in address filters. Expose attribute. (#987) 2025-02-25 17:12:07 +02:00
Denys Smirnov
8819517840 More analytics fields for SIPCallInfo. (#984) 2025-02-24 12:41:14 +02:00
Paul Wells
1a019aab5b add participant job type (#981)
* add participant job type

* internal rpc

* generated protobuf

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2025-02-18 00:33:17 -08:00
Raja Subramanian
9b6e5d703f Webhook analytics event. (#979)
* Webhook analytics event.

NOTE: Need a frostbyte73/core PR to merge and tag a release
PR pending: https://github.com/frostbyte73/core/pull/5

* sync submit

* generated protobuf

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2025-02-13 10:21:17 +05:30
David Colburn
82dadcf607 Egress audio mixing options (#978)
* audio mixing options

* generated protobuf

* remove multi

* move audio mixing

* generated protobuf

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2025-02-12 12:56:45 -05:00
Raja Subramanian
07904738df Proto for sending API call details to telemetry. (#964)
* Proto for sending API call details to telemetry.

* generated protobuf

* Create dry-camels-tie.md

* Add project_id

* generated protobuf

* top level fields

* generated protobuf

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2025-02-07 15:08:07 +05:30
Denys Smirnov
fdfc6fd6bc Allow passing all SIP trunk options in CreateSIPParticipant. (#961)
* Allow passing all SIP trunk options in CreateSIPParticipant.

* generated protobuf

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2025-02-07 11:21:18 +02:00
cnderrauber
07992dd19e Add backup codec policy to AddTrackRequest (#947)
* Add backup codec policy

* changeset

* generated protobuf

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2025-02-06 10:21:55 +08:00
Raja Subramanian
3d2a520b8e Proto to "report" different kinds of data. (#962)
* Proto to "report" different kinds of data.

Starting off with `FeatureUsage` with the one feature od
`KRISP_NOISE_CANCELLATION`.

* generated protobuf

* Create six-humans-lick.md

* Update .changeset/six-humans-lick.md

Co-authored-by: lukasIO <mail@lukasseiler.de>

* time range

* generated protobuf

* Add BVC and some comments

* generated protobuf

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: lukasIO <mail@lukasseiler.de>
2025-02-05 10:06:18 +05:30
Denys Smirnov
c909c95e07 Pass SIP statuses as RPC error details. (#958) 2025-01-29 23:08:30 +02:00