File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -176,7 +176,8 @@ void GamepadForm::restartVideoStream()
176176 const auto &cPort = mSettings .value (" cameraPort" ).toString ();
177177 const auto status = player->mediaStatus ();
178178 if (status == QMediaPlayer::NoMedia || status == QMediaPlayer::EndOfMedia || status == QMediaPlayer::InvalidMedia) {
179- const QString url = " http://" + cIp + " :" + cPort + " /?action=stream&filename=noname.jpg" ;
179+ // "Initially, there was a &filename=noname.jpg parameter that interfered with the DirectShow backend?
180+ const QString url = " http://" + cIp + " :" + cPort + " /?action=stream" ;
180181 // QNetworkRequest nr = QNetworkRequest(url);
181182 // nr.setPriority(QNetworkRequest::LowPriority);
182183 // nr.setAttribute(QNetworkRequest::CacheLoadControlAttribute, QNetworkRequest::AlwaysCache);
You can’t perform that action at this time.
0 commit comments