-
Notifications
You must be signed in to change notification settings - Fork 177
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
Detect resolution change and reinit hw session #2884
Conversation
Codecov Report
@@ Coverage Diff @@
## master #2884 +/- ##
===================================================
+ Coverage 56.38155% 56.41079% +0.02924%
===================================================
Files 89 89
Lines 19384 19397 +13
===================================================
+ Hits 10929 10942 +13
Misses 7849 7849
Partials 606 606
Continue to review full report in Codecov by Sentry.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, is there any easy way we can track how often the session reinits are happening?
Good point, added logging when HW Session Reinit is requested. PTAL: 81b6ffc |
Looks good! 🚢 🇮🇹 |
* Detect resolution change and reinit hw session * Add log for requesting HW Session Reinit
It reinitializes the hw session if there is a mismatch in media info between segments.
Note that it does not fix the issue completely, because if the resolution is changed inside a segment, then the given segment is not transcoded correctly. But it makes the issue way less problematic, becuase all consecutive segments are ok.
fix https://linear.app/livepeer/issue/VID-438/analyze-pink-and-green-lines-in-transcoded-video