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

HTML5 Livestreaming with HLS and RTSP


Hello,

I want to add HLS and RTSP links in my level array, because some android devices support RTSP streaming in the browser.

But since JW Player 5.9, the player on the iPad works only, if the HLS stream is the first item.
And the same for android: It works only, if the RTSP stream is the first one in the list.

Same problem for android with the JS Player 5.8. But it works on the iPad with JS Player 5.8 and HLS in the secound item.

Why this didn't work anymore? How can I add RTSP and HLS for HTML5 to support multiple devices?

My config (works on iPad only with JW Player 5.8):
bc.. modes: [
{
type: 'html5',
config: {
provider: 'video',
levels: [
{ bitrate: 360, width: 384, file: 'rtsp://14000-l.z.core.cdn.streamfarm.net:1935/.../hig' },
{ bitrate: 160, width: 384, file: 'rtsp://14000-l.z.core.cdn.streamfarm.net:1935/.../mid' },
{ bitrate: 360, width: 384, file: 'http://14000-l.z.core.cdn.streamfarm.net/.../smil:stream_live.smil/playlist.m3u8' }
]
}

},
{
type: 'flash',
src: 'flash/player.swf',
streamer: 'rtmpt://x2908erfeic14000.f.l.f.lb.core-cdn.net/14000erf',
levels: [
{ bitrate: 1500, width: 768, file: "live/.../live_de_1500" },
{ bitrate: 450, width: 512, file: "live/.../live_de_450" }
]
}
]

7 Community Answers

JW Player

User  
0 rated :

Update:

I did some more tests...
Since JW Player 5.9, it works also on android when HLS is the first item in the levels list.
It looks like the order was changed. ;)

Thanks.

JW Player

User  
0 rated :

My last post was wrong. I still have the problem above and can't supprt HLS and RTSP. One of both does not work depending on the sequence.

Ethan Feldman

JW Player Support Agent  
0 rated :

RTSP is not supported. We are working on a HLS provider, but it is not ready yet.

JW Player

User  
0 rated :

I didn't understand: A single RTSP stream works great on my Samsung Galaxy S2 or Samsung Galaxy Ace browser.

It is currently the only way to play a stream on an Android smartphone with HTML5. I think HLS only works on Android 4.

Why is it not supported? Too bad.

Ethan Feldman

JW Player Support Agent  
0 rated :

The player is built in Flash / HTML5 but I don’t believe RTSP is supported by either. We are planning on supporting HLS but as of right now, that support does not exist.

JW Player

User  
0 rated :

We are a current license holder for JW and We are looking into the same options.. We want the ability to send 2 live audio feeds to the player one in flash and one for HLS to support all browsers and devices. I see this was back in March, has this feature been added now? We are using Level 3 CDN. ryan@voiceamerica.com Please help

Ethan Feldman

JW Player Support Agent  
0 rated :

You can do this with modes – http://www.longtailvideo.com/support/jw-player/jw-player-for-flash-v5/18508/jw-embedder-modes

Example – http://www.longtailvideo.com/support/jw-player/jw-player-for-flash-v5/18530/embedding-an-rtmp-stream-with-an-html5-fallback

This question has received the maximum number of answers.