Implement Discontinuity Index for Live Streaming Enhancements
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:
@@ -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
|
||||
)
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user