Open Bug 1410038 Opened 8 years ago Updated 3 years ago

Improve frame dropping algorithm

Categories

(Core :: Audio/Video: Recording, enhancement, P3)

58 Branch
enhancement

Tracking

()

Tracking Status
firefox58 --- affected

People

(Reporter: pehrsons, Unassigned)

Details

This algorithm in VP8TrackEncoder is pretty old and could use some improvements. The first thing to fix would be that we currently will encode the first frame after every GetEncodedTrack(). I.e., only when we call GetEncodedTrack after building up a queue of multiple frames are we able to drop some. This will self adjust eventually but is not optimal. The second thing to fix would be to use a rolling window over time to smoothen out the frame drops, and use the length of the frames-to-encode queue to see whether we're falling behind.
Rank: 25
Priority: -- → P3
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.