feat(log): point to passthrough as a potential issue when unable to generate thumbnails

Re: #3433 and #3431
This commit is contained in:
Gabe Kangas
2023-11-20 18:02:35 -08:00
parent dfe5dd494e
commit b4c73315fa
3 changed files with 12 additions and 6 deletions

View File

@@ -69,7 +69,8 @@ func setStreamAsConnected(rtmpOut *io.PipeReader) {
}()
go webhooks.SendStreamStatusEvent(models.StreamStarted)
transcoder.StartThumbnailGenerator(segmentPath, data.FindHighestVideoQualityIndex(_currentBroadcast.OutputSettings))
selectedThumbnailVideoQualityIndex, isVideoPassthrough := data.FindHighestVideoQualityIndex(_currentBroadcast.OutputSettings)
transcoder.StartThumbnailGenerator(segmentPath, selectedThumbnailVideoQualityIndex, isVideoPassthrough)
_ = chat.SendSystemAction("Stay tuned, the stream is **starting**!", true)
chat.SendAllWelcomeMessage()