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

I can not get events for live streaming


Hello, I am using jwplayer to show a live streaming video with rtmp.

When the user broadcasting finishes his transmission I want the jwplayer to detect this event
and reload the page.

How can I do it?


I am trying

events:
{
onComplete:function()
{
alert('onComplete');
}
}

but it is not working.

It works with youtube videos.

5 Community Answers

Andrew

JW Player Support Agent  
0 rated :

I’m not certain that we will fire a complete event when a livestream finishes. Offhand, is onError firing instead? My hunch is that if the stream ends, the player will fail to play it, resulting in an error event, rather than a complete event.

edgarpeixoto_06

User  
0 rated :

onError does not work either. =[

Andrew

JW Player Support Agent  
0 rated :

To be clear, what is happening when the stream ends? Is it also possible to do something with our buffer API section?
http://support.jwplayer.com/customer/portal/articles/1413089-javascript-api-reference#buffer

edgarpeixoto_06

User  
0 rated :

When the stream ends the users who was watching the live event see this:

http://postimg.org/image/a2izkqigv/

onBufferChange event does not work. To tell the truth none of the events work.

Andrew

JW Player Support Agent  
0 rated :

In that case, will onBuffer return the buffer value as the stream ends? For instance 0 once the stream fully stops broadcasting?

This question has received the maximum number of answers.