[Webkit-unassigned] [Bug 135972] [GStreamer] unrelated codecs required to play videos
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu May 12 02:07:03 PDT 2016
https://bugs.webkit.org/show_bug.cgi?id=135972
Xabier RodrÃguez Calvar <calvaris at igalia.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |calvaris at igalia.com
--- Comment #15 from Xabier RodrÃguez Calvar <calvaris at igalia.com> ---
(In reply to comment #6)
> Relevant part of the spec:
> http://www.w3.org/html/wg/drafts/html/master/embedded-content.html#mime-types
>
> So considering this, I think the best we could do here would be if we could
> directly override media.canPlayType() with our own implementation instead of
> just passing a list of mimetypes we might support to the upper layers.
>
> Inside the media.canPlayType() implementation we could then check directly
> against the available GStreamer plugins and handle missing mime type details
> accordingly.
>
> For example for
> - video/mp4 we could check if: a) a MP4 demuxer is available, b) at least
> one video or audio decoder for H264, MPEG-4 Part 2, MP3 or AAC is available.
> Here we would return "maybe"
> - video/mp4,codec=mp4v.20.8" check if: a) a MP4 demuxer is available, b) a
> MPEG-4 Part 2 video decoder is available. Here we can probably return
> "probably" instead of "maybe" then
>
> Opinions?
I think this is the way to go.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20160512/e2ffd228/attachment.html>
More information about the webkit-unassigned
mailing list