Commit Graph

79 Commits

Author SHA1 Message Date
David Colburn
976c551920 include egressID with egressReady (#1468)
* include egressID with egressReady

* generated protobuf

* remove empty import

* generated protobuf

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2026-03-25 20:58:05 +09:00
David Colburn
11edc941f2 add egress -> replay rpc to coordinate export (#1467)
* add egress -> replay rpc to coordinate export

* generated protobuf

* single server + topic name

* generated protobuf

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2026-03-25 17:55:52 +09:00
David Colburn
45d9420eb8 Egress v2 (#1454)
* egress v2

* generated protobuf

* undo deprecations

* generated protobuf

* deprecate unused quality fields

* generated protobuf

* remove mcap related fields for now

* generated protobuf

* update psrpc handler

* generated protobuf

* aliOss -> aliOSS

* generated protobuf

* update helpers

* replay only

* generated protobuf

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2026-03-25 15:03:47 +09:00
sohbit
39cec6662c feat(rpc/room): add ListParticipants and GetParticipant (#1459)
* feat(rpc/room): add `ListParticipants` and `GetParticipant`

Add `ListParticipants` and `GetParticipant` RPCs to the `Room` PSRPC service,
following the same topic-based routing pattern as:

- `DeleteRoom`,
- `SendData`,
- and `UpdateRoomMetadata`.

These are needed so the livekit server can route participant read operations to the authoritative
RTC node instead of reading from eventually-consistent Redis.

No breaking changes for existing `UnimplementedRoomServer` embedders
(new methods have default stubs).

* Add ListParticipants and GetParticipant features
2026-03-23 15:50:17 -07:00
Alex
623dc9e1e3 Dropping sip affinity use (#1456) 2026-03-17 13:42:21 -07:00
Paul Wells
48d85c2066 normalize protobuf "id" log field names (#1451)
* normalize protobuf "id" log field names

* Update changeset for '@livekit/protocol' patch

Updated the changeset to include a patch for '@livekit/protocol' and normalize protobuf 'id' log field names.

* generated protobuf

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2026-03-15 04:06:59 -07:00
Paul Wells
53c451436e move out connector protos (#1429)
* move out connector protos

* generated protobuf

* Create orange-planes-roll.md

* generate

* generated protobuf

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2026-03-03 19:14:11 -08:00
Milos Pesic
d7fcc0ab41 Egress auto retry [1/N] (#1427)
* Adding retry cnt to support egress auto retry feature

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2026-02-27 00:29:04 +01:00
Benjamin Pracht
d35d87c63f Changes for ingress observability support (#1392)
- Add projectID explicitly to GetIngressInfoResponse as we cannot send it in headers on a response
- move ingressobs.Reporter to protocol
- Remove the unused KillIngressSession RPC
- Random fmt fixes by the protobuf linter included in my editor...

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2026-01-30 15:50:27 -08:00
Alex
edf9ff286d Adding feature_flags field to sip requests (#1382) 2026-01-26 10:11:51 -08:00
Denys Smirnov
068bceaf4e Add project ID to internal SIPCall info. (#1346)
* Add project ID to internal SIPCall info.

* generated protobuf

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2025-12-24 16:29:32 +02:00
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
Benjamin Pracht
37a42281bc Add redacted field options to egress fields (#1286)
Makes sure RPC systems that use the livekit logger wrappers do not log these fields.

This also makes indenting and spaces more consistent by using passing the file through clang-format. Happy to revert this if we want to avoid large cosmetic PRs

This also changes the go_package location for logger/options.proto to github.com/livekit/protocol/livekit/logger" since github.com/livekit/protocol/logger already exists and has some non generated go code inside.

Also add a unit test for the egress redaction. The unit test lives in github.com/livekit/protocol/livekit because protocol/livekit/sip.go imports github.com/livekit/protocol/logger, so putting the test in github.com/livekit/protocol/logger would create an import loop.
2025-11-12 13:44:21 -08:00
cnderrauber
1dd20b5c77 Add room service token to connector room join info (#1287)
* Add room service token to connector room join info

To update participant visible when twilio participant connected

* generated protobuf

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2025-11-06 21:19:10 +08:00
Nishad
672acf9e6a Adding Error codes to GetSipTrunkAuthentication response (#1275)
* Adding Error codes to GetSipTrunkAuthentication response

* generated protobuf

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2025-10-28 19:08:09 +05:30
Nishad
1e3becbff5 Adding destination to InternalCreateSIPParticipantRequest (#1272)
* Adding destination to InternalCreateSIPParticipantRequest

* generated protobuf

* Update protobufs/rpc/sip.proto

Co-authored-by: Denys Smirnov <denys@livekit.io>

* generated protobuf

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Denys Smirnov <denys@livekit.io>
2025-10-24 16:43:01 +05:30
cnderrauber
8cf58ff15a Add twilio connector (#1254)
* Add twilio connector

* empty lines

* solve comments

* Make optional field consistent with whatsapp connector

* Remove stream direction, add call direction

* generated protobuf

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2025-10-16 10:41:55 +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
Nishad
c84cf2c280 Adding a trunk info field that will give us more details (#1250)
* Adding TrunkInfo to SipCallInfo as well as GetSIPTrunkAuthenticationResponse

* generated protobuf

* Directly using provider info instead of deprecated SipTrunkInfo

* generated protobuf

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2025-10-12 15:01:53 +05:30
Benjamin Pracht
2e3e54eec5 Add InputVideo/AudioState to ICERestartWHIPResourceResponse (#1237)
---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2025-10-06 09:56:05 -07:00
Benjamin Pracht
539194425c Add feature flags to GetIngressInfoResponse (#1218)
---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2025-09-22 18:08:07 -07:00
Alex
3476f457ed Ading configurable SIP display name (#1216) 2025-09-19 09:26:24 -07:00
Anunay Maheshwari
0a5e4da6af feat: add server rpc apis (#1191)
* feat: add server rpc apis

* generated protobuf

* fix: update rpc fakes

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2025-09-11 04:23:38 +05:30
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
Nishad
7b3b388b32 Adding an RPC to record call context using the callinfo (#1189)
* Adding an RPC to record call context using the callinfo

* generated protobuf

* Adding changeset

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2025-09-05 15:48:17 +05:30
Benjamin Pracht
b798f9caf0 Add fields needed for WHIP to SFU support (#1183)
---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2025-08-28 16:58:46 -07:00
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
Raja Subramanian
1b7e38ef9c Rename RTCRest -> WHIP. (#1149) 2025-08-02 15:01:52 +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
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
c700929d2b Relay signal protocol for processing messages after ConnectRequest (#1136) 2025-07-20 22:20:53 +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
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
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
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
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
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
Denys Smirnov
28de829f0d Add timeout parameter to SIP transfer API. (#1036) 2025-04-07 22:24:48 +03: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
Denys Smirnov
e35a55f148 Move SIP call dispatch info into a separate type. (#989) 2025-03-01 14:47:08 +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
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
Denys Smirnov
c909c95e07 Pass SIP statuses as RPC error details. (#958) 2025-01-29 23:08:30 +02:00
Denys Smirnov
e430b4bd32 Add flag to make CreateSIPParticipant synchronous. (#952) 2025-01-28 00:40:18 +02:00
Denys Smirnov
409558f441 Add media encryption options. (#892) 2024-12-27 17:11:29 +02:00
David Zhao
2c4895fbc2 adding room configuration in SIP dispatch rule (#923)
* adding room configuration in SIP dispatch rule

* generated protobuf

* changeset

* generated protobuf

* add to io.proto

* fix imports

* generated protobuf

* pass along room preset and config details

* comment about token flow

* generated protobuf

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-12-25 15:59:02 -06:00
Denys Smirnov
1975b61b7e Add headers for SIP call transfer. (#926) 2024-12-18 14:42:28 +02:00
Denys Smirnov
c3c005b67f Allow mapping all SIP headers to attributes. (#920) 2024-12-12 20:16:20 +02:00
Denys Smirnov
9e70d56c78 Map participant attributes to SIP headers. (#893) 2024-11-27 14:30:01 +02:00