Hey team,
I am using Jwplayer in my andorid app.
I get some unexpected issues with Jwplayer when I play Live Stream:-
----I get a BehindLiveWindow exception, But I am handled it using VideoPlayerEvents.OnErrorListenerV2. The onError method is called automatically when the issue occurs.
But the problem is now I get another issue with Jwplayer latest version while playing live stream
http://wowzaprod112-i.akamaihd.net/hls/live/2613649/104gdaumea/playlist.m3u8
got "ParseException" which is not handled by onError method of Jwplayer. Actually the onError method of JWPlayer is not invoked when this Parseexception is occurred.
E/ExoPlayerImplInternal: Internal track renderer error.
com.google.android.exoplayer.ExoPlaybackException: com.google.android.exoplayer.ParserException: Couldn't match #EXTINF tag in #EXTINF:-5.939,
at com.google.android.exoplayer.SampleSourceTrackRenderer.maybeThrowError(SourceFile:263)
at com.google.android.exoplayer.SampleSourceTrackRenderer.maybeThrowError(SourceFile:149)
at com.google.android.exoplayer.ExoPlayerImplInternal.incrementalPrepareInternal(SourceFile:275)
at com.google.android.exoplayer.ExoPlayerImplInternal.handleMessage(SourceFile:205)
at android.os.Handler.dispatchMessage(Handler.java:98)
at android.os.Looper.loop(Looper.java:148)
at android.os.HandlerThread.run(HandlerThread.java:61)
at com.google.android.exoplayer.util.PriorityHandlerThread.run(SourceFile:40)
Caused by: com.google.android.exoplayer.ParserException: Couldn't match #EXTINF tag in #EXTINF:-5.939,
at com.google.android.exoplayer.hls.HlsParserUtil.parseStringAttr(SourceFile:39)
at com.google.android.exoplayer.hls.HlsParserUtil.parseDoubleAttr(SourceFile:49)
at com.google.android.exoplayer.hls.HlsPlaylistParser.parseMediaPlaylist(SourceFile:264)
at com.google.android.exoplayer.hls.HlsPlaylistParser.parse(SourceFile:132)
at com.google.android.exoplayer.hls.HlsChunkSource$MediaPlaylistChunk.consume(SourceFile:965)
at com.google.android.exoplayer.chunk.DataChunk.load(SourceFile:97)
at com.google.android.exoplayer.upstream.Loader$LoadTask.run(SourceFile:209)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:423)
at java.util.concurrent.FutureTask.run(FutureTask.java:237)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1113)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588)
at java.lang.Thread.run(Thread.java:818)
Please give me an accurate solution.
Thanks!
↧