# iOS GoCoder Adaptive Bitrate not working

**URL:** <https://community.wowza.com/t/ios-gocoder-adaptive-bitrate-not-working/53087>\
**Category:** Wowza GoCoder SDK\
**Created:** [March 26, 2019, 9:46pm UTC](https://community.wowza.com/t/ios-gocoder-adaptive-bitrate-not-working/53087 "2019-03-26T21:46:49Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![Kyle\_Kirkland](https://avatars.discourse-cdn.com/v4/letter/k/e9bcb4/32.png) [@Kyle\_Kirkland](https://community.wowza.com/u/Kyle_Kirkland)\
**Post date:** [March 26, 2019, 9:46pm UTC](https://community.wowza.com/t/ios-gocoder-adaptive-bitrate-not-working/53087/1 "2019-03-26T21:46:49Z")

</div>

I am currently trying to livestream using the iOS GoCoder SDK with my network link conditioner turned on to 3g, with an output bandwidth of 330kbps.

I start the live stream with the presets for 1280x720, and within a few seconds I get the event that the bandwidth has been decreased. My bandwidth scale multiplier is low, 0.3, and it drops down to the bandwidth to 1125kbps.

After that, I get the low bandwidth event, followed by the encoding paused event, and then nothing else.

How come the bandwidth does not continue to drop after the encoder has been paused? Should I be manually setting the bandwidth myself based off of the currentBroadcastingNetworkBitrateThroughput?Or should I be trying to load a lower preset when I know my connection is bad?

Are there optimal settings that should be set for the configuration? Here is what I have now

```auto
        WowzaGoCoder.setLogLevel(.verbose)

        streamerConfig = WowzaConfig()

        streamerConfig.broadcastVideoOrientation = lockedOrientation.videoOrientation

        streamerConfig.load(WOWZFrameSizePreset.preset1280x720)

        streamerConfig.videoFrameBufferSizeMultiplier = 0

        streamerConfig.videoFrameRateLowBandwidthSkipCount = 15

        streamerConfig.videoBitrateLowBandwidthScalingFactor = 0.30

        streamerConfig.videoFrameRate = 30

        streamerConfig.videoKeyFrameInterval = 60

        streamerConfig.audioSampleRate = 44100

```

Here are some logs from the WOWZCallback:

```auto
~ on wowz status: Optional(Status is starting )

~ on wowz status: Optional(Status is running )

~ wowza bitrate decreased: 

~ previous bitrate: 3750000 -- new bitrate: 1125000

~ wowza bitrate decreased: 

~ previous bitrate: 3750000 -- new bitrate: 1125000

~ wowza has low bandwidth

~ wowza encoding is paused

```

---

_[View the full topic](https://community.wowza.com/t/ios-gocoder-adaptive-bitrate-not-working/53087)._
