[Webkit-unassigned] [Bug 221695] [GPUP] Some web audio tests in http/tests/security time out when media in GPU Process is enabled

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Feb 10 16:29:27 PST 2021


https://bugs.webkit.org/show_bug.cgi?id=221695

--- Comment #5 from Chris Dumez <cdumez at apple.com> ---
(In reply to Chris Dumez from comment #4)
> When the GPUProcess is disabled, nextBestMediaEngine() also returns null in
> this case. However, we end up calling nextMediaEngine() as fallback and this
> does return a non-null engine.
> 
> So now the question is, why isn't nextMediaEngine() getting called in the
> GPU Process when nextBestMediaEngine() returns null. May be due to the value
> for m_contentMIMETypeWasInferredFromExtension being different?

m_contentMIMETypeWasInferredFromExtension is indeed true in the WebProcess but false in the GPUProcess, which is why we don't end up calling nextMediaEngine().

When MediaPlayer::load() gets called in the WebProcess, m_contentType.containerType() returns an empty string so we end up setting the m_contentMIMETypeWasInferredFromExtension flag to true. In the GPUProcess though, when MediaPlayer::load() gets called, m_contentType.containerType() returns "text/php" so we don't end up setting the m_contentMIMETypeWasInferredFromExtension flag.

In any case, this is clearly a media issue, not a WebAudio one.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20210211/6c2cfa1e/attachment.htm>


More information about the webkit-unassigned mailing list