0 Replies
      Latest reply on Sep 6, 2019 1:06 PM by nianxuejie
      nianxuejie Level 1 Level 1 (0 points)

        I implemented  the KSMData downloading, and Overloaded the callback founction "shouldWaitForLoadingOfRequestedResource".

         

        I used this demo to download the mp4 normal server video(without KSMData) is successful,but used this demo to download the fairplay server video(need KSMData) is failure before the callback downloads the KSMData (shouldWaitForLoadingOfRequestedResource).

         

        error info:

         

        2019-09-05 17:30:22.419620+0800 HJVideoPlayer[1789:509212] AVPlayerStatusFailed == Error Domain=AVFoundationErrorDomain Code=-11800 "The operation could not be completed" UserInfo={NSLocalizedFailureReason=An unknown error occurred (-1022), NSLocalizedDescription=The operation could not be completed, NSUnderlyingError=0x282a29fe0 {Error Domain=NSOSStatusErrorDomain Code=-1022 "(null)"}}

         

         

         

         

        Someone can help me?