# How to Enable/Disable the transcoder via rest?

**URL:** <https://community.wowza.com/t/how-to-enable-disable-the-transcoder-via-rest/45568>\
**Category:** Wowza Developer Dojo\
**Created:** [October 15, 2015, 3:42pm UTC](https://community.wowza.com/t/how-to-enable-disable-the-transcoder-via-rest/45568 "2015-10-15T15:42:18Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Paul\_Skinner](https://avatars.discourse-cdn.com/v4/letter/p/76d3ee/32.png) [@Paul\_Skinner](https://community.wowza.com/u/Paul_Skinner)\
**Post date:** [October 15, 2015, 3:42pm UTC](https://community.wowza.com/t/how-to-enable-disable-the-transcoder-via-rest/45568/1 "2015-10-15T15:42:18Z")

</div>

Hi Guys,

I have created an application via a REST call. But I don’t know what to set in the REST Call to enable the transcoder module for the application.

I have set my TranscoderConfig as per [https://www.wowza.com/docs/application-management-query-examples](https://www.wowza.com/docs/application-management-query-examples). But I still have to go into the Wowza Manager and manually enable the transcoder addon.

I see “LiveStreamTranscoder” is set to transcoder in my TranscoderConfig element once I have enabled the transcoder in the Wowza Manager. But including it in my TranscoderConfig does nothing.

How can I create an application using REST where the transcoder addon is enabled?

---

<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:** [October 15, 2015, 8:24am UTC](https://community.wowza.com/t/how-to-enable-disable-the-transcoder-via-rest/45568/2 "2015-10-15T08:24:33Z")

</div>

Hello

So it turns out in our example it doesn’t put in a default value for the liveStreamTranscoder element. So refer to [this example](https://www.wowza.com/docs/application-management-query-examples) but you’ll want to add the following to the transcoderConfig portion:

```auto
"transcoderConfig": {
      "restURI": "http://localhost:8087/v2/servers/_defaultServer_/vhosts/_defaultVHost_/applications/testlive/transcoder",
      "available": true,
      "licensed": true,
      "licenses": -1,
      "licensesInUse": 0,
      "templates": {
         "restURI": "http://localhost:8087/v2/servers/_defaultServer_/vhosts/_defaultVHost_/applications/testlive/transcoder/templates",
         "templates": [
            {
               "id": "transcode",
               "href": "http://localhost:8087/v2/servers/_defaultServer_/vhosts/_defaultVHost_/applications/testlive/transcoder/templates/transcode"
            },
            {
               "id": "audioonly",
               "href": "http://localhost:8087/v2/servers/_defaultServer_/vhosts/_defaultVHost_/applications/testlive/transcoder/templates/audioonly"
            },
            {
               "id": "transcode-h265-divx",
               "href": "http://localhost:8087/v2/servers/_defaultServer_/vhosts/_defaultVHost_/applications/testlive/transcoder/templates/transcode-h265-divx"
            },
            {
               "id": "transrate",
               "href": "http://localhost:8087/v2/servers/_defaultServer_/vhosts/_defaultVHost_/applications/testlive/transcoder/templates/transrate"
            }
         ]
      }, 
      [B]"liveStreamTranscoder": "transcoder",[/B]
      "templatesInUse": "${SourceStreamName}.xml,transrate.xml",
      "profileDir": "${com.wowza.wms.context.VHostConfigHome}/transcoder/profiles",
      "templateDir": "${com.wowza.wms.context.VHostConfigHome}/transcoder/templates",
      "createTemplateDir": false
   },

```

Thanks,

Matt

---

<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:** [October 20, 2015, 8:19am UTC](https://community.wowza.com/t/how-to-enable-disable-the-transcoder-via-rest/45568/3 "2015-10-20T08:19:16Z")

</div>

Thanks for the update and glad you got this working.

Salvadore

---

<div class="post-metadata">

**Author:** ![Paul\_Skinner](https://avatars.discourse-cdn.com/v4/letter/p/76d3ee/32.png) [@Paul\_Skinner](https://community.wowza.com/u/Paul_Skinner)\
**Post date:** [October 16, 2015, 9:23am UTC](https://community.wowza.com/t/how-to-enable-disable-the-transcoder-via-rest/45568/4 "2015-10-16T09:23:13Z")

</div>

Great, thanks! that worked

I tried something similar, but set “ **L** iveStreamTranscoder” instead of “ **l** iveStreamTranscoder”
