Implement asynchronous bumper rendering and add integration tests: refactor BumperAsset to support async rendering, introduce BumperRenderBackgroundService for processing, and create TeleWave.Integration.Tests with Testcontainers-Postgres for comprehensive testing of scheduling and bumper generation scenarios. Update documentation and ensure tests skip if Docker is not available.
This commit is contained in:
@@ -56,8 +56,9 @@ public class MediaAsset
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Ассет, сгенерированный системой (ТВ-заставка). Нарезку делает не общий пайплайн обработки, а
|
||||
/// специализированный рендерер, поэтому сразу помечаем <see cref="MarkReady"/> после создания.
|
||||
/// Ассет, сгенерированный системой (ТВ-заставка). Создаётся в <see cref="MediaAssetStatus.Pending"/>
|
||||
/// и нарезается не общим пайплайном обработки, а специализированным фоновым рендерером
|
||||
/// (BumperRenderBackgroundService), который по готовности вызывает <see cref="MarkReady"/>.
|
||||
/// </summary>
|
||||
public static MediaAsset RegisterGenerated(string displayName)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user