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

fileExistsAtPath returning no #50

Closed
hbmtw opened this issue Aug 10, 2014 · 2 comments
Closed

fileExistsAtPath returning no #50

hbmtw opened this issue Aug 10, 2014 · 2 comments

Comments

@hbmtw
Copy link

hbmtw commented Aug 10, 2014

Hello,

  1. THANKS for all the work :)

  2.    [[NSFileManager defaultManager] fileExistsAtPath:[_recordSession.outputUrl path]]) is returning NO in "finishSession".
    

Is that on purpose?

Thanks in advance.

@rFlex
Copy link
Owner

rFlex commented Aug 14, 2014

Hey

Where did you find that "finishSession" method? I highly recommend to manually export the recordSession when you are done editing using "assetRepresentingRecordSegments" and a SCAssetExportSession (if you are using filters or if you want a fine tuning, otherwise you can use AVAssetExportSession) to merge the record segments.

@rFlex
Copy link
Owner

rFlex commented Aug 23, 2014

I know what you meant now!

In the example, "finishSession" just ends the current record segment and show the result. The "outputUrl" property does not actually link to any file until you decide to merge all the files. Most of the time you may want to use SCAssetExportSession to merge the assets yourself, then you can use the SCRecordSession's "outputUrl" as the "outputUrl" for the SCAssetExportSession.

@rFlex rFlex closed this as completed Aug 23, 2014
danielwilliamson pushed a commit to danielwilliamson/SCRecorder that referenced this issue Mar 18, 2016
bradleyayers added a commit to bradleyayers/SCRecorder that referenced this issue Mar 18, 2016
…d-playback-horizontal-after-capture

rFlex#50 Fixed the rotation issues when recording a loop
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