Name is required.
Email address is required.
Invalid email address
Answer is required.
Exceeding max length of 5KB

JW Player exception


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!






1 Community Answers

George

JW Player Support Agent  
0 rated :

Hi,

Regarding the BehindLiveWindowException, please refer to this comment to better understand the exception:
https://github.com/google/ExoPlayer/issues/1074#issuecomment-168540929

Regarding the parse exception, please submit a support case through your paid JW Player Account. Else you’ll have to report the bug on the open source demo app issue section.

In general, for me to reproduce this issue reliably I will need this information about your application:

Device’s Android Version:
JW Player SDK for Android version number:
Device make and model where you are experiencing this issue:
Provide step by step instructions on how to reproduce your issue:
JW Player Demo Application Source Code that is also experiencing the issue:

As the last field suggests, please replicate this issue using the JW Player Demo Application and send us a link to a zipped version of the entire Android Studio Project for testing which can be found here:
https://github.com/jwplayer/jwplayer-sdk-android-demo

This question has received the maximum number of answers.