Allow unique streampipe fifos. Closes #883

This commit is contained in:
Gabe Kangas
2021-04-01 18:56:00 -07:00
parent d4d738a8ae
commit 64a5720a21
3 changed files with 4 additions and 4 deletions

View File

@ -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.