google / google/ExoPlayer

How can I get the camera angle from SphericalGLSurfaceView?

Open
#10,562 2 comments 0 reactions 1 assignee Claimed by @tonihei View on GitHub
enhancement
Dominant language
Java
Stars
21.9k
Forks
6k
PR merge metrics
No merged PRs in 30d

Description

I'm trying to build a camera angle indicator for a 360º video, in other words, showing the direction a user is looking at when panning.

image

In Swifty360Player for iOS, I have the [compassAngle], does ExoPlayer has something similar?(https://github.com/abdullahselek/Swifty360Player/blob/master/Swifty360Player/Swifty360CameraController.swift#L171)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.