162 Commits

Author SHA1 Message Date
xianshijing-lk
cd064b4fb1 Sxian/clt 2522/add protocol version to participant info (#1400)
* update ParticipantInfo to have a protocol_version number

* remove the optinoal field

* addressed the comments

* client_proto -> client_protocol

* update the comment

* generated protobuf

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2026-02-05 09:40:04 -08:00
Théo Monnom
97f05ae3b7 add can_manage_agent_session ParticipantPermission (#1390) 2026-01-30 13:55:31 -08:00
Paul Wells
099b489990 temporarily move extension ids to avoid etcd conflict (#1352)
* temporarily move extension ids to avoid etcd conflict

see #1350

* generated protobuf

* Create three-plums-end.md

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2025-12-27 15:19:13 -08:00
Raja Subramanian
862d938ee9 Store repair ssrc in TrackInfo for migration purposes. (#1348)
* Store repair ssrc in TrackInfo for migration purposes.

* generated protobuf

* Create wild-suns-approve.md

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2025-12-25 13:54:31 +05:30
renovate[bot]
fc7b4fa301 chore(deps): update actions/cache action to v5 (#1333)
* chore(deps): update actions/cache action to v5

Generated by renovateBot

* generated protobuf

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2025-12-14 22:20:19 -08:00
cnderrauber
ff54940c8f Add participant kind & detail for rtsp bridge (#1331)
* Add participant kind & detail for rtsp bridge

* remove reserved seq.

* generated protobuf

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2025-12-08 11:07:14 +08:00
Raja Subramanian
21f6904952 Data tracks initial protocol definition. (#1327)
* Data tracks initial protocol definition.

Just cutting and pasting protocol changes in this PR
(https://github.com/livekit/protocol/pull/1229) from @ladvoc. As
merging/generating code has been a challenge, just copying over protocol
changes and re-building.

* Create fair-candles-repeat.md

* generated protobuf

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2025-12-04 09:25:22 +05:30
Paul Wells
24a1d98c66 add missing proto import (#1317)
* add missing proto import

* generated protobuf

* Create mighty-ants-whisper.md

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2025-11-19 23:35:29 -08:00
Raja Subramanian
4c2f9b22da Utility to clone a proto with redaction. (#1316)
* Utility to clone a proto with redaction.

Would be nice to set size of redacted field back into the message, but
that does not work for all types.

* generated protobuf

* Recursive proto redact.

* generated protobuf

* remove redact_format from TrackInfo name

* generated protobuf

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2025-11-20 12:55:00 +05:30
Raja Subramanian
f5993a2691 Redact metadata, attribute, participant name from logs. (#1309)
* Redact metadata, attribute, participant name from logs.

Add size option to those.

* generated protobuf

* redact from connector protos

* generated protobuf

* Update changeset to redact log metadata

Redacts sensitive information from logs.

* Redact SIP fields.

* generated protobuf

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Denys Smirnov <dennwc@pm.me>
2025-11-18 14:05:15 +05:30
Paul Wells
2c70a99e71 add redact format option (#1308)
* add redact format option

* tidy

* generated protobuf

* Create yellow-apples-punch.md

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2025-11-15 22:57:52 -08:00
cnderrauber
49506e1944 kind details for connector (#1299)
* kind details for connector

* generated protobuf

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2025-11-11 16:32:36 +08:00
Anunay Maheshwari
7baf62b9d8 feat(connectors): initial impl (#1221)
* feat(connectors): initial impl

* cleanup

* cleanup

* fix: remove affinity func

* add license headers

* split connector proto files

* generated protobuf

* cleanup

* add sdp helper to extract IP

* generated protobuf

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2025-10-13 16:00:54 +05:30
Tyler Barrus
5552d643f8 filter webhook (#1243)
* add webhook filter to protobuf and ensure IsAllowed checked
* generated protobuf

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2025-10-08 15:12:15 -04:00
Raja Subramanian
99e83f9ba9 Marking width and height as not deprecated. (#1239)
* Marking width and height as not deprecated.

Those fields reflect the capture dimensions.

* generated protobuf

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2025-10-04 22:38:10 +05:30
Milos Pesic
3d859a5bf0 Extending models to support MP3 audio encoding in egress (#1220)
Extending models to support MP3 audio encoding in egress
---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2025-09-22 11:51:39 +02:00
Raja Subramanian
7e8f7f1f94 Suport for simulcast codec of audio. (#1207)
* Suport for simulcast codec of audio.

Note that a disable should be a mute on client side and not a track
stop to allow re-enabling the track again.

* generated protobuf

* name change

* generated protobuf

* Create young-mayflies-wash.md

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2025-09-12 03:15:55 +05:30
Tobias Fried
b424bc552d chore: rename ListUpdate field del -> remove (#1203)
* chore: rename ListUpdate field del -> remove

* generated protobuf

* chore: update ListUpdate helpfers and tests

* chore: add changeset

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2025-09-10 17:43:26 -06:00
ac
650cd08183 updating the reporter interface to include the gateway noop reporter (#1201)
* updating the reporter inteface to include the gateway noop reporter

* generated protobuf

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2025-09-10 07:56:50 -07:00
cnderrauber
48ed047378 RPC changes for ingress proxy WHIP (#1194)
* Add rpc for ingress whip proxy

* remove track stats

* use video layer mode for skip reference ts

* compile error

* generated protobuf

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2025-09-09 13:04:43 +08: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
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
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
8cf93fe6ac Allow adding, removing items and clearing list fields. (#1142) 2025-07-24 12:37:41 +03:00
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
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
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
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
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
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
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
9c8b99db90 Allow specifying extra webhooks in egress start requests (#1040) 2025-04-09 15:50:25 -07: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
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
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
renovate[bot]
fdd5408773 Update dependency typescript to v5.7.3 (#939)
* Update dependency typescript to v5.7.3

Generated by renovateBot

* generated protobuf

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2025-02-06 17:11:38 -06: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
9a579a69ba Add a nonce to data messages. (#953)
* Add a nonce to data messages.

Will be used to de-dupe messages sent via SendData API.

* generated protobuf

* comment

* generated protobuf

* add nonce to UserPacket

* generated protobuf

* 128-bit UUID as string for nonce

* generated protobuf

* UUID bytes

* generated protobuf

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2025-01-27 14:46:25 +05:30