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

视频录制小于1s,确定后照片数据没有返回! #386

Closed
long-fu opened this issue Jul 2, 2019 · 3 comments
Closed

视频录制小于1s,确定后照片数据没有返回! #386

long-fu opened this issue Jul 2, 2019 · 3 comments

Comments

@long-fu
Copy link

long-fu commented Jul 2, 2019

视频录制小于1s,确定后照片数据没有返回!

@longitachi
Copy link
Owner

是确定后没有返回视频呢,还是没有返回照片呢。 框架里有一个这样的逻辑。

if (CMTimeGetSeconds(output.recordedDuration) < 1) {
        if (self.allowTakePhoto) {
            //视频长度小于1s 允许拍照则拍照,不允许拍照,则保存小于1s的视频
            ZLLoggerDebug(@"视频长度小于1s,按拍照处理");
            [self onTakePicture];
            return;
        }
    }

@long-fu
Copy link
Author

long-fu commented Jul 24, 2019

是这个逻辑,也没有返回照片。

@longitachi
Copy link
Owner

emm,貌似确实是的。我看下

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants