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

Jwplayer with mpegts from http


Hi, I need to send a video stream on jwplayer in the browser for live tv, the flow is on the http protocol like: http://server.dyndns.org:8000live/user/password/xxx.ts . I can not give parameters to jwplayer to start streaming live. I get an error "No playable sources found".

my test page:
<div id='myElement'>Loading the player...</div>
<script type='text/javascript'>
var playerInstance = jwplayer("myElement");
playerInstance.setup({
file: 'http://server.dyndns.org:8000live/user/password/xxx.ts',
image: '',
primary:"flash",
width: '640',
height: '360',
})
</script>
</div>

analyzing the flow whit ffmpeg:
Duration: N/A, start: 5602.206111, bitrate: 129 kb/s
Program 1
Metadata:
service_name : Service01
service_provider: FFmpeg
Stream #0.0[0x100]: Video: h264 (Main), yuv420p, 1280x720, 90k tbr, 90k tbn, 180k tbc
Stream #0.1[0x101]: Audio: aac, 48000 Hz, stereo, s16, 129 kb/s


It's possible to fix and stream or it's more complicated than this?

1 Community Answers

George

JW Player Support Agent  
0 rated :

You will need JW Player premium to play an HLS Stream. Also you need to provide the actual stream manifest to JW Player not the ts segments.

Here’s a sample HLS Stream:
file: “http://content.jwplatform.com/manifests/nJEIV3eJ.m3u8”,

This question has received the maximum number of answers.