Browse Source

🐛 use currentBroadcast for playlist overwrites (#1149)

Fixes #1147 since it looks into currentBroadcast and does not use the configuration of the next stream.
pull/1161/head
Jannik 4 years ago committed by GitHub
parent
commit
edc777ae1b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      core/streamState.go

2
core/streamState.go

@ -88,7 +88,7 @@ func SetStreamAsDisconnected() { @@ -88,7 +88,7 @@ func SetStreamAsDisconnected() {
_yp.Stop()
}
for index := range data.GetStreamOutputVariants() {
for index := range _currentBroadcast.OutputSettings {
playlistFilePath := fmt.Sprintf(filepath.Join(config.PrivateHLSStoragePath, "%d/stream.m3u8"), index)
segmentFilePath := fmt.Sprintf(filepath.Join(config.PrivateHLSStoragePath, "%d/%s"), index, offlineFilename)

Loading…
Cancel
Save