Commit Graph

159 Commits

Author SHA1 Message Date
Denys Smirnov
9bd0fc7c95 Use OpenTelemetry types. Pass tracer options. (#1177) 2025-08-27 10:55:23 +03: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
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
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
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
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
Denys Smirnov
0a12e2c4d7 Set default identity for CreateSIPParticipant. (#982) 2025-02-18 16:12:41 +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
Paul Wells
c8871c4e1c add client observability middleware helper (#970) 2025-02-07 14:33:56 -08:00
Denys Smirnov
81a3dfbd2a Remove SIP outbound number normalization for Telnyx. (#969) 2025-02-07 12:57:56 +02:00
Denys Smirnov
9ce0387a72 Fix hostname validation for a new type. (#968) 2025-02-07 12:26:46 +02:00
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
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
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
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
lukasIO
afe463fe84 Rename File* related DataStream messages to Byte* (#948)
* Rename File related DataStream messages to Byte

* generated protobuf

* Add changeset

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2025-01-21 13:07:00 +01:00
Benjamin Pracht
8714744cc1 Make IngressInfo.enabled optional (#937)
To provide backward compatibility with already existing Ingresses
---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2025-01-07 14:21:10 -08: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
cnderrauber
bc388341b9 Check element cound in parallel execute (#924)
* Check element cound in parallel execute

* generated protobuf

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-12-17 09:33:17 +08:00
Denys Smirnov
c3c005b67f Allow mapping all SIP headers to attributes. (#920) 2024-12-12 20:16:20 +02:00
Hamdan
47d9881a2a Add headers for CreateSipParticipant (#911)
* Add headers for CreateSipParticipant

* Fixed CreateSipParticipant wrong IDs

* generated protobuf

* Create tall-colts-invent.md

* removed header mappings from CreateSIpParticipant

* generated protobuf

* merged headers for InternalCreateSIPParticipantRequest

* Properly merge headers.

* Fix changeset.

* Add headers validation.

* Update tests.

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Denys Smirnov <dennwc@pm.me>
2024-12-09 19:55:32 +02:00
Denys Smirnov
9e70d56c78 Map participant attributes to SIP headers. (#893) 2024-11-27 14:30:01 +02:00
Benjamin Pracht
40165b03e6 Report call enabled features in SIPCallInfo (#884)
---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-11-26 09:37:32 -08:00
Denys Smirnov
fb1060f77d Allow setting number for SIP outbound. (#891) 2024-11-25 19:07:45 +02:00
renovate[bot]
e0e51ac651 Update go deps (#627)
* Update go deps

Generated by renovateBot

* fix import change

* generated protobuf

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: David Zhao <dz@livekit.io>
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-11-16 01:24:00 -06:00
David Colburn
32abc4d3e9 krisp for outbound trunks (#868)
* krisp for outbound trunks

* generated protobuf

* move to createSIPParticipantRequest

* fix tointernal

* Update protobufs/livekit_sip.proto

Co-authored-by: David Zhao <dz@livekit.io>

* generated protobuf

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: David Zhao <dz@livekit.io>
2024-10-25 13:10:50 -04:00
David Colburn
ce8ba5ab12 Krisp inbound trunk setting (#866)
* add krisp_enabled to inbound trunk info

* generated protobuf

* add to EvaluateDispatchRule

* add estimated_cpu to StartEgress

* generated protobuf

* changeset

* generated protobuf

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-10-22 01:14:27 -04:00
Benjamin Pracht
538889e5de Allow requesting a ringtone during SIP call transfers (#865)
---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-10-21 20:13:44 -07:00
David Colburn
ef6fc8f9c7 add manifest location to egress info (#862)
* add manifest_url to egress info

* generated protobuf

* location and presigned url

* generated protobuf

* add internal cloud_backup_enabled option

* generated protobuf

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-10-17 15:06:02 -04:00
Benjamin Pracht
b75479104c Add SIP analytics events (#831)
---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-10-14 15:04:02 -07:00
Denys Smirnov
19b686d312 Add ringing timeout and max call duration setting for SIP. (#844)
* Add ringing timeout and max call duration setting for SIP.

* generated protobuf

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-10-10 21:57:50 +03:00
Paul Wells
082848150f codegen fake dispatch internal client (#840) 2024-10-08 01:23:40 -07:00
Paul Wells
970e76a1dc use AgentDispatch in internal request (#839)
* use AgentDispatch in internal request

* generated protobuf

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-10-08 00:52:06 -07:00