FairPlay 邏輯有什么變化嗎?我的應用程式具有受 FairPlay 保護的視頻和音頻,它們在 iOS 15.7 之前可以完美運行,但在 iOS 16 中
makeStreamingContentKeyRequestData is throwing me following error :
Error Domain=CoreMediaErrorDomain Code=-19152 "(null)"
Error Domain=AVFoundationErrorDomain Code=-11800 "The operation could not be completed"
UserInfo={NSLocalizedFailureReason=An unknown error occurred (-19156), NSLocalizedDescription=The operation could not be completed,
NSUnderlyingError=0x280deac10 {Error Domain=NSOSStatusErrorDomain Code=-19156 "(null)"}}
這可能是什么原因和解決方案?
提前致謝
uj5u.com熱心網友回復:
根據檔案,功能在iOS 15streamingContentKeyRequestDataForApp上已棄用。使用新功能檔案中指定的功能。這是一個示例用法:makeStreamingContentKeyRequestData
func makeStreamingContentKeyRequestData(
forApp appIdentifier: Data,
contentIdentifier: Data?,
options: [String : Any]? = nil,
completionHandler handler: @escaping (Data?, Error?) -> Void
)
uj5u.com熱心網友回復:
我已經解決了這個問題,問題在于 m3u8 檔案中的重復 EXT 標簽在某種程度上適用于 iOS 15,因為它從第一個標簽中選擇了資訊,而在 iOS 16 中它使用了所有標簽并導致錯誤
轉載請註明出處,本文鏈接:https://www.uj5u.com/qita/513038.html
上一篇:加油,也可以更智慧
