[VIPA][Rialto]gstDecode regression in RDKE Sprint NG builds#475
[VIPA][Rialto]gstDecode regression in RDKE Sprint NG builds#475rekhap2kandhavelan wants to merge 14 commits intomasterfrom
Conversation
facing yoututbe test fail for frame dropped so increasing the preroll frames
This comment was marked as resolved.
This comment was marked as resolved.
|
Pull request must be merged with a description containing the required fields, Summary: If there is no jira releated to this change, please put 'Jira: NO-JIRA'. Description can be changed by editing the top comment on your pull request and making a new commit. |
There was a problem hiding this comment.
Pull request overview
Adjusts server-side NeedMediaData behavior to request fewer frames while the pipeline is not yet playing (preroll/non-playing), aiming to address a gstDecode regression in RDKE Sprint NG builds by retaining an intended preroll frame request count.
Changes:
- Dynamically sets
NeedMediaData’s requested frame count to a smaller value when playback state is notPLAYING. - Introduces a new shared constant
kPrerollNumFramesto represent the preroll frame request count.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 3 comments.
| File | Description |
|---|---|
media/server/main/source/NeedMediaData.cpp |
Chooses between max frames vs preroll frames based on current playback state. |
media/server/main/include/ShmUtils.h |
Adds kPrerollNumFrames constant alongside existing SHM sizing constants. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
CCI-Build-Verified -1 |
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 2 out of 2 changed files in this pull request and generated no new comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 9 out of 9 changed files in this pull request and generated 3 comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
Coverage statistics of your commit: |
|
Coverage statistics of your commit: |
|
I have read the CLA Document and I hereby sign the CLA |
|
Coverage statistics of your commit: |
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 11 out of 11 changed files in this pull request and generated no new comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 15 out of 15 changed files in this pull request and generated 3 comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| constexpr std::uint32_t kMetadataOffset{1024}; | ||
| constexpr int kRequestId{0}; | ||
| constexpr int kPrerollingNumFrames{10}; | ||
| constexpr int kMaxFrames{24}; | ||
| constexpr int kMaxMetadataBytes{2500}; |
There was a problem hiding this comment.
The new test hard-codes the preroll frame count (kPrerollingNumFrames{10}) even though production now defines kPrerollNumFrames in ShmUtils.h. To avoid tests drifting from production behavior, consider reusing the production constant (or including it via a shared header) rather than duplicating the value here.
| TEST_F(NeedMediaDataTests, shouldSendMessageInPrerollingState) | ||
| { | ||
| initialize(firebolt::rialto::PlaybackState::PAUSED); | ||
| needMediaDataWillBeSentBelowPlayingState(); | ||
| } |
There was a problem hiding this comment.
This test is named "shouldSendMessageInPrerollingState" but it initializes the SUT with PlaybackState::PAUSED. Since PAUSED is a distinct state (and not described as prerolling in the PlaybackState docs), the name is misleading—either use a state that actually represents preroll behavior in this codebase or rename the test to match the state being exercised (e.g. paused/below-playing).
|
Coverage statistics of your commit: |
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 15 out of 15 changed files in this pull request and generated no new comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
[VIPA][Rialto]gstDecode regression in RDKE Sprint NG builds
Summary: retain preroll frames count to resolve vipa tune time issue
Type: Fix
Test Plan: UT/CT, Fullstack
Jira: RDKEMW-13498