Browse Source

Add stream health tip of latency buffer level

pull/1886/head
Gabe Kangas 4 years ago
parent
commit
a29d6450cb
No known key found for this signature in database
GPG Key ID: 9A56337728BC81EA
  1. 5
      metrics/healthOverview.go

5
metrics/healthOverview.go

@ -207,6 +207,11 @@ func errorCountHealthOverviewMessage() string { @@ -207,6 +207,11 @@ func errorCountHealthOverviewMessage() string {
return fmt.Sprintf("%d of %d viewers (%d%%) are experiencing errors. You're currently using a video passthrough output, often known for causing playback issues for people. It is suggested you turn it off.", clientsWithErrors, totalNumberOfClients, healthyPercentage)
}
currentBroadcast := core.GetCurrentBroadcast()
if currentBroadcast != nil && currentBroadcast.LatencyLevel.SecondsPerSegment < 3 {
return fmt.Sprintf("%d of %d viewers (%d%%) may be experiencing some issues. You may want to increase your latency buffer level in your video configuration to see if it helps.", clientsWithErrors, totalNumberOfClients, healthyPercentage)
}
return fmt.Sprintf("%d of %d viewers (%d%%) may be experiencing some issues.", clientsWithErrors, totalNumberOfClients, healthyPercentage)
}

Loading…
Cancel
Save