mirror of
https://github.com/rosenbjerg/FFMpegCore.git
synced 2024-11-10 08:34:12 +01:00
Support piping on unix
or at least trying
This commit is contained in:
parent
f791f6b059
commit
eb9bc9807a
1 changed files with 4 additions and 1 deletions
|
@ -10,7 +10,10 @@ static class PipeHelpers
|
|||
|
||||
public static string GetPipePath(string pipeName)
|
||||
{
|
||||
if (RuntimeInformation.IsOSPlatform(OSPlatform.Windows))
|
||||
return $@"\\.\pipe\{pipeName}";
|
||||
else
|
||||
return $"unix:/tmp/CoreFxPipe_{pipeName}"; // dotnet uses unix sockets on unix, for more see https://github.com/dotnet/runtime/issues/24390
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue