Congratulations to our 2022 Qt Champions!

Playing a rtmp stream through QMediaPlayer

  • I have set up a rtmp stream, which I can play through ffplay with the command:
    ffplay rtmp://<HOST>/<PATH>

    Is there a way to play the stream through QMediaPlayer?

    I'v tried giving the url to setMedia, but all i get is "Unsupported url schema"

    Do i need to set up a custom QIODevice to read data or something?

    Or is Qt limited to not be able to play rtmp streams?


Log in to reply