Can someone tell me how I can use voice chat on iphone sdk. The game is used for voice communication via Bluetooth. I want my application to have a voice chat option over the Internet
Thanks Yasser
The Apple GameKit framework provides a history in which you need to embed in-game chat.
Full documentation is here:
http://developer.apple.com/library/ios/#documentation/NetworkingInternet/Conceptual/GameKit_Guide/AddingVoiceChattoaMatch/AddingVoiceChattoaMatch.html#//apple_ref/doc/uid/TP40008304-CH11-SW11
, GameKit, :
-(void) startInGameChat { //Set up audio session AVAudioSession *audioSession = [AVAudioSession sharedInstance]; [audioSession setCategory:AVAudioSessionCategoryPlayAndRecord error:myErr]; [audioSession setActive: YES error: myErr]; GKMatch* match; GKVoiceChat *teamChannel = [[match voiceChatWithName:@"redTeam"] retain]; GKVoiceChat *allChannel = [[match voiceChatWithName:@"allPlayers"] retain]; //Start the chat [teamChannel start]; //Enable Mic teamChannel.active = YES; }
XMPP Framework. XMPP . , . R D n, jabber- ios XMPP.
: jabber XMPP.
http://mobile.tutsplus.com/tutorials/iphone/building-a-jabber-client-for-ios-server-setup/
ios: http://www.ibm.com/developerworks/library/x-ioschat/
Source: https://habr.com/ru/post/1780772/More articles:Sample Android using H2 - androidOpengl polygons - renderingИспользование Caliburn.Micro для привязки к под-свойствам - silverlightWhen someone picked a cherry from my git, commits and commits their own actions, how do I merge? - gitWhat is the Java equivalent for a PHP array with non-numeric keys? - javaSaving and retrieving an image using Qt - qteBay API - Filter Items by Shopping / Custom Categories - ebaySearch for old .Net librairies - .netThe right way to stop with MPI - fortranSuper slow request ... What have I done wrong? - sqlAll Articles