fengjiongmax / fltgst

Use GStreamer in your Flutter project on all supported platforms.
https://www.youtube.com/playlist?list=PLmUt0wXRF1HjsKy2XPPWFvuGA5DKDkpAc
4 stars 2 forks source link

videodisplay on various systems. #7

Open fengjiongmax opened 1 month ago

fengjiongmax commented 1 month ago

This issue tracks my research on how to make Gstreamer work on iOS, macOS, Linux, and Windows ( have made the video display on Android work, see https://github.com/fengjiongmax/fltgst/issues/2#issuecomment-1950242588).

For Apple systems, flutter provides native view implementation in the documents: iOS and macOS, I think it will be similar workflows on Android, see this comment.

For Linux and Windows, my bet is on Texture widget, which is an OpenGL texture implementation, and there is already a project make it work with the native programming language that we can reference:https://github.com/alnitak/flutter_opengl .

I'm currently working on the iOS port, and will update the progress here.

fengjiongmax commented 1 month ago

iOS: Simulator Screenshot - iPhone SE (3rd generation) - 2024-07-18 at 10 25 26 Changes were pushed in commit bf17565272f028ff5071a85884a0b2faede58d99

fengjiongmax commented 1 month ago

working macos port, changes pushed to commit 22089518a974c2f527c5dc993726fb836f895119

Screenshot 2024-07-18 at 17 53 52

fengjiongmax commented 1 month ago

flutter also has official example project on how to use texture: https://github.com/flutter/flutter/tree/master/examples/texture

fengjiongmax commented 1 month ago

And we can reference this repository that uses appsink: https://github.com/hpdragon1618/flutter_gstreamer_player