Coder Social home page Coder Social logo

kickflip / kickflip-ios-example Goto Github PK

View Code? Open in Web Editor NEW
80.0 12.0 97.0 198 KB

Example project for integration of the Kickflip iOS SDK for super easy live broadcasts.

Home Page: http://kickflip.io

License: Apache License 2.0

Objective-C 98.36% Ruby 1.64%

kickflip-ios-example's Introduction

kickflip-ios-example

kickflip app screenshot kickflip live broadcast screenshot kickflip live consumption screenshot

Screenshots Gallery

Example project for integration of the Kickflip iOS SDK for super easy live broadcasts. We have an example project for Android as well.

Cocoapods Setup

You'll need to install Cocoapods first.

Compiling

Grab the source code, and then update the dependencies.

$ git clone [email protected]:Kickflip/kickflip-ios-example.git
$ cd kickflip-ios-example
$ git submodule update --init
$ pod install

If you would like to make modifications to the core SDK, you can integrate the SDK as a submodule as well (check the Podfile for more info).

As with all projects that depend on Cocoapods, make sure to open the Kickflip.xcworkspace file, not the .xcodeproj file.

KFSecrets.h

You'll need to sign up, make a new app, and then put your API keys from and put them in a file called KFSecrets.h with the following contents:

#define KICKFLIP_API_KEY @"Client ID from kickflip.io"
#define KICKFLIP_API_SECRET @"Client Secret from kickflip.io"

Documentation

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

License

Apache 2.0

Attribution

kickflip-ios-example's People

Contributors

chrisballinger avatar ijameelkhan avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

kickflip-ios-example's Issues

codec not found: h264various issues cause living streaming failed: (Failed to upload request, requeuing index0.ts: Error Domain=com.amazonaws.iossdk.ClientErrorDomain Code=-1, )

