Control which streams get transcoded
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
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
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
- Streaming Starter Guide
- Live Event Streaming Guide
- Interactive Streaming Guide
- Streaming Protocols
- Transcoding
- Low Latency
- Security
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)
Partners [Copy to clipboard](/content/docs/how-to-control-which-streams-get-transcoded-using-server-side-api#partners "Copy to clipboard"/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)
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)
X - Form Filled Type
© 2007–2025 Wowza Media Systems™, LLC. All rights reserved. Security & Privacy Policy | Legal | System Status
reCAPTCHA