Commit Graph

30 Commits

Author SHA1 Message Date
David Colburn
785d3bfaa1 update egress obsrv (#1481) 2026-04-04 21:18:22 +09:00
David Colburn
7558ba4c26 comment out EgressInfo_Egress, move replay to livekit package (#1466)
* comment out EgressInfo_Egress

* move replay to livekit package

* generated protobuf

* update magefile

* generated protobuf

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2026-03-25 15:53:50 +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
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
Benjamin Pracht
ab6265e820 Add a few missing copyright headers (#1285) 2025-11-05 16:24:42 -08:00
Benjamin Pracht
3460265b84 Redact external_id field (#1152)
---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2025-08-08 09:25:08 +02:00
David Zhao
b7ee9e0582 use SetVideoGrant instead of deprecated AddGrant (#1059)
* use SetVideoGrant instead of deprecated AddGrant

* generated protobuf

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2025-05-02 23:43:17 -07:00
Benjamin Pracht
b29f0a8bf5 Export GetEgressNotifyOptions (#1045) 2025-04-11 09:39:12 -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
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
David Colburn
cb008da1d6 add directOutput interface (#681) 2024-04-16 10:29:53 -07:00
Benjamin Pracht
6e689b5c35 Add ImageOutput to egress EncodedOutput utils (#612) 2024-02-26 13:24:46 -08:00
Denys Smirnov
2e48332992 Pass participant kind in the grant. (#571) 2024-01-16 17:19:18 +02:00
David Colburn
9f0a8f87da Participant composite (#443)
* participant composite egress

* generated protobuf

* remove composite

* generated protobuf

* export GetOutputType

* generated protobuf

* remove duplicate code

* add screenshare option

* revert psrcp

* generated protobuf

* generated protobuf

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2023-08-25 00:01:27 -07:00
David Colburn
24573198ef update egress intefaces (#442) 2023-08-08 13:39:25 -07:00
David Zhao
c9e9ae555f Add license headers & NOTICE (#429)
* Add license headers & NOTICE

* generated protobuf

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2023-07-27 16:43:25 -07:00
David Colburn
5cbcc24208 Remove deprecated egress rpc (#426)
* remove old rpc system

* generated protobuf

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2023-07-25 17:11:32 -07:00
David Colburn
a186ecb11a Add await start to web egress (#393)
* add await start to web egress

* generated protobuf

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2023-06-01 14:21:00 -07:00
David Colburn
22791f5141 GetTypes (#369)
* GetTypes

* remove websocket type
2023-05-03 12:19:11 -07:00
David Colburn
8a6b0e0562 Prevent breakage due to casting (#301)
* prevent breakage due to casting

* remove protoc version

* move old rpc systems back

* generated protobuf

* add deprecated comments

* handle new proto in SendRequest

* remove extra fields

* generated protobuf

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2023-02-15 15:59:03 -08:00
David Colburn
4a1ada9899 Move psrpc to protocol (#300)
* move psrpc to protocol

* generated protobuf

* add psrpc to proto target

* deprecate more fields

* update static check and generate

* generated protobuf

* update renovate

* use latest protoc

* psrpc 0.2.6

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2023-02-15 12:06:09 -08:00
David Zhao
9a57a8c5b2 Fix support for Redis cluster mode, updated to v9 (#297)
* Fix support for Redis cluster mode, updated to v9

* update to Go 1.18
2023-02-12 21:48:01 -08:00
Tom Xiong
92c1211d70 Support redis cluster (#241)
* use redis.UniversalClient instead of single-node client, FailoverClient and ClusterClient to support Redis Cluster mode
2022-10-27 23:34:42 -07:00
Benjamin Pracht
1cadd9613c Add some errors used across services (#148)
This adds ErrNoResponse and ErrEgressTimedOut
2022-07-14 13:54:05 -07:00
Benjamin Pracht
df4d3bb245 Make sure we do not override the egressid when forwarding messages from the controller (#145)
This allows to have consistent Egress IDs across API calls, and solves UpdateLayout failures
2022-07-10 13:01:55 -07:00
David Colburn
e66f32ebb7 Rpc handler (#135)
* updated egress rpc

* new statuses

* update sendresponse

* update names

* update claim

* nil redis client
2022-06-13 11:59:08 -07:00
David Colburn
13b2038518 don't override egressID 2022-02-24 15:29:47 -08:00
David Colburn
d8c251e132 update BuildEgressToken 2022-02-23 11:52:54 -08:00
David Colburn
ec6020d865 Egress (#92)
* egress

* generated protobuf

* remove ingress

* update egress package

* update optional enums

* generated protobuf

* updated proto

* add sent_at to start request

* generated protobuf

* default codecs

* remove extra codecs for now

* generated protobuf

* put recording back

* add connection options

* generated protobuf

* put recording back

* add sent_at and room_id

* generated protobuf

* add sent_at and room_id

* generated protobuf

* update egressInfo

* put recordingInfo back in webhooks

* egress events

* update analytics event

* egress status

* deprecate recording rpcs

* undo some changes

* key/secret -> token

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2022-02-22 00:21:29 -08:00