I have been working with the HTML Video Media Source Extension (MSE) and here is an overview of the graph from w3.org for how MSE interact with HTML Video Element:
If I understand correctly, MSE only feed the source. The video decoding job is still done by HTML Video Element and it is the only entry to access hardware decoding support, per StackOverflow JS Video decoding post saying.
I have two questions:
- When accessing videos buffered attribute, does it refer to decoded buffer in HTML Element or downloaded/parsed buffer in MSE? If it refers to downloaded buffer, as MDN Doc saying, is that possible to get the decoded buffer range?
- On certain bad-performance computers, they cannot decode high resolution videos fast enough because of lack of GPU hardware support. At the same time, with really good internet bandwidth, Adaptive Bit Rate (ABR) algorithm will always try to feed high resolutions to those computers, leading to a choppy playback experience. Is there any solution to this?
Thank you so much for any advice!