We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I have successfully built and run QML Player.
I would like to set the network-caching option which is from the VlcMedia.
I have created a pointer of VlcMedia and want to call it in VlcVideoPlayer of (video.qml)
below is the code
#include <QtCore/QCoreApplication> #include <QtGui/QGuiApplication> #include <QtQuick/QQuickView> #include <VLCQtCore/Common.h> #include <VLCQtQml/QmlVideoPlayer.h> #include <VLCQtCore/Media.h> int main(int argc, char *argv[]) { QCoreApplication::setApplicationName("VLC-Qt QML Player"); QCoreApplication::setAttribute(Qt::AA_X11InitThreads); QGuiApplication app(argc, argv); VlcCommon::setPluginPath(app.applicationDirPath() + "/plugins"); VlcQmlVideoPlayer::registerPlugin(); QQuickView quickView; quickView.setSource(QUrl(QStringLiteral("qrc:/qml/video.qml"))); quickView.setResizeMode(QQuickView::SizeRootObjectToView); quickView.show(); VlcMedia* media; media->setOption(QString(QStringLiteral("qrc:/qml/video.qml"))); //media->setOption(":network-caching=200"); return app.exec(); }
import QtQuick 2.0 import VLCQt 1.0 //import VLC-Qt_1.0.1_win64_msvc2013.include.VLCQtCore.Media 1.0 Rectangle { width: 640 height: 480 color: "black" VlcVideoPlayer { id: vidwidget anchors.fill: parent url: "rtsp://admin:[email protected]:554/cam/realmonitor?channel=1&subtype=0&unicast=true" String: ":network-caching=300" } }
The build is sucessfull but there is a debug error
can someone tell me where am i going wrong
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I have successfully built and run QML Player.
I would like to set the network-caching option which is from the VlcMedia.
I have created a pointer of VlcMedia and want to call it in VlcVideoPlayer of (video.qml)
below is the code
main.cpp
video.qml
The build is sucessfull but there is a debug error
can someone tell me where am i going wrong
The text was updated successfully, but these errors were encountered: