标签: swift avplayer
使用私有sFTP对AVPlayer进行视频流是否可行?
AVPlayer
url = URL(string: "sftp://account:pass@host/movie.mov") if let movieURL = url { destination.player = AVPlayer(url: movieURL) }