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>
Status: RESOLVED FIXED    
Severity: Normal CC: commit-queue
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Proposed patch.
none
Proposed patch. none

Eric Carlson
Reported 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.
Attachments
Proposed patch. (4.27 MB, text/plain)
2016-06-24 09:49 PDT, Eric Carlson
no flags
Proposed patch. (1.46 KB, patch)
2016-06-24 09:52 PDT, Eric Carlson
no flags
Eric Carlson
Comment 1 2016-06-24 05:22:47 PDT
Eric Carlson
Comment 2 2016-06-24 09:49:52 PDT
Created attachment 281990 [details] Proposed patch.
Eric Carlson
Comment 3 2016-06-24 09:52:41 PDT
Created attachment 281992 [details] Proposed patch.
WebKit Commit Bot
Comment 4 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>
WebKit Commit Bot
Comment 5 2016-06-24 10:33:15 PDT
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.