MediaSource::attachToElement event takes up to 60ms the first time |
||||
Issue description
Chrome Version : 65.0.3287.0
OS Version: 10194.0.0
What steps will reproduce the problem?
1. Start Chrome fresh
2. Open website that calls something like:
const video = document.createElement('video');
const mediaSource = new MediaSource();
video.src = URL.createObjectURL(mediaSource);
3. Check out trace
What is the expected result?
The event "MediaSource::attachToElement" should last less than 5ms.
What happens instead of that?
It is almost 60ms. See trace attached.
,
Dec 8 2017
,
Dec 8 2017
,
Dec 8 2017
And I just noticed this has been flagged by Shaka Player: https://github.com/google/shaka-player/blob/bc5d309607df469302e22a992dc0f6ae51ccb893/lib/player.js#L839
,
Jan 4 2018
|
||||
►
Sign in to add a comment |
||||
Comment 1 by mlamouri@chromium.org
, Dec 8 2017