# How to switch transcoder list?

**URL:** <https://community.wowza.com/t/how-to-switch-transcoder-list/35849>\
**Category:** Wowza Streaming Engine\
**Created:** [June 8, 2015, 4:46pm UTC](https://community.wowza.com/t/how-to-switch-transcoder-list/35849 "2015-06-08T16:46:01Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Aleksandr\_Ermolenko](https://avatars.discourse-cdn.com/v4/letter/a/7993a0/32.png) [@Aleksandr\_Ermolenko](https://community.wowza.com/u/Aleksandr_Ermolenko)\
**Post date:** [June 8, 2015, 4:46pm UTC](https://community.wowza.com/t/how-to-switch-transcoder-list/35849/1 "2015-06-08T16:46:01Z")

</div>

Hello!

That I have not pointed out in the logs silence…

```auto
		public void onPublish(IMediaStream stream, String streamName, boolean isRecord, boolean isAppend)
		{
			System.out.println("onPublish[" + stream.getContextStr() + "]: isRecord:" + isRecord + " isAppend:" + isAppend); 							
			stream.setLiveStreamTranscoderList("/usr/local/WowzaStreamingEngine-4.1.2/transcoder/templates/mylist.xml");			
						
		}

```

Tnx!

---

<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:** [June 9, 2015, 7:51am UTC](https://community.wowza.com/t/how-to-switch-transcoder-list/35849/2 "2015-06-09T07:51:56Z")

</div>

Hi there.

When using System.out.println() you have to run Wowza in stand-alone mode for the message to be output to the console. It will not get written to the logs.

To write to the log file you would need to use getLogger().info(“YOUR-LOG-HERE”);

Hope this answers your question.

Salvadore

---

<div class="post-metadata">

**Author:** ![Aleksandr\_Ermolenko](https://avatars.discourse-cdn.com/v4/letter/a/7993a0/32.png) [@Aleksandr\_Ermolenko](https://community.wowza.com/u/Aleksandr_Ermolenko)\
**Post date:** [June 9, 2015, 6:33am UTC](https://community.wowza.com/t/how-to-switch-transcoder-list/35849/3 "2015-06-09T06:33:00Z")

</div>

It is not in the log, but the fact that transcoding on the fly, I can not change … and the error logs do not give …

---

<div class="post-metadata">

**Author:** ![Aleksandr\_Ermolenko](https://avatars.discourse-cdn.com/v4/letter/a/7993a0/32.png) [@Aleksandr\_Ermolenko](https://community.wowza.com/u/Aleksandr_Ermolenko)\
**Post date:** [June 9, 2015, 6:34am UTC](https://community.wowza.com/t/how-to-switch-transcoder-list/35849/4 "2015-06-09T06:34:29Z")

</div>

Me how to change the transcoder, because this team does not help but only cancels the current transcoder

```auto
stream.setLiveStreamTranscoderList("/usr/local/WowzaStreamingEngine-4.1.2/transcoder/templates/mylist.xml");

```

---

<div class="post-metadata">

**Author:** ![Aleksandr\_Ermolenko](https://avatars.discourse-cdn.com/v4/letter/a/7993a0/32.png) [@Aleksandr\_Ermolenko](https://community.wowza.com/u/Aleksandr_Ermolenko)\
**Post date:** [June 9, 2015, 7:01am UTC](https://community.wowza.com/t/how-to-switch-transcoder-list/35849/5 "2015-06-09T07:01:13Z")

</div>

By default, I adjusted myself to a specific transcoder application sheet.

But for some threads I need to use a different transcoder sheet.

How can i do this?

---

<div class="post-metadata">

**Author:** ![Aleksandr\_Ermolenko](https://avatars.discourse-cdn.com/v4/letter/a/7993a0/32.png) [@Aleksandr\_Ermolenko](https://community.wowza.com/u/Aleksandr_Ermolenko)\
**Post date:** [June 9, 2015, 7:02am UTC](https://community.wowza.com/t/how-to-switch-transcoder-list/35849/6 "2015-06-09T07:02:39Z")

</div>

Аnd more please help me here

> [@liverepeater-edge time out play](http://community.wowza.com/t/-/35845):
>
> Good time of day. Please tell me how to extend the connection to the edge server - orign server after all users are disconnected from the server edge. Thank you. P.S. I defaul is 60 seconds less than my log 2015-06-07 17:24:45 CEST comment server INFO 200 - LiveStreamPacketizerSanJose.endChunkTS[edgeserver/3528/3528\_160p]: Add chunk: id:8 a/v/k:87/61/1 duration:2002 - - - 40.372 - - - - - - - - - - - - - - - - - - - - - - - - - 2015-06-07 17:24:45 CEST comment server INFO 200 - LiveStreamPac…

---

<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:** [June 9, 2015, 8:35am UTC](https://community.wowza.com/t/how-to-switch-transcoder-list/35849/7 "2015-06-09T08:35:30Z")

</div>

It might help if you explain what you are trying to do.

Please be as clear as possible with your explanation.

Thanks,

Salvadore

---

<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:** [June 12, 2015, 10:59am UTC](https://community.wowza.com/t/how-to-switch-transcoder-list/35849/8 "2015-06-12T10:59:43Z")

</div>

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");

```

Regards,

Salvadore
