| Summary: | [iPad] Use AVAudioSession to detect AirPlay route changes | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Eric Carlson <eric.carlson> | ||||||||||
| Component: | Media | Assignee: | Eric Carlson <eric.carlson> | ||||||||||
| Status: | RESOLVED FIXED | ||||||||||||
| Severity: | Normal | CC: | calvaris, cdumez, esprehn+autocc, ews-watchlist, glenn, gyuyoung.kim, jer.noble, philipj, sergio, webkit-bug-importer | ||||||||||
| Priority: | P2 | Keywords: | InRadar | ||||||||||
| Version: | Other | ||||||||||||
| Hardware: | Unspecified | ||||||||||||
| OS: | Unspecified | ||||||||||||
| Attachments: |
|
||||||||||||
|
Description
Eric Carlson
2020-03-30 16:49:31 PDT
Created attachment 394989 [details]
Patch
Created attachment 395046 [details]
Patch
Created attachment 395055 [details]
Patch
Comment on attachment 395055 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=395055&action=review r=me with nits. > Source/WebCore/platform/audio/ios/MediaSessionHelperIOS.mm:106 > +void activeAudioRouteDidChange(bool); > +void activeVideoRouteDidChange(); Weird spacing here. > Source/WebCore/platform/graphics/MediaPlaybackTarget.h:47 > + virtual bool supportsAirPlayVideo() const = 0; It's kind of weird to have the term "AirPlay" here in a cross-port header. Could we change this to "supportsRemoteVideoPlayback" or something? Comment on attachment 395055 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=395055&action=review Thanks for the review! >> Source/WebCore/platform/audio/ios/MediaSessionHelperIOS.mm:106 >> +void activeVideoRouteDidChange(); > > Weird spacing here. Fixed. >> Source/WebCore/platform/graphics/MediaPlaybackTarget.h:47 >> + virtual bool supportsAirPlayVideo() const = 0; > > It's kind of weird to have the term "AirPlay" here in a cross-port header. Could we change this to "supportsRemoteVideoPlayback" or something? Good point, fixed. Created attachment 395070 [details]
Patch for landing
Committed r259303: <https://trac.webkit.org/changeset/259303> All reviewed patches have been landed. Closing bug and clearing flags on attachment 395070 [details]. |