SRGSSR / srgmediaplayer-apple

An advanced media player library, simple and reliable
MIT License
158 stars 33 forks source link

360° support in SRGMediaPlayerViewController #72

Open defagos opened 5 years ago

defagos commented 5 years ago

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:

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.