Stream custom live channels using your own media
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

19 lines
415 B

using System.Diagnostics;
namespace ErsatzTV.Core.FFmpeg;
public class FFmpegProcess : Process
{
private static int _processCount;
public FFmpegProcess() => Interlocked.Increment(ref _processCount);
public static int ProcessCount => _processCount;
protected override void Dispose(bool disposing)
{
base.Dispose(disposing);
Interlocked.Decrement(ref _processCount);
}
}