Skip to content

Add SphericalGLSurfaceView support to PlayerSurface #2619

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

MGaetan89
Copy link
Contributor

This change allows PlayerSurface to render video using SphericalGLSurfaceView when specifying the SURFACE_TYPE_SPHERICAL_GL_SURFACE_VIEW type.

The Compose demo has also been updated to include a 360 video example that utilizes this new surface type.

Note

The 360° video used in the video comes from Bitmovin. I've added a link to the page in the demo source code. Let me know if you'd rather use a different video or handle attribution differently.

This change allows `PlayerSurface` to render video using `SphericalGLSurfaceView` when specifying the `SURFACE_TYPE_SPHERICAL_GL_SURFACE_VIEW` type.

The compose demo has also been updated to include a 360 video example that utilizes this new surface type.
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

Successfully merging this pull request may close these issues.

1 participant