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. Modify QML MediaPlayer buffer size
QtWS25 Last Chance

Modify QML MediaPlayer buffer size

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
qmlmedia playerbuffer
2 Posts 2 Posters 1.5k 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.
  • AllanEA Offline
    AllanEA Offline
    AllanE
    wrote on last edited by
    #1

    Hi,

    I am using a MediaPlayer component into my QtQuick application to stream media from a remote location.

    The documentation specify that playback cannot be started until the player is fully filled:

    Playback can start or resume only when the buffer is entirely filled, in which case the status is MediaPlayer.Buffered or MediaPlayer.Buffering. A value lower than 1.0 implies that the status is MediaPlayer.Stalled.

    The thing is that the default buffer size is preventing me from playing my content as quick as I want to. I have to wait for this buffer to be filled, but since I want to play a live feed, it is annoying for me to have to wait between 5 and 10 seconds for the buffer to get filled.

    How can I change this behaviour ?

    I thank you in advance for your answers.

    Regards,

    Allan.

    1 Reply Last reply
    0
    • J Offline
      J Offline
      jordan.baucke
      wrote on last edited by
      #2

      @AllanE

      Any luck with this? We're using a MediaPlayer component in our application and I'd like to programmatically adjust the buffer to produce a smoother live-media playback experience?

      Jordan

      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