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. while screen sharing audio is not coming

while screen sharing audio is not coming

Scheduled Pinned Locked Moved Unsolved General and Desktop
2 Posts 2 Posters 230 Views 1 Watching
  • 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.
  • B Offline
    B Offline
    Bharth
    wrote on last edited by
    #1

    hi guys,

    im using ffmpeg for screen capturing but audio is not coming,this is code

    else if(m_typeStream == TS_SCREENSHARE)
    {
    #ifdef _WIN32
    strCommands += "desktop";
    #else
    strCommands += QString::number(availableCameras.size()).toUtf8().constData();
    #endif
    if(availableAudios.size() == 0)
    {
    Q_EMIT reportStatus("No detected audio device...");
    }
    else
    {
    #ifdef _WIN32
    strCommands += ":audio=";
    strCommands += availableAudios[0].deviceName().toUtf8().constData();
    #else
    strCommands += ":";
    strCommands += QString::number(0).toUtf8().constData();
    #endif
    }
    }

    1 Reply Last reply
    0
    • Kent-DorfmanK Offline
      Kent-DorfmanK Offline
      Kent-Dorfman
      wrote on last edited by
      #2

      The code you shared is pretty much meaningless. What do you mean by "screen sharing"? Whether you have any audio sharing between shared desktops depends very much upon what sharing desktop technology you are using.

      If you meet the AI on the road, kill it.

      1 Reply Last reply
      1

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved