Skip to content

test: cover HlsSegmenter's live mode combined with MpegTs format - #119

Merged
cloud-hai-vo merged 1 commit into
mainfrom
test/hls-live-mpegts-combination
Oct 17, 2026
Merged

cloud-hai-vo merged 1 commit into
mainfrom
test/hls-live-mpegts-combination

Conversation

@cloud-hai-vo

Copy link
Copy Markdown
Contributor

Summary

Test plan

  • New LiveMode_Combined_With_MpegTsFormat_Should_PruneSegments_AndOmitExtXMap: confirms the live window is still enforced under the MpegTs format (only the most recent N segments retained, correct keys), no init segment/EXT-X-MAP is written, segment URIs use the .ts extension, and every retained segment is still a well-formed TS file (starts with the sync byte).
  • Full existing suite (dotnet test, net10.0 locally): 1687 passed, 1 pre-existing unrelated skip, 0 failed.
  • Full solution build (all target frameworks + AotSmokeTest): 0 warnings/errors.

🤖 Generated with Claude Code

Category 0 review of the streaming work merged today: every prior
test exercised live mode and MpegTs format independently, but never
together, even though both are real, independent constructor options
a caller can combine. Verified the combination already works
correctly (no bug found) and added a regression test closing the gap:
confirms the live window is still enforced, no init segment/EXT-X-MAP
is written, segment URIs use the .ts extension, and every retained
segment is still a well-formed TS file.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@cloud-hai-vo
cloud-hai-vo merged commit c8108ae into main Oct 17, 2026
9 checks passed
@cloud-hai-vo
cloud-hai-vo deleted the test/hls-live-mpegts-combination branch October 17, 2026 10:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant