Skip to Content
Beginning iOS Game Center and Game Kit: For iPhone, iPad, and iPod touch
book

Beginning iOS Game Center and Game Kit: For iPhone, iPad, and iPod touch

by Kyle Richter
November 2011
Beginner content levelBeginner
238 pages
6h 19m
English
Apress
Content preview from Beginning iOS Game Center and Game Kit: For iPhone, iPad, and iPod touch

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 ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Beginning ARKit for iPhone and iPad: Augmented Reality App Development for iOS

Beginning ARKit for iPhone and iPad: Augmented Reality App Development for iOS

Wallace Wang
iOS 4 in Action

iOS 4 in Action

Lin Harrington, Shannon Appelcline, Christopher R. Allen, Brandon Trebitowski
iOS 7 Development Recipes: A Problem-Solution Approach

iOS 7 Development Recipes: A Problem-Solution Approach

Joseph Hoffman, Hans-Eric Grönlund, Colin Francis, Shawn Grimes

Publisher Resources

ISBN: 9781430235279Purchase book