Hi, Thank you for the fantastic into into service, it works fine. But I tried to use QMedialPlayer inside the service processing and I'm not able to start the stream. I'm wondering is something is related to permissions or other problem. I tried to use this in the thread object created in main.cpp:
QMediaResource msrc(QUrl(QString("%1?serial=%2").arg(url,serial )));
QMediaContent mc2(msrc);
QMediaPlayer *theplayer = new QMediaPlayer();
theplayer -> setMedia(QMediaContent(mc2) );
theplayer ->setVolume(90);
theplayer -> play();
Maybe you have any idea concerning the issue.
Thank you again for the intro.
Regards,
Krzys
Hi, Thank you for the fantastic into into service, it works fine. But I tried to use QMedialPlayer inside the service processing and I'm not able to start the stream. I'm wondering is something is related to permissions or other problem. I tried to use this in the thread object created in main.cpp:
QMediaResource msrc(QUrl(QString("%1?serial=%2").arg(url,serial )));
Maybe you have any idea concerning the issue.
Thank you again for the intro.
Regards,
Krzys