Skip to content
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

Add iOS support #39

Open
aisgirish opened this issue Apr 27, 2016 · 2 comments
Open

Add iOS support #39

aisgirish opened this issue Apr 27, 2016 · 2 comments
Labels

Comments

@aisgirish
Copy link

Hi,
I just create new iOS project with ofxVideoRecorder add ons.
I copied code from ofApp.cpp & ofApp.h.

When I run this project it give me following error.

[verbose] ofxiOSSoundStreamDelegate: SoundInputStream :: Unknown (1718449215)
[verbose] ofxiOSSoundStreamDelegate: SoundInputStream :: Unknown (1718449215)
[verbose] Recording.

[ error ] ofxVideoDataWriterThread: 14:26:52:411 - write to PIPE failed with error -> 9 - Bad file descriptor.
[warning] The video recorder failed to write some frames!: 
[warning] The video recorder failed to write some frames!: 
[verbose] ofxVideoRecorder: recDelta = -0.0333333. Too many video frames, skipping.


It can prompt for permission of Camera and Microphone. But not recording video.
Please help. Thanks in advance.

@aisgirish aisgirish changed the title Bad file descriptor In iOS : Bad file descriptor Apr 27, 2016
@timscaffidi
Copy link
Owner

Hi,
Thanks for the bug report! I have never tested this addon with iOS so I cannot say if it will work or not. I am not very familiar with iOS development in general so I can only guess as to what the problem may be. This addon performs many actions via system() calls which rely on unix commands. It may be that some of these commands are not supported on iOS.

I do not have access to an iOS device to test any of this, but that is my best guess right now.

@aisgirish
Copy link
Author

Thanks for reply,
Now, I use ofxiOSVideoWriter for capture screen and store to gallery.

@timscaffidi timscaffidi changed the title In iOS : Bad file descriptor Add iOS support May 12, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants