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

iOS still not getting data from stopRecordVideo() #334

Open
stickypages opened this issue May 4, 2024 · 4 comments
Open

iOS still not getting data from stopRecordVideo() #334

stickypages opened this issue May 4, 2024 · 4 comments

Comments

@stickypages
Copy link

Describe the bug
I'm trying to get the video file, works on Android, but not on iOS. I noticed some others saying it wasn't working. Still getting 'empty'. Has there been any changes to this?

Smartphone (please complete the following information):

  • iOS

Additional context
I have tried to wrap this code in a try{} but nothing get's caught.
I get the first log, but not the others.

Hoping for some direction.

`console.log('[camera] Try getting video file path');

const result = await CameraPreview.stopRecordVideo()
const fileName = result.value.substring(result.value.lastIndexOf("/") + 1);
console.log('[camera] fileName: ', fileName); // << Does not log this
console.log('[camera] Result: ', result); // << Does not log this`

@asorteberg
Copy link

I appear to be having the same issue.

@maximilien0405
Copy link

Same issue for me ! On IOS i get nothing in response :/
@arielhernandezmusa @pbowyer

@maximilien0405
Copy link

maximilien0405 commented Jun 18, 2024

@asorteberg @stickypages Hey so since it seems like this plugin is not currently maintained, there is this new plugin called capacitor-community/video-recorder that works pretty well. It was made to fix all of the issues of this plugin related to video recording.

https://github.com/capacitor-community/video-recorder

@wijzijnweb
Copy link

Same here.
Also mentioned here: #307

Someone has fixed this for capacitor 5, but still no fix for this package.
There is still a open pull request

#308

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