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?

    -mika


Log in to reply
 

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