W3C home > Mailing lists > Public > public-media-capture@w3.org > May 2017

[mediacapture-record] Make stop() idempotent.

From: jan-ivar via GitHub <sysbot+gh@w3.org>
Date: Thu, 25 May 2017 00:27:18 +0000
To: public-media-capture@w3.org
Message-ID: <issues.opened-231207923-1495672037-sysbot+gh@w3.org>
jan-ivar has just created a new issue for https://github.com/w3c/mediacapture-record:

== Make stop() idempotent. ==
Currently, the [spec](https://w3c.github.io/mediacapture-record/MediaRecorder.html#dom-mediarecorder-stop) says
```js
rec.stop();
rec.stop();
```
must throw an `InvalidStateError`. This seems inconsistent with e.g. `track.stop()` (https://github.com/w3c/mediacapture-main/issues/459) and `pc.close()` (https://github.com/w3c/webrtc-pc/commit/3c3fbb324f305eec85f81a6f468e450c26ebd7bd).


Please view or discuss this issue at https://github.com/w3c/mediacapture-record/issues/125 using your GitHub account
Received on Thursday, 25 May 2017 00:27:25 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:26:40 UTC