2015-04-06 13:03:56.175 Kickflip[4753:1707443] Unable to fetch credential with identifier "=stFD3bFOMxu1xRNhLf0VwFhdiRqL57N18_A=kiO" (Error -25300)
2015-04-06 13:03:56.180 Kickflip[4753:1707443] Unable to fetch credential with identifier "=stFD3bFOMxu1xRNhLf0VwFhdiRqL57N18_A=kiO" (Error -25300)
2015-04-06 13:03:56.379 Kickflip[4753:1707443] Unable to fetch credential with identifier "=stFD3bFOMxu1xRNhLf0VwFhdiRqL57N18_A=kiO" (Error -25300)
2015-04-06 13:03:56.382 Kickflip[4753:1707443] Unable to fetch credential with identifier "=stFD3bFOMxu1xRNhLf0VwFhdiRqL57N18_A=kiO" (Error -25300)
2015-04-06 13:03:56.859 Kickflip[4753:1707443] Unable to fetch credential with identifier "=stFD3bFOMxu1xRNhLf0VwFhdiRqL57N18_A=kiO" (Error -25300)
2015-04-06 13:04:28.486 Kickflip[4753:1707443] codec not found: h264
[mpegts @ 0x1280a1400] muxrate VBR, pcr every 3 pkts, sdt every 200, pat/pmt every 40 pkts
2015-04-06 13:05:09:365 Kickflip[4753:7b0f] Failed to upload request, requeuing index0.ts: Error Domain=com.amazonaws.iossdk.ClientErrorDomain Code=-1 "The operation couldn’t be completed. (com.amazonaws.iossdk.ClientErrorDomain error -1.)" UserInfo=0x174464280 {message=Request timed out., exception=Request timed out.}
2015-04-06 13:05:09:371 Kickflip[4753:7b0f] Failed to upload request, requeuing thumb.jpg: Error Domain=com.amazonaws.iossdk.ClientErrorDomain Code=-1 "The operation couldn’t be completed. (com.amazonaws.iossdk.ClientErrorDomain error -1.)" UserInfo=0x170464140 {message=Request timed out., exception=Request timed out.}
2015-04-06 13:05:09:372 Kickflip[4753:7b0f] Failed to upload request, requeuing thumb.jpg: Error Domain=com.amazonaws.iossdk.ClientErrorDomain Code=-1 "The operation couldn’t be completed. (com.amazonaws.iossdk.ClientErrorDomain error -1.)" UserInfo=0x174262480 {message=Request timed out., exception=Request timed out.}
2015-04-06 13:05:21.084 Kickflip[4753:1707443] S3Response.m|-[S3Response connection:didFailWithError:]|231|UserInfo.NSErrorFailingURLStringKey = https://kick-us-east-1.s3.amazonaws.com/jingtest3%2F0v31u0980s8d%2F90db84c8-01e3-4212-8663-e81c8c6377e4%2Fthumb.jpg
2015-04-06 13:05:21.085 Kickflip[4753:1707443] S3Response.m|-[S3Response connection:didFailWithError:]|231|UserInfo.NSErrorFailingURLKey = https://kick-us-east-1.s3.amazonaws.com/jingtest3%2F0v31u0980s8d%2F90db84c8-01e3-4212-8663-e81c8c6377e4%2Fthumb.jpg
2015-04-06 13:05:21.086 Kickflip[4753:1707443] S3Response.m|-[S3Response connection:didFailWithError:]|231|UserInfo._kCFStreamErrorCodeKey = 2
2015-04-06 13:05:21.088 Kickflip[4753:1707443] S3Response.m|-[S3Response connection:didFailWithError:]|231|UserInfo._kCFStreamErrorDomainKey = 1
2015-04-06 13:05:21.104 Kickflip[4753:1707443] S3Response.m|-[S3Response connection:didFailWithError:]|234|An error occured in the request: Error Domain=NSPOSIXErrorDomain Code=2 "The operation couldn’t be completed. No such file or directory" UserInfo=0x170078c00 {NSErrorFailingURLStringKey=https://kick-us-east-1.s3.amazonaws.com/jingtest3%2F0v31u0980s8d%2F90db84c8-01e3-4212-8663-e81c8c6377e4%2Fthumb.jpg, NSErrorFailingURLKey=https://kick-us-east-1.s3.amazonaws.com/jingtest3%2F0v31u0980s8d%2F90db84c8-01e3-4212-8663-e81c8c6377e4%2Fthumb.jpg, _kCFStreamErrorCodeKey=2, _kCFStreamErrorDomainKey=1}
2015-04-06 13:05:21:129 Kickflip[4753:1d07] Failed to upload request, requeuing thumb.jpg: Error Domain=NSPOSIXErrorDomain Code=2 "The operation couldn’t be completed. No such file or directory" UserInfo=0x170078c00 {NSErrorFailingURLStringKey=https://kick-us-east-1.s3.amazonaws.com/jingtest3%2F0v31u0980s8d%2F90db84c8-01e3-4212-8663-e81c8c6377e4%2Fthumb.jpg, NSErrorFailingURLKey=https://kick-us-east-1.s3.amazonaws.com/jingtest3%2F0v31u0980s8d%2F90db84c8-01e3-4212-8663-e81c8c6377e4%2Fthumb.jpg, _kCFStreamErrorCodeKey=2, _kCFStreamErrorDomainKey=1}
2015-04-06 13:05:28:697 Kickflip[4753:807] Updated stream thumbnail: http://kick-us-east-1.s3.amazonaws.com/jingtest3/0v31u0980s8d/90db84c8-01e3-4212-8663-e81c8c6377e4/thumb.jpg
2015-04-06 13:05:31:463 Kickflip[4753:1d07] Error removing thumbnail: Error Domain=NSCocoaErrorDomain Code=4 "The operation couldn’t be completed. (Cocoa error 4.)" UserInfo=0x17446bd40 {NSFilePath=/var/mobile/Containers/Data/Application/2C416CBC-1B5F-4F39-920C-9360E78A0BFD/Documents/90db84c8-01e3-4212-8663-e81c8c6377e4.hls/thumb.jpg, NSUserStringVariant=(
Remove
), NSUnderlyingError=0x174057280 "The operation couldn’t be completed. No such file or directory"}
2015-04-06 13:05:31:737 Kickflip[4753:807] Updated stream thumbnail: http://kick-us-east-1.s3.amazonaws.com/jingtest3/0v31u0980s8d/90db84c8-01e3-4212-8663-e81c8c6377e4/thumb.jpg
2015-04-06 13:05:32:949 Kickflip[4753:bb07] Error removing thumbnail: Error Domain=NSCocoaErrorDomain Code=4 "The operation couldn’t be completed. (Cocoa error 4.)" UserInfo=0x1704644c0 {NSFilePath=/var/mobile/Containers/Data/Application/2C416CBC-1B5F-4F39-920C-9360E78A0BFD/Documents/90db84c8-01e3-4212-8663-e81c8c6377e4.hls/thumb.jpg, NSUserStringVariant=(
Remove
), NSUnderlyingError=0x17005a0a0 "The operation couldn’t be completed. No such file or directory"}
2015-04-06 13:05:33:237 Kickflip[4753:807] Updated stream thumbnail: http://kick-us-east-1.s3.amazonaws.com/jingtest3/0v31u0980s8d/90db84c8-01e3-4212-8663-e81c8c6377e4/thumb.jpg
2015-04-06 13:06:09:252 Kickflip[4753:807] Done broadcasting
2015-04-06 13:06:09:253 Kickflip[4753:bb77] final manifest snapshot: #EXTM3U

EXT-X-VERSION:3

EXT-X-TARGETDURATION:10

EXT-X-MEDIA-SEQUENCE:5

EXTINF:10,

index5.ts

EXTINF:10,

index6.ts

EXTINF:10,

index7.ts

EXTINF:10,

index8.ts

EXTINF:10,

index9.ts

EXT-X-ENDLIST

2015-04-06 13:06:09:254 Kickflip[4753:bb77] Latest manifest:

EXTM3U

EXT-X-VERSION:3

EXT-X-TARGETDURATION:11

EXT-X-PLAYLIST-TYPE:VOD

EXT-X-MEDIA-SEQUENCE:0

EXTINF:11,

index0.ts

EXTINF:10,

index1.ts

EXTINF:10,

index2.ts

EXTINF:10,

index3.ts

EXTINF:10,

index5.ts

EXTINF:10,

index6.ts

EXTINF:10,

index7.ts

EXTINF:10,

index8.ts

EXTINF:10,

index9.ts

EXT-X-ENDLIST

Not working on iphone 4s, 5 (ios 9)

Hi Kicklip founder,

I tried kickflip iOS with iphone 4s, iphone 5 (ios 9)to create the live stream to client but it failed. client can see the link of streaming media and the i click to the link, there's nothing happens.

But when i tried with iphone 5, iphone 6 (ios 8.4) it works well, and iphone 5 can streaming only first video, another record still can't see nothing.

I paste the log of iphone 4s ios 9 here, so what's issue and can you fix this ?

The log content is:

2015-12-09 18:04:12.934 Kickflip[491:67727] codec not found: h264
[mpegts @ 0x17321c00] muxrate VBR, pcr every 3 pkts, sdt every 200, pat/pmt every 40 pkts
2015-12-09 18:05:05:170 Kickflip[491:907] Updated stream thumbnail: http://kick-ap-southeast-1.s3.amazonaws.com/realestatetube/4uzri26hgqas/d0f163ce-b2ec-4cb9-be9b-24fe4d977fec/thumb.jpg
2015-12-09 18:05:06.134 Kickflip[491:68336] AWSiOSSDKv2 [Error] AWSURLSessionManager.m line:260 | -[AWSURLSessionManager URLSession:task:didCompleteWithError:] | Session task failed with error: Error Domain=NSURLErrorDomain Code=-1 "unknown error" UserInfo={NSErrorFailingURLStringKey=https://s3-ap-southeast-1.amazonaws.com/kick-ap-southeast-1/realestatetube/4uzri26hgqas/d0f163ce-b2ec-4cb9-be9b-24fe4d977fec/thumb.jpg, _kCFStreamErrorCodeKey=-1, NSErrorFailingURLKey=https://s3-ap-southeast-1.amazonaws.com/kick-ap-southeast-1/realestatetube/4uzri26hgqas/d0f163ce-b2ec-4cb9-be9b-24fe4d977fec/thumb.jpg, NSLocalizedDescription=unknown error, _kCFStreamErrorDomainKey=-1, NSUnderlyingError=0x166adab0 {Error Domain=kCFErrorDomainCFNetwork Code=-998 "(null)" UserInfo={_kCFStreamErrorDomainKey=-1, _kCFStreamErrorCodeKey=-1}}}
2015-12-09 18:05:06:271 Kickflip[491:991f] Failed to upload request, requeuing thumb.jpg: Error Domain=NSCocoaErrorDomain Code=260 "The file “thumb.jpg” couldn’t be opened because there is no such file." UserInfo={NSURL=file:///var/mobile/Containers/Data/Application/097C7F4B-38E2-4CB3-836C-84C4C89A3C90/Documents/d0f163ce-b2ec-4cb9-be9b-24fe4d977fec.hls/thumb.jpg, NSFilePath=/var/mobile/Containers/Data/Application/097C7F4B-38E2-4CB3-836C-84C4C89A3C90/Documents/d0f163ce-b2ec-4cb9-be9b-24fe4d977fec.hls/thumb.jpg, NSUnderlyingError=0x16601a70 {Error Domain=NSPOSIXErrorDomain Code=2 "No such file or directory"}}
2015-12-09 18:05:06:277 Kickflip[491:991f] Error removing thumbnail: Error Domain=NSCocoaErrorDomain Code=4 "“thumb.jpg” couldn’t be removed." UserInfo={NSUnderlyingError=0x16601f80 {Error Domain=NSPOSIXErrorDomain Code=2 "No such file or directory"}, NSFilePath=/var/mobile/Containers/Data/Application/097C7F4B-38E2-4CB3-836C-84C4C89A3C90/Documents/d0f163ce-b2ec-4cb9-be9b-24fe4d977fec.hls/thumb.jpg, NSUserStringVariant=(
Remove
)}
2015-12-09 18:05:08:182 Kickflip[491:907] Updated stream thumbnail: http://kick-ap-southeast-1.s3.amazonaws.com/realestatetube/4uzri26hgqas/d0f163ce-b2ec-4cb9-be9b-24fe4d977fec/thumb.jpg
2015-12-09 18:05:35:919 Kickflip[491:af2b] Error removing thumbnail: Error Domain=NSCocoaErrorDomain Code=4 "“thumb.jpg” couldn’t be removed." UserInfo={NSUnderlyingError=0x1795a080 {Error Domain=NSPOSIXErrorDomain Code=2 "No such file or directory"}, NSFilePath=/var/mobile/Containers/Data/Application/097C7F4B-38E2-4CB3-836C-84C4C89A3C90/Documents/d0f163ce-b2ec-4cb9-be9b-24fe4d977fec.hls/thumb.jpg, NSUserStringVariant=(
Remove
)}
2015-12-09 18:05:36:035 Kickflip[491:392f] Error removing thumbnail: Error Domain=NSCocoaErrorDomain Code=4 "“thumb.jpg” couldn’t be removed." UserInfo={NSUnderlyingError=0x1660ab80 {Error Domain=NSPOSIXErrorDomain Code=2 "No such file or directory"}, NSFilePath=/var/mobile/Containers/Data/Application/097C7F4B-38E2-4CB3-836C-84C4C89A3C90/Documents/d0f163ce-b2ec-4cb9-be9b-24fe4d977fec.hls/thumb.jpg, NSUserStringVariant=(
Remove
)}
2015-12-09 18:05:36:404 Kickflip[491:907] Updated stream thumbnail: http://kick-ap-southeast-1.s3.amazonaws.com/realestatetube/4uzri26hgqas/d0f163ce-b2ec-4cb9-be9b-24fe4d977fec/thumb.jpg
2015-12-09 18:05:37:389 Kickflip[491:907] Updated stream thumbnail: http://kick-ap-southeast-1.s3.amazonaws.com/realestatetube/4uzri26hgqas/d0f163ce-b2ec-4cb9-be9b-24fe4d977fec/thumb.jpg

Problem with Bolts, AWSTask

Trying to run the example as is. Xcode Version 7.1.1 (7B1005), December 2015

First got a "File not found" for in KFAWSCredentialsProvider.m for #import <Bolts/BFTask.h>

Adding pod 'Bolts' to Podfile fixed this.

Now getting error Expected a type on line 42 of KFAWSCredentialsProvider.h

- (AWSTask *)refresh;

It doesn't know what a AWSTask is, it seems.

Duplicate Symbol Issue

Hi KickFlip team I like your Product, In future we will have plan to buy this, i am testing Kickflip in my project and I got this Error paste.ubuntu.com/12637254/
Please check this Error log, and i am using Facebook Framework in my project, and this is conflict with BFUrl.h please check this error and Reply us ASAP,

kKFAPIClientErrorDomain, can't start streaming

2015-03-26 23:40:35:115 Kickflip[589:807] Error pre-fetching new user: Error Domain=kKFAPIClientErrorDomain Code=105 "The operation couldn’t be completed. (kKFAPIClientErrorDomain error 105.)" UserInfo=0x17026c980 {success=false, reason='NoneType' object has no attribute 'getitem'}
2015-03-26 23:40:35:117 Kickflip[589:807] Error fetching all streams: Error Domain=kKFAPIClientErrorDomain Code=105 "The operation couldn’t be completed. (kKFAPIClientErrorDomain error 105.)" UserInfo=0x17407e800 {success=false, reason='NoneType' object has no attribute 'getitem'}
2015-03-26 23:40:35:117 Kickflip[589:807] Error fetching all streams: Error Domain=kKFAPIClientErrorDomain Code=105 "Fetch an active user first" UserInfo=0x170274740 {NSLocalizedDescription=Fetch an active user first}
2015-03-26 23:40:35:363 Kickflip[589:807] Error fetching all streams: Error Domain=kKFAPIClientErrorDomain Code=105 "The operation couldn’t be completed. (kKFAPIClientErrorDomain error 105.)" UserInfo=0x174079480 {success=false, reason='NoneType' object has no attribute 'getitem'}
2015-03-26 23:40:35:363 Kickflip[589:807] Error fetching all streams: Error Domain=kKFAPIClientErrorDomain Code=105 "Fetch an active user first" UserInfo=0x174271180 {NSLocalizedDescription=Fetch an active user first}

Note:
this issue is report and close on 1.1 for issue #10 , but with latest 1.2 build, I still see this issue

"librtmp/log.h" not found

"librtmp/log.h" not found

XCode 7.2.1
iPhone6, iOS9.2 trying to build to device
Ran pod install on Example and using the workspace file

Unable to fetch credential with identifier

I signed up to test out the example app and defined the constants that were my API Key and secret, but when the app launches it logs out:

Kickflip[4820:1727535] Unable to fetch credential with identifier "?FoNm4MmELaZRk=!Ws7_QZMBfyauoqp-tue5l-Ys" (Error -25300)

I'm assuming this is the reason I can't begin streaming, since when I hit the record button it says,

Stream Start Error
Error starting stream: unsupported URL

Not sure what I did incorrectly, just followed the directions as stated.

Not working on iOS10

Hi, i am using this below code to start the broadcast, which actually start the broadcast on device, but in console gives error:

Code to start broadcasr:
[Kickflip presentBroadcasterFromViewController:self ready:^(KFStream stream) {
if (stream.streamURL) {
bstream = stream;
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");
}
}];

Console errors:
[KFAWSCredentialsProvider credentials]: unrecognized selector sent to instance 0x17444b4c0
2016-12-30 11:20:01.553694 LittleStar[600:102235] -[KFAWSCredentialsProvider credentials]: unrecognized selector sent to instance 0x17444b4c0
[hls @ 0x10211fa00] EXT-X-MEDIA-SEQUENCE:0
2016-12-30 11:20:11.483984 LittleStar[600:102682] -[KFAWSCredentialsProvider credentials]: unrecognized selector sent to instance 0x17444b4c0
2016-12-30 11:20:11.503410 LittleStar[600:102682] -[KFAWSCredentialsProvider credentials]: unrecognized selector sent to instance 0x17444b4c0
2016-12-30 11:20:11.513940 LittleStar[600:102682] -[KFAWSCredentialsProvider credentials]: unrecognized selector sent to instance 0x17444b4c0
[hls @ 0x10211fa00] EXT-X-MEDIA-SEQUENCE:0
2016-12-30 11:20:21.548701 LittleStar[600:103042] -[KFAWSCredentialsProvider credentials]: unrecognized selector sent to instance 0x17444b4c0
2016-12-30 11:20:21.573707 LittleStar[600:103042] -[KFAWSCredentialsProvider credentials]: unrecognized selector sent to instance 0x17444b4c0
[hls @ 0x10211fa00] EXT-X-MEDIA-SEQUENCE:0
2016-12-30 11:20:24.770127 LittleStar[600:103042] -[KFAWSCredentialsProvider credentials]: unrecognized selector sent to instance 0x17444b4c0
2016-12-30 11:20:24.790692 LittleStar[600:102121] Done broadcasting
2016-12-30 11:20:24.798276 LittleStar[600:102744] -[KFAWSCredentialsProvider credentials]: unrecognized selector sent to instance 0x17444b4c0

pod requirements error

[!] Unable to satisfy the following requirements:

  • Kickflip (fromSubmodules/kickflip-ios-sdk/Kickflip.podspec) required by Podfile

Error broadcasting

When trying to broadcast with the default KFSecrets.h Client ID and Client Secret, I get this error:

2014-03-28 11:44:14.765 KFDemo[23974:60b] codec not found: h264
Parsing...
Parsed protocol: 0
Parsed host : live31.us-va.zencoder.io
Parsed app : live

This is after I hit the "Broadcast" button, then the "Start" button. The video comes up fine on the device.

After letting the app run for a few minutes, I get this error:

RTMP_Connect0, failed to connect socket. 60 (Operation timed out)
2014-03-28 11:45:29:968 KFDemo[23974:60b] Error preparing for writing: Error Domain=org.ffmpeg.FFmpeg Code=-1313558101 "Unknown error occurred" UserInfo=0x166a0090 {kFFmpegErrorCode=-1313558101, NSLocalizedDescription=Unknown error occurred}
(lldb)

Trying with my own Client ID and Secret, I get this error:

2014-03-28 11:49:02.936 KFDemo[23998:60b] codec not found: h264
Parsing...
Parsed protocol: 0
Parsed host : live31.us-va.zencoder.io
Parsed app : live

I get the same "Operation timed out" error with this as well after a minute or two.

RTMP_Connect0, failed to connect socket. 60 (Operation timed out)
2014-03-28 11:50:18:141 KFDemo[23998:60b] Error preparing for writing: Error Domain=org.ffmpeg.FFmpeg Code=-1313558101 "Unknown error occurred" UserInfo=0x1758aa00 {kFFmpegErrorCode=-1313558101, NSLocalizedDescription=Unknown error occurred}
(lldb)

Let me know what you think!

Pod install from example not functional

I recieve this issue following explicitly your example instruction during the pod install portion. I did notice during the initial pod install it ran awhile for some major updates from, so not sure if any updates have altered how the podspec file should be laid out.

DigiDs-MacBook-Air:kickflip-ios-example digid$ pod install
Re-creating CocoaPods due to major version update.
Analyzing dependencies
[!] The dependency Kickflip (fromSubmodules/kickflip-ios-sdk/Kickflip.podspec) is not used in any concrete target.
The dependency YapDatabase (~> 2.5) is not used in any concrete target.
The dependency SSPullToRefresh (~> 1.2) is not used in any concrete target.
The dependency UIAlertView-Blocks (~> 1.0) is not used in any concrete target.
The dependency VTAcknowledgementsViewController (~> 0.10) is not used in any concrete target.
The dependency BButton (~> 4.0) is not used in any concrete target.
DigiDs-MacBook-Air:kickflip-ios-example digid$

Video loaded from tableview will not play

Hi,

When I tap a video in the tableview the popover movie player does load however it never plays and the tableview pops up instantly hiding the movie player. How can I get the videos to play? I have tested with videos about 6 minutes in length.

Thanks,

Gerard

Cannot delete video

Delete functionality is not implemented. tried to pass "deleted":true to the metadata change api but nothing happened.

Any way we can delete streams?

Record error in ios 10.3

When I hit the record button, it says

Stream Start Error
Error starting stream: Request failed:
service unavailable(503)

Uses pre-release version of `CocoaLumberjack`

Error after running pod install:
[!] Due to the previous naïve CocoaPods resolver, you were using a pre-release version of CocoaLumberjack, without explicitly asking for a pre-release version, which now leads to a conflict. Please decide to either use that pre-release version by adding the version requirement to your Podfile (e.g. pod 'CocoaLumberjack', '= 2.0.0-beta3') or revert to a stable version by running pod update CocoaLumberjack.'

I tried both adding the version requirement and reverting to a stable version...
Adding the version requirement results in this error when running pod install:
[!] Unable to satisfy the following requirements:

  • CocoaLumberjack (= 2.0.0-beta3) required by Podfile
  • CocoaLumberjack (= 2.0.0-beta3) required by Podfile.lock
  • CocoaLumberjack required by Kickflip (1.1)
  • CocoaLumberjack (~> 1) required by YapDatabase/common (2.5.3)

Updating to the latest version results in this error when running pod install:
[!] UIView+AutoLayout has been deprecated in favor of PureLayout

pod update then trying to run with Xcode results in several errors:
The file “Pods.debug.xcconfig” couldn’t be opened because there is no such file. (kickflip-ios-example/Pods/Target Support Files/Pods/Pods.debug.xcconfig)

diff: /../Podfile.lock: No such file or directory
diff: /Manifest.lock: No such file or directory
error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.

KickFlip/kickflip-ios-example/Pods/Headers/Public/FFmpeg/libavutil/time.h' has been modified since the precompiled header '/Users/453209/Library/Developer/Xcode/DerivedData/Kickflip-abzgqvlwatwzqigykvmelfuqkmpo/Build/Intermediates/PrecompiledHeaders/Pods-BButton-prefix-gahamyasqqctnuaftzksrcqmfeun/Pods-BButton-prefix.pch.pch' was built

Cleaning the project fixes all of these issue except the last (time.h has been modified since the precompiled header Pods-AFNetworking-prefix.pch.pch was built)

This is where I am stuck. I cannot run the iOS example at all.

Segment upload stops and recording continues

Segment upload stops but manifest is updated at the end, resulting in partially empty video. This is the log:

2015-07-08 09:44:59:770 Kickflip[203:ba97] Skipping upload of ts file currently being recorded: {
    fileName = "index152.ts";
    manifest = "#EXTM3U\n#EXT-X-VERSION:3\n#EXT-X-TARGETDURATION:11\n#EXT-X-MEDIA-SEQUENCE:147\n#EXTINF:11,\nindex147.ts\n#EXTINF:11,\nindex148.ts\n#EXTINF:6,\nindex149.ts\n#EXTINF:11,\nindex150.ts\n#EXTINF:11,\nindex151.ts\n";
    startDate = "2015-07-08 07:44:58 +0000";
} (
    "index.m3u8",
    "index152.ts"
)
2015-07-08 09:44:59:771 Kickflip[203:b007] Uploaded segment http://kick-eu-west-1.s3.amazonaws.com/ies_test/pa2mx7qm43b1/887e74c9-8e41-4f62-9ddf-dfce147989dc/index151.ts @ 52.782095 KB/s, numberOfQueuedSegments 1
2015-07-08 09:45:10:645 Kickflip[203:bec3] Failed to upload request, requeuing index152.ts: Error Domain=com.amazonaws.AWSGeneralErrorDomain Code=3 "The operation couldn’t be completed. (com.amazonaws.AWSGeneralErrorDomain error 3.)" UserInfo=0x1924ce40 {AWSAccessKeyId=ASIAIDXUVFVS2673ODBA, SignatureProvided=7f07fa3fd87d23231ec6aeb89a4aee4c3e618087c8b914055780abd82fe5ebdf, StringToSignBytes=41 57 53 34 2d 48 4d 41 43 2d 53 48 41 32 35 36 2d 50 41 59 4c 4f 41 44 0a 32 30 31 35 30 37 30 38 54 30 37 34 35 30 39 5a 0a 32 30 31 35 30 37 30 38 2f 65 75 2d 77 65 73 74 2d 31 2f 73 33 2f 61 77 73 34 5f 72 65 71 75 65 73 74 0a 36 38 64 61 34 63 65 66 33 32 37 30 65 32 64 65 39 65 62 39 39 38 61 61 63 32 62 31 34 64 65 35 65 31 36 38 65 30 65 39 39 66 37 37 39 63 36 33 33 62 35 33 62 39 30 39 39 61 62 35 34 61 32 33 0a 65 33 62 30 63 34 34 32 39 38 66 63 31 63 31 34 39 61 66 62 66 34 63 38 39 39 36 66 62 39 32 34 32 37 61 65 34 31 65 34 36 34 39 62 39 33 34 63 61 34 39 35 39 39 31 62 37 38 35 32 62 38 35 35 0a 37 61 37 31 65 32 35 66 37 66 30 39 34 32 30 65 62 30 37 34 38 30 37 62 63 62 65 31 39 39 32 32 31 30 39 65 65 33 63 62 34 61 36 62 39 39 64 61 64 36 39 32 66 61 30 35 39 36 33 31 63 33 37 62, RequestId=93C537A4C41E7241, StringToSign=AWS4-HMAC-SHA256-PAYLOAD
20150708T074509Z
20150708/eu-west-1/s3/aws4_request
68da4cef3270e2de9eb998aac2b14de5e168e0e99f779c633b53b9099ab54a23
e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
7a71e25f7f09420eb074807bcbe19922109ee3cb4a6b99dad692fa059631c37b, Code=SignatureDoesNotMatch, HostId=7NgdR+2KnYk+hFmXeo9Kmbc2fKZEzeLwCYB4itjt0Yj+zvK2yu44olyn3jrhK5bEEJgk81eFsAc=, Message=The request signature we calculated does not match the signature you provided. Check your key and signing method.}
2015-07-08 10:22:12:055 Kickflip[203:807] Done broadcasting
2015-07-08 10:22:12:063 Kickflip[203:a777] final manifest snapshot: #EXTM3U
#EXT-X-VERSION:3
#EXT-X-TARGETDURATION:10
#EXT-X-MEDIA-SEQUENCE:371
#EXTINF:10,
index371.ts
#EXTINF:10,
index372.ts
#EXTINF:10,
index373.ts
#EXTINF:10,
index374.ts
#EXTINF:5,
index375.ts
#EXT-X-ENDLIST

#import "KFSecrets.h" not found

Cloned the repo , git init sub modules and pods install. and i cant run the example project. Any ideas ? i am using xcode 6.1

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.