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

live stream control bar


We are trying to setup a JW 6 Player for both VOD and Livestream. For the Livestream we understand that JW 6 should be able to "detect" that it is serving a live stream, and then offer a different control bar. The control bar is different in appearance to the VOD control bar.

The live stream control bar should have a play and pause button enabled. There should be no numbers on the ends of the control bar.

Questions:
Is there a document/link which explains how we can setup the JW 6 player to detect the livestream and offer the "live stream" view of the control bar?


Thank you for your help

16 Community Answers

k...

User  
0 rated :

If it's a live stream instead of having numbers and a slider bar, a "Live broadcast" message appears. It automatically does this.

If you want to edit your control bar take a look at the custom skin info.

http://support.jwplayer.com/customer/portal/articles/1412123-building-jw-player-skins

r...

User  
0 rated :

Hello,

Here is a link to the test page where we are experiencing this issue:

http://www.hopechannel.no/innhold/web-tv/livestream-new/


Can someone at JW Player take a look and provide guidance as to how we can get the control bar to automatically detect the live stream?

Thank you

Ethan Feldman

JW Player Support Agent  
0 rated :

This is an RTMP stream, but it is not live, it is VOD.

r...

User  
0 rated :

Hello,

The stream is live, it is a loop. We offer different formats, but it is the same loop. When we changed the format, the player automatically detects it is a "live stream" and displays "live" in the JW Player. For some reason the RTSP format does not work in the same way that the other formats do.

It looks like perhaps we will need to build a custom skin to resolve the issue. We have started building this, using the existing skin six in the skin sdk.

Question:
Is there an existing element source in base64 that we can use to replace the whole timeSlider?
What is the element name which can be used to replace all timeSlider elements, so that only a single image shows?

Thank you for your assistance

Ethan Feldman

JW Player Support Agent  
0 rated :

RTSP is not supported by Flash or HTML5. RTMP and HLS are. Why are you setting a 5 minute loop? That could indeed be an issue.

The best way to do this would be to simply comment out everything in the time slider in the XML file.

r...

User  
0 rated :

Thank you for the help. I am asking about the possibility of using a longer running loop.

We have already commented out the elements, as you mentioned. We want to get the word "Live" in the space where the timeslider normally resides. What is the best way to accomplish that? (is there a simple way to use text in this space?)

We notice if the stream is paused, once we click on the play again, the stream never begins to run again. Could you say why this happens? It is our plan to implement stop and play functionality (below), but are not sure if there is another issue at play here.

Stop and Play functionality: We need to toggle between a play button and a stop button. If the play button is clicked, the stream starts. If the start button clicked, the stream stops. To implement this stop button, is it possible to implement this in the Skin? Or must we implement some sort of JavaScript function in the page itself? Given the issue above (stream does not restart), do we need to seek the position of the stream?


Thank you for your help.

Ethan Feldman

JW Player Support Agent  
0 rated :

I would just set the controls to false then.

You can use this plugin to display a live message while broadcasting – http://www.pluginsbyethan.com/newsticker6.html

r...

User  
0 rated :

Hello,

Thank you for the link, this is a cool piece of functionality, but unfortunately it does not solve our problem. Simply what we are looking for is that the JW player displays that the stream is a live stream, in all browsers and OS.

It appears there is an issue with the Flash player or with .smil file format. When we view the page with Windows & Firefox the JW Player uses the Flash player. It has the following issues:
1.) it does not detect that this is live stream (albeit a loop) and display a livestream controlbar.
2.) Once started, and then paused, the player does not find the stream again but continues to hunt.

When running Firefox&Windows using m3u8 format, the player displays the livestream JW player. Also the stream can be stopped and started, no problems as per above. In this case, it is running also as an Flash player, running the m3u8 format.

When viewing the player through iOS and Safari, the player displays the livestream JW player. The stream can be stopped and started, no problems as per above. In this case, it is running as an HTML 5 player, running the m3u8 format.


We have tried to force the use of the HTML5 player to see if this resovles the problem. However we have not been able to force the JW player to use HTML 5 version. Even if we are able to do this, we are still facing the problem of Flash in older browsers. So using the HTML5 player will not fix all issues.


This is a live stream, therefore we need the player to show the stream as a livestream in all browsers and all OS. Could someone take a look at the test page and help us resolve this issue?

Here is a test page which has our test streams: http://www.hopechannel.no/jwplayer/skin/jwtest.php

Player 1 shows the issue we are experiencing with problems 1 and 2 above. This is using the .smil file to offer 3 quality files.

Player 2 shows the m3u8 stream which does not have this problem.

We have looked through many pages in JW Player support, but most appear to be pointing to older versions of the JW Player. We are running version 6.8.

Thank you for your help this this problem.

Robert

Ethan Feldman

JW Player Support Agent  
0 rated :

Hi,

HLS (M3U8) works with Flash and well as iOS, so why not use that in all cases?

Best,
-Ethan

r...

User  
0 rated :

Hello Ethan,

Thank you for your continuing assistance to resolve our problems. We are using the .smil file so that we can offer various quality streams. Depending on the device a visitor is using, we want to provide the best matching format.

In further testing, I removed all formats except for the smil. format. For a JW Player using a .smil file, once a running JW Player is stopped, it can not be restarted. I further tested using one of the RTMP files that the smil file serves up and the exerience was the same.


Is there a known issue with JW Player and the SMIL format or is the problem with the RTMP format?


Thank you
Robert

Ethan Feldman

JW Player Support Agent  
0 rated :

With HLS you can offer various quality streams, too – http://support.jwplayer.com/customer/portal/articles/1430240-hls-adaptive-streaming

rewebit

User  
0 rated :

Ethan,

Thank you and we are looking at this option. We are not sure that our customer will be able to go this route. Can you please clarify the previous question? Is there a problem with the JW Player and RTMP format? We need to know our options forward.

Thank you

Robert

Ethan Feldman

JW Player Support Agent  
0 rated :

The player should be fine using RTMP / Smil – http://support.jwplayer.com/customer/portal/articles/1430398-adaptive-rtmp-streaming

rewebit

User  
0 rated :

Hello,

Thank you for the link to the page. It looks like this is what we have implemented. I have modified the test page here to show the two configurations possible for multi-bit streaming (RTMP and M3U8):

http://www.hopechannel.no/jwplayer/skin/jwtest.php

Configuration 2 [only one SMIL file with 3 qualities RTMP]

Configuration 3 [only one SMIL file with 3 qualities m3u8]


We understand from the first post in this thread that the JW Player should detect that this is a Livestream. Both of the Configurations 2 & 3 are being looped as Livestreams.

The following problems have been noted with configurations 2 & 3:

Configuration 2
- does not display that this is a Livestream
- if stream is paused it can not be restarted it hunts and never plays the stream again.
- if a paused stream has the bitrate switched, the player does restart, probably becuase the new quality is loaded into the player.

Configuration 3
- displays that it is a livestream
- if the bitrate is changed multiple times, to test the various qualities, the stream appears to become corrupted and the player has to be restarted.


How can we get the player to correctly display that this is a Livestream AND resolve the issues with the above configurations?

Thank you

Ethan Feldman

JW Player Support Agent  
0 rated :

For 2, is this actually a live stream though, it has a duration, so that would indicate that it is not live.

For 3 though, it is live, and when I change bitrates, it works fine. I tried multiple times.

rewebit

User  
0 rated :

Ethan,

thank you for this answer. A tech from our office is going up to the customer site to work with them. Until then this has been put on hold.

Robert

This question has received the maximum number of answers.