Post

Replies

Boosts

Views

Activity

Simple VideoPlayer not working
I am running into serious issues when using the new VideoPlayer or any kind of AVPlayer in Xcode 12 beta 4. On the simulator and on my physical device (both running iOS 14 beta 4), the VideoPlayer stays black. Even running a different app that uses AVPlayer with a UIViewControllerRepresentable results in the AVPlayer not working. import SwiftUI import AVKit @main struct SerienStreamApp: App {     let player = AVPlayer(url: URL(string: "https://www.radiantmediaplayer.com/media/big-buck-bunny-360p.mp4")!)     var body: some Scene {         WindowGroup {             VideoPlayer(player: player)         }     } } The error I get: 2020-08-12 14:32:20.260745+0200 SerienStream[11426:2122834] libMobileGestalt MobileGestaltCache.c:166: Cache loaded with 4527 pre-cached in CacheData and 47 items in CacheExtra. 2020-08-12 14:32:20.336493+0200 SerienStream[11426:2122544] <CATransformLayer: 0x2812101a0> - changing property masksToBounds in transform-only layer, will have no effect 2020-08-12 14:32:20.336776+0200 SerienStream[11426:2122544] <CATransformLayer: 0x28120eb60> - changing property masksToBounds in transform-only layer, will have no effect 2020-08-12 14:32:20.339250+0200 SerienStream[11426:2122544] <CATransformLayer: 0x281210e00> - changing property masksToBounds in transform-only layer, will have no effect 2020-08-12 14:32:20.353454+0200 SerienStream[11426:2122544] <CATransformLayer: 0x281275ca0> - changing property masksToBounds in transform-only layer, will have no effect 2020-08-12 14:32:20.354109+0200 SerienStream[11426:2122544] <CATransformLayer: 0x281276340> - changing property masksToBounds in transform-only layer, will have no effect 2020-08-12 14:32:20.373421+0200 SerienStream[11426:2122544] <CATransformLayer: 0x281210e00> - changing property allowsGroupBlending in transform-only layer, will have no effect 2020-08-12 14:32:20.373483+0200 SerienStream[11426:2122544] <CATransformLayer: 0x281275ca0> - changing property allowsGroupBlending in transform-only layer, will have no effect 2020-08-12 14:32:20.419000+0200 SerienStream[11426:2122826] Metal API Validation Enabled 2020-08-12 14:32:20.514484+0200 SerienStream[11426:2122544] [] [14:32:20.514] FigSubtitleSampleCreateFromPropertyList signalled err=50 (kFigCFBadPropertyListErr) (NULL or bad plist) at /Library/Caches/com.apple.xbs/Sources/EmbeddedCoreMedia/EmbeddedCoreMedia-2747.2.1.1/Prototypes/ClosedCaptions/FigCaptionCommand.c:792
10
2
7.4k
Aug ’20