is there a consensus on how video playing should b...
# compose
j
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
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
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
SurfaceView
or
TextureView
.