测试已测试 | ✗ |
语言语言 | Obj-CObjective C |
许可 | Apache 2 |
发布最新发布 | 2015年5月 |
由 Chris Ballinger,Chris Ballinger 维护。
依赖 | |
AFNetworking | ~> 2.2 |
AWSS3 | ~> 2.1 |
AFOAuth2Manager | ~> 2.0 |
CocoaLumberjack | ~> 1.0 |
SSKeychain | ~> 1.2 |
FFmpegWrapper | ~> 1.0 |
PureLayout | ~> 2.0 |
Mantle | ~> 1.4 |
SDWebImage | ~> 3.6 |
FormatterKit/TimeIntervalFormatter | ~> 1.4 |
Kickflip 平台为您的 iOS 应用提供完整的视频广播解决方案。您可以使用我们预先构建的 KFBroadcastViewController
,从一行代码开始将直播视频流式传输到您的 Kickflip 账户。查看我们的 Kickflip iOS SDK 示例 以开始使用。
开始最快的途径是将 Kickflip iOS SDK 示例 进行分支。启动 Kickflip 的默认 KFBroadcastViewController
,从您的应用开始直播视频传输。
#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");
}
}];
}
要详细了解您可以使用 Kickflip 做什么,请参阅我们的 iOS 文档 和 iOS API 参考。我们还有一些 教程 帮助您开始。
Apache 2.0
Copyright 2014 OpenWatch, Inc.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.