Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

QMediaPlayer and clean Qbuffer



  • Hi,
    I'm writing a program with QMediaPlayer component.
    I have to send as input a stream of QByteArray, so I'm using a QBuffer as input of the QMediaPlayer.

    My problem is that I have to clean the part of QByteArray that I have yet read.
    How Can I do it?
    Thank you very much

    Angelo



  • Hi! Welcome to the Qt forum! Can you please show some code, I don't fully understand what you're trying to do.


Log in to reply