Skip to content

[Camera]: Proposal to add set path file on startVideoRecording #91680

Closed
flutter/packages
#11774

Description

@webforuse

Use case

Need set path file on start videorecording

Proposal

Activity

  1. darshankawar commented on Oct 13, 2021

    @darshankawar
    Member

    @webforuse
    Can you elaborate your use case in more detail ? What exactly is current limitation ?
    Thanks.

  2. added
    waiting for responseThe Flutter team cannot make further progress on this issue until the original reporter responds
    on Oct 13, 2021
  3. webforuse commented on Oct 13, 2021

    @webforuse
    Author

    Hi
    In Android source code we see

    public void startVideoRecording(@NonNull Result result) { final File outputDir = applicationContext.getCacheDir(); try { captureFile = File.createTempFile("REC", ".mp4", outputDir); } catch (IOException | SecurityException e) { result.error("cannotCreateFile", e.getMessage(), null); return; } try { prepareMediaRecorder(captureFile.getAbsolutePath()); } catch (IOException e) { recordingVideo = false; captureFile = null; result.error("videoRecordingFailed", e.getMessage(), null); return; }

    we request and then save the file to the cache
    final File outputDir = applicationContext.getCacheDir();

    we need to save large amounts of video information to the sd card.
    Here we have to copy this file to the place we need after the recording is finished

  4. removed
    waiting for responseThe Flutter team cannot make further progress on this issue until the original reporter responds
    on Oct 13, 2021
  5. changed the title [-]camera plugin feature request [/-] [+][Camera]: Proposal to add set path file on startVideoRecording[/+] on Oct 14, 2021
  6. added
    platform-androidAndroid applications specifically
    c: proposalA detailed proposal for a change to Flutter
    c: new featureNothing broken; request for a new capability
    and removed
    in triagePresently being triaged by the triage team
    on Oct 14, 2021
  7. added
    P3Issues that are less important to the Flutter project
    on Oct 21, 2021
  8. 5 remaining items

  9. moved this to Not blocking deletion in Deprecating camera_androidon Jul 7, 2025
  10. self-assigned this
    on Sep 11, 2026
  11. moved this from [Non-blocking] Proposals to In Progress in Deprecating camera_androidon Sep 11, 2026
  12. github-actions commented on Oct 8, 2026

    @github-actions

    This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v and a minimal reproduction of the issue.

  13. locked as resolved and limited conversation to collaborators on Oct 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

P3Issues that are less important to the Flutter projectc: new featureNothing broken; request for a new capabilityc: proposalA detailed proposal for a change to Flutterp: cameraThe camera pluginpackageflutter/packages repository. See also p: labels.platform-androidAndroid applications specificallyteam-androidOwned by Android platform teamtriaged-androidTriaged by Android platform team

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions