🐛 use currentBroadcast for playlist overwrites (#1149)
Fixes #1147 since it looks into currentBroadcast and does not use the configuration of the next stream.
This commit is contained in:
parent
3b6ef78ff7
commit
edc777ae1b
@ -88,7 +88,7 @@ func SetStreamAsDisconnected() {
|
|||||||
_yp.Stop()
|
_yp.Stop()
|
||||||
}
|
}
|
||||||
|
|
||||||
for index := range data.GetStreamOutputVariants() {
|
for index := range _currentBroadcast.OutputSettings {
|
||||||
playlistFilePath := fmt.Sprintf(filepath.Join(config.PrivateHLSStoragePath, "%d/stream.m3u8"), index)
|
playlistFilePath := fmt.Sprintf(filepath.Join(config.PrivateHLSStoragePath, "%d/stream.m3u8"), index)
|
||||||
segmentFilePath := fmt.Sprintf(filepath.Join(config.PrivateHLSStoragePath, "%d/%s"), index, offlineFilename)
|
segmentFilePath := fmt.Sprintf(filepath.Join(config.PrivateHLSStoragePath, "%d/%s"), index, offlineFilename)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user