Implement Discontinuity Index for Live Streaming Enhancements
ci / build-backend (push) Successful in 2m17s
ci / build-frontend (push) Successful in 53s
ci / tests (push) Successful in 1m39s
ci / sonar (push) Failing after 1m23s

Added a DiscontinuityIndex property to ScheduleEntry and related DTOs to track the cumulative number of discontinuities in live streaming. Updated the LiveWindowCalculator to utilize this index for generating accurate EXT-X-DISCONTINUITY-SEQUENCE values, ensuring compatibility with ffmpeg-based players. Enhanced the WriteEntriesAsync method to calculate and persist the discontinuity index during entry creation. Updated relevant tests and documentation to reflect these changes, improving the reliability of live streaming functionality.
This commit is contained in:
Leonid Pershin
2026-08-04 12:43:35 +03:00
parent 7a164dbd90
commit 0f609db4e9
16 changed files with 1851 additions and 26 deletions
@@ -211,7 +211,8 @@ public sealed class TemplateOperationsIntegrationTests(PostgresFixture fixture)
ScheduleEntryKind.Program,
from,
to,
new ScheduleEntryOrigin(null, null, null, null, null)
new ScheduleEntryOrigin(null, null, null, null, null),
0
)
);