Voice Chat for Game Kit

When working with Game Kit Voice Chat, we will focus on the GKVoiceChatService object. The fundamentals of Game Kit Voice Chat are very similar to Game Center Voice Chat. A good starting point for implementing this system is after you are returned a GKSession object, when you connect to another player using the Peer Picker system. It is important to note that GKVoiceChatService is designed to send data to only one peer at a time. Although this isn't a limitation as of yet, as Game Kit only supports two peers, it is important to keep in mind should the API ever be expanded.

NOTE: Don't forget to check [GKVoiceChatService isVoIPAllowed] to make sure you are able to support voice chat before you continue. Some devices, such ...

Get Beginning iOS Game Center and Game Kit: For iPhone, iPad, and iPod touch now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.