Playing udp stream using QMediaPlayer

  • I have to write an application to play udp stream using QMediaPlayer and QVideoWidget. I am using these stuffs in my application as follow:

    QMediaPlayer *player = new QMediaPlayer(this);
    QMediaPlaylist *playlist = new QMediaPlaylist();
    QVideoWidget *videoWidget = new QVideoWidget(this);

    But it is not working Linux (Ubuntu 1604). However the same code working perfectly on windows with Leadtools and DirectShow. Further I am able to play
    RTSP stream on Linux.

    Please let me know why it is not working on Linux. GStreamer-1.0 is already installed on my system. Does it can be accomplish only by using QtGStreamer ?

Log in to reply

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.