# Programmatic Control of the Transcoder

**URL:** <https://community.wowza.com/t/programmatic-control-of-the-transcoder/41856>\
**Category:** Wowza Streaming Engine\
**Created:** [June 5, 2015, 2:02pm UTC](https://community.wowza.com/t/programmatic-control-of-the-transcoder/41856 "2015-06-05T14:02:17Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![Matt\_Young](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/matt_young/32/389_2.png) [@Matt\_Young](https://community.wowza.com/u/Matt_Young)\
**Post date:** [June 12, 2015, 7:34am UTC](https://community.wowza.com/t/programmatic-control-of-the-transcoder/41856/4 "2015-06-12T07:34:07Z")

</div>

Hello

You could take a look at the ILiveStreamTranscoderNotify and ILiveStreamTranscoderActionNotify interfaces. and dynamically choose your template file. Setup the following event handlers as indicated in this [post](http://community.wowza.com/t/-/35562). Then you can choose the template required by leveraging the liveStreamTranscoder object within the ILiveStreamTranscoderActionNotify.onInitBeforeLoadTemplate event handler as follows:

```auto
liveStreamTranscoder.setTemplateName("TemplateName.xml");

```

Thanks,

Matt

---

_[View the full topic](https://community.wowza.com/t/programmatic-control-of-the-transcoder/41856)._
