# Pushing multiple bit rate to akamai

**URL:** https://community.wowza.com/t/pushing-multiple-bit-rate-to-akamai/42614
**Category:** Wowza Developer Dojo
**Tags:** wowza-streaming-server-java-api
**Created:** [April 3, 2014, 6:56pm UTC](https://community.wowza.com/t/pushing-multiple-bit-rate-to-akamai/42614 "2014-04-03T18:56:35Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![Anupam\_Shah](https://avatars.discourse-cdn.com/v4/letter/a/7bcc69/32.png) [@Anupam\_Shah](https://community.wowza.com/u/Anupam_Shah)
#### Post date: [April 3, 2014, 6:56pm UTC](https://community.wowza.com/t/pushing-multiple-bit-rate-to-akamai/42614/1 "2014-04-03T18:56:35Z")

</div>

I was trying to push multiple bitrate of the same streams to akamai using PushPublishRTMP, I couldn’t find any method where i can set multiple streams with publisher, I want to achieve this using server side api’s as not all the streams need to be pushed to akamai.

I am trying to achieve the same which can be achieved using this properties in

myStream\_480p={profile:“rtmp-akamai”, streamName:“myStream\_1\_500”, akamai.streamId:12345, userName:“myuser”, password:“mypassword”, adaptiveStreaming:true, sendOriginalTimecodes:true, originalTimecodeThreshold:0x100000}

myStream\_360p={profile:“rtmp-akamai”, streamName:“myStream\_1\_750”, akamai.streamId:12345, userName:“myuser”, password:“mypassword”, adaptiveStreaming:true, sendOriginalTimecodes:true, originalTimecodeThreshold:0x100000}

myStream\_720p={profile:“rtmp-akamai”, streamName:“myStream\_1\_1000”, akamai.streamId:12345, userName:“myuser”, password:“mypassword”, adaptiveStreaming:true, sendOriginalTimecodes:true, originalTimecodeThreshold:0x100000}

Thanks,

Anupam

---

<div class="post-metadata">

### Author: ![Richard\_Lanham](https://avatars.discourse-cdn.com/v4/letter/r/c68b51/32.png) [@Richard\_Lanham](https://community.wowza.com/u/Richard_Lanham)
#### Post date: [April 4, 2014, 11:08am UTC](https://community.wowza.com/t/pushing-multiple-bit-rate-to-akamai/42614/2 "2014-04-04T11:08:47Z")

</div>

Anupam,

You can do it like this:

```auto
publisher.setAdaptiveStreaming(true);

```

Richard

---

<div class="post-metadata">

### Author: ![Richard\_Lanham](https://avatars.discourse-cdn.com/v4/letter/r/c68b51/32.png) [@Richard\_Lanham](https://community.wowza.com/u/Richard_Lanham)
#### Post date: [May 15, 2014, 5:22pm UTC](https://community.wowza.com/t/pushing-multiple-bit-rate-to-akamai/42614/3 "2014-05-15T17:22:26Z")

</div>

Anupam,

Right, you do have to push multiple (at least 2) streams to the CDN for ABR playback.

Richard

---

<div class="post-metadata">

### Author: ![Anupam\_Shah](https://avatars.discourse-cdn.com/v4/letter/a/7bcc69/32.png) [@Anupam\_Shah](https://community.wowza.com/u/Anupam_Shah)
#### Post date: [May 15, 2014, 6:47pm UTC](https://community.wowza.com/t/pushing-multiple-bit-rate-to-akamai/42614/4 "2014-05-15T18:47:34Z")

</div>

Richard,

I have tried to figure out by setting adaptive streaming to true, but I am not able to add multiple streams to publishers, is one publisher is only to push single bitrate streams to akamai? Do I need to create multiple publishers to push multiple streams as mentioned here : [https://github.com/telvue/WowzaAkamaiPushPlugin/blob/master/TelvueAkamiPushPlugin.java](https://github.com/telvue/WowzaAkamaiPushPlugin/blob/master/TelvueAkamiPushPlugin.java)

Thanks,

Anupam
