SRGSSR / srgmediaplayer-apple

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

Investigate the possibility to have two AVPlayerLayers displaying the same video #43

Closed defagos closed 6 years ago

defagos commented 6 years ago

It seems possible to have to player layers display the same content. In my tests, only the last layer could display the content, but maybe I did something wrong.

This possibility should be investigated again.

defagos commented 6 years ago

I again tried to bind the same AVPlayer to two AVPlayerLayer instances at the same time. Only the layer to which the player has been assigned last displays the content.

defagos commented 5 years ago

Having several AVPlayerLayers bound to the same player (thus displaying the same content) is indeed possible.