config for streamtracker (#1255)

This commit is contained in:
cnderrauber
2022-12-23 09:48:56 +08:00
committed by GitHub
parent 4fbb89e99c
commit 05132799a5
4 changed files with 100 additions and 64 deletions
+1
View File
@@ -234,6 +234,7 @@ func (t *MediaTrack) AddReceiver(receiver *webrtc.RTPReceiver, track *webrtc.Tra
t.params.TrackInfo,
LoggerWithCodecMime(t.params.Logger, mime),
twcc,
t.params.VideoConfig.StreamTracker,
sfu.WithPliThrottleConfig(t.params.PLIThrottleConfig),
sfu.WithAudioConfig(t.params.AudioConfig),
sfu.WithLoadBalanceThreshold(20),