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

Update ffi to 2.x #334

Closed
2 tasks done
imtoori opened this issue Oct 5, 2022 · 2 comments
Closed
2 tasks done

Update ffi to 2.x #334

imtoori opened this issue Oct 5, 2022 · 2 comments

Comments

@imtoori
Copy link

imtoori commented Oct 5, 2022

Describe the feature you'd like

At the moment the package uses ffi: 1.x and this can cause conflicts with packages using more recent versions of ffi

Additional context
For example: GetStream/stream-chat-flutter#1344

Other details:

  • I confirm this is not a bug in the VLC app & only dart_vlc.
  • I have donated / sponsored dart_vlc.
@MichaelMarner
Copy link

Looking at the changelog, the only difference between ffi 1.0 and 2.0 is an update to the minimum dart version

Switch Windows memory allocation to use CoTaskMemAlloc and CoTaskMemFree, which will enable support for NativeFinalizer. This release requires Dart 2.17.0 or greater.

https://pub.dev/packages/ffi/changelog

@alexmercerind
Copy link
Owner

Apologies for the inactivity. This is a really minor issue & should've been fixed early on.

I have released a new version dart_vlc: ^0.4.0 with required changes & few other fixes.


Thanks for the patience. I've been inactive for some days. Actively updating & maintaining open-source packages (package:dart_vlc & others on my profile) has been very tedious, aside from actual development process & writing code for the project. And... C++ & writing native code is even more time consuming.
I just decided to stop & un-watch my repositories. All this brought no significant benefit (or no benefit at all) to my life, just additional un-appreciated work & more responsibilities. I used to end-up waste a lot of my time daily helping out people & my e-mail also used to get cramped daily. I added few other collaborators on pub.dev & GitHub to keep the maintenance on track, however it's again just me doing it. On the other hand, I've been somewhat dissatisfied with current state of this package & aiming for a more performant video playback solution for Flutter (specifically Windows & Linux are concerned for now). More on that here: #345. Altogether, I completely lost interest.

Yesterday, some kind folks at Stream decided to reach me out on my e-mail (I can see their referenced issues above) & sponsor package:dart_vlc & future improvements that I make for rendering video in Flutter (initially limiting scope to Windows & Linux).
Hoping to make some good improvements to the ecosystem.

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

3 participants