[FFmpeg-devel] [PATCH] avformat/http: Add crypto to default	whitelist
    Schenk, Michael 
    Michael.Schenk at albistechnologies.com
       
    Wed Feb  3 14:18:15 CET 2016
    
    
  
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-add-crypto-to-default-whitlist-to-get-encrypted-HLS-.patch
Type: application/octet-stream
Size: 1228 bytes
Desc: 0001-add-crypto-to-default-whitlist-to-get-encrypted-HLS-.patch
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20160203/890e9160/attachment.obj>
    
    
More information about the ffmpeg-devel
mailing list