首页
学习
活动
专区
工具
TVP
发布
社区首页 >问答首页 >VideoType.HLS格式视频需要配置什么信息?

VideoType.HLS格式视频需要配置什么信息?

提问于 2016-03-30 18:11:37
回答 1关注 0查看 945

在播放MP4格式的视频时,没有任何问题。但是VideoInfo v1=new VideoInfo();v1.type=VideoInfo.VideoType.HLS;v1.url="http://9626.hlsplay.aodianyun.com/98cfw/stream.m3u8";播放直播视频的时候,就会报如下的错误,是不是HLS的格式视频,需要有什么别的操作?internalError 3.65, rendererInitError com.google.android.exoplayer.ParserException: Couldn't match #EXTINF tag in #EXTINF:3.042 at com.google.android.exoplayer.hls.HlsParserUtil.parseStringAttr(HlsParserUtil.java:39) at com.google.android.exoplayer.hls.HlsParserUtil.parseDoubleAttr(HlsParserUtil.java:49) at com.google.android.exoplayer.hls.HlsPlaylistParser.parseMediaPlaylist(HlsPlaylistParser.java:230) at com.google.android.exoplayer.hls.HlsPlaylistParser.parse(HlsPlaylistParser.java:127) at com.google.android.exoplayer.hls.HlsPlaylistParser.parse(HlsPlaylistParser.java:37) at com.google.android.exoplayer.upstream.UriLoale.load(UriLoale.java:93) at com.google.android.exoplayer.upstream.Loader$LoadTask.run(Loader.java:209) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:422) at java.util.concurrent.FutureTask.run(FutureTask.java:237) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587) at java.lang.Thread.run(Thread.java:818)

回答

和开发者交流更多问题细节吧,去 写回答
相关文章

相似问题

相关问答用户
领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档