Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-52971

Document how recentlyAudibleChanged and setMuted interact.

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Done
    • Affects Version/s: 5.7
    • Fix Version/s: 5.7.0
    • Component/s: WebEngine
    • Labels:
      None
    • Commits:
      7dde2a0d8b65f963268f9bacbcb96601ac34327b

      Description

      Points to document:
      1) After calling setMuted(true), recentlyAudibleChanged signals will still be emitted.

      2) recentlyAudibleChanged gets emitted for Flash plugin audio as well (probably for all PPAPI plugins)

      3) If a page contains 2 videos, and each one is started in sequence, recentlyAudibleChanged gets emitted only once for whichever video generates sound first.
      After both videos are stopped, recentlyAudibleChanged gets emitted when the last audio sound is generated.
      Put another way, the signal is emitted whenever any kind of sound is generated / or is completely silent within a page, regardless of how many audio streams there might be.

      4) Possibly document that spurious signal emissions will happen.
      E.g. when sound is stopped, recentlyAudibleChanged gets emitted with a value of "true" first, and then with a value of false.
      When audio starts playing, the signal is emitted twice with a value of true.

        Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            Assignee:
            leenam Leena Miettinen
            Reporter:
            alexandru.croitor Alexandru Croitor
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes