Wowza Community

Graceful restart with a live stream running?

Can I schedule it? I need to restart different services during a normal day but in different moments without restarting the entire wowza service.

I have installed on my server the 2.1.2 wowza version and I don’t see Wowza Media Server Pro in MBEANS menu . Is this a problem? Can I manage different applications with this version?

Thanks!

Has the behavior for Application shutdown been changed in Wowza 3?

I’m testing Wowza 3.1.0 and after shutdown of an application through JMX, I observe that ongoing VOD RTMP streams continue playing while the Application is stopped. If I start playing a new stream (e.g. same content in other player), the application is started again.

So it seems like you now have support for graceful restart of applications. Is my observation correct or do you have any other explanation to what I have observed.

I could not find anything in the release notes about this.

/Stefan

Thanks for your response.

I updated my earlier post to state that I was testing VOD and not live. I am pulling files from the file system through the Media Cache.

But I still see that after stopping the application, the player continues playing the file for at least 10 minutes without a problem, and it is pulling the content from Wowza and not from any local buffer. It seems like the stream just lives on in Wowza 3.1 although the application is dead. What am I missing?

/Stefan

Thanks,

I tested again, and you are right, but the stream only stops if I execute “shutdownAppInstance”.

If I only execute “shutdown” (on full application), the application is killed, but the streams in the application instances continue playing (forever). And now I cannot stop them, since I don’t see the application at all through JMX.

I think that “shutdown” (on full application) should cause all app instances to be properly stopped.

Any comments on this?

/Stefan

I attempted to use the shutdown as specified but the stream doesn’t restart. How do I start the stream back? Basically I want to stop the stream if needed and restart it as needed.

You will have to provide much more info/detail as to what you are doing and what you want to accomplish.

Richard

I want to stop a live video stream so my clients cannot watch it anymore and then later restart it.

Currently I login to the Java Console -> MBeans -> Wowza -> Vhost -> defaultVHost -> Application -> cam -> Application -> Operations -> Shutdown

This works for shutting the stream/cam off. How do I bring it back without restarting the server?

http://prntscr.com/zwb4b

A live stream? What is the source? Is it a MediaCaster source, e.g. IP camera or mpeg-ts encoder? Those you can control with the MediaCaster system. If it is a Live RTMP encoder, those are hard to stop from Wowza. You can shutdown the client, but some of them will re-connect right away.

Richard

Our clients are using Flash Media Encoder to connect to our Wowza server via rtmp. We can use the shutdown button to shut the stream off but cannot figure out how to turn it back on without restarting the Wowza server.

Wowza cannot control a RTMP Live encoder, except to disconnect it. You have to re-start in the encoder

Richard

Are you sure? Because using Shutdown stops the stream but restarting Wowza server lets it connect again. Seems more like it is something in Wowza that should be possible to flip back on since the encoder reconnects just fine after the server is restarted.

If that shutdown method won’t work are there any other methods you can recommend?

FMLE keeps trying to re-connect. It’s not Wowza doing that, it’s FMLE.

Richard

I understand that FMLE keeps trying to re-connect. However what does Wowza set to shutoff the FMLE that requires a reboot of the Wowza server before the cam can reconnect? It obviously isn’t telling the FMLE on the clients computer “Hey! Stop trying to connect” since the users computer will connect on a Wowza restart. So once again there is something that is blocking the connection and thus should be possible to set it back to “On” without a server restart.

If you shut down the FMLE connection’s connectection you cannot turn that back on. I’m not really sure what you are seeing in terms of reboot, but you can only disconnect a live RTMP encoder client. You cannot turn that client back on. It can re-connect, but it will have another clientID.

Richare

So is there any “other” way to do what I am attempting?

You figure there would be a way to tell the Wowza server to stop accepting a stream and start accepting a stream while it is running. I would highly suggest adding such a feature.

Can’t see this screenshot :frowning:

Richard

hi, Richard, help please, here a ScreenShot,

i can find the wowzamediaserverpro/vhosts/defaultvhost/application/myappname/application/operations

www.ex.ua/162109732470

thanks