-
Notifications
You must be signed in to change notification settings - Fork 337
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
ExoPlayer setPlaybackParameters() speed overwritten by Live Adjustment #230
Comments
@stevemayhew is this a dup of google/ExoPlayer#10882? |
Yes. Do you want us to put pull requests in both repo or is it easier just
to AndroidX?
…On Wed, Jan 11, 2023 at 6:28 AM christosts ***@***.***> wrote:
@stevemayhew <https://github.com/stevemayhew> is this a dup of
google/ExoPlayer#10882 <google/ExoPlayer#10882>?
—
Reply to this email directly, view it on GitHub
<#230 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AADBF6ELYQ437PYO32MW62LWR27STANCNFSM6AAAAAATCIBGZ4>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Def one is enough, since both github repos are merged into the same codebase internally, and ExoPlayer/media3 releases are synced. In the future we will be using the androidx repo (but not sure when!). At the moment it doesn't make a difference which one you choose, perhaps let's use the androidx one to warm up the transition. |
Sounds good, can close out the ExoPlayer pull then
…On Wed, Jan 11, 2023 at 11:47 AM christosts ***@***.***> wrote:
Def one is enough, since both github repos are merged into the same
codebase internally, and ExoPlayer/media3 releases are synced. In the
future we will be using the androidx repo (but not sure when!). At the
moment it doesn't make a difference which one you choose, perhaps let's use
the androidx one to warm up the transition.
—
Reply to this email directly, view it on GitHub
<#230 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AADBF6GG3WNR5JGOXNKE6MDWR4E5VANCNFSM6AAAAAATCIBGZ4>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Closing as duplicate of google/ExoPlayer#10882. |
Media3 Version
1.0.0-beta03
Devices that reproduce the issue
Devices that do not reproduce the issue
unknown
Reproducible in the demo app?
No
Reproduction steps
Difficult to reproduce, I'm working back from the exact sequence of events on the player thread to produce a test case.
Basic idea flow is, set speed > 1, disable audio (and text) renderers
Expected result
Speed set as expected.
I'll have a pull request with a suggestion to fix this, simply don't update
PlaybackParameters
on the callback from MediaClock.My notes on why think this is valid, first here are all the reads of PlaybackParameters in EPII:
handleParameters()
with no update (so value just passed to renderers and track selections)playbackInfo.playbackParameters
in if change indicates timeline was empty or new media period is not valid for live speed control. Commit 8dc63dd added this change, clearly intent was to use virgin value fromplaybackInfo.playbackParameters
The two commits around the area to change are:
My suggested fix is simply not to update the EPII
PlaybackParameter
in the changed callback from MediaClock, this call:@andrewlewis this was your change for supporting slow motion streams (sorry, long time ago)
Actual result
Player internal logic overwrites speed change to 1.0
Logging:
Media
I can send a URL if needed, but I think a test case is better.
Bug Report
adb bugreport
to dev.exoplayer@gmail.com after filing this issue.The text was updated successfully, but these errors were encountered: