remirobert / CameraEngine

:monkey::camera: Camera engine for iOS, written in Swift, above AVFoundation. :monkey:
https://github.com/remirobert/CameraEngine
MIT License
583 stars 106 forks source link

Black preview #42

Closed danielchristopher1 closed 8 years ago

danielchristopher1 commented 8 years ago

Sometimes, the preview will be black once I call engine.startSession() so I have to restart my app and then the preview will load. I would say 1/10 times this happens.

remirobert commented 8 years ago

Are following the same implementation in the example project ?

malomo commented 8 years ago

Same here, in a private project

danielchristopher1 commented 8 years ago

Yes, same implementation.

ltebean commented 8 years ago

Same hereļ¼Œsometimes the preview is black

danielchristopher1 commented 8 years ago

Is this ever going to be fixed?

remirobert commented 8 years ago

I fixed it. Is just had to remove the first frame if it's a sound buffer. Check the next commit with the swift3 update