Commit Graph

655 Commits

Author SHA1 Message Date
Benjamin Pracht
b0d723aaa9 Export redactStreamKey as RedactIdentifier (#419) 2023-07-11 15:41:19 +08:00
Benjamin Pracht
193f7bd191 Move redact.go from egress (#417) 2023-07-11 08:39:53 +08:00
renovate[bot]
fc3437606a fix(deps): update go deps (#416)
Generated by renovateBot

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-08 22:58:39 -07:00
renovate[bot]
fefcd74b77 fix(deps): update go deps (#399)
* fix(deps): update go deps

Generated by renovateBot

* generated protobuf

* improve protoproxy test reliability

---------

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>
Co-authored-by: David Zhao <dz@livekit.io>
v1.5.9
2023-07-08 22:48:29 -07:00
kannonski
8460641348 Fix livekit-server termination after Redis master switch over (#401)
Fixes livekit/livekit#1559
2023-07-08 22:36:12 -07:00
Paul Wells
99e39d9896 add math utils (#415) 2023-07-05 23:39:19 -07:00
David Colburn
424b21fd0e retry on egress timeout or resource exhausted (#414) 2023-07-05 14:55:02 -07:00
cnderrauber
448dac4d68 Add stream to track request/info (#411)
* Add stream to track request/info

* Add PlayoutDelay to RoomConfig

* generated protobuf

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2023-07-03 15:37:52 +08:00
Raja Subramanian
e5323cdb4a Timed aggregator. (#412)
* Timed aggregator.

Online aggretor over time.

Samples added aggregate (scaled by amount of time a sample
has lived for) at the time of adding sample.

Can get aggregate, aggregate duration and average value later.

First use: in scorer to keep track of aggregate bandwidth, average
distance from desired layer

* Feedback + check for backwards time in getters.
2023-07-01 09:58:48 +05:30
Benjamin Pracht
8e67918879 Add stream_key to DeleteWHIPResourceRequest (#413) 2023-06-30 14:52:51 -07:00
David Colburn
cda2a8ac91 Use floats for cpu (#410)
* use floats for cpu

* change CPUStats.NumCPU

* missed a return
v1.5.8
2023-06-29 18:29:18 -07:00
Benjamin Pracht
0644d9a979 Fix NumCPU implementation for cgroup v1 (#409) 2023-06-29 16:07:10 -07:00
Benjamin Pracht
5cff0336ab Add resourceID to IngressState (#408) 2023-06-28 18:50:34 -07:00
Paul Wells
519c96683d add graph node delete method (#407) 2023-06-22 10:20:00 -07:00
Paul Wells
c108af2ebf allow annotating rather than omitting field sampler matches (#406) 2023-06-20 18:14:38 -07:00
Benjamin Pracht
ce9e603cfd Make the framerate field a double in InputVideoState (#405) 2023-06-20 09:16:27 -07:00
Paul Wells
089430752e add room log sampler (#404)
* add room log sampler

* go deps

* feedback

* cleanup
2023-06-18 17:50:42 -07:00
Raja Subramanian
89359963fc Spelling (#403)
* Spelling

* mage bootstrap

* generated protobuf

* SE_UNKNOWN

* generated protobuf

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2023-06-14 23:08:26 +05:30
David Zhao
7d128913f3 Create missed queueUpdate channel for ProtoProxy (#402)
This caused immediate updates to not go through right away.
2023-06-10 20:06:50 -07:00
Paul Wells
6cb3e577e2 make graph accessors consistent (#400) 2023-06-08 05:55:54 -07:00
David Colburn
0aad9fb9e7 add updatedAt to egressInfo (#398)
* add updatedAt to egressInfo

* generated protobuf

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2023-06-07 11:38:07 -07:00
renovate[bot]
1838b80b57 fix(deps): update module github.com/hashicorp/go-retryablehttp to v0.7.4 (#395)
Generated by renovateBot

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-06 23:26:59 -07:00
shishirng
01ae0cb0fa Add EGRESS/INGRESS UPDATE events (#396)
* Add EGRESS/INGRESS UPDATE events

Signed-off-by: shishir gowda <shishir@livekit.io>
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2023-06-06 14:14:33 -04:00
renovate[bot]
7f36858dcf fix(deps): update go deps (#384)
Generated by renovateBot

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-05 22:22:50 -07:00
Paul Wells
d8cc358109 add event observer list util (#394)
* add event observer list util

* update psrpc

* update codegen

* generated protobuf

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2023-06-05 18:22:16 -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
Mikhail Chekh
89c91393d0 Fix call numCPU in root cgroup (#388) 2023-05-31 10:14:46 -07:00
cnderrauber
2a4d1a607b Add TrackNotFound to Subscription Error (#392)
* Add TrackNotFound to Subscription Error

* generated protobuf

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2023-05-31 11:08:40 +08:00
lukasIO
262f7eca9b Fix typo in subscription response (#391)
* fix typo in subscription response

* generated protobuf

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2023-05-30 15:29:12 +02:00
cnderrauber
b8c7e33fa0 Add SubscriptionResponse signal message (#390)
* Add SubscriptionResponse signal message

* generated protobuf

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2023-05-30 18:15:27 +08:00
David Zhao
dbea81ff07 Log adapter for retryablehttp (#389)
* Log adapter for retryablehttp

* call depth of 1
2023-05-29 10:38:45 -07:00
Benjamin Pracht
52cca4239c Add Audio/Video options for passthrough (#387) 2023-05-25 15:57:06 -07:00
David Zhao
4c2100267b ability to disable codecs only for publish (#386)
* ability to disable codecs only for publish

* generated protobuf

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
v1.5.7
2023-05-22 21:23:59 -07:00
lukasIO
efad03ffe4 Add server injected frame trailer bytes to join response (#381)
* Add server injected frame trailer bytes to join response

* generated protobuf

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2023-05-22 09:49:55 +02:00
renovate[bot]
eefdb3b712 fix(deps): update go deps (#383)
Generated by renovateBot

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-18 21:53:05 -07:00
shishirng
8999a6b785 send min and median connection scores (#382)
* Send min and media connection scores along with avg(current score)
* generated protobuf

Signed-off-by: shishir gowda <shishir@livekit.io>
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2023-05-18 13:13:13 -04:00
renovate[bot]
3af63581bf fix(deps): update go deps (#375)
Generated by renovateBot

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-18 09:32:06 -07:00
Paul Wells
08ebbda448 add graph util (#380) 2023-05-14 22:26:51 -07:00
Paul Wells
c3734b9b46 add event emitter (#379)
* add director node type

* add event emitter

* add tests

* generated protobuf

* feedback

* correct require

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2023-05-14 20:42:41 -07:00
Raja Subramanian
c5dc103838 Add sample rate and drift to RTP stats (#378)
* Add sample rate and drift to RTP stats

* make tests a bit more robust

* generated protobuf

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2023-05-13 14:38:13 +05:30
Paul Wells
26fe70550b add b62 encoding for guids (#376)
* add b62 encoding for guids

* add test

* cleanup

* cleanup
2023-05-12 11:59:53 -07:00
Paul Wells
40c26a892d add structured logging for protobuf messages (#377) 2023-05-12 11:03:44 -07:00
David Colburn
cadccd5410 update notifier (#374)
* update notifier

* update drop test

* fix draining

* change webhookCheckInterval back
2023-05-09 17:21:13 -07:00
Paul Wells
e2f4e65f58 record stack trace in lock tracker (#373)
* record stack trace in lock tracker

* copy stack
2023-05-07 02:02:38 -07:00
David Zhao
ac74d1e920 Periodically process webhooks queue, in case an event was not flushed (#372)
* Periodically process webhooks queue, in case an event was not flushed

* more resilient goroutines check

* added more logging
v1.5.6
2023-05-05 16:35:07 -07:00
renovate[bot]
6c978d46a6 fix(deps): update module google.golang.org/grpc to v1.55.0 (#371)
Generated by renovateBot

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-04 22:34:08 -07:00
renovate[bot]
466f2f5cfe fix(deps): update module go.uber.org/atomic to v1.11.0 (#370)
Generated by renovateBot

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-03 21:23:50 -07:00
David Colburn
22791f5141 GetTypes (#369)
* GetTypes

* remove websocket type
2023-05-03 12:19:11 -07:00
renovate[bot]
dcea9e925a fix(deps): update go deps (#364)
Generated by renovateBot

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-03 10:01:21 -07:00
Benjamin Pracht
b2974692eb Move ErrInvalidIngressType to protocol (#368) 2023-05-01 14:37:48 -07:00