I am just trying to play network stream in AVPlayer. I can't share the link but this is some informations about :
And the code :
let asset = AVAsset(url: inUrl)
let playerItem = AVPlayerItem(asset: asset)
let playern = AVPlayer(playerItem: playerItem)
print("playable = \(asset.isReadable)") // => false
playern.allowsExternalPlayback = true
playern.play()
Is there something that I'm missing ?