Wowza Community

iOS SDK error - couldn't set audio bitrate - broadcast stops

When attempting to begin the broadcast the stream stops immediately after publish begins. I know that the server is accepting streams because I’ve been able to connect to the wowza server with the Android SDK and I’ve connected to it with VideoCore for iOS as well.

The VideoToolbox error (-12902), according to Apple is kVTParameterErr

Permissions seem to be set up correctly. The preview displays, the flashlight toggles, and the camera switches front-to-back correctly, I just can’t initiate this broadcast.

Log Output:

Broadcast Message: Started
[package name] WowzaGoCoderSDK: @@@@@ Error creating VideoToolbox compression session: -12902
[package name] WowzaGoCoderSDK: couldn't set audio bit rate
[package name] WowzaGoCoderSDK: Using software Audio Converter from AudioConverterNewSpecific
[package name] WowzaGoCoderSDK: AAC Encode Bitrate: 192000
[package name] WowzaGoCoderSDK: AAC Converter buffer size: 32256
[package name] WowzaGoCoderSDK: Audio Capture initiated with capture format PCM
[package name] status Status is stopping  

Any ideas on this? I’d really rather not have to use a different broadcasting tool for iOS from Android.

Do you get this error when using our sample app? If you are unable to replicate this on our sample app, then do please send a support ticket so that we can take a look at your code and how you are configuring your WowzaConfig object.

Michelle