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. Audio recording and sending through network
QtWS25 Last Chance

Audio recording and sending through network

Scheduled Pinned Locked Moved General and Desktop
1 Posts 1 Posters 1.5k 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.
  • A Offline
    A Offline
    atilla.dudas
    wrote on last edited by
    #1

    Hi,

    I am creating an app, where my task is sending audio signal (and video later) through network and play it real time. I started dealing with QtMultimedia modul, I tried AudioRecorder , AudioInput and AudioDevices examples to understand what are my options.

    I have understand that Using QAudioInput class, I am able to send sound in "audio/pcm" format easily through any udp/tcp stream. QAudioDeviceInfo::supportedCodecs() shows only this raw format, but my intention is to use codec (like speex) in order to optimise data sending.

    The other possibility is using QAudioRecorder which says ( QMediaRecorder::supportedAudioCodecs()) that it supports many codecs (speex,mpeg, vorbis), but I think it can only record sound to file (locally or remote).

    Is there any easy way of recording and sending sound through network real time using Qt and appropriate codecs? I don't really want to implement of using third-party API in my Qt project, unless it is easy or necessary.
    Can I use QAudioInput class with speex, or can I use QAudioRecorder by redirecting the data to a network stream somehow.

    Thank you for your time!

    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