Commit Graph
314 Commits
Author SHA1 Message Date
renovate[bot] 9e77abebb2 Update module github.com/urfave/cli/v2 to v2.19.2 (#1076)
Generated by renovateBot

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-10-12 23:10:40 -07:00
cnderrauber 5f6edd6a49 update pion/ice webrtc for udpmux fix (#1081) 2022-10-12 10:53:55 +08:00
David Colburn 78386c4669 Update protocol (#1075)
* update protocol

* auto egress ensure unique filename

* fix tests
2022-10-10 10:38:46 -07:00
David Zhao 1019faa0e6 Cleanup pass through logging (#1073)
* added filtering for noisy pion logs
* demoted some logs to debug
* using consistent trackID / participant / publisher / subscriber terminology
* removed ice candidate log lines, deferring to combined log
2022-10-06 23:48:37 -07:00
Raja Subramanian 792349cc56 Split out mediatransportutil (#1071) 2022-10-06 23:55:59 +05:30
renovate[bot] 057b9a0d26 Update golang.org/x/sync digest to 8fcdb60 (#1063)
Generated by renovateBot

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-10-03 12:44:37 -07:00
Benjamin Pracht 8cf0872ec1 Adopt updated ingress RPC API (#1068) 2022-10-03 11:31:55 -07:00
renovate[bot] e77134ee21 Update github.com/livekit/mageutil digest to d919808 (#1066)
Generated by renovateBot

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-10-02 10:58:17 -07:00
renovate[bot] 550514554f Update module github.com/urfave/cli/v2 to v2.17.1 (#1056)
Generated by renovateBot

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-09-30 14:15:26 -07:00
cnderrauber 4b630d2156 Add ipfilter to exclude ip from candidates gather (#1052) 2022-09-29 14:40:38 +08:00
renovate[bot] df091554e7 Update module github.com/pion/ice/v2 to v2.2.9 (#1045)
Generated by renovateBot

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-09-27 15:18:41 -07:00
David Colburn 070c5e5f92 Mageutil (#1047)
* Mageutil

* update mageutil
2022-09-27 15:07:49 -07:00
renovate[bot] 123baa571b Update module github.com/d5/tengo/v2 to v2.13.0 (#1040)
Generated by renovateBot

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-09-26 14:13:21 -07:00
Benjamin Pracht 932af81f34 Update strored version of an active ingress if no ingress server responds (#1031)
This allows deleting and updating an ingress even if the ingress server that was handling it died. It does however mean that if the ingress responds again later, its state will be inconsistent. To somewhat make this less likely, also keep trying contacting the ingress for 1 min in the background.

Also fixing a race where an active deleted Ingress would get recreated on delete because of the update triggered by the ingress session shutdown
2022-09-26 11:16:27 -07:00
cnderrauber 572dd43329 update pion for mux fix (#1036) 2022-09-26 16:04:32 +08:00
David Colburn 803046b882 Auto egress (#1011)
* auto egress

* fix room service test

* reuse StartTrackEgress

* add timestamp

* update prefixed filename explicitly

* update protocol

* clean up telemetry

* fix telemetry tests

* separate room internal storage

* auto participant egress

* remove custom template url

* fix internal key

* use map for stats workers

* remove sync.Map

* remove participant composite
2022-09-21 12:04:19 -07:00
David Zhao fd541c7027 Protocol change to use custom Content-Type for webhook requests (#1025) 2022-09-20 23:01:49 -07:00
renovate[bot] a2b8c56d5f Update module github.com/magefile/mage to v1.14.0 (#1015)
Generated by renovateBot

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-09-16 19:42:33 -07:00
cnderrauber 0b2843e248 update pion 3.1.44 (#1007) 2022-09-15 19:40:36 +08:00
renovate[bot] d0e5478503 Update module github.com/urfave/cli/v2 to v2.16.3 (#998)
Generated by renovateBot

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-09-13 14:59:16 -07:00
renovate[bot] 47faedc27a Update module github.com/urfave/cli/v2 to v2.15.0 (#996)
Generated by renovateBot

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-09-09 16:35:45 -07:00
cnderrauber f1915feb1a keep mid unchange after migration for subscribed track (#995) 2022-09-09 17:39:09 +08:00
renovate[bot] c4afd52161 Update module github.com/elliotchance/orderedmap to v1.5.0 (#990)
Generated by renovateBot

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-09-07 13:21:23 -07:00
cnderrauber 441053b7fa add participant id when client reconnect (#988) 2022-09-07 15:56:56 +08:00
Benjamin Pracht aaeba74402 Import ErrIngressOutOfDate from protocol (#987) 2022-09-06 16:05:17 -07:00
renovate[bot] 7bf61b55f4 Update module github.com/urfave/cli/v2 to v2.14.1 (#985)
Generated by renovateBot

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-09-06 09:21:19 -07:00
renovate[bot] f2aee4160e Update module github.com/urfave/cli/v2 to v2.14.0 (#976)
Generated by renovateBot

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-09-01 18:14:27 -07:00
renovate[bot] 1df9470504 Update golang.org/x/sync digest to 7fc1605 (#973)
Generated by renovateBot

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-31 18:40:04 -07:00
Benjamin Pracht d8edb9b2e7 Adopt Ingress RPC interface changes (#972) 2022-08-31 14:14:40 -07:00
David Zhao 69bf31944e Send connection type to telemetry (#964)
* Send connection type to telemetry

When connected, determine how the participant's primary connection is
connected and report it in ParticipantActive event.

* address feedback

* fixed case where prflx is reported instead of relay

* incorporate comments
2022-08-29 23:17:13 -07:00
renovate[bot] 1371108a46 Update module github.com/d5/tengo/v2 to v2.12.2 (#966)
Generated by renovateBot

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-29 16:18:49 -07:00
renovate[bot] b99d128c6c Update module github.com/mackerelio/go-osstat to v0.2.3 (#960)
Generated by renovateBot

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-27 14:59:22 -07:00
renovate[bot] 01695375ef Update module go.uber.org/zap to v1.23.0 (#953)
Generated by renovateBot

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-24 09:57:26 -07:00
cnderrauber 1350400c3a fallback to turn over tls when tcp short connection happen (#950)
* fallback to tls when tcp failed

* go mod

* magefile
2022-08-24 20:42:56 +08:00
shishirng 79cf614783 Send egressInfo in telemetry event (#941)
Signed-off-by: shishir gowda <shishir@livekit.io>

Signed-off-by: shishir gowda <shishir@livekit.io>
2022-08-23 08:18:12 -04:00
cnderrauber f819dcb63d use protocol/sdp for sdp process (#926) 2022-08-17 16:12:33 +08:00
David Zhao 1d199d1efa Populate network field when set by clients (#919) 2022-08-15 23:28:15 -07:00
renovate[bot] 6b48fbc577 Update module github.com/urfave/cli/v2 to v2.11.2 (#914)
Generated by renovateBot

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-15 13:36:11 -07:00
Raja Subramanian b5c023f986 Connection quality changes (#913)
* WIP commit

* Connection quality changes

- Fix Firefox showing poor quality
  o The issue was that we were using max available layer and
    calculating quality. The rationale being that even if
    server sends dynacast messages, client may not implement
    dynacast and still stream all layers. But, with Firefox
    (maybe a Firefox bug), it sends some small amount of
    data on layer 2 even when that layer is disabled.
    Guessing it is probing (or actually we might be using
    some small value for high layers as Firefox cannot turn off
    layers). That higher layer gets used in quality calculation.
    As the bit rate on that layer is extremely low, it yields low
    score.

    Fixed by considering the max expected layer. That is of most
    interest. Yes, clients may ignore dynacast and stream all layers,
    but, max expected is the one of interest. So, look for
    quality in the max expected layer and not max available layer.
- Lots of clean up around connection quality stuff
  o Use a dynamic scaling thing to ensure that we do not get bitten
    by absolute values. Calculate best possible scenario score and
    map that to maximum MOS score. This will ensure that different
    codecs, different settings do not mess up the scoring. For example,
    a client might use 1 Mbps for 720p, but a different client could
    use 2 Mbps for 720p. As an SFU/infrastructure middlebox, we do
    not have control over quality at those rates. We can only ensure
    that streaming happens smoothly at those rates. So, in that
    example, for client 1, 1 Mbps will map to MOS 5.0 and for client 2,
    2 Mbps will map to MOS 5.0. Any impairments after that will
    reflect in the score.
  o Penalise for missing target layer by one level for one layer missed.
  o Move tests to connection quality directory. The participant test
    was not super useful.

* Add missed file

* Remove debug code

* use more constants and initialise normalisation factor

* rtcscore pointer
2022-08-15 13:21:07 +05:30
Raja Subramanian dbcc53f04e Use media payload size in scoring. (#912)
* Use media payload size in scoring.

Subtract out header bytes when calculating score.
This does not seem to affect the score (under perfect conditions),
but, using header bytes will inflate the bit rate and
will affect scoring.

* Add header bytes to ToProto

* protocol pointer

* fix test
2022-08-14 13:22:58 +05:30
renovate[bot] d41f5587e6 Update module go.uber.org/atomic to v1.10.0 (#906)
Generated by renovateBot

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-12 13:10:54 -07:00
renovate[bot] 1c11bb29e3 Update module github.com/pion/sdp/v3 to v3.0.6 (#903)
Generated by renovateBot

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-12 13:10:19 -07:00
David Zhao f09885825e Return ServerInfo to clients on join (#904)
* checkpoint

* Return ServerInfo in join response

* also include node information

* less verbose quality score

* update go modules
2022-08-10 17:04:17 -07:00
Benjamin Pracht 67d3f21122 Only update an IngressInfo if the StartedAt field is newer or equal to the one currently in storage (#897)
This is meant to ensure that we will not overwrite the state of an ingress that already reconnected to a different server on failure or timeout
2022-08-09 19:07:56 -07:00
renovate[bot] 21ffc03a0c Update module go.uber.org/zap to v1.22.0 (#896)
Generated by renovateBot

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-08 14:44:22 -07:00
David Zhao 939757d2c8 Bulk update dependency versions (#889) 2022-08-06 17:11:03 -07:00
renovate[bot] 584abd5959 Update module github.com/pion/interceptor to v0.1.12 (#887)
Generated by renovateBot

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-06 13:47:05 -07:00
renovate[bot] 9e600181c2 Update module github.com/pion/rtcp to v1.2.10 (#888)
Generated by renovateBot

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-06 13:46:58 -07:00
renovate[bot] 0918670318 Update golang.org/x/sync digest to 886fb93 (#886)
Generated by renovateBot

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-06 13:40:11 -07:00
renovate[bot] fa4c660a13 Update module github.com/pion/webrtc/v3 to v3.1.43 (#884)
Generated by renovateBot

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-06 13:34:43 -07:00