Commit Graph
378 Commits
Author SHA1 Message Date
renovate[bot] e48175f2b7 Update module github.com/urfave/cli/v2 to v2.24.1 (#1319)
Generated by renovateBot

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-01-24 23:14:01 -08:00
David Zhao cd6b8b80b9 feat: SubscriptionManager to consolidate subscription handling (#1317)
Added a new manager to handle all subscription needs. Implemented using reconciler pattern. The goals are:

improve subscription resilience by separating desired state and current state
reduce complexity of synchronous processing
better detect failures with the ability to trigger full reconnect
2023-01-24 23:06:16 -08:00
Dan McFaul 9e3ca1e989 adding rtc_init stat (#1316)
* adding rtc_initiated stat

* clean up signal and rtc init/connected

* update naming and break out stats update funcs

* update protocol dependency
2023-01-23 12:49:15 -07:00
David Colburn e31b25300d update psrpc (#1312) 2023-01-18 13:52:03 -08:00
Benjamin Pracht edc39da0b1 Add TwirpRequestStatusReporter twirp server hook to count requests (#1309) 2023-01-18 11:53:20 -08:00
David Colburn a87107a0f3 IOInfo service (#1305)
* IOInfo service

* only start if not nil

* use ctx in updateEgressInfo

* updates

* fix merge
2023-01-16 16:26:03 -08:00
renovate[bot] f13f0cb52e Update module github.com/dustin/go-humanize to v1.0.1 (#1307)
Generated by renovateBot

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-01-15 21:30:54 -08:00
David Zhao 732309a8c1 Added track success & muted events (#1308)
Related to livekit/protocol#273

This PR adds:
- ParticipantResumed - for when ICE restart or migration had occurred
- TrackPublishRequested - when we initiate a publication
- TrackSubscribeRequested - when we initiate a subscription
- TrackMuted - publisher muted track
- TrackUnmuted - publisher unmuted track
- TrackPublish/TrackSubcribe events will indicate when those actions have been successful, to differentiate.
2023-01-15 15:40:20 -08:00
Dan McFaulandRaja Subramanian 4d6f0cd0f7 Stats collect v2 (#1291)
* initial commit

* add correct label

* clean up

* more cleanup on adding stats

* cleanup

* move things to pub and sub monitors, ensure stats are correctly updated

* fix merge conflict

* Fix panic on MacOS (#1296)

* fixing last feedback

Co-authored-by: Raja Subramanian <raja.gobi@tutanota.com>
2023-01-11 14:49:50 -07:00
cnderrauber 25debc6d35 add reconnect response to update configuration while reconnecting (#1300)
* add reconnect response to update configuration while reconnecting

* fix test
2023-01-11 17:40:12 +08:00
Raja Subramanian c022319845 Update mediatransportutil pointer (#1298) 2023-01-11 12:59:49 +05:30
Raja Subramanian 7aad888e4e Normalize NTP time base when calculating RTT (#1297)
* Normalize NTP time base when calculating RTT

* seed last SR
2023-01-11 12:25:14 +05:30
Mathew Kamkar 7c970da974 add memory used and total to node stats (#1293)
* add memory used and total to node stats

* raja review: consistency

* update protocol
2023-01-10 12:32:04 -08:00
cnderrauber c393a5f8dd Add interface and ipfilter to udpmux option (#1270)
* Add interface and ipfilter to udpmux option

* validate external ip is accessable by client

* add context

* use external ip only for firefox

* fix mapping error

* Update pion/ice and use external ip only for firefox

* Use single external ip for NAT1To1Ips if validate failed

* update pion/ice
2022-12-30 16:01:12 +08:00
lukasIO 12931f20fd Include encryption field in TrackInfo, update protocol (#1265)
* Include e2ee in TrackInfo

* update protocol, rename field
2022-12-28 13:48:49 +01:00
renovate[bot] c9ccff0a80 Update module github.com/rs/cors to v1.8.3 (#1264)
Generated by renovateBot

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-27 14:49:55 -08:00
David Colburn 5d3f644667 update psrpc (#1266) 2022-12-27 13:43:32 -08:00
renovate[bot] f31e876e99 Update module github.com/thoas/go-funk to v0.9.3 (#1261)
Generated by renovateBot

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-27 00:07:42 -08:00
David Zhao 988858a98a Update dependencies to generic versions (#1259) 2022-12-26 22:29:13 -08:00
renovate[bot] 51aee8f3cb Update module github.com/florianl/go-tc to v0.4.2 (#1258)
Generated by renovateBot

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-25 00:37:18 -08:00
David Colburn 976d4ea9db Update psrpc, egressStore interface (#1256)
* Update psrpc, egressStore interface

* psrpc v0.2.0
2022-12-24 00:49:31 -08:00
David Colburn 6719a3c714 Updated egress rpc (#1252)
* updated egress rpc

* check if egress exists on stop

* fix static check

* remove old migration code

* rename

* regenerate, update test

* latest staticcheck

* update to psrpc 0.1.0

* fix tests

* dual write rpcs on running egress

* remove unused field

* fix race, change service for egress impl

* return nil if bus is nil

* id -> ids

* add affinityFunc to StartEgress
2022-12-22 21:03:27 -08:00
David Colburn eea592a1f5 Upgrade go to 1.18 (#1249)
* upgrade go to 1.18

* update buildtest
2022-12-21 16:41:47 -08:00
Raja Subramanian 241a7120f5 ICE config using protocol model (#1233)
* ICE config using protocol model

* use pointers consistently

* protocol pointer

* mage generate
2022-12-19 10:25:08 +05:30
renovate[bot] 2f64d9f1c5 Update module github.com/pion/webrtc/v3 to v3.1.50 (#1225)
Generated by renovateBot

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-15 17:47:29 -08:00
renovate[bot] 01ef69cb14 Update module github.com/urfave/cli/v2 to v2.23.7 (#1221)
Generated by renovateBot

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-10 16:05:58 -08:00
Raja Subramanian b2df257ac6 base62 encode user provided name/identity. (#1220) 2022-12-10 13:02:31 +05:30
David Zhao 7a1273151f Update to new logging library, using sampling participant logger (#1219) 2022-12-09 00:09:03 -08:00
Benjamin Pracht 57ce032cfe Add support for Ingress State Ended At field (#1218) 2022-12-08 11:14:32 -08:00
renovate[bot] 7548ffbb82 Update module github.com/pion/transport to v0.14.1 (#1202)
Generated by renovateBot

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-04 16:45:22 -08:00
renovate[bot] b9412cea10 Update module github.com/pion/turn/v2 to v2.0.9 (#1201)
Generated by renovateBot

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-04 16:36:44 -08:00
renovate[bot] 08e7fd6c03 Update module github.com/urfave/cli/v2 to v2.23.6 (#1207)
Generated by renovateBot

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-04 16:24:00 -08:00
David Zhao 14de2bec9c Fixed single-node routing breakage. (#1209)
* Fixed single-node routing breakage.

Due to a regression of a previous change, Redis was always enabled even
when no configuration was provided.

* updated go modules
2022-12-04 16:23:35 -08:00
David Zhao c6eb834e17 Revert "Update module go.uber.org/zap to v1.24.0 (#1200)"
This reverts commit bf0bbc3d41.
2022-11-30 21:51:26 -08:00
renovate[bot] f0165adfc4 Update module github.com/twitchtv/twirp to v8.1.3+incompatible (#1120)
Generated by renovateBot

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-11-30 18:12:05 -08:00
renovate[bot] 2175eac2bd Update module github.com/hashicorp/golang-lru to v0.6.0 (#1165)
Generated by renovateBot

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-11-30 18:11:33 -08:00
renovate[bot] bf0bbc3d41 Update module go.uber.org/zap to v1.24.0 (#1200)
Generated by renovateBot

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-11-30 17:29:51 -08:00
cnderrauber 6711060cdb Add enable loopback candidate option (#1185) 2022-11-23 16:01:36 +08:00
renovate[bot] 76c65a5da7 Update module github.com/pion/ice/v2 to v2.2.12 (#1183)
Generated by renovateBot

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-11-22 10:31:13 -08:00
renovate[bot] f9bdcdf201 Update module github.com/livekit/protocol to v1.2.3 (#1176)
Generated by renovateBot

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-11-18 17:29:20 -08:00
cnderrauber a72cbea352 fix memory leak on long run room/participant (#1169)
* Fix memory leak

* update pion

* clean code
2022-11-15 19:34:39 +08:00
renovate[bot] c767aee101 Update module github.com/urfave/cli/v2 to v2.23.5 (#1153)
Generated by renovateBot

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-11-11 16:55:10 -08:00
David Zhao d429fe11a7 Fix YAML failure when logging config is declared (#1154)
* Fix YAML failure when logging config is declared

* version bump
2022-11-09 09:53:55 -08:00
renovate[bot] b985bee993 Update module github.com/prometheus/client_golang to v1.14.0 (#1151)
Generated by renovateBot

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-11-08 13:28:10 -08:00
Benjamin Pracht c735668f67 Use the redis.UniversalClient interface instead of *redis.Client when interacting with go-redis (#1149)
* Use the redis.UniversalClient interface instead of *redis.Client when interacting with go-redis

* Update protocol to v1.2.1
2022-11-07 17:27:28 -08:00
renovate[bot] 05e88edf76 Update module github.com/urfave/cli/v2 to v2.23.4 (#1145)
Generated by renovateBot

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-11-06 07:56:57 -08:00
renovate[bot] da144fac3e Update module github.com/prometheus/client_golang to v1.13.1 (#1140)
Generated by renovateBot

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-11-04 03:53:47 -07:00
renovate[bot] ac413d45e0 Update module github.com/urfave/cli/v2 to v2.23.2 (#1144)
Generated by renovateBot

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-11-04 03:53:12 -07:00
renovate[bot] 46f45e8892 Update module github.com/urfave/cli/v2 to v2.23.0 (#1133)
Generated by renovateBot

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-11-01 16:14:41 -07:00
renovate[bot] ac5bbe8d38 Update module golang.org/x/sync to v0.1.0 (#1136)
Generated by renovateBot

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-11-01 11:07:46 -07:00