Comments (11)
Ah this is still hard-coded to use RTMP mode which we are going to push back for the 1.1.x branch. I'll sort this out today!
from kickflip-ios-example.
Cool, thanks! Could you leave a comment when this is updated?
from kickflip-ios-example.
Okay I've updated the SDK to fix that problem. It's still very rough around the edges, but the basic functionality is there. For now it might be best to use the submodule version of the podspec because I'm going to be doing some major development in the next two weeks before shipping our stable release.
from kickflip-ios-example.
Ok cool. How do I go about doing that? Should I download the repo?
from kickflip-ios-example.
Fork the repo then try this:
$ git clone [email protected]:yourfork/kickflip-ios-example.git
$ cd kickflip-ios-example
$ git submodule update --init
$ pod repo update kickflip
$ pod
$ open Kickflip.xcworkspace
from kickflip-ios-example.
Thanks! I just tried a clean build (deleted my repo, forked it and then re-installed with the instructions above) but I get the following new errors:
fatal error: file '/Users/johanndiedrick/Documents/iOS/kickflip/kickflip-ios-example/Pods/Headers/FFmpeg-iOS/libavutil/time.h' has been modified since the precompiled header '/Users/johanndiedrick/Library/Developer/Xcode/DerivedData/ModuleCache/1K77AWNH1I9SN/CoreFoundation.pcm' was built
note: after modifying system headers, please delete the module cache at '/Users/johanndiedrick/Library/Developer/Xcode/DerivedData/ModuleCache/1K77AWNH1I9SN'
1 error generated.
fatal error: file '/Users/johanndiedrick/Documents/iOS/kickflip/kickflip-ios-example/Pods/Headers/FFmpeg-iOS/libavutil/time.h' has been modified since the precompiled header '/Users/johanndiedrick/Library/Developer/Xcode/DerivedData/ModuleCache/1K77AWNH1I9SN/CoreFoundation.pcm' was built
note: after modifying system headers, please delete the module cache at '/Users/johanndiedrick/Library/Developer/Xcode/DerivedData/ModuleCache/1K77AWNH1I9SN'
1 error generated.
///
Here's my install in case I missed something...
geofront:kickflip johanndiedrick$ git clone https://github.com/jdiedrick/kickflip-ios-example.git
Cloning into 'kickflip-ios-example'...
remote: Counting objects: 50, done.
remote: Compressing objects: 100% (31/31), done.
remote: Total 50 (delta 13), reused 50 (delta 13)
Unpacking objects: 100% (50/50), done.
geofront:kickflip johanndiedrick$ cd kickflip-ios-example
geofront:kickflip-ios-example johanndiedrick$ git submodule update --init
Submodule 'Submodules/kickflip-ios-sdk' ([email protected]:Kickflip/kickflip-ios-sdk.git) registered for path 'Submodules/kickflip-ios-sdk'
Cloning into 'Submodules/kickflip-ios-sdk'...
remote: Reusing existing pack: 488, done.
remote: Counting objects: 19, done.
remote: Compressing objects: 100% (17/17), done.
remote: Total 507 (delta 6), reused 0 (delta 0)
Receiving objects: 100% (507/507), 189.83 KiB, done.
Resolving deltas: 100% (275/275), done.
Submodule path 'Submodules/kickflip-ios-sdk': checked out 'd2b9eba803325b5fed055fe480842aea739f4521'
geofront:kickflip-ios-example johanndiedrick$ pod repo update kickflip
Updating spec repo kickflip
Already up-to-date.
geofront:kickflip-ios-example johanndiedrick$ pod
Analyzing dependencies
Fetching podspec for Kickflip
from Submodules/kickflip-ios-sdk/Kickflip.podspec
Downloading dependencies
Installing AFNetworking (1.3.3)
Installing AFOAuth2Client (0.1.2)
Installing AWSiOSSDK (1.7.1)
Installing CocoaLumberjack (1.8.1)
Installing FFmpeg-iOS (2.2)
Installing FFmpegWrapper (1.0)
Using Kickflip (0.9)
Installing OWS3Client (1.0)
Installing SSKeychain (1.2.1)
Generating Pods project
Integrating client project
geofront:kickflip-ios-example johanndiedrick$ open Kickflip.xcworkspace
and some screen shots from xcode:
from kickflip-ios-example.
Huh thats weird, do any of these answers help?
http://stackoverflow.com/questions/18547895/cant-get-rid-of-apple-llvm-5-0-error
This might do the trick:
$ rm -rf ~/Library/Developer/Xcode/DerivedData/ModuleCache/*
from kickflip-ios-example.
Cool that worked. Xcode just needed a clean as well :)
Almost there! After hitting start, I get this message:
2014-03-28 19:12:28.046 KFDemo[24262:60b] codec not found: h264
[mpegts @ 0x173e9600] muxrate VBR, pcr every 3 pkts, sdt every 200, pat/pmt every 40 pkts
After a few seconds I get my stream URL link, but it doesn't seem to work. My browser tries to download a .m3u8 file...
Here's the output in the console:
2014-03-28 19:13:05:729 KFDemo[24262:60b] Stream is ready at URL: http://ch-test-29c466b1-cc55-49ad-8c91-9b4558d1af8e.s3.amazonaws.com/ch-test-29c466b1-cc55-49ad-8c91-9b4558d1af8e-nlz2or/bfe0ed3a-7634-41cb-8f73-5992a376ae96/index.m3u8
from kickflip-ios-example.
So I tried sharing the link via text message and I got the right URL:
https://api.kickflip.io/bfe0ed3a-7634-41cb-8f73-5992a376ae96
Chrome barked at me about being sure I wanted to visit the site (yellow warning screen, screenshot to come if I can get someone to replicate it):
The video looks ok, although it seems to be stuck in landscape mode (my phone is now oriented in portrait):
from kickflip-ios-example.
Awesome, congrats on getting it to work!
We still need to get a proper SSL cert for that domain which is why you see
the warning in Chrome but we'll have that sorted out shortly.
For the time being we only support landscape mode because otherwise it
displays poorly on desktops and TVs, but that may be configurable down the
road.
As far as the direct m3u8 link, that one for playing in the default iOS
media player and should work if you open it in mobile Safari.
Thanks for trying it out, there is a lot of more functionality and
polish on the way. We're excited to see what you can build!
On Friday, March 28, 2014, Johann Diedrick [email protected] wrote:
So I tried sharing the link via text message and I got the right URL:
https://api.kickflip.io/bfe0ed3a-7634-41cb-8f73-5992a376ae96
Chrome barked at me about being sure I wanted to visit the site (yellow
warning screen, screenshot to come if I can get someone to replicate it):The video looks ok, although it seems to be stuck in landscape mode (my
phone is now oriented in portrait):[image: screen shot 2014-03-28 at 7 21 32 pm]https://cloud.githubusercontent.com/assets/1254169/2556304/0600d5d0-b6d0-11e3-8b8a-2b2ad0eca108.png
—
Reply to this email directly or view it on GitHubhttps://github.com//issues/2#issuecomment-38978220
.
from kickflip-ios-example.
Updated the SDK quite a bit since you've last seen it, check it out!
from kickflip-ios-example.
Related Issues (20)
- Probably not-so-secret Client ID and Secret left in KFSecrets.h HOT 1
- Unable to fetch credential with identifier HOT 25
- Uses pre-release version of `CocoaLumberjack` HOT 4
- Cannot delete video HOT 2
- kKFAPIClientErrorDomain, can't start streaming HOT 22
- codec not found: h264various issues cause living streaming failed: (Failed to upload request, requeuing index0.ts: Error Domain=com.amazonaws.iossdk.ClientErrorDomain Code=-1, ) HOT 1
- Video loaded from tableview will not play HOT 1
- Segment upload stops and recording continues
- Duplicate Symbol Issue HOT 2
- Problem with Bolts, AWSTask HOT 1
- Not working on iphone 4s, 5 (ios 9)
- "librtmp/log.h" not found HOT 1
- Pod install from example not functional HOT 4
- Not working on iOS10 HOT 1
- Record error in ios 10.3
- pod requirements error HOT 5
- #import "KFSecrets.h" not found HOT 1
- Short videos don't get uploaded properly HOT 8
- Trouble set up Kickflip IOS example in x-code HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kickflip-ios-example.