-
Notifications
You must be signed in to change notification settings - Fork 991
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
Feature Android SurfaceView #1046
base: master
Are you sure you want to change the base?
Conversation
f1fd973
to
b100ef0
Compare
Hi @FlutterSu! I'm tryin to test your feature but i'm getting the following error when running the example app
Any hints? I need to do something else to get this working? |
Hi! Are you running the better_player example? Can you provide more detail? |
the error occurs in the DRM page from the better_player example, but in my app with my own drm implementation is running fine. Thanks for the work. |
Hi! I get a issue when release mode Platform view hasn't been initialized from the platform view channel. |
Hello @FlutterSu would you be able to look at this feature request? #1066 I was just wondering if it would possible to render the SubtitleView alongside the Surface renderer, or something similar. Thanks! |
Unfortunately, this feature somehow breaks the return from fullscreen: the screen goes black. |
SurfaceView is strictly a consumer and Surface is strictly a producer. SurfaceView's Surface is the producing side of a producer/consumer pair, with the consumer side being the display. You can't use SurfaceView as the source of a stream as a result, so the entire concept of connecting a SurfaceView to a video encoder doesn't work. Both of those consume frames and neither of them produce frames. Read more : https://source.android.com/docs/core/graphics/architecture |
Features: replace Android SurfaceTextureEntry to SurfaceView
Profit
Block problem