Code: Select all
std::thread( libvlc_media_player_stop, _mp );
Code: Select all
std::thread th( libvlc_media_player_stop, _mp );
th.detach();
Code: Select all
function stopAndStart(){
vlcPlayer.stop()
vlcPlayer.play(vlcPlayer.mrl)
}
Timer {
id: myTimer
interval: 10000 //ms
running: true
repeat: true
onTriggered: stopAndStart()
}
Code: Select all
vlcPlayer.stop();
vlcPlayer.play();
Return to “Development around libVLC”
Users browsing this forum: No registered users and 9 guests