增加m3u8密钥url转换器

This commit is contained in:
laoyuyu
2019-11-28 09:58:53 +08:00
parent c4cc804c67
commit ee5ee6e080
7 changed files with 35 additions and 12 deletions

View File

@@ -360,6 +360,10 @@ final public class M3U8InfoThread implements Runnable {
if (keyUrlConverter != null) {
keyUrl = keyUrlConverter.convert(keyUrl);
}
if (TextUtils.isEmpty(keyUrl)){
ALog.e(TAG, "m3u8密钥key url 为空");
return;
}
URL url = ConnectionHelp.handleUrl(keyUrl, mHttpOption);
conn = ConnectionHelp.handleConnection(url, mHttpOption);