Bug 130172

Summary: [iOS] Sync media playback with now playing
Product: WebKit Reporter: Eric Carlson <eric.carlson>
Component: MediaAssignee: Eric Carlson <eric.carlson>
Status: RESOLVED FIXED    
Severity: Normal CC: calvaris, dbates, esprehn+autocc, glenn, gyuyoung.kim, jer.noble, philipj, sergio, webkit-ews
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Proposed patch. none

Eric Carlson
Reported 2014-03-12 19:28:23 PDT
Pass information about the currently playing media element to MPNowPlayingInfoCenter.
Attachments
Proposed patch. (17.48 KB, patch)
2014-03-12 19:52 PDT, Eric Carlson
no flags
Eric Carlson
Comment 1 2014-03-12 19:52:59 PDT
Created attachment 226569 [details] Proposed patch.
Jer Noble
Comment 2 2014-03-13 08:49:06 PDT
Comment on attachment 226569 [details] Proposed patch. View in context: https://bugs.webkit.org/attachment.cgi?id=226569&action=review r=me > Source/WebCore/platform/audio/MediaSessionManager.cpp:157 > - > + Whew, I was worried I wouldn't have a nit! Ahem, unnecessary whitespace. > Source/WebCore/platform/audio/ios/MediaSessionManagerIOS.mm:42 > +#import <MediaPlayer/MPRemoteCommand.h> > +#import <MediaPlayer/MPRemoteCommandCenter.h> > +#import <MediaPlayer/MPRemoteCommandEvent.h> It looks like these are unused. (For now.) > Source/WebCore/platform/audio/ios/MediaSessionManagerIOS.mm:71 > +SOFT_LINK_CLASS(MediaPlayer, MPRemoteCommandCenter) Ditto.
Eric Carlson
Comment 3 2014-03-13 11:25:30 PDT
Note You need to log in before you can comment on or make changes to this bug.