Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. MediaPlayer with HLS doesn't switch resolution on OSX....
Qt 6.11 is out! See what's new in the release blog

MediaPlayer with HLS doesn't switch resolution on OSX....

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
3 Posts 2 Posters 1.8k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    scooby
    wrote on last edited by
    #1

    Hello,

    Doing some tests with HLS and MediaPlayer.

    Here a small test :

    import QtQuick 2.8
    import QtQuick.Window 2.2
    import QtMultimedia 5.9
    
    Window {
        visible: true
        width: 1280
        height: 720
        title: qsTr("test")
    
        MediaPlayer {
            id: mediaplayer
            source: "https://bitdash-a.akamaihd.net/content/MI201109210084_1/m3u8s/f08e80da-bf1d-4e3d-8899-f0f6155f6efa.m3u8"
        }
    
        VideoOutput {
            anchors.fill: parent
            source: mediaplayer
        }
    
        MouseArea {
            id: playArea
            anchors.fill: parent
            onPressed: mediaplayer.play();
        }
    
    
    }
    
    

    The player stays on the same resolution on OSX ( the smaller one ).

    On iOS, it's switching, but above the native screen resolution of the device.... ( on iPhone 6 I reach to 1920x1080 )

    Am I doing something wrong ?

    Thanks for your help.

    Best Regards.

    Scoob'

    1 Reply Last reply
    0
    • J Offline
      J Offline
      JPlevy
      wrote on last edited by
      #2

      same here +1

      1 Reply Last reply
      0
      • S Offline
        S Offline
        scooby
        wrote on last edited by
        #3

        Is there some changes in Qt5.10 ?

        1 Reply Last reply
        0

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved