cnderrauber
0b2843e248
update pion 3.1.44 ( #1007 )
2022-09-15 19:40:36 +08:00
Raja Subramanian
33f782a99b
Use PostEvent to avoid casting to concrete type ( #1006 )
2022-09-15 12:22:13 +05:30
Raja Subramanian
07c43e0972
Supervisor beginnings ( #1005 )
...
* Remove VP9 from media engine set up.
* Remove vp9 from config sample
* Supervisor beginnings
Eventual goal is to have a reconciler which moves state from
actual -> desired. First step along the way is to observe/monitor.
The first step even in that is an initial implementation to get
feedback on the direction.
This PR is a start in that direction
- Concept of a supervisor at local participant level
- This supervisor will be responsible for periodically monitor
actual vs desired (this is the one which will eventually trigger
other things to reconcile, but for now it just logs on error)
- A new interface `OperationMonitor` which requires two methods
o Check() returns an error based on actual vs desired state.
o IsIdle() returns bool. Returns true if the monitor is idle.
- The supervisor maintains a list of monitors and does periodic check.
In the above framework, starting with list of
subscriptions/unsubscriptions. There is a new module
`SubscriptionMonitor` which checks subscription transitions.
A subscription transition is queued on subscribe/unsubscribe.
The transition can be satisfied when a subscribedTrack is added OR
removed. Error condition is when a transition is not satisfied for
10 seconds. Idle is when the transition queue is empty and
subscribedTrack is nil, i. e. the last transition would have been
unsubscribe and subscribed track removed (unsubscribe satisfied).
The idea is individual monitors can check on different things.
Some more things that I am thinking about are
- PublishedTrackMonitor - started when an add track happens,
satisfied when OnTrack happens, error if `OnTrack` does not
fire for a while and track is not muted, idle when there is
nothing pending.
- PublishedTrackStreamingMonitor - to ensure that a published track
is receiving media at the server (accounting for dynacast, mute, etc)
- SubscribedTrackStreamingMonitor - to ensure down track is sending
data unless muted.
* Remove debug
* Protect against early casting errors
* Adding PublicationMonitor
2022-09-15 11:16:37 +05:30
Raja Subramanian
e7cc6bd4a1
Remove VP9 from media engine set up. ( #1004 )
...
* Remove VP9 from media engine set up.
* Remove vp9 from config sample
2022-09-14 16:16:14 +05:30
David Zhao
779a679852
Update changelog for 1.2.1 ( #1002 )
2022-09-13 21:49:35 -07: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
26da83e44e
v1.2.1
v1.2.1
2022-09-13 12:33:48 -07:00
David Zhao
e7ab70e118
Removed deprecated deployment scripts ( #1001 )
2022-09-13 12:21:49 -07:00
Benjamin Pracht
b0eead22b5
Allow specifying a different RTMP url domain for each ingress ( #994 )
2022-09-12 14:03:15 -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
Raja Subramanian
93da599059
Return previous max layer. ( #993 )
...
Relay up track holds this value too. This is to prevent duplication.
2022-09-08 11:04:26 +05:30
David Zhao
5cfd21c1ef
Fix inaccurate participant count due to storing old data ( #992 )
2022-09-07 18:33:28 -07: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
Raja Subramanian
d76f7811e9
An attempt to use consistent layer mapping ( #986 )
...
* WIP commit
* Consistent layers.
* slight re-arrangement of code
* log mime
* fix tests
* map -> array
2022-09-07 09:57:31 +05:30
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
Raja Subramanian
68fcd377fa
Add exempt layer when not found AND exempt. ( #984 )
2022-09-05 22:22:41 +05:30
Raja Subramanian
d8ae453fb9
Handle exempted layers ( #983 )
...
* WIP commit
* WIP commit
* Add tests
* remove debug
2022-09-05 18:42:59 +05:30
Raja Subramanian
021ec596b5
Fix check, thank you @cnderrauber ( #982 )
2022-09-05 10:16:57 +05:30
Raja Subramanian
20bd99903e
Close down track before closing subscriber peer connection ( #981 )
...
* Close down track before closing subscriber peer connection
* plural
2022-09-03 12:16:40 +05:30
Raja Subramanian
d13c4be923
Close subscriber PC after a wait to aid in migration. ( #979 )
...
* Close subscriber PC after a wait to aid in migration.
* mage generate
2022-09-03 01:16:51 +05:30
Raja Subramanian
c75f38bce6
Protect against looking up dimensions for invalid spatial layer ( #977 )
...
Also use loss based scoring when track dimensions are not available.
2022-09-03 00:59:47 +05:30
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
David Zhao
da2525e973
for some reasons this wasn't generated before committed. ( #974 )
2022-08-31 21:35:51 -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
cnderrauber
c401ca58af
turn packet and bytes stats used for telemetry and load control ( #969 )
...
* stats for turn
* add connections stats
* stats for standalone turn server only
* wire update
2022-08-31 11:00:27 +08:00
Raja Subramanian
df189984f3
Add resyn on next packet to buffer.Bucket ( #968 )
2022-08-30 12:58:10 +05:30
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
Raja Subramanian
032c3a1603
Fix track info available for down tracks. ( #967 )
...
Should have here in the first place. Brain damage :-(
2022-08-30 09:35:05 +05:30
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
Raja Subramanian
9b0539eb43
Need this for clean up during migration ( #965 )
2022-08-29 13:19:58 +05:30
Raja Subramanian
4217f198d6
Have to go through the full ICE restart checks after gatheting finishes. ( #963 )
2022-08-29 09:45:38 +05:30
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
David Zhao
aa4f713d1e
Document tcp fallback ( #961 )
...
* Updated docs around TCP fallback
* changed allowFallback to a pointer
2022-08-27 14:59:01 -07:00
Mathew Kamkar
767d660809
Use LocalNode ID in Prometheus metrics ( #959 )
v1.2.0
2022-08-25 22:16:20 -07:00
David Zhao
c64e0b2271
v1.2.0
2022-08-25 21:03:22 -07:00
David Zhao
747089a005
Additional closure reasons ( #958 )
2022-08-25 19:36:47 -07:00
Raja Subramanian
7ad8f87a52
Wait for answer ( #957 )
...
Maybe this is what is causing test flakiness in GH CI. Let's see.
2022-08-25 13:41:25 +05:30
Raja Subramanian
781bd74098
443 for TLS ( #956 )
...
* Use 443 for TURN TLS
* Explicit disable when TLS is not set
2022-08-25 09:05:44 +05:30
Raja Subramanian
06a46d5de0
Replace Target with params to indicate direction ( #955 )
...
* Replace Target with params to indicate direction
* Add missed send answer call
2022-08-25 08:33:06 +05:30
Raja Subramanian
5223c8292e
Attempt to fix CI UT ( #954 )
...
I don't like using `Target` as direction.
There is one place in code that depends on it.
I am thinking we should add a params `IsOfferer` or something to make it
explicit.
2022-08-24 22:31:18 +05:30
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
Raja Subramanian
34bab018dc
Do not initialize subscription version until explicitly set. ( #951 )
...
Initializing with current time means some updates are ignored.
Do not initialize until explicitly set.
2022-08-24 20:50:23 +05:30
cnderrauber
31d3d5e8b9
ignore udp turn when force tls ( #952 )
2022-08-24 20:45:48 +05:30
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
Raja Subramanian
00b131da50
Wait for fully established to ensure data channel is ready ( #949 )
2022-08-24 16:51:43 +05:30