WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
209789
[iPad] Use AVAudioSession to detect AirPlay route changes
https://bugs.webkit.org/show_bug.cgi?id=209789
Summary
[iPad] Use AVAudioSession to detect AirPlay route changes
Eric Carlson
Reported
2020-03-30 16:49:31 PDT
Use AVAudioSession to detect AirPlay route changes
Attachments
Patch
(29.48 KB, patch)
2020-03-30 17:08 PDT
,
Eric Carlson
no flags
Details
Formatted Diff
Diff
Patch
(31.07 KB, patch)
2020-03-31 09:11 PDT
,
Eric Carlson
no flags
Details
Formatted Diff
Diff
Patch
(30.38 KB, patch)
2020-03-31 09:55 PDT
,
Eric Carlson
jer.noble
: review+
Details
Formatted Diff
Diff
Patch for landing
(31.80 KB, patch)
2020-03-31 11:08 PDT
,
Eric Carlson
no flags
Details
Formatted Diff
Diff
Show Obsolete
(2)
View All
Add attachment
proposed patch, testcase, etc.
Eric Carlson
Comment 1
2020-03-30 16:49:45 PDT
<
rdar://problem/58065279
>
Eric Carlson
Comment 2
2020-03-30 17:08:58 PDT
Created
attachment 394989
[details]
Patch
Eric Carlson
Comment 3
2020-03-31 09:11:00 PDT
Created
attachment 395046
[details]
Patch
Eric Carlson
Comment 4
2020-03-31 09:55:39 PDT
Created
attachment 395055
[details]
Patch
Jer Noble
Comment 5
2020-03-31 10:35:48 PDT
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?
Eric Carlson
Comment 6
2020-03-31 11:06:59 PDT
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.
Eric Carlson
Comment 7
2020-03-31 11:08:24 PDT
Created
attachment 395070
[details]
Patch for landing
EWS
Comment 8
2020-03-31 12:40:11 PDT
Committed
r259303
: <
https://trac.webkit.org/changeset/259303
> All reviewed patches have been landed. Closing bug and clearing flags on
attachment 395070
[details]
.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug