Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt for WebAssembly
  4. record audio in WebAssembly
QtWS25 Last Chance

record audio in WebAssembly

Scheduled Pinned Locked Moved Solved Qt for WebAssembly
3 Posts 2 Posters 582 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.
  • N Offline
    N Offline
    Niushaa
    wrote on last edited by
    #1

    I want to record my audio in qt webassembly. in desktop application I use QAudioInput that it needs multimedia. but qt webassembly dose not support multimedia.

    1 Reply Last reply
    0
    • lorn.potterL Offline
      lorn.potterL Offline
      lorn.potter
      wrote on last edited by
      #2

      Hi,
      Yes, QtMultimedia does not support WebAssembly platform at this time. If you wanted to record audio, you would need to either use OpenAL 1.1 (emscripten has built in support for that), or use javascript API like AudioContext or something.

      Freelance Software Engineer, Platform Maintainer QtWebAssembly, Maintainer QtSensors
      Author, Hands-On Mobile and Embedded Development with Qt 5 http://bit.ly/HandsOnMobileEmbedded

      N 1 Reply Last reply
      3
      • lorn.potterL lorn.potter

        Hi,
        Yes, QtMultimedia does not support WebAssembly platform at this time. If you wanted to record audio, you would need to either use OpenAL 1.1 (emscripten has built in support for that), or use javascript API like AudioContext or something.

        N Offline
        N Offline
        Niushaa
        wrote on last edited by Niushaa
        #3

        @lorn-potter Thank you.I use OpenAL and it works for me.

        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