Bug 159088 - [iOS, Mac] Assume a media file has audio during AirPlay
Summary: [iOS, Mac] Assume a media file has audio during AirPlay
Alias: None
Product: WebKit
Classification: Unclassified
Component: Media (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Eric Carlson
Keywords: InRadar
Depends on:
Reported: 2016-06-24 05:22 PDT by Eric Carlson
Modified: 2016-06-24 10:33 PDT (History)
1 user (show)

See Also:

Proposed patch. (4.27 MB, text/plain)
2016-06-24 09:49 PDT, Eric Carlson
no flags Details
Proposed patch. (1.46 KB, patch)
2016-06-24 09:52 PDT, Eric Carlson
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.