Closed Bug 1630106 Opened 2 years ago Closed 2 years ago

Calling HTML5 video APIs rapidly may permanently pause video in Fenix

Categories

(Core :: Audio/Video, defect, P2)

defect

Tracking

()

VERIFIED FIXED
mozilla78
Tracking Status
firefox78 --- verified

People

(Reporter: mcomella, Assigned: jhlin)

Details

Attachments

(1 file)

Originally filed in Fenix: https://github.com/mozilla-mobile/fenix/issues/9940, comment copied here:

Steps to reproduce

Expected behavior

Video continues to play

Actual behavior

Eventually video will stop and I was unable to start it again. For example, the video will still be in the playing state so you can click it to pause. If you press play again, the video will not resume. If you manually seek, the video will not resume.

You can workaround this issue by refreshing the page.

Device information

  • Android device: P2
  • Fenix version: 200414 18:01. I may have built this locally – commit is d433836f0
Assignee: nobody → jolin
Status: NEW → ASSIGNED
Priority: -- → P2

Without limitation, when playing at fast rate the prerolling state could
prevent playback from starting before the codec exhausts all buffers. Set
a cap value so the state machine can exit prerolling state before queuing
too many buffers.

Pushed by jolin@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/572f38aac2ea
limit the max queue size for prerolling. r=bryce
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla78

Verified as fixed on Firefox Preview Nightly 200610 (Build #21620604) Wednesday 6/10 using a OnePlus 6T (Android 9) and Huawei MediaPad M3 (Android 7.0).

Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.