Replay sound
Hi VLC, I want to implement automatic replay sound (infinity loop) Could you help me, how can I do that?
There is my code
let soundFilePath = Utils.loadSoundPath("background_music.ogg")
let soundURL = URL(fileURLWithPath: soundFilePath)
let media = VLCMedia(url: soundURL)
let mediaPlayer = VLCMediaPlayer()
mediaPlayer.media = media
mediaPlayer.delegate = self
mediaPlayer.play()
Thank you,