Dear friends,


I think we missed the crypto in the default_whitelist in case of http. 
Otherwise encrypted HLS will fail with



[hls,applehttp @ 0x2af39c00] playlist[0] open_input 
[http://playertest.longtailvideo.com/adaptive/oceans_aes/oceans_aes-audio=65000-video=236000-14.ts],
 start_seq_no [1], cur_seq_no [14]

[hls,applehttp @ 0x2af39c00]    open_input curseqno [14] startseqno [1]

[hls,applehttp @ 0x2af39c00] HLS request for url 
'http://playertest.longtailvideo.com/adaptive/oceans_aes/oceans_aes-audio=65000-video=236000-14.ts',
 offset 0, playlist 0

[NULL @ 0x2af3a200] KEY_AES_128 seg->key 
[http://playertest.longtailvideo.com/adaptive/oceans_aes/oceans.key] 
pls->key_url 
[http://playertest.longtailvideo.com/adaptive/oceans_aes/oceans.key]

[hls,applehttp @ 0x2af39c00]     open_input [KEY_AES_128]

[hls,applehttp @ 0x2af39c00]      : c->persistence [0]

[hls,applehttp @ 0x2af39c00]      : c->probing     [1]

[hls,applehttp @ 0x2af39c00]      : pls->input     [NULL]

[hls,applehttp @ 0x2af39c00]        using normal http path for URL 
[crypto+http://playertest.longtailvideo.com/adaptive/oceans_aes/oceans_aes-audio=65000-video=236000-14.ts]

[crypto @ 0x2aff7cc0] Protocol not on whitelist 'http,https,tls,rtp,tcp,udp!



Please find attached a patch to overcome this issue.



Feedback for sure is warmly welcome.



Regards



Michael

Attachment: 0001-add-crypto-to-default-whitlist-to-get-encrypted-HLS-.patch
Description: 0001-add-crypto-to-default-whitlist-to-get-encrypted-HLS-.patch

_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Reply via email to