-
Notifications
You must be signed in to change notification settings - Fork 97
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to fetch credential with identifier #10
Comments
Hmmm what hardware and OS version are you using? Are you using the pull request I just merged? |
I am using a Macbook Pro running OSX 10.9.5. And yes I am using that pull request. I cloned the fork since I was testing it out before you actually pulled it into the repo |
Did you test it without the pull request (e.g. AFNetworking 1.x)? On Thu, Nov 20, 2014 at 1:57 PM, Mark Ian Jackson [email protected]
|
No I haven't, I'll test that out. I also just try using your repo with the pull request, and tried making another app, still the same issue. Does the app name on kickflip.io have to be the same as the actual app name? |
So I tried using the pre-pull request version and I stuff get the same error logged in xcode but I am able to start a stream. But I have the same issue where I am given a link to the video stream but it has a black screen. Once I stop recording I am able to view the video on my phone and on the same link. I am using an iPhone 6 running iOS 8.1. |
I think the main issue is in FFOutputStream.m, finding the h264 codec fails via avcodec_find_encoder_by_name. This is what you get in the console while recording a stream: 2014-11-25 11:54:05.323 Kickflip[1686:60b] codec not found: h264 This means the .ts files are missing, obviously this causes the playback to fail. Chris, is there a quick fix for this? Including x264 would probably fix this, OTOH it's not needed just for muxing to HLS. |
That warning message is harmless, we only use the H.264 hardware codec inside the phone. Don't ever try to use x264 on mobile, you will be very disappointed compared to the hardware encoder. I'll see if I can sort this out soon. There's now an official successor to AFOAuth2Client called AFOAuth2Manager for AFNetworking 2.x. |
You're right in that the warning is harmless, but the trouble is, .ts files are missing (let's continue that discussion here). x264 obviously doesn't make much sense if you can use AVAssetWriter ;) Looking forward to your AFOAuth2Client based solution. |
I have the same error
|
Is there a known fix for this issue? |
A quick fix is to revert the latest pull request merge. Feel free to use my fork. |
@Rlsl88 @rsippl Hey sorry about the delay, I'm going to see if I can sort this out this afternoon with the new AFOAuth2Manager. |
Thanks I'll be sure to check it out! |
Hey Chris I still got this error "codec not found: h264 Facing the same issue that you guys discussed above . After fews seconds of start recording got this Stream is ready at URL: https://d3hvlzuuzo3w9w.cloudfront.net/test_kickflip_1/370gul3ku59n/6377ce0a-18c3-43cf-abe1-1fbbcd43ed28/index.m3u8 But unable to play any live streaming on the above url. Also got some error in between like Error writing packet at streamIndex 0 and PTS 12075708248452: Error Domain=org.ffmpeg.FFmpeg Code=-22 "Invalid argument" UserInfo=0x145d1210 {kFFmpegErrorCode=-22, NSLocalizedDescription=Invalid argument} And here is the Latest manifest: Would you please help me what to do next in order to watching live streaming. Thanks in advance :) |
I am having the same issue as rohit-mobcoder facing with lastest master branch on ios 8.1. |
@rohit-mobcoder I have the same error. Anybody have success getting it to work? |
Also seeing the same issue. Does anyone have the example iOS app working? |
I have the following error : If I go to https://kickflip.io/, i see that the SSL certificate expired yesterday (April 9th at 01:59). Maybe this expiration explains the error ? |
@mdellerie Same issue, I think your suspicion may be true. I get an SSL warning when I go to the web portal. |
Does anyone have a work around for this? The startup I'm working with has a demo today and this puts me up against it >.< Have the founders weighed in? |
I just sent in an e-mail to their Uservoice just to be sure they're aware. |
You can use the following to get around it for now:
|
The SSL cert was renewed on April 9, so please don't set allowInvalidCertificates! @KeithHanson We are aware of the issue you are having and are working on a hotfix right now. Will update when it is resolved. |
Unable to fetch credential with identifier "API_KEY" (Error -25300) I cant find kfsecrets.h in the example project |
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:
I'm assuming this is the reason I can't begin streaming, since when I hit the record button it says,
Not sure what I did incorrectly, just followed the directions as stated.
The text was updated successfully, but these errors were encountered: