There are a lot of missing frames when playing some videos

RESOLVED FIXED

Status

()

P2
major
RESOLVED FIXED
2 years ago
2 years ago

People

(Reporter: cynthiatang, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

2 years ago
1. Launch Firefox (Fennec)
2. Enter "about:config" in URL address field 
3. Find "media.android-remote-codec.enabled" and enable it
4. New a tab
5. Go to youtube and play some videos, e.g.,
   https://m.youtube.com/watch?v=ki01LoQ_XRA
   https://m.youtube.com/watch?v=w2GebXqQMF8
   https://m.youtube.com/watch?v=_qCrV5lmpQ0

Actual Result:
- There are a lot of missing frames.

Expected Result:
- No missing frames.

Check the droppedVideoFrames in WebIDE:
- Use "document.querySelectorAll("video")[0].getVideoPlaybackQuality()"
- Result: VideoPlaybackQuality { creationTime: 270046.775, totalVideoFrames: 7167, droppedVideoFrames: 6649, corruptedVideoFrames: 0 }

By the way, this issue cannot be reproduced when "media.android-remote-codec.enabled" is disabled.

Device: Nexus 5
OS Version: Android 6.0.1
Firefox Version: Nightly 51.0a1 (2016-08-29)
Priority: -- → P2
I think those choppy or playing video not smoothly issues are related to repeatedly memory copy by current code design. Set the dependency to bug 1295106 which intends to solve performance issue by shared memory.
Depends on: 1295106
Fixed by bug 1295106.
Status: NEW → RESOLVED
Last Resolved: 2 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.