Using openssl encryption for Apple's HTTP Live Streaming

后端 未结 4 832
夕颜
夕颜 2021-02-02 18:12

Has anyone had any luck getting encrypted streaming to work with Apple\'s HTTP Live Streaming using openssl? It seems I\'m almost there but my video doesn\'t play but I don\'t g

4条回答
  •  北海茫月
    2021-02-02 18:59

    Unfortunately I don't have the tools to experiment with this. It looks like you carefully followed the spec. One thing I would do is sniff the network do make sure the key.txt file is getting downloaded to Safari. I would also try explicitly picking the IV using the IV attribute of the EXT-X-KEY tag, e.g.

    #EXT-X-KEY:METHOD=AES-128,URI="key.txt",IV=0x00000000000000000000000000000000
    

提交回复
热议问题