Update configuration and enhance media processing: add stream token TTL and timeout settings in .env.example, improve error handling in media endpoints, and refactor command handlers for asynchronous operations. Update documentation to reflect current application state and features.
This commit is contained in:
@@ -9,4 +9,9 @@ public sealed class StreamingOptions
|
||||
|
||||
/// <summary>Сколько сегментов держать в скользящем окне live-плейлиста.</summary>
|
||||
public int LiveWindowSegments { get; init; } = 10;
|
||||
|
||||
/// <summary>TTL stream-токена (cookie tw_stream), минуты. Короткий срок ограничивает окно доступа
|
||||
/// после блокировки/логаута; фронт перевыпускает cookie через /watch, пока идёт просмотр. Блокировка
|
||||
/// пользователя при этом отражается почти сразу — при очередной перезагрузке live-плейлиста.</summary>
|
||||
public int StreamTokenMinutes { get; init; } = 30;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user