Commit Graph

444 Commits

Author SHA1 Message Date
Denys Smirnov
c608ceafc1 Add a Name helper for SIPTransport. (#1175)
* Add a Name helper for SIPTransport.

* generated protobuf

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2025-08-26 16:22:41 +03:00
lukasIO
a6f8432e6c Remove MetricsBatch from EncryptedPacketPayload (#1176)
* Remove MetricsBatch from EncryptedPacketPayload

* generated protobuf

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2025-08-26 10:52:41 +02:00
Raja Subramanian
c714707269 Protocol changes to potentially support single peer connection mode. (#1174)
* Protocol changes to potentially support single peer connection mode.

* generated protobuf

* add UseSinglePeerConnection

* generated protobuf

* sync state revert changes

* generated protobuf

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2025-08-26 13:04:47 +05:30
Nishad
b1e3bf2bca Lk phone numbers (#1146)
* Public facing api for livekit phone numbers

* more changes

* Adding internal apis

* Adding some more changes to the proto

* generated protobuf

* generated protobuf

* Updating to remove internal apis

* Adding changeset

* Clean up and changes around common fields for Phone number messages and pricing for the same

* generated protobuf

* Using a more generic costing model based on resources

* generated protobuf

* Adding a reference to SipDispatchRule in the PurchasedPhoneNumber message

* generated protobuf

* Using google protobuf timestamp and adding a struct for TokenPagination

* generated protobuf

* Using an array of numbers for the release phone number api as well

* generated protobuf

* Making spam score a double

* generated protobuf

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2025-08-19 15:54:55 -07:00
lukasIO
72e862b178 Add encryption metadata for data packets (#1127)
* override minimatch version

* Add encryption metadata for data packets

* generated protobuf

* add key index

* generated protobuf

* encrypt envelope

* generated protobuf

* more explicit encryption messages

* generated protobuf

* whitespace

* Create cold-feet-worry.md

* try fix build

* manual fix

* generated protobuf

* next id

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2025-08-18 13:04:43 +02:00
Raja Subramanian
2150d8ec31 Add webhook for aborted participant connection. (#1166)
* Add webhook for aborted participant connection.

Will be sent when the participant session is closed without participant
becoming active.

* generated protobuf

* analytics event

* generated protobuf

* Create famous-rivers-repeat.md

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: David Zhao <dz@livekit.io>
2025-08-13 10:20:55 +05:30
Steve Yoon
c174813bcc Support additional fields for agent versions (#1167)
* add deployed_at to agent_versions

* support additional agent_version fields

* generated protobuf

* fix space

* use attributes instead

* generated protobuf

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2025-08-12 15:58:00 -04:00
Raja Subramanian
e5e56f83b2 Store SDP cid in TrackInfo. (#1164)
* Store SDP cid in TrackInfo.

Only store it if different to avoid redundant info.
For example, FF uses a different stream id between AddTrack and SDP offer.

* generated protobuf

* Create cuddly-doors-relate.md

* spelling

* generated protobuf

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2025-08-12 14:43:07 +05:30
Raja Subramanian
746c9d6852 Allow clients to specify video layers mode. (#1158)
* Allow clients to specify video layers mode.

The main issue is distinguishing between one RTP streaming carry
multiple spatial layers (example SVC codecs) vs one spatial layer
(codecs that are typically simulcast). The enum names are long, but
wanted them to be clear.

* generated protobuf

* Create unlucky-birds-drive.md

* comment

* generated protobuf

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2025-08-09 11:41:03 +05:30
Raja Subramanian
82ec7d7473 Support per simulcast codec layers. (#1157)
* Support per simulcast codec layers.

* generated protobuf

* Create dull-trainers-obey.md

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2025-08-08 12:33:28 +05:30
Raja Subramanian
1d6123ccc9 Include SyncState in join request (#1154)
* Include SyncState in join request

* generated protobuf

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2025-08-08 00:29:25 +05:30
Raja Subramanian
ccbae8154e Wrapped join request to indicate compression. (#1153)
* Wrapped join request to indicate compression.

* generated protobuf

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2025-08-07 16:28:28 +05:30
Raja Subramanian
7f6468a6a0 join request as proto message (#1151)
* join request as proto message

* generated protobuf

* add join_publish

* generated protobuf

* comments

* generated protobuf

* simulcast not yet deprecated

* generated protobuf

* remove join_publish

* generated protobuf

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2025-08-07 11:00:07 +05:30
Raja Subramanian
1edabe8e86 Delete v2 signalling (#1150)
* Delete v2 signalling

* generated protobuf

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2025-08-06 08:46:41 +05:30
Denys Smirnov
f44a41e4fd Go SDK support for stream data messages. (#1148) 2025-07-29 20:21:10 +03:00
Denys Smirnov
1a91492043 Go SDK support for chat messages. (#1147) 2025-07-29 15:52:16 +03:00
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
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
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
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
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
Paul Wells
8af5761cac add observability interface (#1100) 2025-06-09 07:35:27 -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
David Zhao
b7ee9e0582 use SetVideoGrant instead of deprecated AddGrant (#1059)
* use SetVideoGrant instead of deprecated AddGrant

* generated protobuf

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2025-05-02 23:43:17 -07: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
9de0150f3b Allow '_' in SIP headers. (#1048) 2025-04-16 10:45:59 +03:00
Denys Smirnov
d67a6a9f96 Allow updating SIP media encryption. (#1047) 2025-04-15 10:48:49 +03:00
Benjamin Pracht
b735b3b9ae Add IngressID and ResourceID attributes for the ingress participants (#1042) 2025-04-10 17:10:49 -07: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