Commit Graph

495 Commits

Author SHA1 Message Date
renovate[bot] 85704f83c2 Update pion deps (#1854)
Generated by renovateBot

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-07 15:44:32 -07:00
renovate[bot] aab2af9755 Update golang.org/x/exp digest to 050eac2 (#1940)
Generated by renovateBot

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-07 14:27:39 -07:00
David Zhao debd75fa15 Integrate logger components (#1933)
* Integrate logger components

Dividing into the following components
* pub - publisher
* pub.sfu
* sub - subscriber
* transport
* transport.pion
* transport.cc
* api
* webhook

* update go modules
2023-08-03 13:31:17 -07:00
cnderrauber eadc910bff Add PlayoutDelay to CreateRoomRequest (#1930)
* Add PlayoutDelay to CreateRoomRequest

* Remove max delay from palyoutdelay
2023-08-03 16:32:59 +08:00
Raja Subramanian 03ab242fb8 Reduce another noisy log to Debugw (#1931)
* Reduce another noisy log to Debugw

* update deps
2023-08-03 12:53:10 +05:30
renovate[bot] 0c5161e9ab Update golang.org/x/exp digest to d63ba01 (#1924)
Generated by renovateBot

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-01 20:36:23 -07:00
Raja Subramanian b6394d5aa6 De-dupe ICE candidates, makes logging cleaner. (#1916) 2023-07-29 18:26:57 +05:30
renovate[bot] cfee506f51 Update golang.org/x/exp digest to b0cb94b (#1877)
Generated by renovateBot

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-28 16:39:58 -07:00
renovate[bot] e6a47a24a7 Update livekit deps (#1869)
Generated by renovateBot

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-16 13:24:06 -07:00
Raja Subramanian 06d8459234 Pick up proto proxy no update on no change (#1881) 2023-07-15 14:09:22 +05:30
Benjamin Pracht 68e5fa8e1c Allow listing ingress by id (#1874) 2023-07-14 09:11:55 +08:00
David Colburn 9cf190bdf7 update protocol, psrpc (#1872) 2023-07-12 21:46:48 -04:00
renovate[bot] 49e72fb252 Update golang.org/x/exp digest to 06a737e (#1868)
Generated by renovateBot

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-11 09:02:52 -07:00
renovate[bot] 9abc580e8b Update golang.org/x/exp digest to fffb143 (#1866)
Generated by renovateBot

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-10 21:56:47 -07:00
renovate[bot] 0e15619355 Update module github.com/livekit/protocol to v1.5.9 (#1846)
Generated by renovateBot

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-08 23:31:45 -07:00
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