6 Replies Latest reply: Sep 22, 2014 4:33 PM by Jack Vo 29 RSS

    Adobe Access - new drmNativeInterface.framework for iOS 8

    Jack Vo 29 Community Member

      Hi,

      We are a company that has been using Adobe Access for more than a year and so far we are very happy with the fact that the Adobe Access 4 can support playback DRM content on Desktop / Android and iOS without any problem.

       

      But recently, to prepare for the upcoming iOS 8, I have upgraded my development iPhone 5 and iPad 2 to the iOS 8 Beta and the drmNativeInterface.framework starts working wrongly. Sometime I can stream my DRM HLS content, sometimes, the drmNativeInterface.framework just stuck in the middle without any error or exception (this issue happens quite frequently like 7 out of 10 times). After debugging line by line, followings are the piece of code that make the framework stucked without any error or exception.

       

      1. The framework sometime stops working when we try to get the singleton instance of DRMManger

      _drmManager = [DRMManager sharedManager];


      2. Sometime it stops when we try to parse the M3U8 url:

       

      [_drmManager getUpdatedPlaylist:m3u8Url

                                            error:drmErrorHandler

                                          updated:^(NSURL * newPlaylist, DRMMetadata * newMetadata){

                                              NSLog(@"Update M3U8 URL Player list for license process");

                                             

                                              //Successfully retrieved the metadata from provided link

                                              m3u8PlayList = newPlaylist;

                                              _metadata = newMetadata;

       

      }];

       

      3. Sometime it stops where the DRMSession is initialized (after the User Authentication process is completed)

       

      _session = [_drmManager

                              createDRMSession:_metadata

                              playlist:m3u8PlayList

                              error:^(NSUInteger majorCode, NSUInteger minorCode, NSError *platformError) {

                                  NSLog(@"Failed to get DRM Session");                     

                              }

                              complete:^{

                                  NSLog(@"Successfully obtained DRM Session");

                              }];

       

      Most of the time, it stops when we try to get the singleton instance of DRMManager ( issue number 1 )

      I can ensure that the framework works very well with iOS6 and iOS7 (although iPhone 4 with iOS7 crashes while a lot during the DRMSession initialization).

      If there is new version of drmNativeInterface.framework, please kindly let me know where we an get it as the drmNativeInterface.framework we have been using is quite old (for iOS5 I think).

       

      Thank you very much.

      Jack