Skip to content

VPLAY-9810:Add droppedFrames to MonitorAV event #270

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

Open
wants to merge 4 commits into
base: dev_sprint_25_2
Choose a base branch
from

Conversation

varshnie
Copy link
Contributor

Reason for change:Added audio buffered duration as a part of mediaprogress event and dropped frames as part of monitorav event Risks: Low
Test Procedure: Refer jira ticket
Priority: P2

Signed-off-by: varshnie [email protected]

@varshnie varshnie requested review from a team as code owners July 14, 2025 14:25
std::string sid):
AAMPEventObject(AAMP_EVENT_PROGRESS, std::move(sid)), mDuration(duration),
mPosition(position), mStart(start),
mEnd(end), mSpeed(speed), mPTS(pts),
mBufferedDuration(bufferedDuration),
mVideoBufferedDurationMs(videoBufferedDuration),
mAudioBufferedDurationMs(audioBufferedDuration),
mSEITimecode(seiTimecode),

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Coverity Issue - Variable copied when it could be moved

"seiTimecode" is passed-by-value as parameter to "std::__cxx11::basic_string<char, std::char_traits, std::allocator >::basic_string(std::__cxx11::basic_string<char, std::char_traits, std::allocator > const &)", when it could be moved instead.

Low Impact, CWE-none
COPY_INSTEAD_OF_MOVE

How to fix

Use "std::move(""seiTimecode"")" instead of "seiTimecode".

@varshnie varshnie force-pushed the feature/VPLAY-9810 branch from 35aa67d to 5529e22 Compare July 14, 2025 16:33
psiva01 pushed a commit that referenced this pull request Jul 14, 2025
@varshnie varshnie force-pushed the feature/VPLAY-9810 branch from 5529e22 to 855077f Compare July 15, 2025 05:18
Reason for change:Added audio buffered duration as a part of mediaprogress event and dropped frames as part of monitorav event
Risks: Low
Test Procedure: Refer jira ticket
Priority: P2

Signed-off-by: varshnie [email protected]
@varshnie varshnie force-pushed the feature/VPLAY-9810 branch from 855077f to c444cd3 Compare July 15, 2025 05:39
@varshnie varshnie closed this Jul 15, 2025
@varshnie varshnie reopened this Jul 15, 2025
Reason for change:Added audio buffered duration as a part of mediaprogress event and dropped frames as part of monitorav event
Risks: Low
Test Procedure: Refer jira ticket
Priority: P1

Signed-off-by: varshnie [email protected]
@varshnie varshnie force-pushed the feature/VPLAY-9810 branch from 732ba02 to 5d5be90 Compare July 15, 2025 14:15
Copy link
Contributor

@Vinish100 Vinish100 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good

@rdkcmf-jenkins
Copy link

Coverity Issue - Unchecked return value

Calling "GetCurrentTextTrack" without checking return value (as is done elsewhere 1 out of 1 times).

Medium Impact, CWE-252
CHECKED_RETURN

Issue location

This issue was discovered outside the diff for this Pull Request. You can find it at:
priv_aamp.cpp:10141

@rdkcmf-jenkins
Copy link

Coverity Issue - Unchecked return value

Calling "GetCurrentAudioTrack" without checking return value (as is done elsewhere 2 out of 2 times).

Medium Impact, CWE-252
CHECKED_RETURN

Issue location

This issue was discovered outside the diff for this Pull Request. You can find it at:
priv_aamp.cpp:10021

@rdkcmf-jenkins
Copy link

Coverity Issue - Data race condition

Accessing "this->numberOfFragmentChunksCached" without holding lock "MediaTrack.mutex". Elsewhere, "MediaTrack.numberOfFragmentChunksCached" is written to with "MediaTrack.mutex" held 3 out of 3 times (2 of these accesses strongly imply that it is necessary).

Medium Impact, CWE-366
MISSING_LOCK

Issue location

This issue was discovered outside the diff for this Pull Request. You can find it at:
streamabstraction.cpp:1840

@rdkcmf-jenkins
Copy link

Coverity Issue - Variable copied when it could be moved

"processor" is copied in call to copy assignment for class "std::shared_ptr", when it could be moved instead.

Low Impact, CWE-none
COPY_INSTEAD_OF_MOVE

How to fix

Use "std::move(""processor"")" instead of "processor".

Issue location

This issue was discovered outside the diff for this Pull Request. You can find it at:
streamabstraction.cpp:4049

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