Commit Graph

43 Commits

Author SHA1 Message Date
github-actions[bot]
f50408c48c Version Packages (#736)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-06-19 22:29:44 -07:00
David Zhao
e0c49d3c9d Support for key/value attributes on Participant (#733)
* Support for key/value attributes on Participant

Key/value attributes lets us:
* allow various components to provide more information about the participant (i.e. SIP including the phone number)
* allow Agents to communicate their own status to the end user via RTC
* enable applications to update specific fields without overriding others

* generated protobuf

* Attribute support for SIP.

* generated protobuf

* generated protobuf

* allow specifying attributes during token generation

* Remove sip prefix and rename phone number attrs.

* regenerate protos

* update tests

* add kv attrs to sip token

* add attribute test

* changeset

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Denys Smirnov <dennwc@pm.me>
2024-06-19 22:27:09 -07:00
Denys Smirnov
32c577d805 Split SIP Trunk configuration to inbound and outbound parts. (#738) 2024-06-17 21:42:19 +03:00
David Zhao
61e656c292 Downgrade significance of number matching to patch (#740)
Since it does not change the protocol itself, downgrading to patch
2024-06-14 11:15:32 +03:00
David Zhao
725bc923f9 Unique IDs for analytics events and stats (#739)
* Unique IDs for analytics events and stats

* generated protobuf

* changeset

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-06-13 22:47:16 -07:00
Denys Smirnov
0411da6790 Simplify number matching rules. Make '+' optional. (#737) 2024-06-13 13:26:21 +03:00
David Colburn
1dd95af542 s3 session token (#734)
* s3 session token

* changeset

* generated protobuf

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-06-11 17:39:00 -07:00
github-actions[bot]
90207b41e2 Version Packages (#715)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-06-01 23:39:34 -07:00
David Zhao
c2a0176030 Include node_id with analytics events (#727)
* Include node_id with analytics events

in order to make it easier to reconcile in a distributed setup

* generated protobuf

* changeset

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-06-01 23:10:00 -07:00
Denys Smirnov
142d7f108f Match SIP Trunks by source IP or mask. (#724) 2024-05-28 20:55:36 +03:00
Denys Smirnov
90dfd668f4 Add support for additional SIP transports. (#719) 2024-05-23 20:14:47 +03:00
Denys Smirnov
47e4c6bba7 Rename participant_identity in Transcription (#706)
There are two fields named participant_identity in context of Transcription. It's not clear which one corresponds to the transcriber agent, and which one is for the participant which got its speech transcribed.

This change renames the Transcription field to transcribed_participant_identity so to clarify that it's used for the transcribed participant.
2024-05-17 21:58:51 +03:00
Sean DuBois
5aa3d97713 Add ICERestartWHIPResource to RPC (#716)
* Add ICERestartWHIPResource to RPC

* Create witty-tomatoes-smile.md

---------

Co-authored-by: Benjamin Pracht <benjamin@livekit.io>
2024-05-14 11:44:17 -07:00
David Colburn
511f517b1a add error code to egress info (#714)
* add error code to egress info

* generated protobuf

* add changeset

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-05-13 10:52:57 -04:00
github-actions[bot]
04372ebead Version Packages (#708)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-05-13 12:06:58 +02:00
Benjamin Pracht
93a26f478d Add RedactAutoEncodedOutput to support redacting auto egress types (#712)
Also redact image outputs, and support AliOSS uploads for auto egress

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-05-10 09:56:06 -07:00
Benjamin Pracht
dd69a5f011 Move egress request redacting routines to protocol (#711) 2024-05-09 15:26:22 -07:00
Denys Smirnov
38423424ed Allow number filtering on Dispatch Rules (#707)
Allow inbound number filtering on  SIP Dispatch Rules. It works similar to Trunks, where rules without a number filter are grouped together and take less priority than number-specific rules.

While at it, simplify the rule evaluation.

Previously it was doing some hand-crafted checks for evaluation path, that matched the validation path. Same double logic existed for priorities as well.

Now the validation is always called from evaluation, thus sharing the logic. And rule selection is simplified by just picking the first one after priority filtering.
2024-05-07 19:23:35 +03:00
github-actions[bot]
5f0256e10a Version Packages (#700)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-05-02 19:20:07 +02:00
lukasIO
f547128159 Add changeset for #703 (#704) 2024-05-02 18:35:25 +02:00
Denys Smirnov
151d757a97 Expose Logger constructor for Zap (#701)
* Expose Logger constructor for Zap.

* generated protobuf

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-05-01 13:27:48 +03:00
Denys Smirnov
e7962f4444 Pass additional metadata for SIP. (#696) 2024-04-26 13:44:03 +03:00
github-actions[bot]
17f16c6d15 Protocol release 1.14.0
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-04-26 09:21:23 +02:00
Benjamin Pracht
6d5a8047e6 WHIP protocol change (#680)
This PR adds an optional "enable_transcoding" entry to the ingress APIs and deprecates the bypass_transcoding entry. This is in preparation of disabling "enable_transcoding" by default for WHIP.
2024-04-25 19:35:05 +02:00
Denys Smirnov
da776daae7 Add optional name for SIP participant. (#687) 2024-04-19 15:02:57 +03:00
David Zhao
0bc8068edc Added changeset for Transcriptions (#686) 2024-04-18 13:01:38 -07:00
github-actions[bot]
ef65d2b4c8 Version Packages (#669)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-04-11 00:07:27 -07:00
Denys Smirnov
93ff4a23a3 Add and option to play ringtone for SIP outbound calls. (#671) 2024-03-29 22:54:06 +02:00
Denys Smirnov
e2c0cf8043 Support for converting Logger into slog.Handler. (#668)
This change allows to take an existing Logger and convert it into slog.Handler.

New ToSlogHandler function will check if the Logger implementation is a known one (Zap or Logr) and will convert it with package-specific functions.
2024-03-27 01:23:19 +02:00
github-actions[bot]
62e1809e72 Version Packages (#654)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-03-19 13:28:20 +01:00
lukasIO
981fefbbe9 Add signal requests for local track updates (#651)
* Add signal requests for local track updates

* changeset

* fix indices

* fix field naming

* generated protobuf

* address comment

* generated protobuf

* Remove video features for now

* generated protobuf

* whitespace

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-03-19 13:26:46 +01:00
Denys Smirnov
44e9dc34b4 Allow sending DTMF when creating SIP participant (#658)
* Allow sending DTMF when creating SIP participant.

* generated protobuf

* Add changeset.

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-03-14 22:39:25 +02:00
Denys Smirnov
4d22b4ce36 Move CPU stats to a separate hwstats package. Fixes #659. (#660) 2024-03-14 22:24:40 +02:00
Denys Smirnov
912f0cf1cd Add bounds check when trimming the number. (#650) 2024-03-13 15:27:33 +02:00
github-actions[bot]
b4eb83d841 Version Packages (#652)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-03-13 13:43:32 +01:00
lukasIO
de46ab020c Add a v-version tag for golang module (#646)
* Add a v-version tag for golang module

* fix array access

* changeset
2024-03-13 13:40:19 +01:00
github-actions[bot]
e96e23e254 Version Packages (#643)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-03-11 16:12:58 +01:00
lukasIO
61bb42ead5 Simplify exports paths and re-export BigInt helper (#642)
* Simplify exports paths

* changeset

* Re-export proto bigint helper
2024-03-11 16:09:11 +01:00
github-actions[bot]
47adc43f01 Version Packages (#641)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-03-11 11:21:02 +01:00
lukasIO
5726c611cb Export livekit_room stubs for protocol package (#640)
* export livekit_room stubs for protocol package

* changeset

* forgot ingress
2024-03-11 11:17:58 +01:00
github-actions[bot]
0ea9ef145f Version Packages (#636)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-03-08 16:30:01 +01:00
lukasIO
bf6b141cd7 Fix JS file import paths (#635)
* Fix JS file import paths

* add changeset
2024-03-08 16:26:37 +01:00
lukasIO
c04669aee6 Separate protobufs and set up changesets publishing workflow (#629)
* Separate protobufs from module code

* update generate workflow

* install mage only

* fix paths

* generated protobuf

* fix test action

* fix cache dependency path

* setup versioning

* add golang workspace file

* delete generated files from git

* Update gitinore

* fix release workflow

* Move go code back to root

* fix working directory

* fix changeset script

* revert debug changes

* remove go cache path

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-03-08 10:37:35 +01:00