kingslay / KSPlayer

A video player for iOS、macOS、tvOS、visionOS , based on AVPlayer and FFmpeg, support the horizontal, vertical screen. support adjust volume, brightness and seek by slide, SwiftUI, support subtitles.
https://apps.apple.com/app/tracyplayer/id6450770064
GNU General Public License v3.0
961 stars 194 forks source link

side by side vr video on VisionOS? #808

Open ckse93 opened 1 month ago

ckse93 commented 1 month ago

Hi, first, thank you so much for this library, this is a truly amazing. I am trying to implement 180 vr side by side video playback, and I noticed you have a .vr enum for play model. but when I set it as a .vr for my player, it only shows as 2d. is there a correct way to implement side by side vr 180 video on VisionOS in ImmersiveSpace? thank you again

kingslay commented 1 month ago

lpg版本支持使用TextureResource来进行渲染,这个应该是可以在ImmersiveSpace中使用