leoru / bdcamera Goto Github PK
View Code? Open in Web Editor NEWBDCamera is a simple camera with AVFoundation
License: MIT License
BDCamera is a simple camera with AVFoundation
License: MIT License
BDCamera creates a capture session that includes non optional audio input. Our app only needs to take photos, however since an audio input is added users are asked for Microphone permission.
clang: error: no such file or directory: '/Users/aaron/Downloads/BDCamera-master/Example/BDCamera/BDCamera-Prefix.pch'
clang: error: no input files
Command /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang failed with exit code 1
Hey Guys...
Not really a library -specific issue here, but figured you might have dealt with this...
I am seeing some crashes in my app with the error message gpus_ReturnNotPermittedKillClient
which is happening on https://github.com/Borodutch/BDCamera/blob/master/BDCamera/BDCamera.m#L406 ... or basically before the call to display
There is an Apple technical note here: https://developer.apple.com/library/ios/qa/qa1766/_index.html
which redirects to a section of the OpenGLES Programming Guide here: https://developer.apple.com/library/ios/documentation/3DDrawing/Conceptual/OpenGLES_ProgrammingGuide/ImplementingaMultitasking-awareOpenGLESApplication/ImplementingaMultitasking-awareOpenGLESApplication.html#//apple_ref/doc/uid/TP40008793-CH5-SW1
Essentially, I feel that the error is being caused by the GPU not being paused before the app is quit / resigned... and the threads lock after the CPU has told the camera to stop capturing... Apple says it is enough to call glFinish() in the AppDelegate...
However, I notice that in https://github.com/Borodutch/BDCamera/blob/master/Example/BDCamera/BDAppDelegate.m you don't seem to call any pause methods / glFinish() at all, nor do you seem to have any lifecycle methods that pause camera capture in your example...
Have you dealt with this issue at all, and if so, do you have any advice on how to best safeguard the thread locking upon pausing the app ?
Thanks...
~ Jesse
Not an issue, it's more a request.
Is it possible to enable video stabilization for video?
Hello,
How can I modify BDCamera code to use it with iOS6 ?
Is it possible?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.