Skip to content

Can't change camera during video recording #268

@joeldrotleff

Description

@joeldrotleff

I am trying to record a video that starts with the back camera and then continues with the back camera. But after tapping the flip camera button during recording, I get an error message:

Error Domain=AVFoundationErrorDomain Code=-11818 "Recording Stopped" UserInfo={AVErrorRecordingSuccessfullyFinishedKey=true, NSLocalizedDescription=Recording Stopped, NSLocalizedRecoverySuggestion=Stop any other actions using the recording device and try again., AVErrorRecordingFailureDomainKey=1, NSUnderlyingError=0x105d9b3d0 {Error Domain=NSOSStatusErrorDomain Code=-16414 "(null)"}}

Any idea why switching cameras during video recording causes this error, and what can be done about it?

Thanks,
Joel

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions