mirror of
https://github.com/owncast/owncast.git
synced 2025-11-03 13:01:46 +08:00
Allow unique streampipe fifos. Closes #883
This commit is contained in:
@ -89,7 +89,7 @@ func HandleConn(c *rtmp.Conn, nc net.Conn) {
|
||||
log.Infoln("Inbound stream connected.")
|
||||
_setStreamAsConnected()
|
||||
|
||||
pipePath := utils.GetTemporaryPipePath()
|
||||
pipePath := utils.GetTemporaryPipePath(fmt.Sprint(data.GetRTMPPortNumber()))
|
||||
if !utils.DoesFileExists(pipePath) {
|
||||
err := syscall.Mkfifo(pipePath, 0666)
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user