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

Live Streaming with JWPLAYER with RTMP (SMIL) + Fallback HLS(M3U8) + Fallback RTSP


Hello,

I want to configure my JWPLAYER to allow me to stream live with :

1) Multibirate dynamic streaming for Flash
(I have mutliple Flash RTMP video source)
--> I have create a SMIL file (it's work fine)

2) I have a HLS M3U8 URL for IOS via WOWZA server
(it's work fine)

3) I have a RTSP URL for Android via Wowza server
(it's work fine)

Can you give me a sample of configuration with a "all in one".
The same player code with compatibility and fallback on each sort of stream

Many thanks for your help

5 Community Answers

Ethan Feldman

JW Player Support Agent  
0 rated :

You would need this – http://www.longtailvideo.com/support/jw-player/29394/hls-with-mp4-fallback

It would be a link to rtmp first, then hls, then set up rtsp outside of the player, per this – http://www.longtailvideo.com/support/jw-player/28856/using-apple-hls-streaming

JW Player

User  
0 rated :

http://www.longtailvideo.com/support/jw-player/29394/hls-with-mp4-fallback

The fallback in the link above won't work for you since live stream is not a physical file its a continuously stream of video or audio (AAC). You have have to fall back to RTSP for android and RTMP for iOS, flash in HTML5 mode. Android HTML5 is very unpredictable so I recommend m3u8 fallback which is something your stream provider have to configure.

http://www.longtailvideo.com/support/jw-player/28856/using-apple-hls-streaming

Note: m3u8 is not understood by Android native browser HTML5 for 4.x and below. The use have to actually click on the link m3u8 and then the OS native player will catch it and load it in the player then it will buffer andplay. As for android 3.x it will just download the file as m3u8 then you will have to open that file with a player. So far VPlayer app in Android seemed to do the trick.

I am modding my jwplayer 6.5 so it can trigger the native player on android but I don't know when that will be done since I am so busy with other projects.

Ethan Feldman

JW Player Support Agent  
0 rated :

You can still use the same technique with a live stream as well.

JW Player

User  
0 rated :

Not working: 360p & 720p
<div id="myElement"></div>

<script>
jwplayer("myElement").setup({
playlist: [{
image: "http://ketnoidamme.vn/truyenhinh/bg.png",
sources: [{
file: "http://scache.fptplay.net.vn/live/htvcshopping_1000.stream/playlist.m3u8",
label: "360p SD"
},{
file: "http://scache.fptplay.net.vn/live/htvcshopping_2500.stream/playlist.m3u8",
label: "720p HD"
}]
}]
});
</script>

Ethan Feldman

JW Player Support Agent  
0 rated :

Link?

This question has received the maximum number of answers.