<html>
<head>
<base href="https://bugs.webkit.org/" />
</head>
<body><span class="vcard"><a class="email" href="mailto:calvaris@igalia.com" title="Xabier Rodríguez Calvar <calvaris@igalia.com>"> <span class="fn">Xabier Rodríguez Calvar</span></a>
</span> changed
<a class="bz_bug_link
bz_status_NEW "
title="NEW - [GStreamer] unrelated codecs required to play videos"
href="https://bugs.webkit.org/show_bug.cgi?id=135972">bug 135972</a>
<br>
<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>What</th>
<th>Removed</th>
<th>Added</th>
</tr>
<tr>
<td style="text-align:right;">CC</td>
<td>
</td>
<td>calvaris@igalia.com
</td>
</tr></table>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - [GStreamer] unrelated codecs required to play videos"
href="https://bugs.webkit.org/show_bug.cgi?id=135972#c15">Comment # 15</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - [GStreamer] unrelated codecs required to play videos"
href="https://bugs.webkit.org/show_bug.cgi?id=135972">bug 135972</a>
from <span class="vcard"><a class="email" href="mailto:calvaris@igalia.com" title="Xabier Rodríguez Calvar <calvaris@igalia.com>"> <span class="fn">Xabier Rodríguez Calvar</span></a>
</span></b>
<pre>(In reply to <a href="show_bug.cgi?id=135972#c6">comment #6</a>)
<span class="quote">> Relevant part of the spec:
> <a href="http://www.w3.org/html/wg/drafts/html/master/embedded-content.html#mime-types">http://www.w3.org/html/wg/drafts/html/master/embedded-content.html#mime-types</a>
>
> 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?</span >
I think this is the way to go.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>