Hi
I have seen similar problem with streaming video . Can you try to re-create QML Audio dynamically? like that :
Code:
// --- MainPage.qml
//…………………….
function createVideo(){
var component = Qt.createComponent("YourVideo.qml");
component.createObject(null, {/*pass parameters here if you need */});
//here ’null’ is for parent object
//create the object and forget about it. will be self-destroyed in “onStopped” signal (see below)
}
//…………………….
// --- YourVideo.qml
import Qt 4.7
import QtMultimediaKit 1.1
Item{
Id: myvideo
// use that as container
Video{
//……………
onStopped: myvideo.destroy();
}
}