# How to set transcoding profile per stream via API

**URL:** https://community.wowza.com/t/how-to-set-transcoding-profile-per-stream-via-api/51497
**Category:** Wowza Developer Dojo
**Tags:** transcoder
**Created:** [June 19, 2018, 8:20am UTC](https://community.wowza.com/t/how-to-set-transcoding-profile-per-stream-via-api/51497 "2018-06-19T08:20:46Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![Leo\_Chun](https://avatars.discourse-cdn.com/v4/letter/l/a88e57/32.png) [@Leo\_Chun](https://community.wowza.com/u/Leo_Chun)
#### Post date: [June 19, 2018, 8:20am UTC](https://community.wowza.com/t/how-to-set-transcoding-profile-per-stream-via-api/51497/1 "2018-06-19T08:20:46Z")

</div>

Hi~

Multiple incoming streams are received in an application.

I would like to set up a transcoding profile for each incoming stream.

Is there a way to change the template file in onInitBeforeLoadTemplate?

Is there any way to change settings more gracefully using functions such as setVideoBitrate?
