I developed a tvOS application for playing Vimeo videos. The average number of videos is 800 MB. It works great when the bandwidth is> 90 Mbps. But when it’s 35 Mbps, the video playback performance is not so good: the sound does not synchronize with the images.
I use a class inherited from the standard AVPlayerViewControllerfor video playback.
func playVimeoVideo(link : String) {
player = AVPlayer(URL: NSURL(string: link)!)
player?.play()
}
Do you have any ideas on how to improve performance with low bandwidth? I wonder if I need to download the video before I play it, but then it can take too long.