Commit Graph

480 Commits

Author SHA1 Message Date
David Colburn 4afb0e0b9b retry egress on timeout/resource exhausted (#1852) 2023-07-05 15:03:18 -07:00
Raja Subramanian e3954d1d64 Use timed aggregator. (#1843)
* Use timed aggregator.

For aggregate bitrate and average distance from desired.

Also, clean up debug added to track leak.

* update deps
2023-07-01 10:21:15 +05:30
renovate[bot] 3de1e49165 Update module github.com/livekit/protocol to v1.5.8 (#1733)
Generated by renovateBot

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-29 20:31:17 -07:00
David Zhao 7be9e2258d Upgrade to Pion 3.0.11, disable active TCP (#1836) 2023-06-28 16:53:58 -07:00
renovate[bot] ad51339357 Update go deps (#1826)
Generated by renovateBot

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-26 16:48:09 -07:00
renovate[bot] c21f275ab2 Update module github.com/hashicorp/golang-lru/v2 to v2.0.4 (#1817)
Generated by renovateBot

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-23 00:55:44 -07:00
Benjamin Pracht 1f6efedd31 Send updated events on state updates (#1819) 2023-06-22 09:20:58 -07:00
renovate[bot] c12e15ff52 Update module github.com/urfave/cli/v2 to v2.25.7 (#1804)
Generated by renovateBot

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-21 00:09:43 -07:00
Paul Wells 9e3f30d457 go mod tidy (#1805) 2023-06-18 20:37:40 -07:00
Paul Wells a6d091a810 update protocol (#1803) 2023-06-18 18:13:34 -07:00
renovate[bot] d0cda7c147 Update go deps (#1793)
Generated by renovateBot

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-15 21:00:19 -07:00
renovate[bot] 41bb1d8745 Update go deps (#1791)
Generated by renovateBot

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-14 18:07:25 -07:00
Raja Subramanian 9809b8bc3a Use nack queue params. (#1789)
* Use nack queue params.

* fix test
2023-06-12 13:01:02 +05:30
David Zhao ba513f521d Update protocol to ensure Room metadata updates are sent immediately (#1787) 2023-06-10 20:15:41 -07:00
Raja Subramanian f518f5d743 Log head SN when packet cannot be fetched (#1780) 2023-06-09 12:13:06 +05:30
renovate[bot] bc11419755 Update module github.com/hashicorp/golang-lru/v2 to v2.0.3 (#1774)
Generated by renovateBot

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-06 23:32:28 -07:00
Paul Wells 6e063896d0 update psrpc (#1770)
* update psrpc

* update protocol
2023-06-05 18:42:02 -07:00
David Colburn 9a698736d1 include await_start_signal (#1759) 2023-06-01 16:56:12 -07:00
renovate[bot] 5a8305f09b Update module github.com/stretchr/testify to v1.8.4 (#1756)
Generated by renovateBot

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-31 22:18:26 -07:00
cnderrauber c1842cb54f Avoid reconnect loop for unsupported downtrack (#1754)
* Avoid reconnect loop for unsupported downtrack

If the client subscribes to a track which codec is unsupported by the
client, sfu will trigger negotiation failed and issue a full reconnect
after received client answer. If the client try to subscribe that track
then it will got full reconnect again. That will cause a infinite
reconnect loop until the client don't subscribe that track. This PR
will unsubscribe the error track for the client and send a
SubscriptionResponse that contain the reason to indicates the track's
codec is not supported to avoid the reconnect loop.
2023-05-31 11:41:22 +08:00
Benjamin Pracht d598e06d9f Add support for bypass_transcoding field in ingress (#1741) 2023-05-30 13:41:12 -07:00
renovate[bot] ca3e9ab524 Update go deps (#1750)
Generated by renovateBot

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-29 22:50:24 -07:00
Paul Wells 2edd257705 update psrpc (#1749) 2023-05-28 12:54:23 -07:00
renovate[bot] e99aabd908 Update go deps (#1697)
Generated by renovateBot

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-27 21:34:15 -07:00
renovate[bot] aefbdde3b8 Update pion deps (#1706)
* Update pion deps

Generated by renovateBot

* remove active TCP override

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: David Zhao <dz@livekit.io>
2023-05-27 21:33:24 -07:00
David Zhao 61d393e709 Disable active TCP by rolling back to ICE v2.3.3 (#1735)
* Revert "Disable active TCP (#1726)"

This reverts commit 5260907ffe.

* Disable active TCP by rolling back to ICE v2.3.3
2023-05-23 21:27:03 -07:00
David Zhao 12c6f1e12c Added Xiaomi 2201117TI to devices that does not support H.264 (#1728) 2023-05-22 21:38:56 -07:00
Raja Subramanian cba37389da mediatransportutil to get wrap back fix (#1732) 2023-05-23 10:02:36 +05:30
renovate[bot] ceac340ddc Update github.com/livekit/mediatransportutil digest to cc5a379 (#1731)
Generated by renovateBot

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-22 13:41:27 -07:00
renovate[bot] 04bcd601f0 Update livekit deps (#1599)
Generated by renovateBot

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-22 13:29:52 -07:00
Raja Subramanian d9e682a0d2 Fix unwrap (#1729)
* Fix unwrap

An out-or-order packet wrapping back after a wrap around had already happened
 was not using proper cycle ounter to calculate unerapped value.

* update mediatransportutil
2023-05-22 18:46:56 +05:30
shishirng 2e93d386fe send min/median connection score along with avg (#1720)
* send min/median connection score along with avg
* guard against divide by zero for avg score calculation
* update median calculation

Signed-off-by: shishir gowda <shishir@livekit.io>
2023-05-18 13:50:54 -04:00
Benjamin Pracht f401c44a46 Move TURNServers back to livekit-server (#1715) 2023-05-17 15:24:17 -07:00
Raja Subramanian 61102533ae Monitor and log RTP time stmap drifts (#1710)
The PID controller seems to be working well. But, it is unclear where
it can be applied as some of the data shows significant jumps
(either caused by BT devices or possibly noise cancellation/cpu
constraint) and although PID controller is slowly pulling things
to expected sample rate, it could be a bit slow.
Unfortunately, cannot munge too much in a middle box.
However leaving the controller in there as it is doing its job
for cases where things slip slowly.

Changing things to log significant jumps (more than 200 ms away
from expected) at Infow level.

Also, recording drift and sample rate in RTP stats proto and string
representation.
2023-05-13 18:41:09 +05:30
Benjamin Pracht 4244542840 Adopt WebRTCConfig from mediatransportutil (#1707)
This also adds support for inline fields in ToCLIFlagNames
2023-05-10 20:00:34 -07:00
David Colburn 2ccee369a6 update notifier (#1702) 2023-05-09 20:52:22 -07:00
David Zhao ae5d2c3261 Integrate fix for webhook delivery delays (#1690) 2023-05-05 23:11:22 -07:00
renovate[bot] e00ff50cd6 Update go deps (#1680)
Generated by renovateBot

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-04 22:33:22 -07:00
renovate[bot] 4bd20c77b7 Update module github.com/prometheus/client_golang to v1.15.1 (#1677)
Generated by renovateBot

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-03 09:33:20 -07:00
renovate[bot] 0e9e7e994d Update go deps (#1672)
Generated by renovateBot

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-03 00:08:12 -07:00
Benjamin Pracht 11749eace9 Add support for creating WHIP ingress (#1674) 2023-05-02 13:26:47 -07:00
Paul Wells 87e2b2366e reduce log level of signal close errors (#1675)
* reduce log level of signal close errors

* update psrpc

* cleanup

* cleanup
2023-05-02 08:31:12 -07:00
renovate[bot] faebb79ebe Update go deps (#1648)
Generated by renovateBot

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-30 22:16:03 -07:00
Raja Subramanian dfa3d77945 Misc changes (#1669) 2023-04-30 15:42:39 +05:30
Benjamin Pracht a08cd23b6d Adopt pion logging initialization moving to protocol (#1667) 2023-04-28 10:51:41 -07:00
Paul Wells f9f89cd7cf close signal with reliable message (#1658)
* close signal with reliable message

* update protocol
2023-04-26 22:59:39 -07:00
Paul Wells 5751b8c082 rebase (#1654) 2023-04-24 20:02:28 -07:00
Raja Subramanian 8ed193b231 StreamAllocator - tracking more things (#1652)
* WIP commit

* Add a probe cluster mode

* better variable naming

* fix units

* WIP commit

* WIP commit

* WIP commit

* new file

* WIP commit

* Maintain history of a few things

* correct signal

* fix typo

* WIP commmit

* gofmt

* rate not sum

* adjust edges of rate monitor

* fmt

* remove debug
2023-04-25 07:31:22 +05:30
Paul Wells 7dc8f8bcd3 update psprc (#1651) 2023-04-23 23:51:02 -07:00
renovate[bot] 1cb189a3dd Update module github.com/pion/transport/v2 to v2.2.0 (#1626)
Generated by renovateBot

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-22 21:16:11 -07:00