Implemented new API endpoints and frontend components for grid auto-building based on predefined profiles. Added functionality to list grid profiles, preview generated grids, and generate grids with specified parameters. Enhanced the TemplateEndpoints and related services to support these features, improving the user experience for channel scheduling. Localization updates were made to accommodate new features in both English and Russian.
15 lines
854 B
C#
15 lines
854 B
C#
namespace TeleWave.Application.Common.Interfaces;
|
|
|
|
/// <summary>
|
|
/// Пропускная способность обработчика медиа. Нужна, чтобы по очереди и среднему времени посчитать,
|
|
/// когда она разгребётся: при двух параллельных транскодах ждать вдвое меньше, чем при одном.
|
|
///
|
|
/// Порт, а не чтение настроек напрямую: настройки ffmpeg живут в Infrastructure, и прикладной слой
|
|
/// про их устройство знать не должен.
|
|
/// </summary>
|
|
public interface IMediaProcessingLimits
|
|
{
|
|
/// <summary>Сколько файлов обрабатывается одновременно.</summary>
|
|
int MaxParallelTranscodes { get; }
|
|
}
|