# How to Reset/Restart Stream Programmaticallly, with REST API or Custom Module

**URL:** <https://community.wowza.com/t/how-to-reset-restart-stream-programmaticallly-with-rest-api-or-custom-module/47043>\
**Category:** Wowza Streaming Engine\
**Created:** [May 13, 2016, 8:17am UTC](https://community.wowza.com/t/how-to-reset-restart-stream-programmaticallly-with-rest-api-or-custom-module/47043 "2016-05-13T08:17:21Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Faraz\_Khan](https://avatars.discourse-cdn.com/v4/letter/f/51bf81/32.png) [@Faraz\_Khan](https://community.wowza.com/u/Faraz_Khan)\
**Post date:** [May 13, 2016, 8:17am UTC](https://community.wowza.com/t/how-to-reset-restart-stream-programmaticallly-with-rest-api-or-custom-module/47043/1 "2016-05-13T08:17:21Z")

</div>

Using Server REST API, or a custom module, is there a way to restart a single stream among several streams so that it starts playback from the beginning? I know we can restart the application, but that will restart all streams within that application. I want to restart just one stream at a time.

---

<div class="post-metadata">

**Author:** ![sal\_jefferson](https://avatars.discourse-cdn.com/v4/letter/s/6de8d8/32.png) [@sal\_jefferson](https://community.wowza.com/u/sal_jefferson)\
**Post date:** [May 16, 2016, 5:43am UTC](https://community.wowza.com/t/how-to-reset-restart-stream-programmaticallly-with-rest-api-or-custom-module/47043/2 "2016-05-16T05:43:31Z")

</div>

Have a look at the IApplicationInstance.resetMediaCasterStream(streamName)

Regards,

Salvadore
