Skip to content

VPAAMP-683 : add log to to check time taken between first frame to pipeline moved to PLAYING state#1695

Open
Gnanesha wants to merge 2 commits into
dev_sprint_25_2from
feature/VPAAMP-683
Open

VPAAMP-683 : add log to to check time taken between first frame to pipeline moved to PLAYING state#1695
Gnanesha wants to merge 2 commits into
dev_sprint_25_2from
feature/VPAAMP-683

Conversation

@Gnanesha

@Gnanesha Gnanesha commented Jul 6, 2026

Copy link
Copy Markdown
Contributor

VPAAMP-683 : add log to to check time taken between first frame to pipeline moved to PLAYING state pipeline moved to PLAYING state

Reason for change :A new log has been added to report the time elapsed between the first frame and the PLAYING state Test Procedure: See ticket
Risks: low

…peline moved to PLAYING state

Reason for change :A new log has been added to report the time elapsed between the first frame and the PLAYING state
Test Procedure: See ticket
Risks: low
@Gnanesha
Gnanesha requested a review from a team as a code owner July 6, 2026 19:35
@Gnanesha
Gnanesha requested a review from Copilot July 6, 2026 19:36

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 (VPAAMP-683) aims to add a middleware log that reports the elapsed time between receiving the first video frame and the GStreamer pipeline transitioning to the PLAYING state, intended to be emitted only for “new tune” scenarios.

Changes:

  • Added a first-frame steady-clock timestamp (mFirstFrameTimeInMS) and reset points in the pipeline lifecycle.
  • Added “new tune” plumbing via a new Configs::isNewTune flag passed from AAMP into the middleware.
  • Added a PAUSED→PLAYING state-transition log that computes and prints the first-frame→PLAYING duration.

Reviewed changes

Copilot reviewed 6 out of 6 changed files in this pull request and generated 5 comments.

Show a summary per file
File Description
priv_aamp.h Adds a new tune-related member on PrivateInstanceAAMP (currently redundant with existing IsNewTune()).
priv_aamp.cpp Initializes the new mIsNewTune member to false.
aampgstplayer.cpp Passes “new tune” state into middleware config (currently wired to mIsNewTune).
middleware/InterfacePlayerRDK.h Adds Configs::isNewTune to gate the new timing log.
middleware/InterfacePlayerPriv.h Adds first-frame timestamp storage in GstPlayerPriv.
middleware/InterfacePlayerRDK.cpp Records first-frame timestamp and logs first-frame→PLAYING duration on PAUSED→PLAYING.

Comment thread aampgstplayer.cpp
Comment thread middleware/InterfacePlayerPriv.h
Comment thread middleware/InterfacePlayerRDK.cpp
Comment thread priv_aamp.h
Comment thread priv_aamp.cpp
…peline moved to PLAYING state

Reason for change :A new log has been added to report the time elapsed between the first frame and the PLAYING state
Test Procedure: See ticket
Risks: low

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

Copilot reviewed 6 out of 6 changed files in this pull request and generated 4 comments.

Comment thread middleware/InterfacePlayerPriv.h
Comment thread middleware/InterfacePlayerRDK.cpp
Comment thread middleware/InterfacePlayerRDK.cpp
Comment thread priv_aamp.h
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