-
Notifications
You must be signed in to change notification settings - Fork 7
RDKEMW-11912 Prevent AAMP from FFWD when at live #884
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: dev_sprint_25_2
Are you sure you want to change the base?
RDKEMW-11912 Prevent AAMP from FFWD when at live #884
Conversation
There was a problem hiding this comment.
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 aims to prevent AAMP from attempting fast-forward (FFWD) operations when playback is already at the live edge, which was causing GStreamer state-related issues on some platforms. The fix modifies the logic in SetRateInternal() to add an early-exit check for this condition.
Changes:
- Simplified the live point check condition to prevent rate changes >= 1.0 when at live edge
- Added a no-op call to
IsStreamerAtLivePoint()(line 750) with unclear intent - Removed blank line for minor formatting cleanup
Use static_cast for IsStreamerAtLivePoint call
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
Copilot reviewed 1 out of 1 changed files in this pull request and generated 2 comments.
Updated comment to clarify the condition for clearing the flag.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
Copilot reviewed 1 out of 1 changed files in this pull request and generated no new comments.
dnfaulkner
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not a biggy and does not need to be addressed. Just thought I'd comment ;)
Co-authored-by: DomSyna <[email protected]>
Co-authored-by: DomSyna <[email protected]>
Co-authored-by: DomSyna <[email protected]>
…eAAMP Co-authored-by: DomSyna <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
Copilot reviewed 7 out of 7 changed files in this pull request and generated 4 comments.
Co-authored-by: DomSyna <[email protected]>
Fix mock delegation for IsLiveStream and IsAtLivePoint in FakePrivateInstanceAAMP
Fix Doxygen parameter formatting in SetIsAtLivePoint documentation
Co-authored-by: Copilot <[email protected]>
…o-live-black-screen
…o-live-black-screen
…o-live-black-screen
When actioning trick modes there is no point in moving to FFWD when currently playing at the live edge. If we do this causes issues on some platforms when we attempt to perform a gstreamer seek and gstreamer is not in the correct state to receive the command.
The change fixes the logic in SetRateInternal() to prevent FFWD rate changes when at the live edge