Changeset 267198 in webkit
- Timestamp:
- Sep 17, 2020, 10:47:28 AM (6 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
-
ChangeLog (modified) (1 diff)
-
platform/audio/ios/MediaSessionManagerIOS.mm (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r267191 r267198 1 2020-09-17 Jer Noble <jer.noble@apple.com> 2 3 [iOS] YouTube does not route video to AirPlay the first time 4 https://bugs.webkit.org/show_bug.cgi?id=216626 5 <rdar://problem/62222846> 6 7 Reviewed by Eric Carlson. 8 9 Difficult to test this, since it requires an live AppleTV device. 10 11 During a refactor, the order of a couple calls changed. A MediaPlaybackTarget needs to be in place before the MediaPlayer can 12 be told to start playing to that target. Once the target is in-place, subsequent requests to start playing to that target succeed, 13 which explains the "only initial AirPlay fails" behavior. 14 15 * platform/audio/ios/MediaSessionManagerIOS.mm: 16 (WebCore::MediaSessionManageriOS::activeVideoRouteDidChange): 17 1 18 2020-09-17 Antti Koivisto <antti@apple.com> 2 19 -
trunk/Source/WebCore/platform/audio/ios/MediaSessionManagerIOS.mm
r265834 r267198 206 206 return; 207 207 208 nowPlayingSession->setPlaybackTarget(WTFMove(playbackTarget)); 208 209 nowPlayingSession->setShouldPlayToPlaybackTarget(supportsAirPlayVideo == SupportsAirPlayVideo::Yes); 209 nowPlayingSession->setPlaybackTarget(WTFMove(playbackTarget));210 210 } 211 211
Note:
See TracChangeset
for help on using the changeset viewer.