Solved Cannot display RTSP link in QML
-
Hi
I am trying to display in qml an RTSP stream using MediaPlayer and VideoOutput components, but I always get ResourceError. The stream plays successfully with VLC. I am using Qt5.7 on win10 x64. Could someone explain what could be wrong ?
thanks
BogdanMediaPlayer { id: mediaplayer autoPlay: true source: <url> } VideoOutput { anchors.fill: parent source: mediaplayer }
-
@cristeab Hi! Looks like QTBUG-37999.
-
Indeed, that bug might be related. I have been able to solve the problem by using libVLC with QML wrapper: https://github.com/RSATom/QmlVlc
-
@cristeab Hey, that QML VLC wrapper looks extremely useful. Thank you very much for sharing that hint!
-
This looks also very good: https://github.com/vlc-qt