Skip to content
This repository has been archived by the owner on Oct 14, 2021. It is now read-only.

Is there a way to set environment variables for FFmpeg? #157

Closed
ozburo opened this issue Jun 18, 2020 · 5 comments
Closed

Is there a way to set environment variables for FFmpeg? #157

ozburo opened this issue Jun 18, 2020 · 5 comments
Assignees
Labels
enhancement New feature or request fixed

Comments

@ozburo
Copy link

ozburo commented Jun 18, 2020

FFmpeg accepts a http_proxy env var so that you don't have to declare it in your args.

Is there a way to set this in Android or Flutter that FFmpeg can find and use?

Perhaps this could be an additional API feature?

Thanks for a great project! 👍

@tanersener tanersener added the enhancement New feature or request label Jun 18, 2020
@tanersener
Copy link
Owner

Android has an internal setNativeEnvironmentVariable function but is not open to public. I can update its visibility in the next release though.

@tanersener tanersener self-assigned this Jun 18, 2020
@ozburo
Copy link
Author

ozburo commented Jun 18, 2020

Thanks for looking into it! I think it would be a great addition if possible 👍

@github-actions
Copy link

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@tanersener
Copy link
Owner

setEnvironmentVariable API method is implemented in the development branch.

@tanersener
Copy link
Owner

Fix released in v0.3.0.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request fixed
Projects
None yet
Development

No branches or pull requests

2 participants