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

This doesn't work in expo sdk 49 #5

Open
Aycom366 opened this issue Jan 14, 2024 · 2 comments
Open

This doesn't work in expo sdk 49 #5

Aycom366 opened this issue Jan 14, 2024 · 2 comments

Comments

@Aycom366
Copy link

Aycom366 commented Jan 14, 2024

I followed the example project and anytime I run ffmpeg.init(), I'm always greeted with
ffmpegKitConfig.init() Cannot read property 'getLogLevel' of null

This happens both in Android and IOS. Any help will be appreciated because I don't wanna start another project but this time around with react native CLI because of this issue.
Thanks. @dpolyakov

@cdb8987
Copy link

cdb8987 commented Feb 5, 2024

I followed the example project and anytime I run ffmpeg.init(), I'm always greeted with ffmpegKitConfig.init() Cannot read property 'getLogLevel' of null

This happens both in Android and IOS. Any help will be appreciated because I don't wanna start another project but this time around with react native CLI because of this issue. Thanks. @dpolyakov

Did you ever find a solution to this @Aycom366 ? I encounter the same error although I noticed one thing. The first time I attempt to run the code I get:

Possible Unhandled Promise Rejection: TypeError: Cannot read property 'getLogLevel' of null

and the second time I get

Possible Unhandled Promise Rejection: TypeError: Cannot read property 'ffmpegSession' of null

@Aycom366
Copy link
Author

Aycom366 commented Feb 6, 2024

@cdb8987
delete both your Android and Ios folders and build both platforms fresh.

It will work after doing the above

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

2 participants