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

Can't play the adaptive bitrate streaming from wowza to jwplayer in mobile devices



Hi, I am trying to vod adaptive bitrate streaming from wowza to jwplayer. My smil file and video files are in same sub directory in wowza content folder. I am using wowza 4.2.0 and jwplayer 7.1.0
It is working all most all desktop browser. But it is not working in mobile devices(ios, windows 8, android 4.1+). It gives error "error loading player no playable sources found". I have followed the wowza official documentation.

My jwplayer setup is
<script>
var playerInstance = jwplayer("myElement");
playerInstance.setup({
playlist: [{
sources: [{
file: "http://host/vod/_definst_/smil:10/video.smil/jwplayer.smil"
},{
file: "http://host/vod/_definst_/smil:10/video.smil/manifest.f4m/jwplayer.smil"
},{
file: "http://host/vod/_definst_/smil:10/video.smil/playlist.m3u8/jwplayer.smil"
},{
file: "rtsp://host/vod/_definst_/smil:10/video.smil/jwplayer.smil"
}]
}],
primary: "flash",
width: "100%",
aspectratio: "16:9",
autostart: true,
});
<script>

My Smil File is

<?xml version="1.0" encoding="UTF-8"?>
<smil title="">
<head>
</head>
<body>
<switch>
<video height="720" src="video_720.mp4" systemLanguage="eng" width="1280">
<param name="videoBitrate" value="1729000" valuetype="data"></param>
<param name="audioBitrate" value="194000" valuetype="data"></param>
</video>
<video height="480" src="video_480.mp4" systemLanguage="eng" width="854">
<param name="videoBitrate" value="783000" valuetype="data"></param>
<param name="audioBitrate" value="128000" valuetype="data"></param>
</video>
<video height="360" src="video_360.mp4" systemLanguage="eng" width="640">
<param name="videoBitrate" value="471000" valuetype="data"></param>
<param name="audioBitrate" value="12800" valuetype="data"></param>
</video>
</switch>
</body>
</smil>


Would you please explain where the problem is? I need streaming vod adaptive bitrate to all major desktop browser as well as mobile devices(ios, windows 8, android 4.1+).

9 Community Answers

Todd

JW Player Support Agent  
0 rated :

Try with your .m3u8 first. And just so you are aware, your .f4m videos will not play on mobile devices. Our player will not be able to play your RTSP files either.

arnab.mg007

User  
0 rated :

Hi, thanks for your reply. I have reordered the sources files. Just like this. But it is not working desktop browser as well as mobile device(android 4.1+)
sources: [{
file: "http://host/vod/_definst_/smil:10/video.smil/playlist.m3u8/jwplayer.smil"
},{
file: "http://host/vod/_definst_/smil:10/video.smil/jwplayer.smil"
},{
file: "http://host/vod/_definst_/smil:10/video.smil/manifest.f4m/jwplayer.smil"
}]

If I put the sources list like this. It works on desktop browser.

sources: [{
file: "http://host/vod/_definst_/smil:10/video.smil/jwplayer.smil"
},{
file: "http://host/vod/_definst_/smil:10/video.smil/playlist.m3u8/jwplayer.smil"
},{
file: "http://host/vod/_definst_/smil:10/video.smil/manifest.f4m/jwplayer.smil"
}]

Would you please suggest the order video of sources file that will play as fall back in mobile devices and desktop browsers?

mark

User  
0 rated :

Do you have a paid version of JW Player or Free?
Only paid version will work as the m3u8 first on desktop.
The reason it works now with thishttp://host/vod/_definst_/smil:10/video.smil/jwplayer.smil is probably because it's rtmp which is functional in free version.

arnab.mg007

User  
0 rated :

Hi mark, thank you for your reply. I am using free version.
Do I need jwplayer paid version for adaptive bitrate streaming working on mobile device?
And does fallback sources files works on jwplayer paid version?

If not so can you please help me find out the problems? Why adaptive bitrate streaming not working in mobile devices?

mark

User  
0 rated :

The free version will stream adaptive HLS and DASH only of the browser and hardware supports it. That means Google Chrome on Android Lollipop + or Apple iPhones 5+
But by having the adaptive first it will ruin your desktop experience.

Fallback sources will work on paid version if the device recognises that it can not play it.

I'd need a live page to really sort it out whats going on

Todd

JW Player Support Agent  
0 rated :

Mark is correct. Sorry, I did not even think to ask which version of the player you were using.

You can test your SMILs in the paid version of our player via our Stream Tester at http://demo.jwplayer.com/stream-tester/

arnab.mg007

User  
0 rated :

Thanks you all. I will test in the stream tester.

arnab.mg007

User  
0 rated :

Hi mark,
In http://demo.jwplayer.com/stream-tester/ from desktop browser links working. But from mobile devices it is not working.
Here is the live link http://demo.jwplayer.com/stream-tester/
Please have a look.

Todd

JW Player Support Agent  
-1 rated :

RTMP videos do not work on mobile, but your HLS manifest.m3u8 should work on mobile.

This question has received the maximum number of answers.