【发布时间】:2017-06-12 02:15:00
【问题描述】:
我在跑步:
mediafilesegmenter movie.mp4 --encrypt-key-file=key.bin --streaming-key-delivery -t 10 --file-base=.`
其中 key.bin 只是 aaaaa... (32 a's)。然后,在我的prog_index.m3u8 文件中,我将其设置为:
#EXT-X-KEY:METHOD=AES-128,URI="http://192.168.1.27/just_key.bin",KEYFORMAT="identity",IV=0x6161616161...
但是,当我尝试运行它时,我得到:
Error Domain=AVFoundationErrorDomain Code=-11800 "The operation could not be completed" UserInfo={NSLocalizedFailureReason=An unknown error occurred (-16040), NSLocalizedDescription=The operation could not be completed, NSUnderlyingError=0x1c0250200 {Error Domain=NSOSStatusErrorDomain Code=-16040 "(null)"}。
just_key.bin 只是 16 个a。
任何想法可能是什么问题?有没有一种简单的方法可以让 Fairplay 不一样?
【问题讨论】:
标签: ios http-live-streaming fairplay