DigistAuth for QMediaPlayer



  • 0_1531486769858_9562f4ee-0572-4c92-98be-bb6c9b10cff3-image.png

    Hey, I'm trying to play audio from server, I need to be authorised for this resource
    If there's url which doesn't requires auth - it works without problem, but there's problem if it needs DigistAuth, I've tried to setPassword() and setUserName() for QUrl object, but it doesn't works, for other things in my app I'm using QAuthenticator (just responsing to signals of QNetworAccessManager) and there's question.. how do I pass QAuthenticator in this case if I don't have QNetorkAccessManager? Is this even possible?


Log in to reply
 

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