Intent to Remove: MediaStream.stop() method and MediaStream.label, MediaStream.ended attributes

121 views
Skip to first unread message

shiv...@samsung.com

unread,
Aug 27, 2015, 2:22:00 AM8/27/15
to blink-dev, phi...@opera.com, tk...@chromium.org, to...@chromium.org

Contact emails

shiv...@samsung.com


Link to “Intent to Deprecate” thread


Summary

After adding MediaStream.active attribute, we can remove MediaStream.stop() method and MediaStream.label, MediaStream.ended attribute.

http://w3c.github.io/mediacapture-main/getusermedia.html#idl-def-MediaStream

Motivation

In below link, it has been discussed to remove the MediaStream.stop() method and MediaStream.label attribute,

https://groups.google.com/a/chromium.org/forum/#!msg/blink-dev/m4jiqG67Mvo/j3W-jGLxmQgJ

cr bug: https://code.google.com/p/chromium/issues/detail?id=338500


Compatibility Risk

Low.  since stop() has been implemented on MediaStreamTracks, so the stop method on MediaStream can  be removed.

Usage information from UseCounter

For MediaStream.stop(), https://www.chromestatus.com/metrics/feature/timeline/popularity/537, uses < 0.02
For MediaStream.label, https://www.chromestatus.com/metrics/feature/timeline/popularity/536,  uses < 0.0

PhistucK

unread,
Aug 27, 2015, 2:45:15 AM8/27/15
to shiv...@samsung.com, blink-dev, Philip Jägenstedt, Kent Tamura, Tomas Gunnarsson
The stop() usage is kind of increasing. :(


PhistucK

To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.

Rick Byers

unread,
Aug 27, 2015, 6:54:41 AM8/27/15
to shiv...@samsung.com, blink-dev, Philip Jägenstedt, Kent Tamura, to...@chromium.org
The increasing usage of stop() is a little worrying, but since it was only ever Chrome that supported stop() (and I assume no other user agent has plans to do so), I think the best course of action is to remove it ASAP.

LGTM

Philip Jägenstedt

unread,
Aug 27, 2015, 10:25:36 AM8/27/15
to Rick Byers, shiv...@samsung.com, blink-dev, Kent Tamura, Tomas Gunnarsson
LGTM2

Chris Harrelson

unread,
Aug 27, 2015, 11:44:38 AM8/27/15
to Philip Jägenstedt, Rick Byers, shiv...@samsung.com, blink-dev, Kent Tamura, Tomas Gunnarsson
LGTM3

LGTM2
Reply all
Reply to author
Forward
0 new messages