Qtmultimedia windows 10 and linux
Unsolved
Qt 6
-
Hello,
I'm trying to stream a CCTV camera mjpeg in an app.
playersample = new QMediaPlayer(); playersample->setSource(QUrl("http://IPaddress.80:30002/axis-cgi/mjpg/video.cgi")); playersample->setVideoOutput(ui->videoWidgetSample); ui->videoWidgetSample->show(); playersample->play();
The code above works well when compiled on linux.
On windows I get a black screen but no error.
When sourcing a local video file, it works well on linux and windows 10.
Testing on the qtmultimedia example is the same result.Would anyone have pointers as to why the code works on linux and not on windows 10? Is it solvable?
I'm using qt 6.5
Cheers,
Arnaud -
Hi,
You should connect the various error related signals to see if you get anything from them.