Bug 159088

Summary: [iOS, Mac] Assume a media file has audio during AirPlay
Product: WebKit Reporter: Eric Carlson <eric.carlson>
Component: MediaAssignee: Eric Carlson <eric.carlson>
Severity: Normal CC: commit-queue
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Description Flags
Proposed patch.
Proposed patch. none

Description Eric Carlson 2016-06-24 05:22:17 PDT
An AVPlayerItem's AVAssetTracks become NULL during AirPlay so it is not possible to determine a track's media type. Assume a file has audio when AirPlay is active so we set the correct audio category.
Comment 1 Eric Carlson 2016-06-24 05:22:47 PDT
Comment 2 Eric Carlson 2016-06-24 09:49:52 PDT
Created attachment 281990 [details]
Proposed patch.
Comment 3 Eric Carlson 2016-06-24 09:52:41 PDT
Created attachment 281992 [details]
Proposed patch.
Comment 4 WebKit Commit Bot 2016-06-24 10:33:12 PDT
Comment on attachment 281992 [details]
Proposed patch.

Clearing flags on attachment: 281992

Committed r202427: <http://trac.webkit.org/changeset/202427>
Comment 5 WebKit Commit Bot 2016-06-24 10:33:15 PDT
All reviewed patches have been landed.  Closing bug.