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

dash and hls streaming


Hi Guys
i wish to use .manifest.mpd and playlist.m3u8 in JW7. With the wowza 4.x.x I generate a live stream for both formats.

<!-- html code -->
<script>
var playerInstance = jwplayer("myElement");

playerInstance.setup({

playlist:[{
image: "onair.jpg",

sources: [{
file: "http://address/smil:file.smil/playlist.m3u8"
},{
file: "http://address/smil:file.smil/manifest.mpd"

}],
}],
dash:true,
skin: "six",
width: "100%",
aspectratio: "16:9",
autostart: true
});
</script>

the problem:
with the source code above, all devices running but not the androids. When I delete "dash:true", androids running but another devices not.

Daniel

6 Community Answers

mark

User  
0 rated :

Can you please try swapping the sources by putting DASH first and HLS second?

kurt

User  
0 rated :

Hi Mark,
thanks for your answer.
I changed the source code:

<!-- source code -->
sources: [{
file: "http://address//smil:iglobe.smil/manifest.mpd"
},{
file: "http://address//smil:iglobe.smil/playlist.m3u8"
}],
}],
dash:true,

... android browser (4.2.x) show me this error:
setup timeout error: setup took longer longer than 10 seconds to complete.

if i delete "dash:true" android`s running but chrome browser without flash plugin show me now error ;(


I turn in a circle, looking forward on tips and advice.
Dan


mark

User  
0 rated :

If you remove DASH then it will require flash on Chrome, since HLS on desktop is dependant on Flash.

There is a reported bug on Android and DASH that is being addressed. It happens that when you press play the video stalls, then you press stop and play again and it will play.
It is probably tied to this problem. For the time being, just use HLS until the next JW Player update when this should be fixed. Then you can use DASH on Android.

Alex

JW Player Support Agent  
0 rated :

Hi, Daniel.

I would recommend going back to the way your code was but adding “androidhls: true” to your setup block and see if that works.

Please let me know if that works.

mark

User  
0 rated :

androidhls is default without adding it now, is it not

Alex

JW Player Support Agent  
0 rated :

Hi, Mark.

You are right – androidhls: true is the default as long as you are using 7.0.1 or higher.

This question has received the maximum number of answers.