Wowza Community

Stop a live RTMP push stream using API


Is there a way, using the Java API, to stop a live RTMP push stream? I though of doing it from the onPublish method, using stream.stopPublishing() or stream.close(), but that did not work.


Eyal Hasson.

I was able to do that using the example here: