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

error when load video


Hello guys,

i try to load video with jwplayer sdk for android. I try to load video with url http://play-kompasvideo.streaming.mediaservices.windows.net/34616331-64cb-42a4-8a51-75407a6485f2/kvms_384307_whatsapp_video_2018-.ism/manifest(format=m3u8-aapl-v3)

and i get error
E/ExoPlayerImplInternal: Source error.
com.google.android.exoplayer2.ParserException: org.xmlpull.v1.XmlPullParserException: Unexpected token (position:TEXT #EXTM3U
#EXT-X-V...@13:1 in java.io.InputStreamReader@296aaa1f)
at com.google.android.exoplayer2.source.smoothstreaming.manifest.SsManifestParser.parse(SourceFile:73)
at com.google.android.exoplayer2.source.smoothstreaming.manifest.SsManifestParser.parse(SourceFile:52)
at com.google.android.exoplayer2.upstream.ParsingLoadable.load(SourceFile:126)
at com.google.android.exoplayer2.upstream.Loader$LoadTask.run(SourceFile:315)
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)
Caused by: org.xmlpull.v1.XmlPullParserException: Unexpected token (position:TEXT #EXTM3U
#EXT-X-V...@13:1 in java.io.InputStreamReader@296aaa1f)
at org.kxml2.io.KXmlParser.next(KXmlParser.java:432)
at org.kxml2.io.KXmlParser.next(KXmlParser.java:313)
at com.google.android.exoplayer2.source.smoothstreaming.manifest.SsManifestParser$ElementParser.parse(SourceFile:157)
at com.google.android.exoplayer2.source.smoothstreaming.manifest.SsManifestParser.parse(SourceFile:71)
... 6 more
0

1 Community Answers

Hyunjoo Kim

JW Player Support Agent  
0 rated :

Hi,

This is Hyunjoo from the Android Support Team. How are you?
The Android SDK was unable to parse through your video URL because there were
MUST fix issues with your HLS video.
We tested your .m3u8 HLS video URL with mediastreamvalidator and the response was that It seems that your video fragments did not have a correct Manifest setup.
Please click on the link for more information, https://s3.amazonaws.com/qa.jwplayer.com/~hyunjoo/Screenshot_figure01.png

I recommend contacting your HLS stream manager to help you with any suggestions.
Please let me know if you have any questions or concerns.

Kind regards,

Hyunjoo
Support Team, Android
JW Player

Post Your Public Answer