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

Flash crash when play the 14th jwplayer in one page with rtmp stream


I use jwplayer play live video via rtmp. Each player is put in a html table cell.

<table>
<tr>
<td>
<div id="video1" class="videotd">

</div>
</td>
<td>
<div id="video2" class="videotd">

</div>
</td>
<td>
<div id="video3" class="videotd">

</div>
</td>
<td>
<div id="video4" class="videotd">

</div>
</td>
</tr>
</table>

The script is wrote like this.

var playerInstance1 = jwplayer("video1");
playerInstance1.setup({
file: "rtmp://192.168.3.10:1935/live/test0",
controls: false,
autostart: true,
width: 400,
height: 225,
rtmp: {
bufferlength: 0.1
}
});

The page is OK when there are 13 jwplayers play together. But when the 14th player starts play, the flash crashes definitely. I tried two ways. One is set autostart: true, 13 jwplayers are OK but 14 jwplayers crashed. Another way is set autostart: flase. Each jwplayer is clicked mannually. It is also OK when 13 jwplayers and crashed when clicked the 14th jwplayer after several seconds.

The jwplayer version is 7.6.0 and flash version is 22.Can you explain the problem? Thank you.

1 Community Answers

Alex

JW Player Support Agent  
0 rated :

Hi there,

Flash is very resource-intensive to the point when even having one player using Flash on your page could cause some computer’s to have their performance degraded and the fans turn on to help cool down the computer that Flash is causing to overwork. Having fourteen items, whether its our player or not, on your page would understandably cause that to happen at a much greater scale and I would not be surprised at all to hear of problems stemming from that.

I would recommend looking into providing your streams in a HTML5-compatible format, such as HLS or MPEG-DASH. Even then, I would not recommend having fourteen video players on the same page as it would cause your page to most likely become rather slow.

Thank you.

This question has received the maximum number of answers.