Implement media storage and processing features: update configuration in .env.example and appsettings files, enhance Docker setup for media storage, and add media-related services and database entities. Include ffmpeg for media handling and adjust Kestrel settings for large file uploads.
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
namespace TeleWave.Domain.Media;
|
||||
|
||||
/// <summary>Жизненный цикл медиа-ассета от загрузки до готовности к эфиру.</summary>
|
||||
public enum MediaAssetStatus
|
||||
{
|
||||
/// <summary>Файл загружен, ждёт обработки в очереди.</summary>
|
||||
Pending,
|
||||
|
||||
/// <summary>ffmpeg нарезает файл на HLS-сегменты.</summary>
|
||||
Processing,
|
||||
|
||||
/// <summary>Нарезка завершена, ассет готов к постановке в эфир.</summary>
|
||||
Ready,
|
||||
|
||||
/// <summary>Обработка провалилась (см. <see cref="MediaAsset.ErrorMessage"/>).</summary>
|
||||
Failed,
|
||||
}
|
||||
Reference in New Issue
Block a user