W3C home > Mailing lists > Public > public-media-capture-logs@w3.org > December 2016

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

From: Miguel Casas-Sanchez via GitHub <sysbot+gh@w3.org>
Date: Sat, 03 Dec 2016 03:04:56 +0000
To: public-media-capture-logs@w3.org
Message-ID: <issue_comment.created-264611914-1480734295-sysbot+gh@w3.org>
Regarding 1. ("video/webm"/"audio/webm" not being valid types) I think
 it's a strange situation since WebM has no recognised mime type in 
the [IANA 
list](http://www.iana.org/assignments/media-types/media-types.xhtml#video)
 (fun-fact: I requested it and got a negative reply) nor RFC IIRC, so 
I followed the guidelines in 
http://www.webmproject.org/docs/container/#canplaytype-function, 
namely:

> canPlayType(‘video/webm’) SHOULD return maybe
> canPlayType(‘audio/webm’) SHOULD return maybe
> canPlayType(‘video/webm; codecs=”vp8, vorbis”’) SHOULD return 
probably
...
> canPlayType(‘audio/webm; codecs=”opus”’) SHOULD return probably

which ended up in the strange situation that `video/webm` is OK. But 
I'd like to hear your take on all this.

Regarding 3. I'll wipe a correction, thanks!


-- 
GitHub Notification of comment by miguelao
Please view or discuss this issue at 
https://github.com/w3c/mediacapture-record/issues/94#issuecomment-264611914
 using your GitHub account
Received on Saturday, 3 December 2016 03:05:04 UTC

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