
JWPlayer 6.9, Wowza 4, HLS, Streaming not working without flash
I have 4 videos
1. Sample_720p.mp4
2. Sample_1080p.mp4
3. Sample_420p.mp4
4. Sample_360p.mp4
I am using jwplayer v6.9 & Wowza Streaming Engine 4
Now , My requirement is to play video based on internet speed
If flash player is enable i am able to play video based on internet speed , through smil file.
But , If when my flash is disabled at that time videos are not playing.
So Below are my question:
1. Do i need to create same smil file to achive adaptive bitrate for html5?
2. Do i need to upgrade my jwplayer 6.9 to jwplayer 7 or higher?
3. If i upgrade my jwplayer then does the same code will work which is working when flash is enabled?
4. Is there any way to play video without using smil file when i want adaptive bitrate?
5. How will Jwplayer adapt video based on internet speed?
Please see below code , this is working when flash is enabled , but not when flash is disabled.
jwplayer("mediaspace${vtime}").setup({ height: 370, width: '100%',volume: 100, image: "${imageFile}",skin: "${pageContext.request.contextPath}/js/video/six.xml",
"flashplayer": "js/video/jwplayer-6.9/jwplayer.flash.swf",
sources: [{
file: "https://192.168.7.10:1935/vod/smil:bigbuckbunny.smil/jwplayer.smil"
}, {
file: "https://192.168.7.10:1935/vod/smil:bigbuckbunny.smil/manifest.mpd"
}] ,
});
<?xml version="1.0" encoding="UTF-8"?>
<smil title="Test SML for VOD">
<body>
<switch>
<video height="240" src="Sample_720p.mp4" systemLanguage="eng" width="424">
<param name="videoBitrate" value="450000" valuetype="data"></param>
<param name="audioBitrate" value="44100" valuetype="data"></param>
</video>
<video height="360" src="Sample_1080p.mp4" systemLanguage="eng" width="640">
<param name="videoBitrate" value="750000" valuetype="data"></param>
<param name="audioBitrate" value="44100" valuetype="data"></param>
</video>
<video height="720" src="Sample_420p.mp4" systemLanguage="eng" width="1272">
<param name="videoBitrate" value="1100000" valuetype="data"></param>
<param name="audioBitrate" value="44100" valuetype="data"></param>
</video>
<video height="900" src="Sample_360p.mp4" systemLanguage="eng" width="1590">
<param name="videoBitrate" value="1500000" valuetype="data"></param>
<param name="audioBitrate" value="44100" valuetype="data"></param>
</video>
</switch>
</body>
</smil>