is there a consensus on how video playing should be handled in a Compose-first application? is the best option to create a Composable wrapper around AndroidView & ExoPlayer?
n
Nathan Castlehow
02/14/2022, 4:33 AM
This is how we are doing it. Struggling to get the api just right though. Would be keen to see what you come up with!
a
Albert Chang
02/14/2022, 8:08 AM
Using
AndroidView
containing a
SurfaceView
or a
TextureView
is the only option. You don't necessarily need ExoPlayer though as the player view is also just a wrapper around