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, support subtitles.
GNU General Public License v3.0
869 stars 184 forks source link

SwiftUI player view 没有初始化 PIPController #712

Closed MarveleE closed 6 months ago

MarveleE commented 6 months ago

Describe the bug 使用swiftui版的player在开始播放后调动pipcontroller return nil

Additional context Add any other context about the problem here. or Using FFmpeg to extract problematic video segments and upload them to GitHub.(ffmpeg -i http://xxx.com/123.mkv -map 0 -c copy -ss 00:00:50 -to 00:04:10 1.mkv)

kingslay commented 6 months ago

tvos是无法使用pip的。只有iOS才可以