在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称:Kickflip/kickflip-ios-sdk开源软件地址:https://github.com/Kickflip/kickflip-ios-sdk开源编程语言:Objective-C 83.3%开源软件介绍:Kickflip SDK for iOSThe Kickflip platform provides a complete video broadcasting solution for your iOS application. You can use our pre-built QuickstartThe quickest way to get started will be to fork the Kickflip iOS SDK example. Launch Kickflip's default #import "Kickflip.h"
// Call setup as soon as possible so your users can start streaming right away
[Kickflip setupWithAPIKey:@"API_KEY" secret:@"API_SECRET"];
...
- (void) broadcastButtonPressed:(id)sender {
[Kickflip presentBroadcasterFromViewController:self ready:^(KFStream *stream) {
if (stream.streamURL) {
NSLog(@"Stream is ready at URL: %@", stream.streamURL);
}
} completion:^(BOOL success, NSError* error){
if (!success) {
NSLog(@"Error setting up stream: %@", error);
} else {
NSLog(@"Done broadcasting");
}
}];
} Cocoapods SetupYou'll need to install Cocoapods first. Add the following line to your
Then run Cocoapods to install all of the dependencies:
As with all projects that depend on Cocoapods, make sure to open the new DocumentationFor a closer look at what you do with Kickflip, check out our iOS Documentation and iOS API Reference. We also have some tutorials to help you get started. ScreenshotsLicenseApache 2.0
|
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论