Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Issue with states of QMediaPlayer
Forum Updated to NodeBB v4.3 + New Features

Issue with states of QMediaPlayer

Scheduled Pinned Locked Moved Unsolved General and Desktop
2 Posts 2 Posters 512 Views 1 Watching
  • 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.
  • P Offline
    P Offline
    Pavankumar S V
    wrote on last edited by Pavankumar S V
    #1

    When I call stop() function on QMediaPlayer, audio will stop playing and the source of the media player is set to null.
    But state is not changing to "StoppedState" sometimes. But I expect the state of QMediaPlayer to get changed to "StoppedState" as soon as stop() is called at all times.
    I even tried to give around 1sec delay after calling stop() just to see if the state changing takes some time, but even then the state is not getting updated to "StoppedState" ( state is showing as "PlayingState").
    Please let me know if I'm missing something.

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      Which version of Qt ?
      On which OS ?
      Using which backend ?

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • JKSHJ JKSH moved this topic from Qt for MCUs on

      • Login

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