Skip to content

Instantly share code, notes, and snippets.

@OnlyInAmerica
Last active August 29, 2015 14:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save OnlyInAmerica/2b1b175652a9950627d7 to your computer and use it in GitHub Desktop.
Save OnlyInAmerica/2b1b175652a9950627d7 to your computer and use it in GitHub Desktop.
Streaming with Kickflip for iOS
[Kickflip setupWithAPIKey:@"CLIENT_ID" secret:@"CLIENT_SECRET"];
[Kickflip presentBroadcasterFromViewController:self ready:^(KFStream *stream){
if (stream) {
NSLog(@"Stream is ready to view at URL: %@", stream.streamURL);
}
}
completion:^{
NSLog(@"Finished broadcasting.");
}];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment