Open Bug 1209386 Opened 4 years ago Updated 5 months ago

Abstract TrackBuffer in MSE's TrackBuffersManager

Categories

(Core :: Audio/Video: Playback, defect, P3)

43 Branch
defect

Tracking

()

People

(Reporter: jya, Assigned: jya)

References

(Blocks 1 open bug)

Details

The current MSE implementation uses a vector of sample and separately some cache indexes (one used for insertion and one used for demuxing).

This has proven to be rather inefficient and difficult to maintain.

This task will create an abstraction layer over how the TrackBuffersManager access its trackbuffers and provide iterators for either writing or reading samples from/to it.

Later we will change the underlying storage structure that will provide faster access (we currently perform a worse search in O(n) (though often O(1)), it could be significantly improved)
Mass change P2 -> P3
Priority: P2 → P3
You need to log in before you can comment on or make changes to this bug.