Skip to content
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

360° support in SRGMediaPlayerViewController #72

Open
defagos opened this issue Aug 29, 2019 · 0 comments
Open

360° support in SRGMediaPlayerViewController #72

defagos opened this issue Aug 29, 2019 · 0 comments

Comments

@defagos
Copy link
Member

defagos commented Aug 29, 2019

Now that SRGMediaPlayerViewController is implemented with AVPlayerViewController, we must in general use the associated AVPlayerLayer and not attempt to replace it with our own instantiated with SRGMediaPlayerView. If we do, we lose native features like PiP, AirPlay or volume controls.

For 360° playback, though, PiP and AirPlay do not make sense. We could attempt to:

  • Swap the view with our own for 360° playback only.
  • Find a way to disable these features in this case.
  • Disable volume controls as well.
  • Add a gesture recognizer to let the user move in 3D-space.

This is of course quite experimental and not required, but could still be interesting to provide a view controller able to play all kinds of contents.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant