yasirkula / UnityNativeCamera

A native Unity plugin to take pictures/record videos with device camera on Android & iOS
MIT License
615 stars 71 forks source link

Is there any way to record a video without sound? #76

Closed RobinReiner closed 3 years ago

RobinReiner commented 3 years ago

Hello, thank you for the development of UnityNativeCamera. Is there any way to mute the recorded video by an option before or after recording? We have an use case where we don't want to record the audio.

Thanks

yasirkula commented 3 years ago

On which platforms do you want this feature?

RobinReiner commented 3 years ago

Our application runs on android, ios and windows. For windows, we use a different plugin for recording, but it doesn't have the feature on board either.

yasirkula commented 3 years ago

This plugin uses ACTION_VIDEO_CAPTURE Intent on Android and UIImagePickerController class on iOS. I've googled your issue for each platform. I've come to the conclusion that the only reliable way to achieve this is to strip the video's audio AFTER it is recorded by post-processing the video.

Here are some native solutions:

I unfortunately won't be adding this feature.

RobinReiner commented 3 years ago

Thank you for the support and the quick feedback. Understandable, thought there may already be a way natively. Kind Regards