let asset = AVURLAsset(url: url, options: ["AVURLAssetHTTPHeaderFieldsKey": ["key": "value"]])
let playerItem = AVPlayerItem(asset: asset)
let player = AVPlayer(playerItem: playerItem)
VideoPlayer(player: player).onAppear(perform: {
player.play()
})
I have used the same code to prepare the AVPlayer object on an iOS app and using AVPlayerViewController everything worked properly... but right now on a SwiftUI app I'm using VideoPlayer and it's not playing the video. Is there an issue with VideoPlayer not recognizing AVURLAssetHTTPHeaderFieldsKey??
This is the error I see in the debugger
sendMessageWithDictionary: Failed to get remote object proxy: Error Domain=NSCocoaErrorDomain Code=4097 "connection to service on pid 0 named com.apple.rtcreportingd" UserInfo={NSDebugDescription=connection to service on pid 0 named com.apple.rtcreportingd}
Post
Replies
Boosts
Views
Activity
I get the following error "Failed retrieving request UUID for upload" when I try to upload a new build for the Apple Notary service.. everything worked smoothly so far. I have this issue for more than 24 hours now...
What I tried so far:
T&C are accepted up to date
I tried to generate multiple builds with different build numbers as well...
In the last months, when I had an app update everything was live in less than 24 hours. Happen to be live in 2 hours, but with this build, something strange happens. I sent it on Friday 28th October and now it is the 2nd of November and the app status is still "Waiting for Review".
Any thoughts on this?