Order Now AdSolution Sign Up | Login » Bits on the Run Sign Up | Login »

Forums

/

livestream plugin does not seem to work

26 replies [Last post]

I added the code from ...I added the code from the livestream plugin to my player embed code from
http://www.longtailvideo.com/addons/plugins/97/Livestream

basically I just added the line &plugins=livestream-1 to my player code.

It does show 'checking for livestream' every few seconds, but nothing happens.

If I click the play button then the stream starts just fine so everything else is correct with my code.

Basically I am just trying to find a way of getting the player to search for the livestream so the user does not have to hit play.

We broadcast our church services live using ame and during the service we always stop and start the live rtmp broadcast so that way we can have separate files on the server for the music/message.

The problem with doing that is the stream stops for the user, forcing them to have to hit stop/play again.

Is there a trick to getting this working?

I have tried all players from 4.4-5.0

@shawn -

Have you also set the other livestream flashvars?

The list of required flashvars for this plugin can be found here: http://www.longtailvideo.com/AddOns/get-plugin.html?addon=97

Just in case the code I am using is incorrect here it is:

SElements.obj = new Swiff('http://website.com/jwembed/player.swf', {
id: 'vPlayer',
name: 'vPlayer',
width: 660,
height: 367,
container: 'video_player',
params: {
wmode: 'transparent',
bgcolor: '#000000',
allowscriptaccess: 'always',
allowFullScreen: 'true',
flashvars: 'file='+SElements.data.videoId+'&image='+SElements.data.movieImg+'&plugins=fbit-1,tweetit-1,&streamer=rtmp://myurl:1935/'+SElements.data.categoryId
}

basically I have it loaded using variables for the filename and the rtmp users id at the end as well as the loading image.

Everything functions perfectly with the exception of the livestream-1 not doing anything.

I did notice that even when the video is playing that it still says searching for live stream....

oops, i took out the livestream-1 from my code above. anyhow it is normally added as another plugin comma separated before the fb/twitter plugins

If you're using the livestream plugin, you should not set the file and streamer flashvars. Please see the documentation for the plugin, here: http://www.longtailvideo.com/AddOns/get-plugin.html?addon=97

Ok I have tried doing it exactly as shown, but I still end up with the 'checking for livestream' that never starts the video. If I take out all the livestream stuff then everything works perfectly.

Here is the new code I am using:
SElements.obj = new Swiff('http://mywebsite/jwembed/player.swf', {
id: 'vPlayer',
name: 'vPlayer',
width: 660,
height: 367,
container: 'video_player',
params: {
wmode: 'transparent',
bgcolor: '#000000',
allowscriptaccess: 'always',
allowFullScreen: 'true',
flashvars: 'plugins=livestream-1,fbit-1,tweetit-1&livestream.file='+SElements.data.videoId+'&livestream.image='+SElements.data.movieImg+'&livestream.streamer=rtmp://myurl:1935/'+SElements.data.categoryId
}

Shawn, try to use this player - http://developer.longtailvideo.com/player/trunk/fl5/player.swf, does it work?

I uploaded the new player but still have the same problem.

Using the above code, it is not picking up the stream or the image. basically it just says looking for stream every 15 seconds or so, beyond that nothing happens

If I remove all the livestrem. references and just use the standard file=, streamer= then everything works properly, I just don't get the player looking for the new stream like I am trying.

I made a few changes to the layout of my code and now the player does pick up the live stream.

What does not work though is the 'auto reconnect' feature.

Meaning:
If a viewer is watching a live stream, and the operator turns the stream off for a second and then restarts the livestream, the player does not auto restart.

Because all of the church's that use my streaming server stop and start the live broadcast in order to separate out the music from the sermons, this means that the user has a bad experience because the player does not 'auto reconnect' back to the stream.

Does this make sense?

Is that a different plugin that I would need?

thanks so much for the help

Can you provide a link?

the problem is that unless I am doing a live broadcast at the moment there is no way to really test it out on your end.

I have no problem setting up a time to get together with the devs here so that I can turn on/off the broadcast so you can see what the issue is.

Is there an email address I should send a request to in order to setup a time so you can see the issue first hand?

http://cpnc.org/
top of page 'click here to watch us live' will bring up the player, although there is no live stream running at the moment.

Can you update it with - http://developer.longtailvideo.com/player/trunk/fl5/player.swf (new build) as well as turn on the live stream?

Installed the new player but it still does the same thing.

It will start by looking for the livestream just fine, however if the stream is cut off, it will not restart looking for the livestream.

I will leave the broadcast going for the afternoon, although I am not sure how that would help troubleshoot it, as it does pick up the stream on the first try. It is only after I start and stop the encoder where the player does not start 'looking' for the stream again.

I would like to thank you for continuing to help me troubleshoot this issue.

I see a lakefront there, it seems fine.

problem resolved. It was my misunderstanding as to what the plugin actually does. Thanks for all the help

Thanks for all

livestream plugin work in link www.elahmad.con
test ok

http://www.elahmad.com/tv/index.htm

NP :)

@shawn:

My understand of this plugin is what you were describing all along. If users are watching a live stream, and then the broadcast stops and then starts again, this plugin makes the player reconnect to the stream automatically. Is this not correct (since you said you misunderstood what the plugin does)?

I'd too would sure like to know what this plugin really does...

@targsx - This plugin automatically polls an RTMP stream for availability every XX seconds. If the stream is there, it will kick in. If not, the plugin will keep retrying. It allows users to wait for a live event without having to refresh their page.

@Ethan- Can you please tell us with which version od JW player this plugin works best?
I am testing live rtmp stream via wowza and simply cant get it to work well with any of them on your test site..

It should work with 4.4+, it was originally written for 4.4, so I would test with that version.

It is like this in my situation, I'm running wowza with live aac stream.
After I setup livestream plugin with jwplayer 5.3 and open it up, it does find stream and starts playing until I stop wowza server. At that point jwplayer stops too and does not continue to search for stream. Thats the main problem for me. Tried almost every version of jwplayer from 4.3 and I tried same thing on your developers website, its the same.

As I understand it, this plugin should continue to search for stream after it loses connection with server..Plese help..

Okay...please show me where you are trying to run this...

I am testing it on your developer site. Can we do this over email or chat?
I need to shut the wowza down while you're listening so you can see the problem...

Email - ethan [at] longtailvideo [dot] com