Bug 1675578 Comment 7 Edit History

Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.

(In reply to Jamie Nicol [:jnicol] from comment #6)
> So it doesn't appear to matter whether webrender is enabled or not. The reporter had a Nokia 6, which is an Adreno, so it also doesn't appear to be GPU specific. Sotaro, do you have any ideas on how to investigate this?

I could not reproduce the problem on my Galaxy A30(Android 10, Mali-G71). One possibility is that we might  need to return andorid::GrpahicBuffer to android MediaCodec soon. To do it, we need to call SurfaceTexture::updateTexImage() as soon as possible. It could provide more buffers to hardware codec.
(In reply to Jamie Nicol [:jnicol] from comment #6)
> So it doesn't appear to matter whether webrender is enabled or not. The reporter had a Nokia 6, which is an Adreno, so it also doesn't appear to be GPU specific. Sotaro, do you have any ideas on how to investigate this?

I could not reproduce the problem on my Galaxy A30(Android 10, Mali-G71). One possibility is that we might  need to return andorid::GrpahicBuffer to android MediaCodec soon. To do it, we need to call SurfaceTexture::updateTexImage() as soon as possible. It could provide more buffers to hardware codec.

On android, only one video frame is sent to compositor.
- https://searchfox.org/mozilla-central/rev/ff82c973f8ccb0475ec32439e9ec07014b3a681f/mobile/android/app/mobile.js#435

Back to Bug 1675578 Comment 7