Skip to content
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

old quality should be reported to droppedFrameHistory onQualityChangeRendered #1989

Merged

Conversation

spiterikevin
Copy link
Contributor

The outstanding dropped frames statistics in the VideoModel correspond to the old quality.

@spiterikevin
Copy link
Contributor Author

@robertbryer can you please review this?

Copy link
Contributor

@robertbryer robertbryer left a comment

Choose a reason for hiding this comment

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

Yeah, this is a good catch. The change is right, but should also protect against oldQuality being NaN at startup.

@spiterikevin
Copy link
Contributor Author

I see. During startup we're also pushing playbackIndex === undefined on line 304.

I can write a fix to catch both in DroppedFramesHistory.js. By checking isNaN(index) on line 18 both cases can be discarded. This would still update lastDroppedFrames and lastTotalFrames to avoid stale information. Does this make sense?

@LloydW93 LloydW93 merged commit 7269cb5 into Dash-Industry-Forum:development Jun 8, 2017
@spiterikevin spiterikevin deleted the DFHistOnQCRend branch June 8, 2017 16:47
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