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

Re: [mediacapture-record] Bugs in isTypeSupported() example

From: Miguel Casas-Sanchez via GitHub <sysbot+gh@w3.org>
Date: Thu, 12 Jan 2017 18:52:24 +0000
To: public-media-capture-logs@w3.org
Message-ID: <issue_comment.created-272248384-1484247143-sysbot+gh@w3.org>
The 
[example](https://w3c.github.io/mediacapture-record/MediaRecorder.html#example1)
 ([codepen](https://codepen.io/miguelao/pen/edqNab?editors=0010)) 
reads now:
```
  var contentTypes = ["video/webm",
                      "video/webm;codecs=vp8",
                      "video/x-matroska;codecs=avc1",
                      "audio/webm",
                      "video/mp4;codecs=avc1",
                      "video/invalid"];
```

which corrects `h264` to `avc1`, corrects `video/webm;codecs=h264` to 
`video/webm;codecs=avc1`, etc.

Note that, as said elsewhere, `video/webm` is valid mime type for that
 format. I'm closing this issue since there's an array of others 
dealing with other subtleties (and linked from this issue's 
description).

-- 
GitHub Notification of comment by miguelao
Please view or discuss this issue at 
https://github.com/w3c/mediacapture-record/issues/94#issuecomment-272248384
 using your GitHub account
Received on Thursday, 12 January 2017 18:52:30 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:27:31 UTC