Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7838005
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T14:56:46+00:00 2026-06-02T14:56:46+00:00

I am encountering an issue with GKVoiceChat. The whole Audio setup is executed w/o

  • 0

I am encountering an issue with GKVoiceChat. The whole Audio setup is executed w/o errors, and I can successfully create the GKVoiceChat object with the GKMatch object. As soon as I start the voice chat using the “start” method on my voice chat object, the console prints

AURemoteIO::Initialize failed: 'init' (enable 3, outf< 1 ch,  16000 Hz, 'lpcm' (0x0000002C) 16-bit little-endian signed integer, deinterleaved> inf< 1 ch,  16000 Hz, 'lpcm' (0x0000000C) 16-bit little-endian signed integer>)

Google does not reveal anything useful on this error. Has anyone encountered this before and knows what is going wrong here? Behaves the same on an iPhone 4 and iPad 2.

Edit: Additional finding: I am also setting the AmbientSound property to respect the mute switch for other audio (music, sounds), and this seems to be the cause of the issue. When initializing audio service, I am also running this code:

SInt32 ambient = kAudioSessionCategory_SoloAmbientSound;
if (AudioSessionSetProperty (kAudioSessionProperty_AudioCategory, sizeof (ambient), &ambient)) {
    NSLog(@"Error setting ambient property");
}

When I comment this out, voice chat runs just fine. However then the mute switch is not respected any longer.

How can I have both?

Thanks, habitoti

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-02T14:56:47+00:00Added an answer on June 2, 2026 at 2:56 pm

    Right from documentation – iOS has 6 audio session categories out of that 3 affects the behavior of Slient switch:

    AVAudioSessionCategoryAmbient or the equivalent kAudioSessionCategory_AmbientSound— Using this category, your audio is silenced by the Ring/Silent switch and when the screen locks. Used when we want our app audio with built-in app audio

    AVAudioSessionCategorySoloAmbient or the equivalent kAudioSessionCategory_SoloAmbientSound—Use this category for an application whose audio you want silenced when the user switches the Ring/Silent switch to the “silent” position and when the screen locks. This is the default category

    AVAudioSessionCategoryPlayback or the equivalent kAudioSessionCategory_MediaPlayback—Use this category for an application whose audio playback is of primary importance. Your audio plays even with the screen locked and with the Ring/Silent switch set to silent.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am encountering an odd issue whereby I can move items from one list
I am encountering an issue when attempting to remove an object from my Core
I'm encountering an interesting issue with the following code. productObject is a custom object
I am encountering an issue where having a ending script tag inside a quoted
I'm building an automated install script for Hadoop, and I'm encountering an issue where
I'm encountering a strange issue, where sqlsrv_query() returns a valid statement resource, but sqlsrv_fetch_array()
Probably the following description of the issue I'm encountering will be a bit vague,
I have been encountering an issue with inserts in EF 4.0. During a migration
I'm working with a Droid / Android 2.0.1 and encountering an issue apparently many
To summarize the issue I'm encountering, I have an EJB which uses version A

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.