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
David Zhao
7e3155dcd6
ForceTCP only for supported clients ( #997 )
...
* ForceTCP only for supported clients
Revert back to standard if forceRelay with TLS fails
Don't force TLS unless it's configured
* fix lint
2022-09-09 18:14:36 -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
renovate[bot]
1c57771646
Update module github.com/mackerelio/go-osstat to v0.2.2 ( #882 )
...
Generated by renovateBot
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-06 13:28:23 -07:00
renovate[bot]
159a53254a
Update module github.com/bep/debounce to v1.2.1 ( #881 )
...
Generated by renovateBot
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-06 13:27:38 -07:00
David Zhao
ab1ccae0c7
Respond to signal ping / pong ( #871 )
...
* Respond to signal ping / pong
* Pass back 1 for pong for now, we don't need the timestamp
* update protocol
2022-08-05 09:24:47 -07:00
Benjamin Pracht
5558aa5228
Make sure CreateIngest populates the stream_key and URL fields ( #861 )
2022-08-01 11:35:30 -07:00
David Colburn
7aa5888338
Keep egress info for 24h ( #856 )
...
* Keep egress info for 24h
* updates
* better version comparison
* fix test
* duplicated if
2022-07-28 20:27:59 -05:00
Benjamin Pracht
7a2eac8e86
Initial Ingress support in API ( #852 )
...
This adds support for the Ingress related endpoints to LiveKit server. This currently doesn't handle reconnections safely.
2022-07-28 09:49:54 -07:00
Benjamin Pracht
188f9c675e
Add support for Ingress in store interface ( #849 )
2022-07-26 16:55:03 -07:00
Raja Subramanian
e624604453
Revert "ListRooms using sid ( #842 )" ( #845 )
...
This reverts commit f2e1e67e58 .
2022-07-21 14:49:41 +05:30
Raja Subramanian
f2e1e67e58
ListRooms using sid ( #842 )
...
* ListRooms using `sid`
* correct field name
* Remove contains and latest protocol
2022-07-21 11:05:33 +05:30
Raja Subramanian
51073e8918
Use TimedVersion for subscription permission update ( #839 )
...
* Use a read version for subscription permission
* Use TimedVersion for subscription permission updates
* Minor clean up
* latest protocol
2022-07-21 08:52:37 +05:30