mirror of
https://github.com/owncast/owncast.git
synced 2025-11-01 02:44:31 +08:00
Allow unique streampipe fifos. Closes #883
This commit is contained in:
@ -21,8 +21,8 @@ import (
|
||||
)
|
||||
|
||||
// GetTemporaryPipePath gets the temporary path for the streampipe.flv file.
|
||||
func GetTemporaryPipePath() string {
|
||||
return filepath.Join(os.TempDir(), "streampipe.flv")
|
||||
func GetTemporaryPipePath(identifier string) string {
|
||||
return filepath.Join(os.TempDir(), "streampipe."+identifier)
|
||||
}
|
||||
|
||||
// DoesFileExists checks if the file exists.
|
||||
|
||||
Reference in New Issue
Block a user