webview not supporting in Qt 5.15.2 release build
-
Imusing Qt 5.15.2 version..my project is to connect the ip camera using ip address and viewing the output of the video of the ip camera using webengineview. When I worked with project in debug build..the output is showing.But when I try to build it in release build,it is not working.the web page is loading..but the video output is not loading..But,in web browser,it is showing. I have included all the necessay libraries to load the webview and i have succesfully viewed the output of the ip camera in debug build.The error message is:
[66928:64908:0823/193205.676:INFO:CONSOLE(1)] "Uncaught NotSupportedError: Failed to execute 'addSourceBuffer' on 'MediaSource': The type provided ('video/mp4;codecs="avc1.640029"') is unsupported.", source: http://192.168.56.50/module/videoMediaSource.js (1)
-
@Vijaykarthikeyan Please don't double post! You asked same question here already: https://forum.qt.io/topic/150130/webview-not-supporting-in-qt-5-15-2-release-build?_=1695967457324
-
-
@Vijaykarthikeyan You can move your existing thread to the correct category
-
@Vijaykarthikeyan At the top right side of this page there is a button next to big blue "Reply" button. If you click it there will be a submenu. Click on "Move Topic".
-
@jsulm I have gone through this documentation https://doc.qt.io/qt-5/qtwebengine-features.html#audio-and-video-codecs where it refers that need to include that config line..but,my question is where I have to do that..Because,im not acutally compiling in command prompt..that's why I'm asking the clear steps to do line by line.
configure -webengine-proprietary-codecs
they said,the above line should be included in top level..i can't get that
-
@Vijaykarthikeyan said in webview not supporting in Qt 5.15.2 release build:
where it refers that need to include that config line
Do you mean the configure command?
configure is used when you build from source code. So, if you build QtWebengine from source. -
@Vijaykarthikeyan said in webview not supporting in Qt 5.15.2 release build:
build from source means whether I have to create webengineview.a from source file again?
Yes, if you have to build from source
-
@Vijaykarthikeyan Actually it is explained in the link you posted:
When using qmake to build just the Qt WebEngine module, the following command can be used (in this example, the Qt WebEngine source code is located in C:\qt\qtwebengine): qmake C:\qt\qtwebengine -- -webengine-proprietary-codecs
So, simply execute that qmake command and then "make" and "make install"...
-
@Vijaykarthikeyan What command and what error please?
-
You're on Windows, it's nmake or jom since you are using Visual Studio.
See the documentation.
-
@SGaist ok i understand.But,what is the actual step to build the webview dynamic library from the source after the source has been downloaded from the qt offline installer.I previously did the build process but now forgot it..Please guide me the steps