[EME] Add a CDMSession for MediaPlayerPrivateMediaSourceAVFObjC
Created attachment 224901 [details] Patch
Created attachment 224925 [details] Patch Rebaselined
Comment on attachment 224925 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=224925&action=review > Source/WebCore/platform/graphics/avfoundation/objc/CDMSessionMediaSourceAVFObjC.mm:67 > + UNUSED_PARAM(errorCode); > + UNUSED_PARAM(systemCode); Maybe you should set these out params to 0? > Source/WebCore/platform/graphics/avfoundation/objc/CDMSessionMediaSourceAVFObjC.mm:110 > + LOG(Media, "CDMSessionMediaSourceAVFObjC::update(%p) - key data", this); > + RetainPtr<NSData> keyData = adoptNS([[NSData alloc] initWithBytes:key->data() length:key->length()]); > + [m_parent->parser() processContentKeyResponseData:keyData.get() forTrackID:m_parent->protectedTrackID()]; > + return true; Ditto about errorCode and systemCode.
Created attachment 224942 [details] Patch for landing
Created attachment 224944 [details] Patch for landing
Created attachment 224945 [details] Patch for landing
Committed r164529: <http://trac.webkit.org/changeset/164529>