Bug 130536

Summary: [iOS] asynchronous media callbacks should happen on the web thread
Product: WebKit Reporter: Eric Carlson <eric.carlson>
Component: MediaAssignee: Eric Carlson <eric.carlson>
Status: RESOLVED FIXED    
Severity: Normal CC: commit-queue, glenn, jer.noble, philipj, sergio, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Proposed patch. jer.noble: review+

Description Eric Carlson 2014-03-20 13:47:46 PDT
MediaPlayerPrivateAVFoundationObjC::checkPlayability uses dispatch_async(dispatch_get_main_queue()) to trampoline an AVFoundation callback to the "main" thread, but this doesn't work in WK1 where we need to make all calls on the WebThread.
Comment 1 Eric Carlson 2014-03-20 13:50:09 PDT
Created attachment 227329 [details]
Proposed patch.
Comment 2 Jer Noble 2014-03-20 13:55:30 PDT
Comment on attachment 227329 [details]
Proposed patch.

r=me
Comment 3 Eric Carlson 2014-03-20 14:03:48 PDT
Committed r165998: https://trac.webkit.org/r165998
Comment 4 Radar WebKit Bug Importer 2014-03-21 16:24:44 PDT
<rdar://problem/16396919>