-
Notifications
You must be signed in to change notification settings - Fork 168
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 16 - stopRecordVideo() returns nothing #307
Comments
The same problem. Verified also on Android and there problem not occurs. |
From the source code that I checked, there was some video capturing logic implemented on ios, but it was commented out, so I think it just isn't supported right now.
|
Wow, we must all be on the same page today. Correct, the video recording stuff is commented out. |
commit 92a56a2
|
How do I get this running locally? I'd like to test things out |
Any updates? |
I have tried fixing the issue here: https://github.com/mario-deaconescu/camera-preview |
@mario-deaconescu I reviewed your changes and pulled in your "ios-video-recording" branch. I still don't see any return data / path. Looks like stopRecording may be promise, but I'm not getting data back from a ".then" either. Are you actually seeing an *.mp4 path returning? |
@ttgsgmafe Yes, I am receiving a .mp4 path in Library/Cache. Are you receiving any errors? I tried setting it up such that anything that results in no video throws an error. And if you're actually not receiving anything, does the iOS plugin return a path that's not received by the typescript promise, or is it not even returning anything from the native code? |
Can confirm it works @mario-deaconescu! 🎉 End the recording:
Show the footage:
Thank you! |
@mario-deaconescu @alexandargyurov Thanks for the super quick responses! I figured out my problem. I had manually replaced the "@capacitor-community/camera-preview" with the Git URL, removed the node_modules, and reinstalled. However, it was still pulling the original camera-preview from my package-lock.json. This is awesome! Thanks again! |
i'm having the same issue. I dont get what you guys did to make it work. We are using ionic/angular/capacitor. The function stopRecordVideo() is returning nothing, and also we cant get errors within try catch. Can anyone help ? |
Describe the bug
On iOS, when you call
stopRecordVideo()
, nothing is returned.Expected behavior
Should return a file path or base64 video
Smartphone (please complete the following information):
Additional context
To Native -> CameraPreview stopRecordVideo 105993178
The native function gets called but no response
The text was updated successfully, but these errors were encountered: