781 Commits

Author SHA1 Message Date
cnderrauber
a71cf35d58 Merge remote-tracking branch 'origin/main' into whep
Some checks failed
Generate / generate (push) Has been cancelled
2024-07-30 10:59:21 +08:00
cnderrauber
5a1d432adc rename utils 2024-07-30 10:58:26 +08:00
Paul Wells
45b9751aaf add atomic config helpers (#772)
* add atomic config helpers

* generated protobuf

* copy

* disable grpc generation for protos

* copy

* deps

* tidy

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-07-29 19:55:40 -07:00
cnderrauber
b32524a0fe rename WHIP/WHEP prefix 2024-07-30 10:40:26 +08:00
github-actions
fcc943cef4 generated protobuf 2024-07-30 02:14:40 +00:00
cnderrauber
b43a4f9eaf solve comment 2024-07-30 10:13:35 +08:00
David Zhao
4457aaa904 Support attributes assignment upon agent job acceptance (#769)
* Support attributes assignment upon agent job acceptance

* generated protobuf

* changeset

* rename with participant_prefix

* generated protobuf

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-07-29 11:22:45 -07:00
cnderrauber
331f246754 empty line 2024-07-29 16:38:45 +08:00
cnderrauber
bc70a7d7ec whep protocols 2024-07-29 16:36:58 +08:00
Paul Wells
47a1eaca35 add blocking event emitter mode (#768) 2024-07-26 01:35:24 -07:00
David Colburn
bacbd15bfb Egress SRT output (#766)
* egress SRT output

* generated protobuf

* changeset

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-07-23 00:31:12 -04:00
Benjamin Pracht
0df8e89387 Implement a custom YAML unmarshaller for RoomConfiguration (#765) 2024-07-19 10:23:32 -07:00
Benjamin Pracht
497688ff49 Internal agent protocol improvements (#764) 2024-07-16 15:53:17 -07:00
Paul Wells
b5404e5c9a add final field to TrickleRequest (#763)
* add final field to TrickleRequest

* generated protobuf

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-07-16 09:36:57 -07:00
Benjamin Pracht
034b43c47a Use consistent json field name for room configuration grant (#762) 2024-07-15 15:38:18 -07:00
Benjamin Pracht
32175c1626 Remove unused fields from RegisterWorkerRequest (#761) 2024-07-15 14:03:38 -07:00
cnderrauber
90ec75735b add disable_ice_lite option (#760)
* add disable_ice_lite option

* generated protobuf

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-07-15 15:02:26 +08:00
Raja Subramanian
9e23fdbd08 Revert "Update to go/jose/v4 (#756)" (#759)
This reverts commit 73ece66d30.
2024-07-12 13:28:45 +05:30
lukasIO
18c869b108 Rename ErrorResponse Reason INVALID_ARGUMENT to LIMIT_EXCEEDED (#758)
* Rename ErrorResponse Reason INVALID_ARGUMENT to LIMIT_EXCEEDED

* generated protobuf

* Create tough-dingos-love.md

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-07-11 12:26:51 +02:00
Benjamin Pracht
f187d838fc Add AgentDispatchPrefix to guid (#757) 2024-07-10 19:21:40 -07:00
David Zhao
73ece66d30 Update to go/jose/v4 (#756)
* Update to go/jose/v4

* changeset

* remove unused import

* use longer key for test
2024-07-10 10:12:29 -07:00
David Colburn
14b61d08b0 Replay (#755)
* rebase

* update replay api

* generated protobuf

* add comment

* changeset

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-07-08 15:39:54 -07:00
Benjamin Pracht
8c1eef4468 Agents protocol feedback (#750)
This includes some feedback on the agents protocol:

- Rename JobDescription to AgentDispatch
- Remove participant_identity entry in the dispatch
- Deprecate namespace
- Add an agent_name field to specify what agent workers a job should be dispatched to

This also allows setting a room configuration in the token.
2024-07-05 18:53:29 -07:00
David Colburn
b272353929 Add filename prefix to ImagesInfo (#751)
* add filename prefix to imagesInfo

* generated protobuf

* changeset

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-07-05 08:50:36 -07:00
cnderrauber
94a2cfe2f1 Add track subscribed first time notification (#752)
* Add track subscribed first time notification

* empty line

* generated protobuf

* Create proud-gorillas-press.md

* update pnpm action

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: lukasIO <mail@lukasseiler.de>
2024-07-05 21:45:35 +08:00
github-actions[bot]
e099d367dd Version Packages (#747)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
@livekit/protocol@1.19.1 github.com/livekit/protocol@1.19.1 v1.19.1
2024-07-02 17:35:54 +02:00
renovate[bot]
fb8bb59f73 Update dependency @changesets/cli to v2.27.7 (#718)
Generated by renovateBot

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-01 13:03:20 +02:00
renovate[bot]
aa335df02e Update dependency @bufbuild/protobuf to v1.10.0 (#694)
Generated by renovateBot

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-01 13:02:48 +02:00
renovate[bot]
e17caf57c8 Update dependency @bufbuild/protoc-gen-es to v1.10.0 (#693)
Generated by renovateBot

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-01 12:55:47 +02:00
Benjamin Pracht
82786f41fd Additions to agent protocol (#717)
This PR:

- Adds StartAgentJobRequest/StopAgentJobRequest calls to start an handle manually mange an agent lifecycle
- Deprecates the JobType field in WorkerInfo as workers will now be expected to handle both kinds jobs (if the namespace supports both kinds in the first place)
- Adds a metadata string -> string map to Job to allow agent implementation to take anonymous (to us) parameters
- Adds a JobStatus and error fields to Job for status reporting (Similar to egress and ingress)
- Makes livekit_agent.proto indentation consistent with other proto files
- Add room configuration and management APIs to the Room service. Rooms configuration allow bundling most room configuration parameters under a single id, that can eventually be put as part of the room creation token.
2024-06-27 10:30:58 -07:00
Raja Subramanian
b2dc8deac6 Update retryable-http (#749)
* Update retryable-http

Dependabot flagged a securty updat
https://github.com/livekit/livekit/security/dependabot/9

* tidy
2024-06-25 12:17:03 +05:30
lukasIO
6dec8d27f9 Add ErrorResponse (#743)
* Add ErrorResponse

* generated protobuf

* Create purple-swans-study.md

* Update purple-swans-study.md

* Add ErrorResponse to possible server responses

* generated protobuf

* Use reason error instead of uint error code

* generated protobuf

* Add invalid argument error

* generated protobuf

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-06-21 10:33:50 +02:00
github-actions[bot]
288772c53c Version Packages (#746)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
@livekit/protocol@1.19.0 github.com/livekit/protocol@1.19.0 v1.19.0
2024-06-20 20:13:28 +03:00
Denys Smirnov
79b5ea9ea9 Add SIP grants. (#745) 2024-06-20 17:49:41 +03:00
Denys Smirnov
7814d0fbc2 Fix typo in SIP Trunk conversion. (#744) 2024-06-20 17:49:23 +03:00
github-actions[bot]
f50408c48c Version Packages (#736)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
@livekit/protocol@1.18.0 github.com/livekit/protocol@1.18.0 v1.18.0
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
Paul Wells
425cb974f7 update yaml config tags (#741) 2024-06-13 23:08:01 -07: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
Benjamin Pracht
114aac165b Add KillIngressSession to ingress RPC (#735) 2024-06-12 13:15:27 -07: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
Paul Wells
fcde125058 move analytics rpc to common rpc path (#732)
* move analytics rpc to common rpc path

* generated protobuf

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-06-05 23:44:24 -07:00
Paul Wells
429fec77a6 move analytics recorder service out of livekit package (#731)
* move analytics recorder service out of livekit package

* files

* generated protobuf

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-06-05 19:39:00 -07:00
Paul Wells
d5e9f0a2f9 refactor guid out of utils (#730)
* refactor guid out of utils

* cleanup
2024-06-05 19:07:23 -07:00
github-actions[bot]
90207b41e2 Version Packages (#715)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
@livekit/protocol@1.17.0 github.com/livekit/protocol@1.17.0 v1.17.0
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
Paul Wells
ec704e0cf2 fix psrpc method kind metric label (#725) 2024-05-28 18:32:58 -07:00