|
|
|
|
@ -1295,7 +1295,7 @@ public class VodController extends BaseController { |
|
|
|
|
private void processM3u8Content(String url, String content, HashMap<String, String> headers) { |
|
|
|
|
String basePath = getBasePath(url); |
|
|
|
|
RemoteServer.m3u8Content = M3u8.purify(basePath, content); |
|
|
|
|
if (RemoteServer.m3u8Content == null) { |
|
|
|
|
if (RemoteServer.m3u8Content == null || M3u8.currentAdCount==0) { |
|
|
|
|
LOG.i("echo-m3u8内容解析:未检测到广告"); |
|
|
|
|
listener.startPlayUrl(url, headers); |
|
|
|
|
} else { |
|
|
|
|
|