Increase receiver loadbalance threshold when batch io enabled (#4899)
* Increase receiver loadbalance threshold when batch io enabled With batch IO the send syscall moves to the BatchConn flush goroutine, so WriteRTP only translates the packet and enqueues it. Increash the threshold to reduce * lint
This commit is contained in:
@@ -241,6 +241,7 @@ type ParticipantParams struct {
|
||||
MigrationWaitDuration time.Duration
|
||||
ExcludeIPv6LocalCandidates bool
|
||||
EnableWarp bool
|
||||
MediaBatchIOEnabled bool
|
||||
}
|
||||
|
||||
type ParticipantImpl struct {
|
||||
@@ -3573,6 +3574,7 @@ func (p *ParticipantImpl) addMediaTrack(signalCid string, ti *livekit.TrackInfo)
|
||||
EnableRTPStreamRestartDetection: p.params.EnableRTPStreamRestartDetection,
|
||||
UpdateTrackInfoByVideoSizeChange: p.params.UseOneShotSignallingMode,
|
||||
ForceBackupCodecPolicySimulcast: p.params.ForceBackupCodecPolicySimulcast,
|
||||
MediaBatchIOEnabled: p.params.MediaBatchIOEnabled,
|
||||
OnSubscribedMaxQualityChange: p.onSubscribedMaxQualityChange,
|
||||
OnSubscribedAudioCodecChange: p.onSubscribedAudioCodecChange,
|
||||
}, ti)
|
||||
|
||||
Reference in New Issue
Block a user