I got an error NSOSStatusErrorDomain -66681 with iOS 13.4

Hi all~!


I got an error code -66681 when AVPlayer starts playing, after I updated iOS version to 13.4.


When I checked it on osstatus.com, it named 'kAudioQueueErr_CannotStart' from AudioToolBox.framwork.


However I have no any clue what it means.


Order versions have no issue. It works perfectly.


FYI, I set signed cookies to AVURLAsset and it works with non-drm videos.

let cookies = cookieInfo.map { HTTPCookie.cookies(withResponseHeaderFields: ["Set-Cookie": "\($0.key)=\($0.value)"], for: url) }.flatMap { $0 }
asset = AVURLAsset(url: url, options: [AVURLAssetHTTPCookiesKey : cookies])


Issue occures with only drm videos.


Could anybody give me some advice about this?

  • Is there any update here @gkhacker? I am facing the same issue...

    Thanks

Add a Comment