# Simple problem with Netstream

**URL:** https://forum.kirupa.com/t/simple-problem-with-netstream/229909
**Category:** Uncategorized
**Created:** [June 21, 2007, 5:05am UTC](https://forum.kirupa.com/t/simple-problem-with-netstream/229909 "2007-06-21T05:05:44Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![Saddu](https://avatars.discourse-cdn.com/v4/letter/s/f05b48/32.png) [@Saddu](https://forum.kirupa.com/u/Saddu)
#### Post date: [June 21, 2007, 5:05am UTC](https://forum.kirupa.com/t/simple-problem-with-netstream/229909/1 "2007-06-21T05:05:44Z")

</div>

Hi everyone ,

If publishing of a stream has been stopped then “NetStream.Unpublish.Success” will be broadcasted to all the clients .

My question is how to stop publishing of the stream when we click on a button.

Thanks.
