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

Failed Recording Screen #4

Open
sr-web-dev opened this issue Oct 6, 2017 · 3 comments
Open

Failed Recording Screen #4

sr-web-dev opened this issue Oct 6, 2017 · 3 comments

Comments

@sr-web-dev
Copy link

Hi, How are you?
I developed screen recording app with ReplayKit before and it worked well.
3 days ago, I tested my app but it didn't work.
When I click "Stop" button, it said "Failed Recording" in debug window.
I'd like you to help me this problem.
Thank you

@ggschelling
Copy link

ggschelling commented May 2, 2018

@leeshimin104 @giridharvc7 I experienced the same or at least a similar error which I could resolve by apply this fix ...

if CMSampleBufferDataIsReady(sampleBuffer) {
    DispatchQueue.main.async { [weak self] in
        ...
        ...
    }
}

... which I found here: https://stackoverflow.com/questions/46774237/replaykit-asset-writer-status-fails-randomly

Hopefully this helps (although your post is already half a year old and you might have found another solution in the meantime)

@syedaffanhamdani
Copy link

I have the same issue. Even the above solution did not work.

@fukemy
Copy link

fukemy commented Oct 18, 2021

confirm no working

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

4 participants