Commit Graph

114 Commits

Author SHA1 Message Date
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
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
Raja Subramanian
6ec1903b36 Room creation time with ms resolution. (#950)
* Room creation time with ms resolution.

Follow up to this PR - https://github.com/livekit/protocol/pull/949 and
this comment - https://github.com/livekit/protocol/pull/949#issuecomment-2608033493

* generated protobuf

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2025-01-23 09:34:41 +05:30
Raja Subramanian
18fcdd87b3 Participant joined_at_ms to get higher resolution of join time. (#949)
* Participant joined_at_ms to get higher resolution of join time.

* generated protobuf

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2025-01-22 13:48:08 +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
Denys Smirnov
369640e32f Use iterators in SIP. (#943) 2025-01-14 12:05:18 +02:00
lukasIO
5b4142c056 Add DataStream.Trailer for finalizing streams (#940)
* Add DataStream.Trailer for finalizing streams

* remove complete from chunk

* Create tame-suits-sneeze.md

* generated protobuf

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2025-01-10 17:43:03 +01:00
Benjamin Pracht
c533a46256 Add SIPCallDirection to SIPCallInfo (#938)
---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2025-01-08 14:50:18 -08: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
Rajiv Gonzalez
e58b0bf8ad Disable ingress session flag update (#935)
New Enabled flags on createIngress and updateIngress to have the ability to disable ingress sessions without having to remove the entire session and lose the streamkey
2025-01-07 09:33:54 -08:00
Denys Smirnov
409558f441 Add media encryption options. (#892) 2024-12-27 17:11:29 +02:00
Benjamin Pracht
70efefb425 Add EgressSourceType to EgressInfo (#894)
* WiP

* Define EgressSourceType and record it in the EgressInfo for proper biling

* generated protobuf

* Create shy-planets-impress.md

* generated protobuf

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-12-25 16:01:07 -06:00
lukasIO
e92d055bb7 Remove total_chunks from data streams (#931)
* Remove total_chunks from data streams

* generated protobuf

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-12-25 16:00:02 -06: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
f6b5078b22 Add filters to SIP list APIs. (#913) 2024-12-09 20:37:53 +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
lukasIO
c9f20a6024 Add DataStream support (#871)
* wip data stream messages

* generated protobuf

* smaller update

* generated protobuf

* attach files

* generated protobuf

* add sender identity

* generated protobuf

* update to reflect proposal discussion

* generated protobuf

* address comments

* generated protobuf

* Remove redundant options, clarify comments

* generated protobuf

* add generated flag

* generated protobuf

* Create yellow-buses-work.md

* generated protobuf

* fix changeset

* address comments

* generated protobuf

* remove contentLength from packet

* generated protobuf

* add to datapacket

* generated protobuf

* snake

* generated protobuf

* add comment

* generated protobuf

* add version to chunk

* generated protobuf

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-11-28 12:06:41 +01: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
Raja Subramanian
792495362f Utility to build livekit.MetricsBatch (#889)
* mbb WIP

* generated protobuf

* tweaks

* generated protobuf

* merge

* filters

* add IsEmpty

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-11-25 09:59:26 +05:30
Denys Smirnov
f558b991de Fix port type for SIPUri. (#882) 2024-11-12 22:39:28 +02:00
David Colburn
391b78ffe9 EgressInfo helpers (#880)
* EgressInfo helpers

* add backup_used to egress info

* generated protobuf

* update helper

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-11-12 13:24:53 -05:00
Denys Smirnov
5bd7e73f31 Add disconnect reason for SIP failures. (#845) 2024-11-01 17:37:48 +02:00
David Colburn
95e69930e0 remove separate presigned url (#874)
* remove separate presigned url

* generated protobuf

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-10-31 13:27:37 -04:00
Benjamin Pracht
ee0a12bd25 Add extra fields to SIP analytics events (#872)
---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-10-28 10:10:43 -07: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 Zhao
1eb56d4243 Improve usability of room configuration (#864)
* Improve usability of room configuration

- allowing setting configuration parameters directly
- removes dispatch wrapper to simplify agents specification

* generated protobuf

* changeset

* rename to roomConfig to avoid confusion

* fix test

* export agent dispatch protobufs

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-10-21 22:37:24 -07: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
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
Paul Wells
136dfa7a25 fix agents rpc enum typo (#838)
* fix agents rpc enum typo

* generated protobuf

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-10-07 04:03:47 -07:00
Paul Wells
603b677f79 update agent job count type (#835)
* udpate agent job count type

* generated protobuf

* move object slice

* license

* errs

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-10-05 05:06:43 -07:00
David Colburn
75af842a12 SIP features (#826)
* add enabled_features to EvaluateSIPDispatchRules

* generated protobuf

* string -> enum

* generated protobuf

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-10-03 18:02:39 -04:00
Denys Smirnov
2406243b2f Add disconnect reasons for SIP. (#828) 2024-10-03 11:44:09 +03:00
Ben Cherry
12ec4d2d72 Add other_sdks field to ClientInfo (#804)
* Add other_sdks field to ClientInfo

* Create thirty-forks-sleep.md

* sc

* generated protobuf

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-09-24 10:07:13 -07:00
Ben Cherry
ddac94c0a2 RPC types (#814)
* protobuf

* generated protobuf

* Changes

* generated protobuf

* clean up sids

* generated protobuf

* get rid of response acks

* generated protobuf

* rmer

* generated protobuf

* updated

* generated protobuf

* Create flat-birds-walk.md

* ws

* request_id

* generated protobuf

* rich

* generated protobuf

* code

* generated protobuf

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-09-24 09:46:03 -07:00
davidliu
72783b8ff9 Client metrics protocols (#821)
* Client metrics

* changeset

* generated protobuf

* update naming

* generated protobuf

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-09-24 22:27:09 +09:00
Benjamin Pracht
71b9c184e5 Add TransferParticipant to sip and sip internal services (#816) 2024-09-20 11:47:53 -07:00
lukasIO
3d6b293a19 Add generated flag to ChatMessage (#813)
* Add generated flag to ChatMessage

* generated protobuf

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-09-19 08:12:35 +02:00
Denys Smirnov
1f5de7d620 Update SIP protocol (#805)
* Update SIP protocol. Pass headers and project ID.

* generated protobuf

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-09-13 10:45:25 +03:00
Raja Subramanian
b75762426e Some metrics protocol changes (#806)
* Some metrics protocol changes

- Add an envelope time stamp. That should be timestamp when the packet
  is actually sent.
- Remove `start_timestamp`/`end_timestamp` from `TimeseriesMetric` as it
  is not clear how it will be used. Can add later if needed.

* generated protobuf

* change comment

* generated protobuf

* comments

* generated protobuf

* clean up

* generated protobuf

* comment to mention absolute time

* generated protobuf

* adding server normalized timestamps

* generated protobuf

* comment

* generated protobuf

* comments

* generated protobuf

* Changeset

* remove incorrect changeset

* try again

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-09-13 11:57:40 +05:30