Skip to content

RDKEMW-15487: Configure PlaybackInfo timer - #647

Open
VidhathriJoshi wants to merge 5 commits into
masterfrom
feature/RDKEMW-15487_develop
Open

VidhathriJoshi wants to merge 5 commits into
masterfrom
feature/RDKEMW-15487_develop

Conversation

@VidhathriJoshi

@VidhathriJoshi VidhathriJoshi commented Oct 16, 2026 •

Copy link
Copy Markdown

RDKEMW-15487: Configure PlaybackInfo timer

Reason for change: Propagate the PlaybackInfo update interval through appmanagers and the Rialto server. Suppress duplicate periodic notifications while ensuring PAUSED transitions still report PlaybackInfo.

Test Procedure: https://ccp.sys.comcast.net/browse/RDKEMW-15487

@github-actions

Copy link
Copy Markdown

Pull request title must follow the pattern:
< JIRA TICKET >: < one line summary of change less than 65 characters >

Pull request description must follow the Commit message format for RDK-E:
https://etwiki.sys.comcast.net/spaces/RDKAR/pages/1407997180/Commit+Message+Format+For+RDKE

  1. Associated JIRA ticket in format : < JIRA TICKET >: < one line summary of change less than 65 characters >
  2. Detailed reason for change information
  3. Test procedure. Only references links to Jira ticket or sub tickets where test steps and references are captured.

< JIRA TICKET >: < one line summary of change less than 65 characters >
< empty line >
Reason for change:
Test Procedure: < https://ccp.sys.comcast.net/browse/JIRA TICKET/url/to/test_step_section>

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.

🟡 Changes recommended

A duplicate protobuf field number blocks generation, outdated mocks block test compilation, and an existing timer test conflicts with duplicate suppression.

4 open findings
What changed in this PR

This PR passes an application-supplied playback-info timer interval through the server manager to the GStreamer player.

Changes:

  • Adds and forwards the timer setting, preserving it across server restarts.
  • Uses the configured interval with a 32 ms fallback.
  • Suppresses duplicate playback-info notifications and adds tests.
File Description
tests/​unittests/​media/​server/​gstplayer/​genericPlayer/​GstGenericPlayerPrivateTest.cpp Tests notification suppression and changed values.
serverManager/​ipc/​source/​Controller.h Extends configuration signatures.
serverManager/​ipc/​source/​Controller.cpp Forwards the timer interval.
serverManager/​ipc/​source/​Client.h Adds timer parameters.
serverManager/​ipc/​source/​Client.cpp Serializes nonzero intervals.
serverManager/​ipc/​include/​IController.h Extends the controller interface.
serverManager/​common/​source/​SessionServerAppManager.cpp Passes and preserves the interval.
serverManager/​common/​source/​SessionServerApp.h Declares interval storage and getter.
serverManager/​common/​source/​SessionServerApp.cpp Stores and exposes the interval.
serverManager/​common/​source/​ISessionServerApp.h Adds the interval getter contract.
proto/​servermanagermodule.proto Adds the configuration field.
media/​server/​ipc/​source/​ServerManagerModuleService.cpp Exposes the interval through an environment variable.
media/​server/​gstplayer/​source/​GstGenericPlayer.cpp Configures timing and suppresses duplicates.
media/​server/​gstplayer/​include/​GenericPlayerContext.h Caches the last reported values.
common/​public/​include/​SessionServerCommon.in Adds the public application setting.

🧠 Review effort: Balanced


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

Comment thread media/server/gstplayer/source/GstGenericPlayer.cpp Outdated
Comment thread proto/servermanagermodule.proto Outdated
Comment thread serverManager/common/source/ISessionServerApp.h
Comment thread serverManager/ipc/include/IController.h Outdated
@VidhathriJoshi
VidhathriJoshi force-pushed the feature/RDKEMW-15487_develop branch from c3fed46 to bc8e2fe Compare October 16, 2026 08:16
@github-actions

Copy link
Copy Markdown

Coverage statistics of your commit:
Lines coverage stays unchanged and is: 84.5%
Functions coverage stays unchanged and is: 92.8%

@naveendude15
naveendude15 force-pushed the feature/RDKEMW-15487_develop branch from 7c62c55 to 8f733b1 Compare October 19, 2026 10:39
@github-actions

Copy link
Copy Markdown

Coverage statistics of your commit:
Lines coverage stays unchanged and is: 84.5%
Functions coverage stays unchanged and is: 92.8%

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.

🟡 Changes recommended

Pause reporting races with periodic callbacks over shared cache state, and configured intervals lack targeted tests.

5 open issues
1 resolved since last review

Review effort: Balanced

Comment thread media/server/gstplayer/source/GstGenericPlayer.cpp Outdated
Comment thread media/server/gstplayer/source/GstGenericPlayer.cpp
@naveendude15 naveendude15 reopened this Oct 19, 2026
@github-actions github-actions Bot locked and limited conversation to collaborators Oct 19, 2026
@naveendude15 naveendude15 changed the title RDKEMW-15487: Adjusting Playback info timer RDKEMW-15487: Configure PlaybackInfo timer Oct 19, 2026
@rdkcentral rdkcentral unlocked this conversation Oct 19, 2026
@github-actions

Copy link
Copy Markdown

Coverage statistics of your commit:
Lines coverage stays unchanged and is: 84.5%
Functions coverage stays unchanged and is: 92.8%

1 similar comment
@github-actions

Copy link
Copy Markdown

Coverage statistics of your commit:
Lines coverage stays unchanged and is: 84.5%
Functions coverage stays unchanged and is: 92.8%

VidhathriJoshi and others added 5 commits October 22, 2026 11:37
Reason for change: to add a new property for passing the playbackinfo
timer value from entservices->rialto YT specific configuration
Test Procedure: https://ccp.sys.comcast.net/browse/RDKEMW-15487

Co-authored-by: Vidhathri Joshi <vidhathri_joshi@comcast.com>
Summary: add a new property for passing the playbackinfo
timer value fro entservices-appmanagers
Type: Fix
Test Plan: UT/CT, Fullstack
Jira: RDKEMW-15487

Co-authored-by: Vidhathri Joshi <vidhathri_joshi@comcast.com>
Reason for change: Protect PlaybackInfo duplicate suppression from timer-thread races, preserve pause notifications, and verify configured interval propagation.

Test Procedure: https://ccp.sys.comcast.net/browse/RDKEMW-15487
@VidhathriJoshi
VidhathriJoshi force-pushed the feature/RDKEMW-15487_develop branch from 225c501 to cc4a756 Compare October 22, 2026 06:08
@github-actions

Copy link
Copy Markdown

Coverage statistics of your commit:
Lines coverage stays unchanged and is: 84.5%
Functions coverage stays unchanged and is: 92.8%

@VidhathriJoshi
VidhathriJoshi marked this pull request as ready for review October 22, 2026 06:32
Copilot AI balanced review requested due to automatic review settings October 22, 2026 06:32

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.

🟡 Changes recommended

The central IPC-to-player configuration handoff lacks regression coverage for configured, absent, and zero intervals.

1 open issue
2 resolved since last review

Review effort: Balanced

Comment thread media/server/ipc/source/ServerManagerModuleService.cpp

This branch has not been deployed

No deployments
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.

3 participants