Uploaded image for project: 'Qt Mobility'
  1. Qt Mobility
  2. QTMOBILITY-1421

QMediaPlayer can't play stream

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Not Evaluated
    • 1.1.1, 1.2.0
    • 1.2.0
    • Multimedia
    • None
    • Ubuntu 10.04, Qt 4.7.2, Qt Mobility snapshot 03.15.11
    • 3eef28af772ce05e73dbe610a3820bcceb31e088

    Description

      QMediaPlayer can't play QIODevice:

      QMediaPlayer* player = new QMediaPlayer(this);
      QFile* ioDevice = new QFile("/home/fff/Documents/acca12c4e0bf.mp3");
      ioDevice->open(QIODevice::ReadWrite);
      player->setMedia(QMediaContent(), ioDevice);
      player->play();

      but player->setMedia(QUrl("file:/home/fff/Documents/acca12c4e0bf.mp3")) work correct.

      Attachments

        Activity

          People

            hawcroft Derick Hawcroft (closed Nokia identity) (Inactive)
            ssyrik Surik Sayadyan
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: