[FFmpeg-devel] [PATCH] avformat/http: Add crypto to default whitelist
Michael Niedermayer
michael at niedermayer.cc
Wed Feb 3 16:19:24 CET 2016
On Wed, Feb 03, 2016 at 01:18:15PM +0000, Schenk, Michael wrote:
> 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
>
> http.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
> 99c3f1cbda849ab5a0a140353219f175e8cfc33d 0001-add-crypto-to-default-whitlist-to-get-encrypted-HLS-.patch
> From 4e9a375f18b1d85c26516e4e2307cabad1aedc98 Mon Sep 17 00:00:00 2001
> From: "Schenk, Michael" <michael.schenk at albistechnologies.com>
> Date: Wed, 3 Feb 2016 14:12:33 +0100
> Subject: [PATCH] add crypto to default whitlist to get encrypted HLS working
> again
applied
thanks
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
The real ebay dictionary, page 1
"Used only once" - "Some unspecified defect prevented a second use"
"In good condition" - "Can be repaird by experienced expert"
"As is" - "You wouldnt want it even if you were payed for it, if you knew ..."
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20160203/b1568975/attachment.sig>
More information about the ffmpeg-devel
mailing list