HLS在Android上使用AES 128加密(冰淇淋三明治) [英] HLS with AES 128 encryption on Android (Ice Cream Sandwich)

查看:1057
本文介绍了HLS在Android上使用AES 128加密(冰淇淋三明治)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我开始把一个应用程序一起,将需要使用HLS视频。我想用冰淇淋三明治作为目标SDK,但我不能肯定,如果这个API将支持HLS的的加密。这里是开发者网站所说的:

I am starting to put an App together that will require the use of HLS video. I want to use Ice Cream sandwich as the target SDK, but I am not certain if this api will support HLS with encryption. Here is what the developer site says:

应用程序现在可以传递一个M3U播放URL到媒体框架开始的HTTP实时流媒体会话。媒体框架支持大部分的HTTP实时流规范,包括自适应比特率。

它不具体说明什么,我寻找的,所以我的问题是 - 有没有人使用过HLS与ICS加密饲料的运气?如果是这样,你使用Android DRM?从谷歌搜索,我发现了一些有运气蜂窝,有的还没有,但不是在这个问题上ICS大量的信息。

It doesn't specifically state what I am looking for, so my question is this - has anyone had any luck using HLS with an encrypted feed on ICS? If so, did you use the Android DRM? From Google searches I have found that some have had luck with HoneyComb and some have not, but there is not a lot of information for ICS in this matter.

感谢。

推荐答案

在一般ICS确实支持AES-128根据HLS标准加密(的在这里看到)。
然而,设备的媒体播放能力不依赖于Android版本,但在特定的设备上实现的媒体的框架。大多数手机和平板电脑使用stagefright媒体框架,Android 2.2的推出。到目前为止,我还没有看到或听说过用stagefright那里加密HLS没有工作的ICS的。不过我有,试图看到ICS机顶盒盒使用其它媒体的框架不能播放加密的HLS(新固件可能会解决这个问题)。

In general ICS does support AES-128 encryption according to the HLS standard (see here). However, the media-playback capabilities of a device not dependent on the Android version, but on the media-framework implemented on the particular device. Most phones and tablet use the stagefright media-framework, introduced in Android 2.2. So far I have not seen or heard of any ICS using stagefright where encrypted HLS did not work. However I have, tried seen ICS Set-Top-Boxes using other media-frameworks not capable of playing encrypted HLS (new firmware will probably fix this).

要总结:理解是,所有ICS旨在支持加密HLS,如果某个设备不是一个修复可能是在路上。其原因是没有闪光灯,加密HLS是直播实现DRM的唯一可能途径。

To sum up: understanding is that all ICS are intended to support encrypted HLS, if a particular device is not, a fix is probably on the way. The reason is that without flash, encrypted HLS is the only possible way of achieving DRM for live streaming.

这篇关于HLS在Android上使用AES 128加密(冰淇淋三明治)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