neurospeech / xamarin-android-ffmpeg

Xamarin Android FFMpeg binding
MIT License
30 stars 6 forks source link

Include FFMpeg in install #21

Closed Kragrathea closed 6 years ago

Kragrathea commented 6 years ago

I need to be able to run my app when the user is offline. Is there any way to include the ffmpeg binary in the apk and not have to do the download from the CDN? I understand that it should only do it once. But my users are going to be offline when they run my app.

I am curious why it is downloaded at runtime? Aside from the complexity, isn't that a potential security problem

neurospeech commented 6 years ago

The reason we choose to download on first run is, ffmpeg binaries 30mb+, so any change in your tiny app will always require huge publishing and distributing network usage.

On Sat, May 12, 2018 at 11:25 PM Kragrathea notifications@github.com wrote:

I need to be able to run my app when the user is offline. Is there any way to include the ffmpeg binary in the apk and not have to do the download from the CDN? I understand that it should only do it once. But my users are going to be offline when they run my app.

I am curious why it is downloaded at runtime? Aside from the complexity, isn't that a potential security problem

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/neurospeech/xamarin-android-ffmpeg/issues/21, or mute the thread https://github.com/notifications/unsubscribe-auth/ACHX_-XEFalEgnK6Da3Jh9JTMpxdMDy7ks5txyIIgaJpZM4T8gSL .

Kragrathea commented 6 years ago

I guess that makes sense. For my case I will have to live with the file size. I think I can see how to modify it to use local binaries.

Thanks for the quick response!