Repository navigation
RDKEMW-15487: Configure PlaybackInfo timer - #647
VidhathriJoshi wants to merge 5 commits into
Conversation
|
Pull request title must follow the pattern: Pull request description must follow the Commit message format for RDK-E:
< JIRA TICKET >: < one line summary of change less than 65 characters > |
fda3e67 to
c3fed46
Compare
There was a problem hiding this comment.
🟡 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.
c3fed46 to
bc8e2fe
Compare
|
Coverage statistics of your commit: |
7c62c55 to
8f733b1
Compare
|
Coverage statistics of your commit: |
|
Coverage statistics of your commit: |
1 similar comment
|
Coverage statistics of your commit: |
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
225c501 to
cc4a756
Compare
|
Coverage statistics of your commit: |



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