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. How can I record an audio and save it in a base64 to send through the websocket
QtWS25 Last Chance

How can I record an audio and save it in a base64 to send through the websocket

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
1 Posts 1 Posters 156 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.
  • D Offline
    D Offline
    devRafaelMago
    wrote on last edited by
    #1

    I'm creating a chat system and I need a function to record and receive audios, this communication is done through a websocket, but the mediaRecorder records it in local files, how can I set it to record in QByte or another way that I can convert it to base64 or send it anyway.

    CaptureSession{
    audioInput: AudioInput {
    id: audioInput
    }
    recorder: MediaRecorder {
    id: recorder
    }
    }

    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