Deprecate webkitAudioDecodedByteCount and webkitVideoDecodedByteCount |
||||||
Issue descriptionThese HTMLMediaElement properties are been measured for a while and there usage is very low. The video one is 0.0013% and the audio one is 0.0001%. I think it should be safe to deprecate and remove.
,
Jul 28 2016
Not wolenetz@ but I'm working with other folks on an effort to better report media capabilities. This effort include a new video playback quality. wolenetz@ is trying to remove VideoPlaybackQuality from MSE (it's currently marked as deprecated). The new API work for playback quality info will happen here: https://github.com/WICG/media-playback-quality
,
Aug 1 2016
Can I take this?
,
Aug 1 2016
Do you know what needs to be done?
,
Aug 2 2016
Do I need to send email to blink-dev about "Intent to Deprecate And Remove" before remove it?
,
Aug 2 2016
Yes and now. You need to open an entry in chromestatus.com and send an intent but the CL would only mark the feature as deprecated, not removed. If you are not familiar with the process, I can deal with this.
,
Aug 2 2016
An important consideration in a blink-dev intent is what web developers should use instead. Shipping video.getVideoPlaybackQuality() first and making sure that it's easy to transition to the new API (similar or identical semantics is nice) would be best I think. Notably, it doesn't seem to provide anything similar to webkitAudioDecodedByteCount, and nothing around decoded *bytes* for video either?
,
Aug 2 2016
foolip@, why do we need to have an equivalent if the conclusion, it seems, is that these properties are not actually used?
,
Aug 2 2016
I thought this was the whole of the old API, so it seemed odd that usage had dropped with no replacement, but it looks like usage of webkitDecodedFrameCount and webkitDroppedFrameCount is still going strong: https://www.chromestatus.com/metrics/feature/timeline/popularity/172 https://www.chromestatus.com/metrics/feature/timeline/popularity/173 So I suppose that knowing the decoded byte count in isolation just isn't that useful. Can you confirm, wolenetz@? If that's right, then there will never be a replacement, and I agree that deprecation and removal is appropriate, it's just a question of how long the deprecation period should be. Maybe 2 milestones?
,
Aug 2 2016
Just to be clear, the deprecation would be for: https://www.chromestatus.com/metrics/feature/timeline/popularity/164 (PrefixedAudioDecodeByteCount) https://www.chromestatus.com/metrics/feature/timeline/popularity/165 (PrefixedVideoDecodeByteCount) I was a bit worried when I saw the link above and I want to make sure it's clear that they are not the things we want to remove :)
,
Aug 2 2016
Right :) The other two have high usage and really need a replacement first.
,
Aug 3 2016
@mlamouri@chromium.org It the process looks not familiar to me. It will be good if you help me.
,
Aug 3 2016
dropped/decoded frame counts are included in 'stats-for-nerds' by YT, IIUC. Please don't deprecate those until MediaPlaybackQuality has some good replacement shipped for them. Note that the VideoPlaybackQuality object/spec is *not* standardized, and is being removed from MSE shortly, so even though we have that implemented behind an experimental flag currently, it is *not* a viable replacement for the dropped/decoded frame counts. MediaPlaybackQuality work is expected to eventually subsume this VideoPlaybackQuality feature. decodeByteCounts -- I don't recall working with those. dalecurtis@, please comment about their potential deprecation.
,
Aug 4 2016
Note right now there is a client using decodedByteCounts since decodedFrameCount is stale until playback starts. I'm planning to fix that soon, but at least for M52 we might see a spike on usage of byte counts.
,
Aug 4 2016
Just to dissipate potential misunderstanding, this was never about deprecating webkitDecodedFrameCount and webkitDroppedFrameCount. I suggest to focus back the discussion on webkitAudioDecodedByteCount and webkitVideoDecodedByteCount. Dale, what do you mean by "there is a client using decodedByteCounts"? Do you expect usage to grow significantly higher than what we see today (see #10)? Should we not deprecate this properties?
,
Aug 9 2016
,
Feb 8 2017
,
Mar 12 2017
,
Mar 12 2017
,
Jun 14 2017
yes but how understand if is a player loaded a video or a audio? or better if player contains video tracks or not?
,
Jun 14 2017
For checking the loaded information, would the buffered range help? Regarding the video/audio tracks, we will launch an API that exposes this information. Safari, Firefox and Edge already ships it (ie. media.audioTracks and media.videoTracks).
,
Mar 3 2018
|
||||||
►
Sign in to add a comment |
||||||
Comment 1 by foolip@chromium.org
, Jul 28 2016