# Control which streams get transcoded with the Wowza Streaming Engine Java API

Updated on 07/16/2026 8:37 am PDT

You can use the Wowza Streaming Engine™ Java API to control which streams get transcoded.

Below is a simple module that uses the **ILiveStreamTranscoderControl** interface to control which streams get transcoded:

Copy

```
package com.wowza.wms.plugin.test.module;

import com.wowza.wms.stream.*;
import com.wowza.wms.stream.livetranscoder.*;
import com.wowza.wms.module.*;
import com.wowza.wms.application.*;

public class ModuleTranscoderControlByStream extends ModuleBase
{
	class TranscoderControl implements ILiveStreamTranscoderControl
	{
		public boolean isLiveStreamTranscode(String transcoder, IMediaStream stream)
		{
			// here is there you return true or false if you want stream transcoded
			if ( stream.isTranscodeResult() )
			{
				return false;
			} else {
				return true;
			}

}
	}

public void onAppStart(IApplicationInstance appInstance)
	{
		appInstance.setLiveStreamTranscoderControl(new TranscoderControl());
	}
}
```

To add this module to your application, edit **\[install-dir\]/conf/\[application\]/Application.xml** and add this module entry as the last **<Module>** entry in the **<Modules>** list:

Copy

```
<Module>
	<Name>ModuleTranscoderControlByStream</Name>
	<Description>ModuleTranscoderControlByStream</Description>
	<Class>com.wowza.wms.plugin.test.module.ModuleTranscoderControlByStream</Class>
</Module>
```

Was this article helpful?

[Helpful](/content/docs/how-to-control-which-streams-get-transcoded-using-server-side-api# "Helpful"/index.html)

Thank you for your feedback!

300 characters remaining

Name

Email

reCAPTCHA

Recaptcha requires verification.

I'm not a robot

reCAPTCHA

[Submit](/content/docs/how-to-control-which-streams-get-transcoded-using-server-side-api# "Submit comment"/index.html)

Thank you for providing feedback to help us improve our documentation!

##### Popular Video Topics [Copy to clipboard](/content/docs/how-to-control-which-streams-get-transcoded-using-server-side-api\#popular-video-topics "Copy to clipboard"/index.html)

- [The Future of Video Tech](/content/blog/future-of-video-technology/index.html)
- [Streaming Starter Guide](/content/blog/complete-guide-to-live-streaming/index.html)
- [Live Event Streaming Guide](/content/blog/live-event-streaming-guide/index.html)
- [Interactive Streaming Guide](/content/blog/low-latency-streaming-technologies-the-key-to-interactive-video/index.html)
- [Streaming Protocols](/content/blog/streaming-protocols/index.html)
- [Transcoding](/content/blog/what-is-transcoding-and-why-its-critical-for-streaming/index.html)
- [Low Latency](/content/blog/what-is-low-latency/index.html)
- [Security](/content/blog/secure-video-streaming/index.html)

##### Video Resources [Copy to clipboard](/content/docs/how-to-control-which-streams-get-transcoded-using-server-side-api\#video-resources "Copy to clipboard"/index.html)

- [APIs & SDKs](/content/docs/wowza-developer-apis-and-sdks/index.html)
- [Developer IDE](/content/docs/how-to-extend-wowza-streaming-engine-using-the-wowza-ide/index.html)
- [Test Players](/content/testplayers/index.html)
- [Wowza System Status](https://status.wowza.com/)

##### Partners [Copy to clipboard](/content/docs/how-to-control-which-streams-get-transcoded-using-server-side-api\#partners "Copy to clipboard"/index.html)

- [Partners Overview](/content/partners/index.html)
- [Find a Partner](/content/partners/preferred-international-resellers/index.html)
- [Channel Program](/content/partners/channel-partner-program/index.html)
- [OEM Program](/content/partners/oem/index.html)
- [Partner Portal](/content/partners/resources/index.html)

##### Company [Copy to clipboard](/content/docs/how-to-control-which-streams-get-transcoded-using-server-side-api\#company "Copy to clipboard"/index.html)

- [About Us](/content/company/index.html)
- [Blog](/content/blog/category/blog/index.html)
- [News](/content/news/index.html)
- [Events & Webinars](/content/company/events/index.html)
- [Careers](/content/careers/index.html)
- [Customers](/content/customers/index.html)
- [Contact Us](/content/contact/index.html)

##### Stay Connected [Copy to clipboard](/content/docs/how-to-control-which-streams-get-transcoded-using-server-side-api\#stay-connected "Copy to clipboard"/index.html)

##### Stay Up to Date with the Blog [Copy to clipboard](/content/docs/how-to-control-which-streams-get-transcoded-using-server-side-api\#stay-up-to-date-with-the-blog "Copy to clipboard"/index.html)

Email

X - Form Filled Type

© 2007–2025 Wowza Media Systems™, LLC. All rights reserved.   [Security & Privacy Policy](/content/legal/privacy/index.html) \| [Legal](/content/legal/index.html) \| [System Status](https://status.wowza.com/)

reCAPTCHA
