Page 1 of 1

No audio playing VOB files

Posted: 01 Oct 2016 17:28
by MidnightCoder
I'm using the latest VLC tvOS kit (compiled from the git master branch) in a tvOS app and there is no sound when playing .VOB files. For mp3 and mp4 files, I do hear the sound on the simulator.

The official VLC tvOS app on the App Store seems to play VOB files fine. Does this mean the latest source has bug? BTW, how do I know which revision in the master branch correspond to the version released to the App Store?

My code:

Code: Select all

override func viewDidAppear(animated: Bool) { let url = NSURL(string: "http://f.tkaraoke.com/HL/BHCA.vob"); let media = VLCMedia(URL: url!); m_mediaPlayer.media = media; m_mediaPlayer.drawable = self.m_movieView; m_mediaPlayer.play(); }

Re: No audio playing VOB files

Posted: 03 Oct 2016 21:13
by MidnightCoder
I have resolved this issue by converting the code to Swift 3 and use the simulator from Xcode 8.