Finalize segment count

This commit is contained in:
raspy 2024-01-26 07:53:34 -08:00
parent f3234dc1f6
commit 5335e02ad9

View File

@ -10,7 +10,7 @@ type LatencyLevel struct {
// GetLatencyConfigs will return the available latency level options.
func GetLatencyConfigs() map[int]LatencyLevel {
return map[int]LatencyLevel{
0: {Level: 0, SecondsPerSegment: 1, SegmentCount: 7}, // Approx 5 seconds
0: {Level: 0, SecondsPerSegment: 1, SegmentCount: 10}, // Approx 5 seconds
1: {Level: 1, SecondsPerSegment: 2, SegmentCount: 15}, // Approx 8-9 seconds
2: {Level: 2, SecondsPerSegment: 3, SegmentCount: 10}, // Default Approx 10 seconds
3: {Level: 3, SecondsPerSegment: 4, SegmentCount: 8}, // Approx 15 seconds