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
 

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