Skip to content

VPAAMP-903 deprecate monitor integrity feature - #1812

Merged
pstroffolino merged 3 commits into
dev_sprint_25_2from
feature/VPAAMP-903
Aug 4, 2026
Merged

VPAAMP-903 deprecate monitor integrity feature#1812
pstroffolino merged 3 commits into
dev_sprint_25_2from
feature/VPAAMP-903

Conversation

@pstroffolino

@pstroffolino pstroffolino commented Jul 31, 2026

Copy link
Copy Markdown
Contributor

Reason for Change: When using mp4demux, we get the equivalent of monitor integrity feature "for free." The only thing monitorIntegrity feature gets us is an mp4demux powered preprocessing sanity check that can be done along with qtdemux. Recomending to deprecate given direction to use mp4demux by default.

Risk: Low

Test Guidance: confirm monitorMp4Integrity=true no longer supported

Reason for Change: When using mp4demux, we get the equivalent of monitor integrity feature "for free."  The only thing monitorIntegrity feature gets us is an mp4demux powered preprocessing sanity check that can be done along with qtdemux.  Recomending to deprecate given direction to use mp4demux by default.

Signed-off-by: Philip Stroffolino <philip_stroffolino@cable.comcast.com>

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

This PR deprecates/removes the legacy “monitor integrity” feature (Mp4Demux-based segment parsing for corruption detection) on the grounds that mp4demux already provides equivalent integrity checking by default.

Changes:

  • Removed the per-segment integrity monitoring path (CheckSegmentIntegrity) and its invocation from the download pipeline.
  • Removed the monitorMp4Integrity boolean config option from the bool-config enum and lookup table.

Reviewed changes

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

File Description
priv_aamp.cpp Removes the integrity-check implementation and the call site in GetFile().
AampConfig.h Removes eAAMPConfig_MonitorMp4Integrity from the boolean config enum.
AampConfig.cpp Removes monitorMp4Integrity from the bool-config lookup table, making it no longer parseable from config.

Comment thread priv_aamp.cpp
Comment on lines 5241 to 5243
}

if (ISCONFIGSET_PRIV(eAAMPConfig_MonitorMp4Integrity) &&
!buffer.empty() &&
(mediaType == eMEDIATYPE_VIDEO || mediaType == eMEDIATYPE_INIT_VIDEO ||
mediaType == eMEDIATYPE_AUDIO || mediaType == eMEDIATYPE_INIT_AUDIO))
{
CheckSegmentIntegrity(buffer, mediaType, remoteUrl);
}


ret = true; // default
Comment thread AampConfig.cpp
pstroffolino and others added 2 commits July 31, 2026 12:37
Signed-off-by: Philip Stroffolino <philip_stroffolino@cable.comcast.com>
@pstroffolino
pstroffolino merged commit cab60fc into dev_sprint_25_2 Aug 4, 2026
9 checks passed
@pstroffolino
pstroffolino deleted the feature/VPAAMP-903 branch August 4, 2026 18:52
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.

2 participants