Skip to content

VPAAMP-1127: Fragment is skipped when the live manifest refreshes without update - #1939

Merged
Vinish100 merged 2 commits into
dev_sprint_25_2from
feature/VPAAMP-1127
Sep 2, 2026
Merged

VPAAMP-1127: Fragment is skipped when the live manifest refreshes without update#1939
Vinish100 merged 2 commits into
dev_sprint_25_2from
feature/VPAAMP-1127

Conversation

@nu641001

@nu641001 nu641001 commented Sep 1, 2026

Copy link
Copy Markdown
Contributor

Reason for change: When the manifest refreshes without update, FindPositionInTimeline wrongly calculates the position in the timeline.
Risks: Low
Test Procedure: Test with L1.
Priority: P1
Signed-off-by: Nandakishor U M [email protected]

…hout update

Reason for change: When the manifest refreshes without update, FindPositionInTimeline wrongly calculates
the position in the timeline.
Risks: Low
Test Procedure: Test with L1.
Priority: P1

Signed-off-by: Nandakishor U M <[email protected]>
@nu641001
nu641001 requested a review from a team as a code owner September 1, 2026 21:01
@nu641001
nu641001 requested a lite review from Copilot September 1, 2026 21:01

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Fixes a live-DASH (MPD) edge case where a manifest refresh that doesn’t add new SegmentTimeline entries can cause FindPositionInTimeline() to compute the next position incorrectly, leading to a skipped fragment.

Changes:

  • Adjust FindPositionInTimeline()’s “first segment” special-case so it doesn’t trigger when the timeline only contains a single entry.
  • Add an L1 unit test covering the single-entry timeline boundary case after a manifest refresh.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
fragmentcollector_mpd.cpp Narrows the “first segment” bypass condition in FindPositionInTimeline() to avoid misbehavior when SegmentTimeline has exactly one entry.
test/utests/tests/fragmentcollector_mpd/fragmentcollector_mpd1.cpp Adds a regression test asserting correct position/descriptor updates for a single-entry SegmentTimeline refresh scenario.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@Vinish100 Vinish100 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me

@Vinish100
Vinish100 merged commit 103adf5 into dev_sprint_25_2 Sep 2, 2026
9 checks passed
@Vinish100
Vinish100 deleted the feature/VPAAMP-1127 branch September 2, 2026 09:21
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.

4 participants