QML Camera video ouput and sound

  • Hello,
    I can open a capture device on ubuntu using qml camera and VideoOutput. But I don't hear any sound. How can I open the default audio interface from qml.
    If I use the video recorder to create a recording and then play it, I have sound. who can help me with this?

  • The code extract below shows the creation and use of an Audio instance.

    Item {
    width: 640
    height: 360

      Audio {
          id: playMusic
          source: "music.wav"
      MouseArea {
          id: playArea
          anchors.fill: parent
          onPressed:  { playMusic.play() } 

    sarkari result pnr status



Log in to reply