libgdx / gdx-video

A libGDX cross platform video rendering extension
Apache License 2.0
145 stars 50 forks source link

Do not create iOS video player if the OS version is < 15 #90

Closed lucas-kakele closed 3 months ago

lucas-kakele commented 3 months ago

The VideoPlayerIos implementation relies on methods that are only available for iOS 15+.

For example: https://developer.apple.com/documentation/avfoundation/avfragmentedasset/3746534-loadtrackswithmediatype?language=objc

Frosty-J commented 3 months ago

This should be documented to avoid any nasty surprises for those brazen enough to not thoroughly test their apps, as I believe libGDX itself supports down to 11 and this is a runtime error.